/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */ /* / / All Right Reserved. */ /* /---/ /\ */ /* \ \ / \ */ /* \___\/\___\ */ /***********************************************************************/ /* This file is designed for use with ISim build 0x7708f090 */ #define XSI_HIDE_SYMBOL_SPEC true #include "xsi.h" #include #ifdef __GNUC__ #include #else #include #define alloca _alloca #endif static const char *ng0 = "C:/Users/Student/Desktop/Workspace/adc_v2/clk_div.vhd"; static void work_a_3971038639_3212880686_p_0(char *t0) { unsigned char t1; char *t2; char *t3; unsigned char t4; unsigned char t5; unsigned char t6; char *t7; char *t8; int t9; int t10; char *t11; unsigned char t12; unsigned char t13; char *t14; char *t15; LAB0: xsi_set_current_line(21, ng0); t2 = (t0 + 1032U); t3 = *((char **)t2); t4 = *((unsigned char *)t3); t5 = (t4 == (unsigned char)3); if (t5 == 1) goto LAB5; LAB6: t1 = (unsigned char)0; LAB7: if (t1 != 0) goto LAB2; LAB4: LAB3: t2 = (t0 + 3112); *((int *)t2) = 1; LAB1: return; LAB2: xsi_set_current_line(22, ng0); t7 = (t0 + 1808U); t8 = *((char **)t7); t9 = *((int *)t8); t10 = (t9 + 1); t7 = (t0 + 1808U); t11 = *((char **)t7); t7 = (t11 + 0); *((int *)t7) = t10; xsi_set_current_line(27, ng0); t2 = (t0 + 1192U); t3 = *((char **)t2); t4 = *((unsigned char *)t3); t5 = (t4 == (unsigned char)2); if (t5 == 1) goto LAB11; LAB12: t1 = (unsigned char)0; LAB13: if (t1 != 0) goto LAB8; LAB10: LAB9: xsi_set_current_line(42, ng0); t2 = (t0 + 1192U); t3 = *((char **)t2); t4 = *((unsigned char *)t3); t5 = (t4 == (unsigned char)3); if (t5 == 1) goto LAB26; LAB27: t1 = (unsigned char)0; LAB28: if (t1 != 0) goto LAB23; LAB25: LAB24: xsi_set_current_line(57, ng0); t2 = (t0 + 1192U); t3 = *((char **)t2); t4 = *((unsigned char *)t3); t5 = (t4 == (unsigned char)2); if (t5 == 1) goto LAB41; LAB42: t1 = (unsigned char)0; LAB43: if (t1 != 0) goto LAB38; LAB40: LAB39: xsi_set_current_line(72, ng0); t2 = (t0 + 1192U); t3 = *((char **)t2); t4 = *((unsigned char *)t3); t5 = (t4 == (unsigned char)3); if (t5 == 1) goto LAB56; LAB57: t1 = (unsigned char)0; LAB58: if (t1 != 0) goto LAB53; LAB55: LAB54: goto LAB3; LAB5: t2 = (t0 + 992U); t6 = xsi_signal_has_event(t2); t1 = t6; goto LAB7; LAB8: xsi_set_current_line(28, ng0); t2 = (t0 + 1808U); t8 = *((char **)t2); t9 = *((int *)t8); t13 = (t9 >= 500000000); if (t13 != 0) goto LAB14; LAB16: LAB15: xsi_set_current_line(33, ng0); t2 = (t0 + 1808U); t3 = *((char **)t2); t9 = *((int *)t3); t4 = (t9 >= 0); if (t4 == 1) goto LAB20; LAB21: t1 = (unsigned char)0; LAB22: if (t1 != 0) goto LAB17; LAB19: xsi_set_current_line(37, ng0); t2 = (t0 + 3192); t3 = (t2 + 56U); t7 = *((char **)t3); t8 = (t7 + 56U); t11 = *((char **)t8); *((unsigned char *)t11) = (unsigned char)2; xsi_driver_first_trans_fast_port(t2); LAB18: goto LAB9; LAB11: t2 = (t0 + 1352U); t7 = *((char **)t2); t6 = *((unsigned char *)t7); t12 = (t6 == (unsigned char)2); t1 = t12; goto LAB13; LAB14: xsi_set_current_line(30, ng0); t2 = (t0 + 1808U); t11 = *((char **)t2); t2 = (t11 + 0); *((int *)t2) = 0; goto LAB15; LAB17: xsi_set_current_line(34, ng0); t2 = (t0 + 3192); t8 = (t2 + 56U); t11 = *((char **)t8); t14 = (t11 + 56U); t15 = *((char **)t14); *((unsigned char *)t15) = (unsigned char)3; xsi_driver_first_trans_fast_port(t2); goto LAB18; LAB20: t2 = (t0 + 1808U); t7 = *((char **)t2); t10 = *((int *)t7); t5 = (t10 <= 250000000); t1 = t5; goto LAB22; LAB23: xsi_set_current_line(43, ng0); t2 = (t0 + 1808U); t8 = *((char **)t2); t9 = *((int *)t8); t13 = (t9 >= 50000000); if (t13 != 0) goto LAB29; LAB31: LAB30: xsi_set_current_line(48, ng0); t2 = (t0 + 1808U); t3 = *((char **)t2); t9 = *((int *)t3); t4 = (t9 >= 0); if (t4 == 1) goto LAB35; LAB36: t1 = (unsigned char)0; LAB37: if (t1 != 0) goto LAB32; LAB34: xsi_set_current_line(52, ng0); t2 = (t0 + 3192); t3 = (t2 + 56U); t7 = *((char **)t3); t8 = (t7 + 56U); t11 = *((char **)t8); *((unsigned char *)t11) = (unsigned char)2; xsi_driver_first_trans_fast_port(t2); LAB33: goto LAB24; LAB26: t2 = (t0 + 1352U); t7 = *((char **)t2); t6 = *((unsigned char *)t7); t12 = (t6 == (unsigned char)2); t1 = t12; goto LAB28; LAB29: xsi_set_current_line(45, ng0); t2 = (t0 + 1808U); t11 = *((char **)t2); t2 = (t11 + 0); *((int *)t2) = 0; goto LAB30; LAB32: xsi_set_current_line(49, ng0); t2 = (t0 + 3192); t8 = (t2 + 56U); t11 = *((char **)t8); t14 = (t11 + 56U); t15 = *((char **)t14); *((unsigned char *)t15) = (unsigned char)3; xsi_driver_first_trans_fast_port(t2); goto LAB33; LAB35: t2 = (t0 + 1808U); t7 = *((char **)t2); t10 = *((int *)t7); t5 = (t10 <= 25000000); t1 = t5; goto LAB37; LAB38: xsi_set_current_line(58, ng0); t2 = (t0 + 1808U); t8 = *((char **)t2); t9 = *((int *)t8); t13 = (t9 >= 5000000); if (t13 != 0) goto LAB44; LAB46: LAB45: xsi_set_current_line(63, ng0); t2 = (t0 + 1808U); t3 = *((char **)t2); t9 = *((int *)t3); t4 = (t9 >= 0); if (t4 == 1) goto LAB50; LAB51: t1 = (unsigned char)0; LAB52: if (t1 != 0) goto LAB47; LAB49: xsi_set_current_line(67, ng0); t2 = (t0 + 3192); t3 = (t2 + 56U); t7 = *((char **)t3); t8 = (t7 + 56U); t11 = *((char **)t8); *((unsigned char *)t11) = (unsigned char)2; xsi_driver_first_trans_fast_port(t2); LAB48: goto LAB39; LAB41: t2 = (t0 + 1352U); t7 = *((char **)t2); t6 = *((unsigned char *)t7); t12 = (t6 == (unsigned char)3); t1 = t12; goto LAB43; LAB44: xsi_set_current_line(60, ng0); t2 = (t0 + 1808U); t11 = *((char **)t2); t2 = (t11 + 0); *((int *)t2) = 0; goto LAB45; LAB47: xsi_set_current_line(64, ng0); t2 = (t0 + 3192); t8 = (t2 + 56U); t11 = *((char **)t8); t14 = (t11 + 56U); t15 = *((char **)t14); *((unsigned char *)t15) = (unsigned char)3; xsi_driver_first_trans_fast_port(t2); goto LAB48; LAB50: t2 = (t0 + 1808U); t7 = *((char **)t2); t10 = *((int *)t7); t5 = (t10 <= 2500000); t1 = t5; goto LAB52; LAB53: xsi_set_current_line(73, ng0); t2 = (t0 + 1808U); t8 = *((char **)t2); t9 = *((int *)t8); t13 = (t9 >= 50000); if (t13 != 0) goto LAB59; LAB61: LAB60: xsi_set_current_line(78, ng0); t2 = (t0 + 1808U); t3 = *((char **)t2); t9 = *((int *)t3); t4 = (t9 >= 0); if (t4 == 1) goto LAB65; LAB66: t1 = (unsigned char)0; LAB67: if (t1 != 0) goto LAB62; LAB64: xsi_set_current_line(82, ng0); t2 = (t0 + 3192); t3 = (t2 + 56U); t7 = *((char **)t3); t8 = (t7 + 56U); t11 = *((char **)t8); *((unsigned char *)t11) = (unsigned char)2; xsi_driver_first_trans_fast_port(t2); LAB63: goto LAB54; LAB56: t2 = (t0 + 1352U); t7 = *((char **)t2); t6 = *((unsigned char *)t7); t12 = (t6 == (unsigned char)3); t1 = t12; goto LAB58; LAB59: xsi_set_current_line(75, ng0); t2 = (t0 + 1808U); t11 = *((char **)t2); t2 = (t11 + 0); *((int *)t2) = 0; goto LAB60; LAB62: xsi_set_current_line(79, ng0); t2 = (t0 + 3192); t8 = (t2 + 56U); t11 = *((char **)t8); t14 = (t11 + 56U); t15 = *((char **)t14); *((unsigned char *)t15) = (unsigned char)3; xsi_driver_first_trans_fast_port(t2); goto LAB63; LAB65: t2 = (t0 + 1808U); t7 = *((char **)t2); t10 = *((int *)t7); t5 = (t10 <= 25000); t1 = t5; goto LAB67; } extern void work_a_3971038639_3212880686_init() { static char *pe[] = {(void *)work_a_3971038639_3212880686_p_0}; xsi_register_didat("work_a_3971038639_3212880686", "isim/test_counter_isim_beh.exe.sim/work/a_3971038639_3212880686.didat"); xsi_register_executes(pe); }