diff options
Diffstat (limited to 'isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.c')
-rw-r--r-- | isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.c | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.c b/isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.c new file mode 100644 index 0000000..8faff9c --- /dev/null +++ b/isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.c @@ -0,0 +1,108 @@ +/**********************************************************************/ +/* ____ ____ */ +/* / /\/ / */ +/* /___/ \ / */ +/* \ \ \/ */ +/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */ +/* / / All Right Reserved. */ +/* /---/ /\ */ +/* \ \ / \ */ +/* \___\/\___\ */ +/***********************************************************************/ + +/* This file is designed for use with ISim build 0x8ddf5b5d */ + +#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 = "/home/michael/Documents/School/EC311/lab5/TEST_Bin2BCD.v"; +static int ng1[] = {0, 0}; +static int ng2[] = {7, 0}; +static int ng3[] = {16, 0}; +static int ng4[] = {217, 0}; +static int ng5[] = {1839, 0}; + + + +static void Initial_45_0(char *t0) +{ + char *t1; + char *t2; + char *t3; + +LAB0: t1 = (t0 + 2840U); + t2 = *((char **)t1); + if (t2 == 0) + goto LAB2; + +LAB3: goto *t2; + +LAB2: xsi_set_current_line(45, ng0); + +LAB4: xsi_set_current_line(47, ng0); + t2 = ((char*)((ng1))); + t3 = (t0 + 1928); + xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); + xsi_set_current_line(50, ng0); + t2 = (t0 + 2648); + xsi_process_wait(t2, 100000LL); + *((char **)t1) = &&LAB5; + +LAB1: return; +LAB5: xsi_set_current_line(51, ng0); + t2 = ((char*)((ng2))); + t3 = (t0 + 1928); + xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); + xsi_set_current_line(51, ng0); + t2 = (t0 + 2648); + xsi_process_wait(t2, 50000LL); + *((char **)t1) = &&LAB6; + goto LAB1; + +LAB6: xsi_set_current_line(52, ng0); + t2 = ((char*)((ng3))); + t3 = (t0 + 1928); + xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); + xsi_set_current_line(52, ng0); + t2 = (t0 + 2648); + xsi_process_wait(t2, 50000LL); + *((char **)t1) = &&LAB7; + goto LAB1; + +LAB7: xsi_set_current_line(53, ng0); + t2 = ((char*)((ng4))); + t3 = (t0 + 1928); + xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); + xsi_set_current_line(53, ng0); + t2 = (t0 + 2648); + xsi_process_wait(t2, 50000LL); + *((char **)t1) = &&LAB8; + goto LAB1; + +LAB8: xsi_set_current_line(54, ng0); + t2 = ((char*)((ng5))); + t3 = (t0 + 1928); + xsi_vlogvar_assign_value(t3, t2, 0, 0, 16); + xsi_set_current_line(54, ng0); + t2 = (t0 + 2648); + xsi_process_wait(t2, 50000LL); + *((char **)t1) = &&LAB9; + goto LAB1; + +LAB9: goto LAB1; + +} + + +extern void work_m_17956504886923659924_0893867553_init() +{ + static char *pe[] = {(void *)Initial_45_0}; + xsi_register_didat("work_m_17956504886923659924_0893867553", "isim/TEST_Bin2BCD_isim_beh.exe.sim/work/m_17956504886923659924_0893867553.didat"); + xsi_register_executes(pe); +} |