OpenCores
URL https://opencores.org/ocsvn/xmatchpro/xmatchpro/trunk

Subversion Repositories xmatchpro

[/] [xmatchpro/] [trunk/] [xmw4-comdec/] [xmatch_sim7/] [isim/] [testbench_isim_beh.exe.sim/] [work/] [a_3315703983_2984478664.c] - Rev 9

Compare with Previous | Blame | View Log

/**********************************************************************/
/*   ____  ____                                                       */
/*  /   /\/   /                                                       */
/* /___/  \  /                                                        */
/* \   \   \/                                                       */
/*  \   \        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/eejlny/projects/xmatch_sim7/xmatch_sim7/src/cam_array_zero.vhd";
 
 
 
static void work_a_3315703983_2984478664_p_0(char *t0)
{
    char *t1;
    char *t2;
    unsigned char t3;
    unsigned char t4;
    char *t5;
    char *t6;
    char *t7;
    char *t8;
    char *t9;
 
LAB0:    xsi_set_current_line(129, ng0);
 
LAB3:    t1 = (t0 + 10120U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (!(t3));
    t1 = (t0 + 16424);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    *((unsigned char *)t8) = t4;
    xsi_driver_first_trans_fast(t1);
 
LAB2:    t9 = (t0 + 16328);
    *((int *)t9) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
static void work_a_3315703983_2984478664_p_1(char *t0)
{
    char *t1;
    char *t2;
    int t3;
    int t4;
    unsigned char t5;
    char *t6;
    char *t7;
    int t8;
    unsigned int t9;
    unsigned int t10;
    int t11;
    int t12;
    unsigned int t13;
    unsigned int t14;
    unsigned int t15;
    unsigned int t16;
    char *t17;
    unsigned char t18;
    char *t19;
    char *t20;
    int t21;
    unsigned int t22;
    unsigned int t23;
    int t24;
    int t25;
    unsigned int t26;
    unsigned int t27;
    unsigned int t28;
    unsigned int t29;
    char *t30;
    unsigned char t31;
    char *t32;
    int t33;
    int t34;
    unsigned int t35;
    unsigned int t36;
    unsigned int t37;
    char *t38;
    char *t39;
    char *t40;
    char *t41;
    char *t42;
 
LAB0:    xsi_set_current_line(187, ng0);
    t1 = (t0 + 33556);
    *((int *)t1) = 0;
    t2 = (t0 + 33560);
    *((int *)t2) = 15;
    t3 = 0;
    t4 = 15;
 
LAB2:    if (t3 <= t4)
        goto LAB3;
 
LAB5:    t1 = (t0 + 16344);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB3:    xsi_set_current_line(188, ng0);
    t6 = (t0 + 12040U);
    t7 = *((char **)t6);
    t8 = (3 - 3);
    t9 = (t8 * -1);
    t10 = (1U * t9);
    t6 = (t0 + 33556);
    t11 = *((int *)t6);
    t12 = (t11 - 15);
    t13 = (t12 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t6));
    t14 = (4U * t13);
    t15 = (0 + t14);
    t16 = (t15 + t10);
    t17 = (t7 + t16);
    t18 = *((unsigned char *)t17);
    if (t18 == 1)
        goto LAB6;
 
LAB7:    t19 = (t0 + 12360U);
    t20 = *((char **)t19);
    t21 = (3 - 3);
    t22 = (t21 * -1);
    t23 = (1U * t22);
    t19 = (t0 + 33556);
    t24 = *((int *)t19);
    t25 = (t24 - 15);
    t26 = (t25 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t19));
    t27 = (4U * t26);
    t28 = (0 + t27);
    t29 = (t28 + t23);
    t30 = (t20 + t29);
    t31 = *((unsigned char *)t30);
    t5 = t31;
 
LAB8:    t32 = (t0 + 33556);
    t33 = *((int *)t32);
    t34 = (t33 - 15);
    t35 = (t34 * -1);
    t36 = (1 * t35);
    t37 = (0U + t36);
    t38 = (t0 + 16488);
    t39 = (t38 + 56U);
    t40 = *((char **)t39);
    t41 = (t40 + 56U);
    t42 = *((char **)t41);
    *((unsigned char *)t42) = t5;
    xsi_driver_first_trans_delta(t38, t37, 1, 0LL);
    xsi_set_current_line(189, ng0);
    t1 = (t0 + 12040U);
    t2 = *((char **)t1);
    t8 = (2 - 3);
    t9 = (t8 * -1);
    t10 = (1U * t9);
    t1 = (t0 + 33556);
    t11 = *((int *)t1);
    t12 = (t11 - 15);
    t13 = (t12 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t1));
    t14 = (4U * t13);
    t15 = (0 + t14);
    t16 = (t15 + t10);
    t6 = (t2 + t16);
    t18 = *((unsigned char *)t6);
    if (t18 == 1)
        goto LAB9;
 
LAB10:    t7 = (t0 + 12360U);
    t17 = *((char **)t7);
    t21 = (2 - 3);
    t22 = (t21 * -1);
    t23 = (1U * t22);
    t7 = (t0 + 33556);
    t24 = *((int *)t7);
    t25 = (t24 - 15);
    t26 = (t25 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t7));
    t27 = (4U * t26);
    t28 = (0 + t27);
    t29 = (t28 + t23);
    t19 = (t17 + t29);
    t31 = *((unsigned char *)t19);
    t5 = t31;
 
LAB11:    t20 = (t0 + 33556);
    t33 = *((int *)t20);
    t34 = (t33 - 15);
    t35 = (t34 * -1);
    t36 = (1 * t35);
    t37 = (0U + t36);
    t30 = (t0 + 16552);
    t32 = (t30 + 56U);
    t38 = *((char **)t32);
    t39 = (t38 + 56U);
    t40 = *((char **)t39);
    *((unsigned char *)t40) = t5;
    xsi_driver_first_trans_delta(t30, t37, 1, 0LL);
    xsi_set_current_line(190, ng0);
    t1 = (t0 + 12040U);
    t2 = *((char **)t1);
    t8 = (1 - 3);
    t9 = (t8 * -1);
    t10 = (1U * t9);
    t1 = (t0 + 33556);
    t11 = *((int *)t1);
    t12 = (t11 - 15);
    t13 = (t12 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t1));
    t14 = (4U * t13);
    t15 = (0 + t14);
    t16 = (t15 + t10);
    t6 = (t2 + t16);
    t18 = *((unsigned char *)t6);
    if (t18 == 1)
        goto LAB12;
 
LAB13:    t7 = (t0 + 12360U);
    t17 = *((char **)t7);
    t21 = (1 - 3);
    t22 = (t21 * -1);
    t23 = (1U * t22);
    t7 = (t0 + 33556);
    t24 = *((int *)t7);
    t25 = (t24 - 15);
    t26 = (t25 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t7));
    t27 = (4U * t26);
    t28 = (0 + t27);
    t29 = (t28 + t23);
    t19 = (t17 + t29);
    t31 = *((unsigned char *)t19);
    t5 = t31;
 
LAB14:    t20 = (t0 + 33556);
    t33 = *((int *)t20);
    t34 = (t33 - 15);
    t35 = (t34 * -1);
    t36 = (1 * t35);
    t37 = (0U + t36);
    t30 = (t0 + 16616);
    t32 = (t30 + 56U);
    t38 = *((char **)t32);
    t39 = (t38 + 56U);
    t40 = *((char **)t39);
    *((unsigned char *)t40) = t5;
    xsi_driver_first_trans_delta(t30, t37, 1, 0LL);
    xsi_set_current_line(191, ng0);
    t1 = (t0 + 12040U);
    t2 = *((char **)t1);
    t8 = (0 - 3);
    t9 = (t8 * -1);
    t10 = (1U * t9);
    t1 = (t0 + 33556);
    t11 = *((int *)t1);
    t12 = (t11 - 15);
    t13 = (t12 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t1));
    t14 = (4U * t13);
    t15 = (0 + t14);
    t16 = (t15 + t10);
    t6 = (t2 + t16);
    t18 = *((unsigned char *)t6);
    if (t18 == 1)
        goto LAB15;
 
LAB16:    t7 = (t0 + 12360U);
    t17 = *((char **)t7);
    t21 = (0 - 3);
    t22 = (t21 * -1);
    t23 = (1U * t22);
    t7 = (t0 + 33556);
    t24 = *((int *)t7);
    t25 = (t24 - 15);
    t26 = (t25 * -1);
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t7));
    t27 = (4U * t26);
    t28 = (0 + t27);
    t29 = (t28 + t23);
    t19 = (t17 + t29);
    t31 = *((unsigned char *)t19);
    t5 = t31;
 
LAB17:    t20 = (t0 + 33556);
    t33 = *((int *)t20);
    t34 = (t33 - 15);
    t35 = (t34 * -1);
    t36 = (1 * t35);
    t37 = (0U + t36);
    t30 = (t0 + 16680);
    t32 = (t30 + 56U);
    t38 = *((char **)t32);
    t39 = (t38 + 56U);
    t40 = *((char **)t39);
    *((unsigned char *)t40) = t5;
    xsi_driver_first_trans_delta(t30, t37, 1, 0LL);
 
LAB4:    t1 = (t0 + 33556);
    t3 = *((int *)t1);
    t2 = (t0 + 33560);
    t4 = *((int *)t2);
    if (t3 == t4)
        goto LAB5;
 
LAB18:    t8 = (t3 + 1);
    t3 = t8;
    t6 = (t0 + 33556);
    *((int *)t6) = t3;
    goto LAB2;
 
LAB6:    t5 = (unsigned char)1;
    goto LAB8;
 
LAB9:    t5 = (unsigned char)1;
    goto LAB11;
 
LAB12:    t5 = (unsigned char)1;
    goto LAB14;
 
LAB15:    t5 = (unsigned char)1;
    goto LAB17;
 
}
 
 
extern void work_a_3315703983_2984478664_init()
{
	static char *pe[] = {(void *)work_a_3315703983_2984478664_p_0,(void *)work_a_3315703983_2984478664_p_1};
	xsi_register_didat("work_a_3315703983_2984478664", "isim/testbench_isim_beh.exe.sim/work/a_3315703983_2984478664.didat");
	xsi_register_executes(pe);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.