1142 lines
26 KiB
C
1142 lines
26 KiB
C
/**********************************************************************/
|
|
/* ____ ____ */
|
|
/* / /\/ / */
|
|
/* /___/ \ / */
|
|
/* \ \ \/ */
|
|
/* \ \ 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 <memory.h>
|
|
#ifdef __GNUC__
|
|
#include <stdlib.h>
|
|
#else
|
|
#include <malloc.h>
|
|
#define alloca _alloca
|
|
#endif
|
|
static const char *ng0 = "C:/Users/zanek/Documents/GitHub/SE-030/cpld/CNT.v";
|
|
static int ng1[] = {0, 0};
|
|
static int ng2[] = {1, 0};
|
|
|
|
|
|
|
|
static void Cont_12_0(char *t0)
|
|
{
|
|
char t3[8];
|
|
char *t1;
|
|
char *t2;
|
|
char *t4;
|
|
char *t5;
|
|
char *t6;
|
|
unsigned int t7;
|
|
unsigned int t8;
|
|
unsigned int t9;
|
|
unsigned int t10;
|
|
unsigned int t11;
|
|
char *t12;
|
|
char *t13;
|
|
char *t14;
|
|
unsigned int t15;
|
|
unsigned int t16;
|
|
unsigned int t17;
|
|
unsigned int t18;
|
|
unsigned int t19;
|
|
unsigned int t20;
|
|
unsigned int t21;
|
|
unsigned int t22;
|
|
char *t23;
|
|
char *t24;
|
|
char *t25;
|
|
char *t26;
|
|
char *t27;
|
|
unsigned int t28;
|
|
unsigned int t29;
|
|
char *t30;
|
|
unsigned int t31;
|
|
unsigned int t32;
|
|
char *t33;
|
|
unsigned int t34;
|
|
unsigned int t35;
|
|
char *t36;
|
|
|
|
LAB0: t1 = (t0 + 3488U);
|
|
t2 = *((char **)t1);
|
|
if (t2 == 0)
|
|
goto LAB2;
|
|
|
|
LAB3: goto *t2;
|
|
|
|
LAB2: xsi_set_current_line(12, ng0);
|
|
t2 = (t0 + 2568);
|
|
t4 = (t2 + 56U);
|
|
t5 = *((char **)t4);
|
|
memset(t3, 0, 8);
|
|
t6 = (t5 + 4);
|
|
t7 = *((unsigned int *)t6);
|
|
t8 = (~(t7));
|
|
t9 = *((unsigned int *)t5);
|
|
t10 = (t9 & t8);
|
|
t11 = (t10 & 1U);
|
|
if (t11 != 0)
|
|
goto LAB7;
|
|
|
|
LAB5: if (*((unsigned int *)t6) == 0)
|
|
goto LAB4;
|
|
|
|
LAB6: t12 = (t3 + 4);
|
|
*((unsigned int *)t3) = 1;
|
|
*((unsigned int *)t12) = 1;
|
|
|
|
LAB7: t13 = (t3 + 4);
|
|
t14 = (t5 + 4);
|
|
t15 = *((unsigned int *)t5);
|
|
t16 = (~(t15));
|
|
*((unsigned int *)t3) = t16;
|
|
*((unsigned int *)t13) = 0;
|
|
if (*((unsigned int *)t14) != 0)
|
|
goto LAB9;
|
|
|
|
LAB8: t21 = *((unsigned int *)t3);
|
|
*((unsigned int *)t3) = (t21 & 1U);
|
|
t22 = *((unsigned int *)t13);
|
|
*((unsigned int *)t13) = (t22 & 1U);
|
|
t23 = (t0 + 4680);
|
|
t24 = (t23 + 56U);
|
|
t25 = *((char **)t24);
|
|
t26 = (t25 + 56U);
|
|
t27 = *((char **)t26);
|
|
memset(t27, 0, 8);
|
|
t28 = 1U;
|
|
t29 = t28;
|
|
t30 = (t3 + 4);
|
|
t31 = *((unsigned int *)t3);
|
|
t28 = (t28 & t31);
|
|
t32 = *((unsigned int *)t30);
|
|
t29 = (t29 & t32);
|
|
t33 = (t27 + 4);
|
|
t34 = *((unsigned int *)t27);
|
|
*((unsigned int *)t27) = (t34 | t28);
|
|
t35 = *((unsigned int *)t33);
|
|
*((unsigned int *)t33) = (t35 | t29);
|
|
xsi_driver_vfirst_trans(t23, 0, 0);
|
|
t36 = (t0 + 4552);
|
|
*((int *)t36) = 1;
|
|
|
|
LAB1: return;
|
|
LAB4: *((unsigned int *)t3) = 1;
|
|
goto LAB7;
|
|
|
|
LAB9: t17 = *((unsigned int *)t3);
|
|
t18 = *((unsigned int *)t14);
|
|
*((unsigned int *)t3) = (t17 | t18);
|
|
t19 = *((unsigned int *)t13);
|
|
t20 = *((unsigned int *)t14);
|
|
*((unsigned int *)t13) = (t19 | t20);
|
|
goto LAB8;
|
|
|
|
}
|
|
|
|
static void Cont_13_1(char *t0)
|
|
{
|
|
char t5[8];
|
|
char t14[8];
|
|
char t26[8];
|
|
char t47[8];
|
|
char t55[8];
|
|
char *t1;
|
|
char *t2;
|
|
char *t3;
|
|
char *t4;
|
|
char *t6;
|
|
char *t7;
|
|
unsigned int t8;
|
|
unsigned int t9;
|
|
unsigned int t10;
|
|
unsigned int t11;
|
|
unsigned int t12;
|
|
unsigned int t13;
|
|
char *t15;
|
|
unsigned int t16;
|
|
unsigned int t17;
|
|
unsigned int t18;
|
|
unsigned int t19;
|
|
unsigned int t20;
|
|
char *t21;
|
|
char *t22;
|
|
unsigned int t23;
|
|
unsigned int t24;
|
|
unsigned int t25;
|
|
char *t27;
|
|
char *t28;
|
|
char *t29;
|
|
char *t30;
|
|
unsigned int t31;
|
|
unsigned int t32;
|
|
unsigned int t33;
|
|
unsigned int t34;
|
|
unsigned int t35;
|
|
char *t36;
|
|
char *t37;
|
|
char *t38;
|
|
unsigned int t39;
|
|
unsigned int t40;
|
|
unsigned int t41;
|
|
unsigned int t42;
|
|
unsigned int t43;
|
|
unsigned int t44;
|
|
unsigned int t45;
|
|
unsigned int t46;
|
|
char *t48;
|
|
unsigned int t49;
|
|
unsigned int t50;
|
|
unsigned int t51;
|
|
unsigned int t52;
|
|
unsigned int t53;
|
|
char *t54;
|
|
unsigned int t56;
|
|
unsigned int t57;
|
|
unsigned int t58;
|
|
char *t59;
|
|
char *t60;
|
|
char *t61;
|
|
unsigned int t62;
|
|
unsigned int t63;
|
|
unsigned int t64;
|
|
unsigned int t65;
|
|
unsigned int t66;
|
|
unsigned int t67;
|
|
unsigned int t68;
|
|
char *t69;
|
|
char *t70;
|
|
unsigned int t71;
|
|
unsigned int t72;
|
|
unsigned int t73;
|
|
unsigned int t74;
|
|
unsigned int t75;
|
|
unsigned int t76;
|
|
unsigned int t77;
|
|
unsigned int t78;
|
|
int t79;
|
|
int t80;
|
|
unsigned int t81;
|
|
unsigned int t82;
|
|
unsigned int t83;
|
|
unsigned int t84;
|
|
unsigned int t85;
|
|
unsigned int t86;
|
|
char *t87;
|
|
char *t88;
|
|
char *t89;
|
|
char *t90;
|
|
char *t91;
|
|
unsigned int t92;
|
|
unsigned int t93;
|
|
char *t94;
|
|
unsigned int t95;
|
|
unsigned int t96;
|
|
char *t97;
|
|
unsigned int t98;
|
|
unsigned int t99;
|
|
char *t100;
|
|
|
|
LAB0: t1 = (t0 + 3736U);
|
|
t2 = *((char **)t1);
|
|
if (t2 == 0)
|
|
goto LAB2;
|
|
|
|
LAB3: goto *t2;
|
|
|
|
LAB2: xsi_set_current_line(13, ng0);
|
|
t2 = (t0 + 2408);
|
|
t3 = (t2 + 56U);
|
|
t4 = *((char **)t3);
|
|
memset(t5, 0, 8);
|
|
t6 = (t5 + 4);
|
|
t7 = (t4 + 4);
|
|
t8 = *((unsigned int *)t4);
|
|
t9 = (t8 >> 8);
|
|
t10 = (t9 & 1);
|
|
*((unsigned int *)t5) = t10;
|
|
t11 = *((unsigned int *)t7);
|
|
t12 = (t11 >> 8);
|
|
t13 = (t12 & 1);
|
|
*((unsigned int *)t6) = t13;
|
|
memset(t14, 0, 8);
|
|
t15 = (t5 + 4);
|
|
t16 = *((unsigned int *)t15);
|
|
t17 = (~(t16));
|
|
t18 = *((unsigned int *)t5);
|
|
t19 = (t18 & t17);
|
|
t20 = (t19 & 1U);
|
|
if (t20 != 0)
|
|
goto LAB4;
|
|
|
|
LAB5: if (*((unsigned int *)t15) != 0)
|
|
goto LAB6;
|
|
|
|
LAB7: t22 = (t14 + 4);
|
|
t23 = *((unsigned int *)t14);
|
|
t24 = *((unsigned int *)t22);
|
|
t25 = (t23 || t24);
|
|
if (t25 > 0)
|
|
goto LAB8;
|
|
|
|
LAB9: memcpy(t55, t14, 8);
|
|
|
|
LAB10: t87 = (t0 + 4744);
|
|
t88 = (t87 + 56U);
|
|
t89 = *((char **)t88);
|
|
t90 = (t89 + 56U);
|
|
t91 = *((char **)t90);
|
|
memset(t91, 0, 8);
|
|
t92 = 1U;
|
|
t93 = t92;
|
|
t94 = (t55 + 4);
|
|
t95 = *((unsigned int *)t55);
|
|
t92 = (t92 & t95);
|
|
t96 = *((unsigned int *)t94);
|
|
t93 = (t93 & t96);
|
|
t97 = (t91 + 4);
|
|
t98 = *((unsigned int *)t91);
|
|
*((unsigned int *)t91) = (t98 | t92);
|
|
t99 = *((unsigned int *)t97);
|
|
*((unsigned int *)t97) = (t99 | t93);
|
|
xsi_driver_vfirst_trans(t87, 0, 0);
|
|
t100 = (t0 + 4568);
|
|
*((int *)t100) = 1;
|
|
|
|
LAB1: return;
|
|
LAB4: *((unsigned int *)t14) = 1;
|
|
goto LAB7;
|
|
|
|
LAB6: t21 = (t14 + 4);
|
|
*((unsigned int *)t14) = 1;
|
|
*((unsigned int *)t21) = 1;
|
|
goto LAB7;
|
|
|
|
LAB8: t27 = (t0 + 2568);
|
|
t28 = (t27 + 56U);
|
|
t29 = *((char **)t28);
|
|
memset(t26, 0, 8);
|
|
t30 = (t29 + 4);
|
|
t31 = *((unsigned int *)t30);
|
|
t32 = (~(t31));
|
|
t33 = *((unsigned int *)t29);
|
|
t34 = (t33 & t32);
|
|
t35 = (t34 & 1U);
|
|
if (t35 != 0)
|
|
goto LAB14;
|
|
|
|
LAB12: if (*((unsigned int *)t30) == 0)
|
|
goto LAB11;
|
|
|
|
LAB13: t36 = (t26 + 4);
|
|
*((unsigned int *)t26) = 1;
|
|
*((unsigned int *)t36) = 1;
|
|
|
|
LAB14: t37 = (t26 + 4);
|
|
t38 = (t29 + 4);
|
|
t39 = *((unsigned int *)t29);
|
|
t40 = (~(t39));
|
|
*((unsigned int *)t26) = t40;
|
|
*((unsigned int *)t37) = 0;
|
|
if (*((unsigned int *)t38) != 0)
|
|
goto LAB16;
|
|
|
|
LAB15: t45 = *((unsigned int *)t26);
|
|
*((unsigned int *)t26) = (t45 & 1U);
|
|
t46 = *((unsigned int *)t37);
|
|
*((unsigned int *)t37) = (t46 & 1U);
|
|
memset(t47, 0, 8);
|
|
t48 = (t26 + 4);
|
|
t49 = *((unsigned int *)t48);
|
|
t50 = (~(t49));
|
|
t51 = *((unsigned int *)t26);
|
|
t52 = (t51 & t50);
|
|
t53 = (t52 & 1U);
|
|
if (t53 != 0)
|
|
goto LAB17;
|
|
|
|
LAB18: if (*((unsigned int *)t48) != 0)
|
|
goto LAB19;
|
|
|
|
LAB20: t56 = *((unsigned int *)t14);
|
|
t57 = *((unsigned int *)t47);
|
|
t58 = (t56 & t57);
|
|
*((unsigned int *)t55) = t58;
|
|
t59 = (t14 + 4);
|
|
t60 = (t47 + 4);
|
|
t61 = (t55 + 4);
|
|
t62 = *((unsigned int *)t59);
|
|
t63 = *((unsigned int *)t60);
|
|
t64 = (t62 | t63);
|
|
*((unsigned int *)t61) = t64;
|
|
t65 = *((unsigned int *)t61);
|
|
t66 = (t65 != 0);
|
|
if (t66 == 1)
|
|
goto LAB21;
|
|
|
|
LAB22:
|
|
LAB23: goto LAB10;
|
|
|
|
LAB11: *((unsigned int *)t26) = 1;
|
|
goto LAB14;
|
|
|
|
LAB16: t41 = *((unsigned int *)t26);
|
|
t42 = *((unsigned int *)t38);
|
|
*((unsigned int *)t26) = (t41 | t42);
|
|
t43 = *((unsigned int *)t37);
|
|
t44 = *((unsigned int *)t38);
|
|
*((unsigned int *)t37) = (t43 | t44);
|
|
goto LAB15;
|
|
|
|
LAB17: *((unsigned int *)t47) = 1;
|
|
goto LAB20;
|
|
|
|
LAB19: t54 = (t47 + 4);
|
|
*((unsigned int *)t47) = 1;
|
|
*((unsigned int *)t54) = 1;
|
|
goto LAB20;
|
|
|
|
LAB21: t67 = *((unsigned int *)t55);
|
|
t68 = *((unsigned int *)t61);
|
|
*((unsigned int *)t55) = (t67 | t68);
|
|
t69 = (t14 + 4);
|
|
t70 = (t47 + 4);
|
|
t71 = *((unsigned int *)t14);
|
|
t72 = (~(t71));
|
|
t73 = *((unsigned int *)t69);
|
|
t74 = (~(t73));
|
|
t75 = *((unsigned int *)t47);
|
|
t76 = (~(t75));
|
|
t77 = *((unsigned int *)t70);
|
|
t78 = (~(t77));
|
|
t79 = (t72 & t74);
|
|
t80 = (t76 & t78);
|
|
t81 = (~(t79));
|
|
t82 = (~(t80));
|
|
t83 = *((unsigned int *)t61);
|
|
*((unsigned int *)t61) = (t83 & t81);
|
|
t84 = *((unsigned int *)t61);
|
|
*((unsigned int *)t61) = (t84 & t82);
|
|
t85 = *((unsigned int *)t55);
|
|
*((unsigned int *)t55) = (t85 & t81);
|
|
t86 = *((unsigned int *)t55);
|
|
*((unsigned int *)t55) = (t86 & t82);
|
|
goto LAB23;
|
|
|
|
}
|
|
|
|
static void Always_14_2(char *t0)
|
|
{
|
|
char t7[8];
|
|
char t16[8];
|
|
char t31[8];
|
|
char t40[8];
|
|
char t48[8];
|
|
char *t1;
|
|
char *t2;
|
|
char *t3;
|
|
char *t4;
|
|
char *t5;
|
|
char *t6;
|
|
char *t8;
|
|
char *t9;
|
|
unsigned int t10;
|
|
unsigned int t11;
|
|
unsigned int t12;
|
|
unsigned int t13;
|
|
unsigned int t14;
|
|
unsigned int t15;
|
|
char *t17;
|
|
unsigned int t18;
|
|
unsigned int t19;
|
|
unsigned int t20;
|
|
unsigned int t21;
|
|
unsigned int t22;
|
|
char *t23;
|
|
char *t24;
|
|
unsigned int t25;
|
|
unsigned int t26;
|
|
unsigned int t27;
|
|
char *t28;
|
|
char *t29;
|
|
char *t30;
|
|
char *t32;
|
|
char *t33;
|
|
unsigned int t34;
|
|
unsigned int t35;
|
|
unsigned int t36;
|
|
unsigned int t37;
|
|
unsigned int t38;
|
|
unsigned int t39;
|
|
char *t41;
|
|
unsigned int t42;
|
|
unsigned int t43;
|
|
unsigned int t44;
|
|
unsigned int t45;
|
|
unsigned int t46;
|
|
char *t47;
|
|
unsigned int t49;
|
|
unsigned int t50;
|
|
unsigned int t51;
|
|
char *t52;
|
|
char *t53;
|
|
char *t54;
|
|
unsigned int t55;
|
|
unsigned int t56;
|
|
unsigned int t57;
|
|
unsigned int t58;
|
|
unsigned int t59;
|
|
unsigned int t60;
|
|
unsigned int t61;
|
|
char *t62;
|
|
char *t63;
|
|
unsigned int t64;
|
|
unsigned int t65;
|
|
unsigned int t66;
|
|
unsigned int t67;
|
|
unsigned int t68;
|
|
unsigned int t69;
|
|
unsigned int t70;
|
|
unsigned int t71;
|
|
int t72;
|
|
int t73;
|
|
unsigned int t74;
|
|
unsigned int t75;
|
|
unsigned int t76;
|
|
unsigned int t77;
|
|
unsigned int t78;
|
|
unsigned int t79;
|
|
char *t80;
|
|
unsigned int t81;
|
|
unsigned int t82;
|
|
unsigned int t83;
|
|
unsigned int t84;
|
|
unsigned int t85;
|
|
char *t86;
|
|
char *t87;
|
|
|
|
LAB0: t1 = (t0 + 3984U);
|
|
t2 = *((char **)t1);
|
|
if (t2 == 0)
|
|
goto LAB2;
|
|
|
|
LAB3: goto *t2;
|
|
|
|
LAB2: xsi_set_current_line(14, ng0);
|
|
t2 = (t0 + 4584);
|
|
*((int *)t2) = 1;
|
|
t3 = (t0 + 4016);
|
|
*((char **)t3) = t2;
|
|
*((char **)t1) = &&LAB4;
|
|
|
|
LAB1: return;
|
|
LAB4: xsi_set_current_line(14, ng0);
|
|
|
|
LAB5: xsi_set_current_line(15, ng0);
|
|
t4 = (t0 + 2408);
|
|
t5 = (t4 + 56U);
|
|
t6 = *((char **)t5);
|
|
memset(t7, 0, 8);
|
|
t8 = (t7 + 4);
|
|
t9 = (t6 + 4);
|
|
t10 = *((unsigned int *)t6);
|
|
t11 = (t10 >> 8);
|
|
t12 = (t11 & 1);
|
|
*((unsigned int *)t7) = t12;
|
|
t13 = *((unsigned int *)t9);
|
|
t14 = (t13 >> 8);
|
|
t15 = (t14 & 1);
|
|
*((unsigned int *)t8) = t15;
|
|
memset(t16, 0, 8);
|
|
t17 = (t7 + 4);
|
|
t18 = *((unsigned int *)t17);
|
|
t19 = (~(t18));
|
|
t20 = *((unsigned int *)t7);
|
|
t21 = (t20 & t19);
|
|
t22 = (t21 & 1U);
|
|
if (t22 != 0)
|
|
goto LAB6;
|
|
|
|
LAB7: if (*((unsigned int *)t17) != 0)
|
|
goto LAB8;
|
|
|
|
LAB9: t24 = (t16 + 4);
|
|
t25 = *((unsigned int *)t16);
|
|
t26 = *((unsigned int *)t24);
|
|
t27 = (t25 || t26);
|
|
if (t27 > 0)
|
|
goto LAB10;
|
|
|
|
LAB11: memcpy(t48, t16, 8);
|
|
|
|
LAB12: t80 = (t48 + 4);
|
|
t81 = *((unsigned int *)t80);
|
|
t82 = (~(t81));
|
|
t83 = *((unsigned int *)t48);
|
|
t84 = (t83 & t82);
|
|
t85 = (t84 != 0);
|
|
if (t85 > 0)
|
|
goto LAB20;
|
|
|
|
LAB21: xsi_set_current_line(18, ng0);
|
|
|
|
LAB24: xsi_set_current_line(19, ng0);
|
|
t2 = (t0 + 2408);
|
|
t3 = (t2 + 56U);
|
|
t4 = *((char **)t3);
|
|
t5 = ((char*)((ng2)));
|
|
memset(t7, 0, 8);
|
|
xsi_vlog_unsigned_add(t7, 32, t4, 9, t5, 32);
|
|
t6 = (t0 + 2408);
|
|
xsi_vlogvar_wait_assign_value(t6, t7, 0, 0, 9, 0LL);
|
|
xsi_set_current_line(20, ng0);
|
|
t2 = (t0 + 1688U);
|
|
t3 = *((char **)t2);
|
|
t2 = (t3 + 4);
|
|
t10 = *((unsigned int *)t2);
|
|
t11 = (~(t10));
|
|
t12 = *((unsigned int *)t3);
|
|
t13 = (t12 & t11);
|
|
t14 = (t13 != 0);
|
|
if (t14 > 0)
|
|
goto LAB25;
|
|
|
|
LAB26:
|
|
LAB27:
|
|
LAB22: goto LAB2;
|
|
|
|
LAB6: *((unsigned int *)t16) = 1;
|
|
goto LAB9;
|
|
|
|
LAB8: t23 = (t16 + 4);
|
|
*((unsigned int *)t16) = 1;
|
|
*((unsigned int *)t23) = 1;
|
|
goto LAB9;
|
|
|
|
LAB10: t28 = (t0 + 2408);
|
|
t29 = (t28 + 56U);
|
|
t30 = *((char **)t29);
|
|
memset(t31, 0, 8);
|
|
t32 = (t31 + 4);
|
|
t33 = (t30 + 4);
|
|
t34 = *((unsigned int *)t30);
|
|
t35 = (t34 >> 5);
|
|
t36 = (t35 & 1);
|
|
*((unsigned int *)t31) = t36;
|
|
t37 = *((unsigned int *)t33);
|
|
t38 = (t37 >> 5);
|
|
t39 = (t38 & 1);
|
|
*((unsigned int *)t32) = t39;
|
|
memset(t40, 0, 8);
|
|
t41 = (t31 + 4);
|
|
t42 = *((unsigned int *)t41);
|
|
t43 = (~(t42));
|
|
t44 = *((unsigned int *)t31);
|
|
t45 = (t44 & t43);
|
|
t46 = (t45 & 1U);
|
|
if (t46 != 0)
|
|
goto LAB13;
|
|
|
|
LAB14: if (*((unsigned int *)t41) != 0)
|
|
goto LAB15;
|
|
|
|
LAB16: t49 = *((unsigned int *)t16);
|
|
t50 = *((unsigned int *)t40);
|
|
t51 = (t49 & t50);
|
|
*((unsigned int *)t48) = t51;
|
|
t52 = (t16 + 4);
|
|
t53 = (t40 + 4);
|
|
t54 = (t48 + 4);
|
|
t55 = *((unsigned int *)t52);
|
|
t56 = *((unsigned int *)t53);
|
|
t57 = (t55 | t56);
|
|
*((unsigned int *)t54) = t57;
|
|
t58 = *((unsigned int *)t54);
|
|
t59 = (t58 != 0);
|
|
if (t59 == 1)
|
|
goto LAB17;
|
|
|
|
LAB18:
|
|
LAB19: goto LAB12;
|
|
|
|
LAB13: *((unsigned int *)t40) = 1;
|
|
goto LAB16;
|
|
|
|
LAB15: t47 = (t40 + 4);
|
|
*((unsigned int *)t40) = 1;
|
|
*((unsigned int *)t47) = 1;
|
|
goto LAB16;
|
|
|
|
LAB17: t60 = *((unsigned int *)t48);
|
|
t61 = *((unsigned int *)t54);
|
|
*((unsigned int *)t48) = (t60 | t61);
|
|
t62 = (t16 + 4);
|
|
t63 = (t40 + 4);
|
|
t64 = *((unsigned int *)t16);
|
|
t65 = (~(t64));
|
|
t66 = *((unsigned int *)t62);
|
|
t67 = (~(t66));
|
|
t68 = *((unsigned int *)t40);
|
|
t69 = (~(t68));
|
|
t70 = *((unsigned int *)t63);
|
|
t71 = (~(t70));
|
|
t72 = (t65 & t67);
|
|
t73 = (t69 & t71);
|
|
t74 = (~(t72));
|
|
t75 = (~(t73));
|
|
t76 = *((unsigned int *)t54);
|
|
*((unsigned int *)t54) = (t76 & t74);
|
|
t77 = *((unsigned int *)t54);
|
|
*((unsigned int *)t54) = (t77 & t75);
|
|
t78 = *((unsigned int *)t48);
|
|
*((unsigned int *)t48) = (t78 & t74);
|
|
t79 = *((unsigned int *)t48);
|
|
*((unsigned int *)t48) = (t79 & t75);
|
|
goto LAB19;
|
|
|
|
LAB20: xsi_set_current_line(15, ng0);
|
|
|
|
LAB23: xsi_set_current_line(16, ng0);
|
|
t86 = ((char*)((ng1)));
|
|
t87 = (t0 + 2408);
|
|
xsi_vlogvar_wait_assign_value(t87, t86, 0, 0, 9, 0LL);
|
|
xsi_set_current_line(17, ng0);
|
|
t2 = ((char*)((ng1)));
|
|
t3 = (t0 + 2568);
|
|
xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 0LL);
|
|
goto LAB22;
|
|
|
|
LAB25: xsi_set_current_line(20, ng0);
|
|
t4 = ((char*)((ng2)));
|
|
t5 = (t0 + 2568);
|
|
xsi_vlogvar_wait_assign_value(t5, t4, 0, 0, 1, 0LL);
|
|
goto LAB27;
|
|
|
|
}
|
|
|
|
static void Always_25_3(char *t0)
|
|
{
|
|
char t4[8];
|
|
char t31[8];
|
|
char t39[8];
|
|
char t46[8];
|
|
char t54[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;
|
|
char *t14;
|
|
unsigned int t15;
|
|
unsigned int t16;
|
|
unsigned int t17;
|
|
unsigned int t18;
|
|
unsigned int t19;
|
|
unsigned int t20;
|
|
unsigned int t21;
|
|
unsigned int t22;
|
|
char *t23;
|
|
unsigned int t24;
|
|
unsigned int t25;
|
|
unsigned int t26;
|
|
unsigned int t27;
|
|
unsigned int t28;
|
|
char *t29;
|
|
char *t30;
|
|
unsigned int t32;
|
|
unsigned int t33;
|
|
unsigned int t34;
|
|
unsigned int t35;
|
|
unsigned int t36;
|
|
char *t37;
|
|
char *t38;
|
|
unsigned int t40;
|
|
unsigned int t41;
|
|
unsigned int t42;
|
|
char *t43;
|
|
char *t44;
|
|
char *t45;
|
|
char *t47;
|
|
unsigned int t48;
|
|
unsigned int t49;
|
|
unsigned int t50;
|
|
unsigned int t51;
|
|
unsigned int t52;
|
|
char *t53;
|
|
unsigned int t55;
|
|
unsigned int t56;
|
|
unsigned int t57;
|
|
char *t58;
|
|
char *t59;
|
|
char *t60;
|
|
unsigned int t61;
|
|
unsigned int t62;
|
|
unsigned int t63;
|
|
unsigned int t64;
|
|
unsigned int t65;
|
|
unsigned int t66;
|
|
unsigned int t67;
|
|
char *t68;
|
|
char *t69;
|
|
unsigned int t70;
|
|
unsigned int t71;
|
|
unsigned int t72;
|
|
unsigned int t73;
|
|
unsigned int t74;
|
|
unsigned int t75;
|
|
unsigned int t76;
|
|
unsigned int t77;
|
|
int t78;
|
|
int t79;
|
|
unsigned int t80;
|
|
unsigned int t81;
|
|
unsigned int t82;
|
|
unsigned int t83;
|
|
unsigned int t84;
|
|
unsigned int t85;
|
|
char *t86;
|
|
unsigned int t87;
|
|
unsigned int t88;
|
|
unsigned int t89;
|
|
unsigned int t90;
|
|
unsigned int t91;
|
|
char *t92;
|
|
char *t93;
|
|
|
|
LAB0: t1 = (t0 + 4232U);
|
|
t2 = *((char **)t1);
|
|
if (t2 == 0)
|
|
goto LAB2;
|
|
|
|
LAB3: goto *t2;
|
|
|
|
LAB2: xsi_set_current_line(25, ng0);
|
|
t2 = (t0 + 4600);
|
|
*((int *)t2) = 1;
|
|
t3 = (t0 + 4264);
|
|
*((char **)t3) = t2;
|
|
*((char **)t1) = &&LAB4;
|
|
|
|
LAB1: return;
|
|
LAB4: xsi_set_current_line(25, ng0);
|
|
|
|
LAB5: xsi_set_current_line(26, ng0);
|
|
t5 = (t0 + 1208U);
|
|
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 LAB9;
|
|
|
|
LAB7: if (*((unsigned int *)t5) == 0)
|
|
goto LAB6;
|
|
|
|
LAB8: t12 = (t4 + 4);
|
|
*((unsigned int *)t4) = 1;
|
|
*((unsigned int *)t12) = 1;
|
|
|
|
LAB9: t13 = (t4 + 4);
|
|
t14 = (t6 + 4);
|
|
t15 = *((unsigned int *)t6);
|
|
t16 = (~(t15));
|
|
*((unsigned int *)t4) = t16;
|
|
*((unsigned int *)t13) = 0;
|
|
if (*((unsigned int *)t14) != 0)
|
|
goto LAB11;
|
|
|
|
LAB10: t21 = *((unsigned int *)t4);
|
|
*((unsigned int *)t4) = (t21 & 1U);
|
|
t22 = *((unsigned int *)t13);
|
|
*((unsigned int *)t13) = (t22 & 1U);
|
|
t23 = (t4 + 4);
|
|
t24 = *((unsigned int *)t23);
|
|
t25 = (~(t24));
|
|
t26 = *((unsigned int *)t4);
|
|
t27 = (t26 & t25);
|
|
t28 = (t27 != 0);
|
|
if (t28 > 0)
|
|
goto LAB12;
|
|
|
|
LAB13: xsi_set_current_line(29, ng0);
|
|
|
|
LAB16: xsi_set_current_line(30, ng0);
|
|
t2 = (t0 + 2408);
|
|
t3 = (t2 + 56U);
|
|
t5 = *((char **)t3);
|
|
memset(t4, 0, 8);
|
|
t6 = (t4 + 4);
|
|
t12 = (t5 + 4);
|
|
t7 = *((unsigned int *)t5);
|
|
t8 = (t7 >> 0);
|
|
*((unsigned int *)t4) = t8;
|
|
t9 = *((unsigned int *)t12);
|
|
t10 = (t9 >> 0);
|
|
*((unsigned int *)t6) = t10;
|
|
t11 = *((unsigned int *)t4);
|
|
*((unsigned int *)t4) = (t11 & 63U);
|
|
t15 = *((unsigned int *)t6);
|
|
*((unsigned int *)t6) = (t15 & 63U);
|
|
t13 = ((char*)((ng1)));
|
|
memset(t31, 0, 8);
|
|
t14 = (t4 + 4);
|
|
t23 = (t13 + 4);
|
|
t16 = *((unsigned int *)t4);
|
|
t17 = *((unsigned int *)t13);
|
|
t18 = (t16 ^ t17);
|
|
t19 = *((unsigned int *)t14);
|
|
t20 = *((unsigned int *)t23);
|
|
t21 = (t19 ^ t20);
|
|
t22 = (t18 | t21);
|
|
t24 = *((unsigned int *)t14);
|
|
t25 = *((unsigned int *)t23);
|
|
t26 = (t24 | t25);
|
|
t27 = (~(t26));
|
|
t28 = (t22 & t27);
|
|
if (t28 != 0)
|
|
goto LAB20;
|
|
|
|
LAB17: if (t26 != 0)
|
|
goto LAB19;
|
|
|
|
LAB18: *((unsigned int *)t31) = 1;
|
|
|
|
LAB20: t30 = (t31 + 4);
|
|
t32 = *((unsigned int *)t30);
|
|
t33 = (~(t32));
|
|
t34 = *((unsigned int *)t31);
|
|
t35 = (t34 & t33);
|
|
t36 = (t35 != 0);
|
|
if (t36 > 0)
|
|
goto LAB21;
|
|
|
|
LAB22:
|
|
LAB23: xsi_set_current_line(31, ng0);
|
|
t2 = (t0 + 2408);
|
|
t3 = (t2 + 56U);
|
|
t5 = *((char **)t3);
|
|
memset(t4, 0, 8);
|
|
t6 = (t4 + 4);
|
|
t12 = (t5 + 4);
|
|
t7 = *((unsigned int *)t5);
|
|
t8 = (t7 >> 0);
|
|
*((unsigned int *)t4) = t8;
|
|
t9 = *((unsigned int *)t12);
|
|
t10 = (t9 >> 0);
|
|
*((unsigned int *)t6) = t10;
|
|
t11 = *((unsigned int *)t4);
|
|
*((unsigned int *)t4) = (t11 & 63U);
|
|
t15 = *((unsigned int *)t6);
|
|
*((unsigned int *)t6) = (t15 & 63U);
|
|
t13 = ((char*)((ng1)));
|
|
memset(t31, 0, 8);
|
|
t14 = (t4 + 4);
|
|
t23 = (t13 + 4);
|
|
t16 = *((unsigned int *)t4);
|
|
t17 = *((unsigned int *)t13);
|
|
t18 = (t16 ^ t17);
|
|
t19 = *((unsigned int *)t14);
|
|
t20 = *((unsigned int *)t23);
|
|
t21 = (t19 ^ t20);
|
|
t22 = (t18 | t21);
|
|
t24 = *((unsigned int *)t14);
|
|
t25 = *((unsigned int *)t23);
|
|
t26 = (t24 | t25);
|
|
t27 = (~(t26));
|
|
t28 = (t22 & t27);
|
|
if (t28 != 0)
|
|
goto LAB27;
|
|
|
|
LAB24: if (t26 != 0)
|
|
goto LAB26;
|
|
|
|
LAB25: *((unsigned int *)t31) = 1;
|
|
|
|
LAB27: memset(t39, 0, 8);
|
|
t30 = (t31 + 4);
|
|
t32 = *((unsigned int *)t30);
|
|
t33 = (~(t32));
|
|
t34 = *((unsigned int *)t31);
|
|
t35 = (t34 & t33);
|
|
t36 = (t35 & 1U);
|
|
if (t36 != 0)
|
|
goto LAB28;
|
|
|
|
LAB29: if (*((unsigned int *)t30) != 0)
|
|
goto LAB30;
|
|
|
|
LAB31: t38 = (t39 + 4);
|
|
t40 = *((unsigned int *)t39);
|
|
t41 = *((unsigned int *)t38);
|
|
t42 = (t40 || t41);
|
|
if (t42 > 0)
|
|
goto LAB32;
|
|
|
|
LAB33: memcpy(t54, t39, 8);
|
|
|
|
LAB34: t86 = (t54 + 4);
|
|
t87 = *((unsigned int *)t86);
|
|
t88 = (~(t87));
|
|
t89 = *((unsigned int *)t54);
|
|
t90 = (t89 & t88);
|
|
t91 = (t90 != 0);
|
|
if (t91 > 0)
|
|
goto LAB42;
|
|
|
|
LAB43:
|
|
LAB44:
|
|
LAB14: goto LAB2;
|
|
|
|
LAB6: *((unsigned int *)t4) = 1;
|
|
goto LAB9;
|
|
|
|
LAB11: t17 = *((unsigned int *)t4);
|
|
t18 = *((unsigned int *)t14);
|
|
*((unsigned int *)t4) = (t17 | t18);
|
|
t19 = *((unsigned int *)t13);
|
|
t20 = *((unsigned int *)t14);
|
|
*((unsigned int *)t13) = (t19 | t20);
|
|
goto LAB10;
|
|
|
|
LAB12: xsi_set_current_line(26, ng0);
|
|
|
|
LAB15: xsi_set_current_line(27, ng0);
|
|
t29 = ((char*)((ng1)));
|
|
t30 = (t0 + 2088);
|
|
xsi_vlogvar_wait_assign_value(t30, t29, 0, 0, 1, 0LL);
|
|
xsi_set_current_line(28, ng0);
|
|
t2 = ((char*)((ng1)));
|
|
t3 = (t0 + 2248);
|
|
xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 0LL);
|
|
goto LAB14;
|
|
|
|
LAB19: t29 = (t31 + 4);
|
|
*((unsigned int *)t31) = 1;
|
|
*((unsigned int *)t29) = 1;
|
|
goto LAB20;
|
|
|
|
LAB21: xsi_set_current_line(30, ng0);
|
|
t37 = ((char*)((ng2)));
|
|
t38 = (t0 + 2088);
|
|
xsi_vlogvar_wait_assign_value(t38, t37, 0, 0, 1, 0LL);
|
|
goto LAB23;
|
|
|
|
LAB26: t29 = (t31 + 4);
|
|
*((unsigned int *)t31) = 1;
|
|
*((unsigned int *)t29) = 1;
|
|
goto LAB27;
|
|
|
|
LAB28: *((unsigned int *)t39) = 1;
|
|
goto LAB31;
|
|
|
|
LAB30: t37 = (t39 + 4);
|
|
*((unsigned int *)t39) = 1;
|
|
*((unsigned int *)t37) = 1;
|
|
goto LAB31;
|
|
|
|
LAB32: t43 = (t0 + 2088);
|
|
t44 = (t43 + 56U);
|
|
t45 = *((char **)t44);
|
|
memset(t46, 0, 8);
|
|
t47 = (t45 + 4);
|
|
t48 = *((unsigned int *)t47);
|
|
t49 = (~(t48));
|
|
t50 = *((unsigned int *)t45);
|
|
t51 = (t50 & t49);
|
|
t52 = (t51 & 1U);
|
|
if (t52 != 0)
|
|
goto LAB35;
|
|
|
|
LAB36: if (*((unsigned int *)t47) != 0)
|
|
goto LAB37;
|
|
|
|
LAB38: t55 = *((unsigned int *)t39);
|
|
t56 = *((unsigned int *)t46);
|
|
t57 = (t55 & t56);
|
|
*((unsigned int *)t54) = t57;
|
|
t58 = (t39 + 4);
|
|
t59 = (t46 + 4);
|
|
t60 = (t54 + 4);
|
|
t61 = *((unsigned int *)t58);
|
|
t62 = *((unsigned int *)t59);
|
|
t63 = (t61 | t62);
|
|
*((unsigned int *)t60) = t63;
|
|
t64 = *((unsigned int *)t60);
|
|
t65 = (t64 != 0);
|
|
if (t65 == 1)
|
|
goto LAB39;
|
|
|
|
LAB40:
|
|
LAB41: goto LAB34;
|
|
|
|
LAB35: *((unsigned int *)t46) = 1;
|
|
goto LAB38;
|
|
|
|
LAB37: t53 = (t46 + 4);
|
|
*((unsigned int *)t46) = 1;
|
|
*((unsigned int *)t53) = 1;
|
|
goto LAB38;
|
|
|
|
LAB39: t66 = *((unsigned int *)t54);
|
|
t67 = *((unsigned int *)t60);
|
|
*((unsigned int *)t54) = (t66 | t67);
|
|
t68 = (t39 + 4);
|
|
t69 = (t46 + 4);
|
|
t70 = *((unsigned int *)t39);
|
|
t71 = (~(t70));
|
|
t72 = *((unsigned int *)t68);
|
|
t73 = (~(t72));
|
|
t74 = *((unsigned int *)t46);
|
|
t75 = (~(t74));
|
|
t76 = *((unsigned int *)t69);
|
|
t77 = (~(t76));
|
|
t78 = (t71 & t73);
|
|
t79 = (t75 & t77);
|
|
t80 = (~(t78));
|
|
t81 = (~(t79));
|
|
t82 = *((unsigned int *)t60);
|
|
*((unsigned int *)t60) = (t82 & t80);
|
|
t83 = *((unsigned int *)t60);
|
|
*((unsigned int *)t60) = (t83 & t81);
|
|
t84 = *((unsigned int *)t54);
|
|
*((unsigned int *)t54) = (t84 & t80);
|
|
t85 = *((unsigned int *)t54);
|
|
*((unsigned int *)t54) = (t85 & t81);
|
|
goto LAB41;
|
|
|
|
LAB42: xsi_set_current_line(31, ng0);
|
|
t92 = ((char*)((ng2)));
|
|
t93 = (t0 + 2248);
|
|
xsi_vlogvar_wait_assign_value(t93, t92, 0, 0, 1, 0LL);
|
|
goto LAB44;
|
|
|
|
}
|
|
|
|
|
|
extern void work_m_00000000002982276307_1919318694_init()
|
|
{
|
|
static char *pe[] = {(void *)Cont_12_0,(void *)Cont_13_1,(void *)Always_14_2,(void *)Always_25_3};
|
|
xsi_register_didat("work_m_00000000002982276307_1919318694", "isim/t_cnt_isim_beh.exe.sim/work/m_00000000002982276307_1919318694.didat");
|
|
xsi_register_executes(pe);
|
|
}
|