/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */ /* / / All Right Reserved. */ /* /---/ /\ */ /* \ \ / \ */ /* \___\/\___\ */ /***********************************************************************/ /* This file is designed for use with ISim build 0xfbc00daa */ #define XSI_HIDE_SYMBOL_SPEC true #include "xsi.h" #include #ifdef __GNUC__ #include #else #include #define alloca _alloca #endif static const char *ng0 = "/home/maar/Code/Git/Verilog/MIPS-UART-module/src/hdl/testbench.v"; static int ng1[] = {1, 0}; static int ng2[] = {0, 0}; static void Initial_34_0(char *t0) { char *t1; char *t2; char *t3; LAB0: t1 = (t0 + 3160U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(34, ng0); LAB4: xsi_set_current_line(35, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 1928); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(38, ng0); t2 = (t0 + 2968); xsi_process_wait(t2, 100000LL); *((char **)t1) = &&LAB5; LAB1: return; LAB5: xsi_set_current_line(39, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 1928); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(40, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(41, ng0); t2 = (t0 + 3728); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB6; goto LAB1; LAB6: xsi_set_current_line(42, ng0); t2 = (t0 + 3744); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB7; goto LAB1; LAB7: xsi_set_current_line(43, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(44, ng0); t2 = (t0 + 3760); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB8; goto LAB1; LAB8: xsi_set_current_line(45, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(46, ng0); t2 = (t0 + 3776); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB9; goto LAB1; LAB9: xsi_set_current_line(47, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(48, ng0); t2 = (t0 + 3792); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB10; goto LAB1; LAB10: xsi_set_current_line(49, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(50, ng0); t2 = (t0 + 3808); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB11; goto LAB1; LAB11: xsi_set_current_line(51, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(52, ng0); t2 = (t0 + 3824); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB12; goto LAB1; LAB12: xsi_set_current_line(53, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(54, ng0); t2 = (t0 + 3840); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB13; goto LAB1; LAB13: xsi_set_current_line(55, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(56, ng0); t2 = (t0 + 3856); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB14; goto LAB1; LAB14: xsi_set_current_line(57, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(58, ng0); t2 = (t0 + 3872); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB15; goto LAB1; LAB15: xsi_set_current_line(59, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(60, ng0); t2 = (t0 + 3888); *((int *)t2) = 1; t3 = (t0 + 3192); *((char **)t3) = t2; *((char **)t1) = &&LAB16; goto LAB1; LAB16: xsi_set_current_line(61, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2248); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); goto LAB1; } static void Initial_64_1(char *t0) { char t4[8]; char *t1; char *t2; char *t3; char *t5; char *t6; char *t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; char *t13; char *t14; LAB0: t1 = (t0 + 3408U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(64, ng0); LAB4: xsi_set_current_line(65, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 1768); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); xsi_set_current_line(66, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 2088); xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); xsi_set_current_line(68, ng0); LAB5: xsi_set_current_line(69, ng0); t2 = (t0 + 3216); xsi_process_wait(t2, 10000LL); *((char **)t1) = &&LAB6; LAB1: return; LAB6: xsi_set_current_line(69, ng0); t3 = (t0 + 1768); t5 = (t3 + 56U); t6 = *((char **)t5); memset(t4, 0, 8); t7 = (t6 + 4); t8 = *((unsigned int *)t7); t9 = (~(t8)); t10 = *((unsigned int *)t6); t11 = (t10 & t9); t12 = (t11 & 1U); if (t12 != 0) goto LAB10; LAB8: if (*((unsigned int *)t7) == 0) goto LAB7; LAB9: t13 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t13) = 1; LAB10: t14 = (t0 + 1768); xsi_vlogvar_assign_value(t14, t4, 0, 0, 1); goto LAB5; LAB7: *((unsigned int *)t4) = 1; goto LAB10; LAB11: goto LAB1; } extern void work_m_11535254639475061053_1949178628_init() { static char *pe[] = {(void *)Initial_34_0,(void *)Initial_64_1}; xsi_register_didat("work_m_11535254639475061053_1949178628", "isim/testbench_isim_beh.exe.sim/work/m_11535254639475061053_1949178628.didat"); xsi_register_executes(pe); }