URL
https://opencores.org/ocsvn/xmatchpro/xmatchpro/trunk
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ 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/eejlny/projects/xmatch_sim7/xmatch_sim7/src/pointer_array.vhd";
extern char *DZX_P_1715488261;
unsigned char dzx_p_1715488261_sub_3691183894_820654739(char *, char *, char *);
static void work_a_1343409402_2984478664_p_0(char *t0)
{
char *t1;
char *t2;
char *t3;
char *t4;
char *t5;
char *t6;
char *t7;
LAB0: xsi_set_current_line(423, ng0);
LAB3: t1 = (t0 + 1192U);
t2 = *((char **)t1);
t1 = (t0 + 5120);
t3 = (t1 + 56U);
t4 = *((char **)t3);
t5 = (t4 + 56U);
t6 = *((char **)t5);
memcpy(t6, t2, 15U);
xsi_driver_first_trans_fast(t1);
LAB2: t7 = (t0 + 5008);
*((int *)t7) = 1;
LAB1: return;
LAB4: goto LAB2;
}
static void work_a_1343409402_2984478664_p_1(char *t0)
{
char t49[16];
char *t1;
char *t2;
int t3;
int t4;
char *t5;
char *t6;
int t7;
int t8;
unsigned char t9;
char *t10;
char *t11;
int t12;
int t13;
unsigned int t14;
unsigned int t15;
char *t16;
int t17;
int t18;
unsigned int t19;
unsigned int t20;
unsigned int t21;
unsigned int t22;
char *t23;
unsigned char t24;
char *t25;
char *t26;
int t27;
int t28;
int t29;
unsigned int t30;
unsigned int t31;
unsigned int t32;
char *t33;
unsigned char t34;
char *t35;
char *t36;
int t37;
int t38;
unsigned int t39;
unsigned int t40;
char *t41;
int t42;
int t43;
unsigned int t44;
unsigned int t45;
unsigned int t46;
unsigned int t47;
char *t48;
LAB0: xsi_set_current_line(429, ng0);
t1 = (t0 + 12046);
*((int *)t1) = 0;
t2 = (t0 + 12050);
*((int *)t2) = 3;
t3 = 0;
t4 = 3;
LAB2: if (t3 <= t4)
goto LAB3;
LAB5: xsi_set_current_line(435, ng0);
t1 = (t0 + 12062);
*((int *)t1) = 0;
t2 = (t0 + 12066);
*((int *)t2) = 3;
t3 = 0;
t4 = 3;
LAB15: if (t3 <= t4)
goto LAB16;
LAB18: t1 = (t0 + 5024);
*((int *)t1) = 1;
LAB1: return;
LAB3: xsi_set_current_line(430, ng0);
t5 = (t0 + 12054);
*((int *)t5) = 0;
t6 = (t0 + 12058);
*((int *)t6) = 15;
t7 = 0;
t8 = 15;
LAB6: if (t7 <= t8)
goto LAB7;
LAB9:
LAB4: t1 = (t0 + 12046);
t3 = *((int *)t1);
t2 = (t0 + 12050);
t4 = *((int *)t2);
if (t3 == t4)
goto LAB5;
LAB14: t7 = (t3 + 1);
t3 = t7;
t5 = (t0 + 12046);
*((int *)t5) = t3;
goto LAB2;
LAB7: xsi_set_current_line(431, ng0);
t10 = (t0 + 2632U);
t11 = *((char **)t10);
t10 = (t0 + 12046);
t12 = *((int *)t10);
t13 = (t12 - 3);
t14 = (t13 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t10));
t15 = (1U * t14);
t16 = (t0 + 12054);
t17 = *((int *)t16);
t18 = (t17 - 15);
t19 = (t18 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t16));
t20 = (4U * t19);
t21 = (0 + t20);
t22 = (t21 + t15);
t23 = (t11 + t22);
t24 = *((unsigned char *)t23);
if (t24 == 1)
goto LAB10;
LAB11: t9 = (unsigned char)0;
LAB12: t35 = (t0 + 3088U);
t36 = *((char **)t35);
t35 = (t0 + 12054);
t37 = *((int *)t35);
t38 = (t37 - 15);
t39 = (t38 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t35));
t40 = (1U * t39);
t41 = (t0 + 12046);
t42 = *((int *)t41);
t43 = (t42 - 3);
t44 = (t43 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t41));
t45 = (16U * t44);
t46 = (0 + t45);
t47 = (t46 + t40);
t48 = (t36 + t47);
*((unsigned char *)t48) = t9;
LAB8: t1 = (t0 + 12054);
t7 = *((int *)t1);
t2 = (t0 + 12058);
t8 = *((int *)t2);
if (t7 == t8)
goto LAB9;
LAB13: t12 = (t7 + 1);
t7 = t12;
t5 = (t0 + 12054);
*((int *)t5) = t7;
goto LAB6;
LAB10: t25 = (t0 + 1512U);
t26 = *((char **)t25);
t25 = (t0 + 12054);
t27 = *((int *)t25);
t28 = (15 - t27);
t29 = (t28 - 15);
t30 = (t29 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, t28);
t31 = (1U * t30);
t32 = (0 + t31);
t33 = (t26 + t32);
t34 = *((unsigned char *)t33);
t9 = t34;
goto LAB12;
LAB16: xsi_set_current_line(436, ng0);
t5 = (t0 + 3088U);
t6 = *((char **)t5);
t5 = (t0 + 12062);
t7 = *((int *)t5);
t8 = (t7 - 3);
t14 = (t8 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t5));
t15 = (16U * t14);
t19 = (0 + t15);
t10 = (t6 + t19);
t11 = (t49 + 0U);
t16 = (t11 + 0U);
*((int *)t16) = 15;
t16 = (t11 + 4U);
*((int *)t16) = 0;
t16 = (t11 + 8U);
*((int *)t16) = -1;
t12 = (0 - 15);
t20 = (t12 * -1);
t20 = (t20 + 1);
t16 = (t11 + 12U);
*((unsigned int *)t16) = t20;
t9 = dzx_p_1715488261_sub_3691183894_820654739(DZX_P_1715488261, t10, t49);
t16 = (t0 + 12062);
t13 = *((int *)t16);
t17 = (t13 - 3);
t20 = (t17 * -1);
t21 = (1 * t20);
t22 = (0U + t21);
t23 = (t0 + 5184);
t25 = (t23 + 56U);
t26 = *((char **)t25);
t33 = (t26 + 56U);
t35 = *((char **)t33);
*((unsigned char *)t35) = t9;
xsi_driver_first_trans_delta(t23, t22, 1, 0LL);
LAB17: t1 = (t0 + 12062);
t3 = *((int *)t1);
t2 = (t0 + 12066);
t4 = *((int *)t2);
if (t3 == t4)
goto LAB18;
LAB19: t7 = (t3 + 1);
t3 = t7;
t5 = (t0 + 12062);
*((int *)t5) = t3;
goto LAB15;
}
static void work_a_1343409402_2984478664_p_2(char *t0)
{
char t48[16];
char *t1;
char *t2;
int t3;
int t4;
char *t5;
char *t6;
int t7;
int t8;
unsigned char t9;
char *t10;
char *t11;
int t12;
int t13;
unsigned int t14;
unsigned int t15;
char *t16;
int t17;
int t18;
unsigned int t19;
unsigned int t20;
unsigned int t21;
unsigned int t22;
char *t23;
unsigned char t24;
char *t25;
char *t26;
int t27;
int t28;
unsigned int t29;
unsigned int t30;
unsigned int t31;
char *t32;
unsigned char t33;
char *t34;
char *t35;
int t36;
int t37;
unsigned int t38;
unsigned int t39;
char *t40;
int t41;
int t42;
unsigned int t43;
unsigned int t44;
unsigned int t45;
unsigned int t46;
char *t47;
LAB0: xsi_set_current_line(444, ng0);
t1 = (t0 + 12070);
*((int *)t1) = 0;
t2 = (t0 + 12074);
*((int *)t2) = 3;
t3 = 0;
t4 = 3;
LAB2: if (t3 <= t4)
goto LAB3;
LAB5: xsi_set_current_line(450, ng0);
t1 = (t0 + 12086);
*((int *)t1) = 0;
t2 = (t0 + 12090);
*((int *)t2) = 3;
t3 = 0;
t4 = 3;
LAB15: if (t3 <= t4)
goto LAB16;
LAB18: t1 = (t0 + 5040);
*((int *)t1) = 1;
LAB1: return;
LAB3: xsi_set_current_line(445, ng0);
t5 = (t0 + 12078);
*((int *)t5) = 0;
t6 = (t0 + 12082);
*((int *)t6) = 15;
t7 = 0;
t8 = 15;
LAB6: if (t7 <= t8)
goto LAB7;
LAB9:
LAB4: t1 = (t0 + 12070);
t3 = *((int *)t1);
t2 = (t0 + 12074);
t4 = *((int *)t2);
if (t3 == t4)
goto LAB5;
LAB14: t7 = (t3 + 1);
t3 = t7;
t5 = (t0 + 12070);
*((int *)t5) = t3;
goto LAB2;
LAB7: xsi_set_current_line(446, ng0);
t10 = (t0 + 2632U);
t11 = *((char **)t10);
t10 = (t0 + 12070);
t12 = *((int *)t10);
t13 = (t12 - 3);
t14 = (t13 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t10));
t15 = (1U * t14);
t16 = (t0 + 12078);
t17 = *((int *)t16);
t18 = (t17 - 15);
t19 = (t18 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t16));
t20 = (4U * t19);
t21 = (0 + t20);
t22 = (t21 + t15);
t23 = (t11 + t22);
t24 = *((unsigned char *)t23);
if (t24 == 1)
goto LAB10;
LAB11: t9 = (unsigned char)0;
LAB12: t34 = (t0 + 3208U);
t35 = *((char **)t34);
t34 = (t0 + 12078);
t36 = *((int *)t34);
t37 = (t36 - 15);
t38 = (t37 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t34));
t39 = (1U * t38);
t40 = (t0 + 12070);
t41 = *((int *)t40);
t42 = (t41 - 3);
t43 = (t42 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t40));
t44 = (16U * t43);
t45 = (0 + t44);
t46 = (t45 + t39);
t47 = (t35 + t46);
*((unsigned char *)t47) = t9;
LAB8: t1 = (t0 + 12078);
t7 = *((int *)t1);
t2 = (t0 + 12082);
t8 = *((int *)t2);
if (t7 == t8)
goto LAB9;
LAB13: t12 = (t7 + 1);
t7 = t12;
t5 = (t0 + 12078);
*((int *)t5) = t7;
goto LAB6;
LAB10: t25 = (t0 + 1672U);
t26 = *((char **)t25);
t25 = (t0 + 12078);
t27 = *((int *)t25);
t28 = (t27 - 15);
t29 = (t28 * -1);
xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t25));
t30 = (1U * t29);
t31 = (0 + t30);
t32 = (t26 + t31);
t33 = *((unsigned char *)t32);
t9 = t33;
goto LAB12;
LAB16: xsi_set_current_line(451, ng0);
t5 = (t0 + 3208U);
t6 = *((char **)t5);
t5 = (t0 + 12086);
t7 = *((int *)t5);
t8 = (t7 - 3);
t14 = (t8 * -1);
xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t5));
t15 = (16U * t14);
t19 = (0 + t15);
t10 = (t6 + t19);
t11 = (t48 + 0U);
t16 = (t11 + 0U);
*((int *)t16) = 15;
t16 = (t11 + 4U);
*((int *)t16) = 0;
t16 = (t11 + 8U);
*((int *)t16) = -1;
t12 = (0 - 15);
t20 = (t12 * -1);
t20 = (t20 + 1);
t16 = (t11 + 12U);
*((unsigned int *)t16) = t20;
t9 = dzx_p_1715488261_sub_3691183894_820654739(DZX_P_1715488261, t10, t48);
t16 = (t0 + 12086);
t13 = *((int *)t16);
t17 = (t13 - 3);
t20 = (t17 * -1);
t21 = (1 * t20);
t22 = (0U + t21);
t23 = (t0 + 5248);
t25 = (t23 + 56U);
t26 = *((char **)t25);
t32 = (t26 + 56U);
t34 = *((char **)t32);
*((unsigned char *)t34) = t9;
xsi_driver_first_trans_delta(t23, t22, 1, 0LL);
LAB17: t1 = (t0 + 12086);
t3 = *((int *)t1);
t2 = (t0 + 12090);
t4 = *((int *)t2);
if (t3 == t4)
goto LAB18;
LAB19: t7 = (t3 + 1);
t3 = t7;
t5 = (t0 + 12086);
*((int *)t5) = t3;
goto LAB15;
}
extern void work_a_1343409402_2984478664_init()
{
static char *pe[] = {(void *)work_a_1343409402_2984478664_p_0,(void *)work_a_1343409402_2984478664_p_1,(void *)work_a_1343409402_2984478664_p_2};
xsi_register_didat("work_a_1343409402_2984478664", "isim/testbench_isim_beh.exe.sim/work/a_1343409402_2984478664.didat");
xsi_register_executes(pe);
}