/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0x1048c146 */
#define XSI_HIDE_SYMBOL_SPEC true
#include "xsi.h"
#include <memory.h>
#ifdef __GNUC__
#include <stdlib.h>
#else
#include <malloc.h>
#define alloca _alloca
#endif
static const char *ng0 = "E:/test/iic/iic/iic_top27.v";
static unsigned int ng1[] = {0U, 0U};
static unsigned int ng2[] = {1U, 0U};
static unsigned int ng3[] = {15U, 0U};
static unsigned int ng4[] = {5000U, 0U};
static unsigned int ng5[] = {1249U, 0U};
static unsigned int ng6[] = {2499U, 0U};
static unsigned int ng7[] = {2U, 0U};
static unsigned int ng8[] = {3749U, 0U};
static unsigned int ng9[] = {3U, 0U};
static unsigned int ng10[] = {4999U, 0U};
static unsigned int ng11[] = {5U, 0U};
static unsigned int ng12[] = {29U, 0U};
static unsigned int ng13[] = {160U, 0U};
static unsigned int ng14[] = {4U, 0U};
static unsigned int ng15[] = {7U, 0U};
static unsigned int ng16[] = {8U, 0U};
static unsigned int ng17[] = {16U, 0U};
static unsigned int ng18[] = {32U, 0U};
static unsigned int ng19[] = {161U, 0U};
static unsigned int ng20[] = {64U, 0U};
static unsigned int ng21[] = {512U, 0U};
static unsigned int ng22[] = {128U, 0U};
static unsigned int ng23[] = {256U, 0U};
static int ng24[] = {7, 0};
static unsigned int ng25[] = {1024U, 0U};
static unsigned int ng26[] = {2048U, 0U};
static unsigned int ng27[] = {1048560U, 0U};
static unsigned int ng28[] = {0U, 1U};
static void Always_35_0(char *t0)
{
char t4[8];
char *t1;
char *t2;
char *t3;
char *t5;
char *t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
char *t12;
char *t13;
unsigned int t14;
unsigned int t15;
unsigned int t16;
unsigned int t17;
unsigned int t18;
char *t19;
char *t20;
LAB0: t1 = (t0 + 4680U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(35, ng0);
t2 = (t0 + 6172);
*((int *)t2) = 1;
t3 = (t0 + 4708);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(36, ng0);
t5 = (t0 + 1812U);
t6 = *((char **)t5);
memset(t4, 0, 8);
t5 = (t6 + 4);
t7 = *((unsigned int *)t5);
t8 = (~(t7));
t9 = *((unsigned int *)t6);
t10 = (t9 & t8);
t11 = (t10 & 1U);
if (t11 != 0)
goto LAB8;
LAB6: if (*((unsigned int *)t5) == 0)
goto LAB5;
LAB7: t12 = (t4 + 4);
*((unsigned int *)t4) = 1;
*((unsigned int *)t12) = 1;
LAB8: t13 = (t4 + 4);
t14 = *((unsigned int *)t13);
t15 = (~(t14));
t16 = *((unsigned int *)t4);
t17 = (t16 & t15);
t18 = (t17 != 0);
if (t18 > 0)
goto LAB9;
LAB10: xsi_set_current_line(37, ng0);
t2 = (t0 + 2960);
t3 = (t2 + 36U);
t5 = *((char **)t3);
t6 = ((char*)((ng2)));
memset(t4, 0, 8);
xsi_vlog_unsigned_add(t4, 20, t5, 20, t6, 20);
t12 = (t0 + 2960);
xsi_vlogvar_wait_assign_value(t12, t4, 0, 0, 20, 0LL);
LAB11: goto LAB2;
LAB5: *((unsigned int *)t4) = 1;
goto LAB8;
LAB9: xsi_set_current_line(36, ng0);
t19 = ((char*)((ng1)));
t20 = (t0 + 2960);
xsi_vlogvar_wait_assign_value(t20, t19, 0, 0, 20, 0LL);
goto LAB11;
}
static void Always_39_1(char *t0)
{
char t4[8];
char *t1;
char *t2;
char *t3;
char *t5;
char *t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
char *t12;
char *t13;
unsigned int t14;
unsigned int t15;
unsigned int t16;
unsigned int t17;
unsigned int t18;
char *t19;
char *t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
unsigned int t24;
unsigned int t25;
unsigned int t26;
unsigned int t27;
char *t28;
char *t29;
LAB0: t1 = (t0 + 4824U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(39, ng0);
t2 = (t0 + 6180);
*((int *)t2) = 1;
t3 = (t0 + 4852);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(40, ng0);
t5 = (t0 + 1812U);
t6 = *((char **)t5);
memset(t4, 0, 8);
t5 = (t6 + 4);
t7 = *((unsigned int *)t5);
t8 = (~(t7));
t9 = *((unsigned int *)t6);
t10 = (t9 & t8);
t11 = (t10 & 1U);
if (t11 != 0)
goto LAB8;
LAB6: if (*((unsigned int *)t5) == 0)
goto LAB5;
LAB7: t12 = (t4 + 4);
*((unsigned int *)t4) = 1;
*((unsigned int *)t12) = 1;
LAB8: t13 = (t4 + 4);
t14 = *((unsigned int *)t13);
t15 = (~(t14));
t16 = *((unsigned int *)t4);
t17 = (t16 & t15);
t18 = (t17 != 0);
if (t18 > 0)
goto LAB9;
LAB10: xsi_set_current_line(44, ng0);
t2 = (t0 + 2960);
t3 = (t2 + 36U);
t5 = *((char **)t3);
t6 = ((char*)((ng3)));
memset(t4, 0, 8);
t12 = (t5 + 4);
t13 = (t6 + 4);
t7 = *((unsigned int *)t5);
t8 = *((unsigned int *)t6);
t9 = (t7 ^ t8);
t10 = *((unsigned int *)t12);
t11 = *((unsigned int *)t13);
t14 = (t10 ^ t11);
t15 = (t9 | t14);
t16 = *((unsigned int *)t12);
t17 = *((unsigned int *)t13);
t18 = (t16 | t17);
t21 = (~(t18));
t22 = (t15 & t21);
if (t22 != 0)
goto LAB16;
LAB13: if (t18 != 0)
goto LAB15;
LAB14: *((unsigned int *)t4) = 1;
LAB16: t20 = (t4 + 4);
t23 = *((unsigned int *)t20);
t24 = (~(t23));
t25 = *((unsigned int *)t4);
t26 = (t25 & t24);
t27 = (t26 != 0);
if (t27 > 0)
goto LAB17;
LAB18:
LAB19:
LAB11: goto LAB2;
LAB5: *((unsigned int *)t4) = 1;
goto LAB8;
LAB9: xsi_set_current_line(40, ng0);
LAB12: xsi_set_current_line(41, ng0);
t19 = ((char*)((ng2)));
t20 = (t0 + 2776);
xsi_vlogvar_wait_assign_value(t20, t19, 0, 0, 1, 0LL);
xsi_set_current_line(42, ng0);
t2 = ((char*)((ng2)));
t3 = (t0 + 2868);
xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 0LL);
goto LAB11;
LAB15: t19 = (t4 + 4);
*((unsigned int *)t4) = 1;
*((unsigned int *)t19) = 1;
goto LAB16;
LAB17: xsi_set_current_line(44, ng0);
LAB20: xsi_set_current_line(45, ng0);
t28 = (t0 + 1904U);
t29 = *((char **)t28);
t28 = (t0 + 2776);
xsi_vlogvar_wait_assign_value(t28, t29, 0, 0, 1, 0LL);
xsi_set_current_line(46, ng0);
t2 = (t0 + 1996U);
t3 = *((char **)t2);
t2 = (t0 + 2868);
xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 1, 0LL);
goto LAB19;
}
static void Always_55_2(char *t0)
{
char t4[8];
char *t1;
char *t2;
char *t3;
char *t5;
char *t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
char *t12;
char *t13;
unsigned int t14;
unsigned int t15;
unsigned int t16;
没有合适的资源?快使用搜索试试~ 我知道了~
iic.rar_IIC 代码_i2c testbench_iic testbench_iic接口功能_www.165iic0m
共47个文件
sdb:6个
v:4个
c:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 155 浏览量
2022-09-23
00:53:21
上传
评论
收藏 522KB RAR 举报
温馨提示
i2c接口的功能实现代码,用VERILOG编写,并附有testbench.
资源推荐
资源详情
资源评论
收起资源包目录
iic.rar (47个子文件)
iic
iic_top27.v 10KB
iic
test_iic_isim_beh.wdb 3.4MB
isim.log 464B
test_iic_beh.prj 117B
iseconfig
iic_top27.xreport 20KB
iic_top.xreport 20KB
iic.projectmgr 7KB
test_iic_isim_beh.exe 81KB
fuse.log 1KB
_xmsgs
pn_parser.xmsgs 742B
iic_top_summary.html 3KB
ipcore_dir
test_iic_stx_beh.prj 132B
iic.xise 36KB
iic_top27.v 10KB
isim
pn_info 6B
temp
iic_top27.sdb 23KB
test_iic.sdb 12KB
glbl.sdb 4KB
work
iic_top27.sdb 23KB
test_iic.sdb 12KB
glbl.sdb 4KB
test_iic_isim_beh.exe.sim
test_iic_isim_beh.exe 59KB
netId.dat 212B
work
m_00000000003147816065_3127569946.c 120KB
m_00000000003147816065_3127569946.nt.obj 33KB
m_00000000001314950815_0393859498.c 41KB
test_iic_isim_beh.exe_main.c 1KB
m_00000000001314950815_0393859498.nt.obj 16KB
m_00000000001314950815_0393859498.didat 7KB
m_00000000003147816065_3127569946.didat 7KB
m_00000000004134447467_2073120511.nt.obj 3KB
test_iic_isim_beh.exe_main.nt.obj 1KB
m_00000000004134447467_2073120511.didat 5KB
m_00000000004134447467_2073120511.c 8KB
isimcrash.log 0B
tmp_save
_1 4KB
isimkernel.log 165B
ISimEngine-DesignHierarchy.dbg 9KB
isim_usage_statistics.html 475B
xilinxsim.ini 16B
iic.gise 4KB
test_iic.v 5KB
iic_top.v 535B
iic_top27_summary.html 4KB
fuse.xmsgs 367B
isim.cmd 44B
fuseRelaunch.cmd 222B
共 47 条
- 1
资源评论
weixin_42653672
- 粉丝: 93
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功