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_3845127847_2907810454.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/csm_c_2.vhd";
 
 
 
static void work_a_3845127847_2907810454_p_0(char *t0)
{
    char *t1;
    char *t2;
    char *t3;
    int t4;
    char *t5;
    char *t6;
    int t7;
    char *t8;
    char *t9;
    int t10;
    char *t11;
    char *t12;
    int t13;
    char *t14;
    int t16;
    char *t17;
    int t19;
    char *t20;
    char *t21;
    unsigned char t22;
    unsigned char t23;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    unsigned char t30;
    unsigned char t31;
    unsigned char t32;
 
LAB0:    xsi_set_current_line(89, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 9342);
    t4 = xsi_mem_cmp(t1, t2, 5U);
    if (t4 == 1)
        goto LAB3;
 
LAB10:    t5 = (t0 + 9347);
    t7 = xsi_mem_cmp(t5, t2, 5U);
    if (t7 == 1)
        goto LAB4;
 
LAB11:    t8 = (t0 + 9352);
    t10 = xsi_mem_cmp(t8, t2, 5U);
    if (t10 == 1)
        goto LAB5;
 
LAB12:    t11 = (t0 + 9357);
    t13 = xsi_mem_cmp(t11, t2, 5U);
    if (t13 == 1)
        goto LAB6;
 
LAB13:    t14 = (t0 + 9362);
    t16 = xsi_mem_cmp(t14, t2, 5U);
    if (t16 == 1)
        goto LAB7;
 
LAB14:    t17 = (t0 + 9367);
    t19 = xsi_mem_cmp(t17, t2, 5U);
    if (t19 == 1)
        goto LAB8;
 
LAB15:
LAB9:    xsi_set_current_line(165, ng0);
    t1 = (t0 + 9427);
    t3 = (t0 + 5992);
    t5 = (t3 + 56U);
    t6 = *((char **)t5);
    t8 = (t6 + 56U);
    t9 = *((char **)t8);
    memcpy(t9, t1, 5U);
    xsi_driver_first_trans_fast(t3);
 
LAB2:    t1 = (t0 + 5832);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB3:    xsi_set_current_line(92, ng0);
    t20 = (t0 + 1032U);
    t21 = *((char **)t20);
    t22 = *((unsigned char *)t21);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB17;
 
LAB19:    xsi_set_current_line(95, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB18:    goto LAB2;
 
LAB4:    xsi_set_current_line(111, ng0);
    t1 = (t0 + 1032U);
    t2 = *((char **)t1);
    t23 = *((unsigned char *)t2);
    t30 = (t23 == (unsigned char)0);
    if (t30 == 1)
        goto LAB23;
 
LAB24:    t22 = (unsigned char)0;
 
LAB25:    if (t22 != 0)
        goto LAB20;
 
LAB22:    t1 = (t0 + 1192U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB26;
 
LAB27:    xsi_set_current_line(116, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB21:    goto LAB2;
 
LAB5:    xsi_set_current_line(121, ng0);
    t1 = (t0 + 1032U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB28;
 
LAB30:    t1 = (t0 + 1192U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB31;
 
LAB32:    t1 = (t0 + 1672U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)0);
    if (t23 != 0)
        goto LAB33;
 
LAB34:    xsi_set_current_line(128, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB29:    goto LAB2;
 
LAB6:    xsi_set_current_line(138, ng0);
    t1 = (t0 + 1032U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB35;
 
LAB37:    t1 = (t0 + 1192U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB38;
 
LAB39:    t1 = (t0 + 1672U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)0);
    if (t23 != 0)
        goto LAB40;
 
LAB41:    xsi_set_current_line(145, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB36:    goto LAB2;
 
LAB7:    xsi_set_current_line(149, ng0);
    t1 = (t0 + 1672U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)1);
    if (t23 != 0)
        goto LAB42;
 
LAB44:    xsi_set_current_line(152, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB43:    goto LAB2;
 
LAB8:    xsi_set_current_line(157, ng0);
    t1 = (t0 + 1672U);
    t2 = *((char **)t1);
    t22 = *((unsigned char *)t2);
    t23 = (t22 == (unsigned char)0);
    if (t23 != 0)
        goto LAB45;
 
LAB47:    xsi_set_current_line(160, ng0);
    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t1 = (t0 + 5992);
    t3 = (t1 + 56U);
    t5 = *((char **)t3);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB46:    goto LAB2;
 
LAB16:;
LAB17:    xsi_set_current_line(93, ng0);
    t20 = (t0 + 9372);
    t25 = (t0 + 5992);
    t26 = (t25 + 56U);
    t27 = *((char **)t26);
    t28 = (t27 + 56U);
    t29 = *((char **)t28);
    memcpy(t29, t20, 5U);
    xsi_driver_first_trans_fast(t25);
    goto LAB18;
 
LAB20:    xsi_set_current_line(112, ng0);
    t1 = (t0 + 9377);
    t6 = (t0 + 5992);
    t8 = (t6 + 56U);
    t9 = *((char **)t8);
    t11 = (t9 + 56U);
    t12 = *((char **)t11);
    memcpy(t12, t1, 5U);
    xsi_driver_first_trans_fast(t6);
    goto LAB21;
 
LAB23:    t1 = (t0 + 1352U);
    t3 = *((char **)t1);
    t31 = *((unsigned char *)t3);
    t32 = (t31 == (unsigned char)0);
    t22 = t32;
    goto LAB25;
 
LAB26:    xsi_set_current_line(114, ng0);
    t1 = (t0 + 9382);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB21;
 
LAB28:    xsi_set_current_line(122, ng0);
    t1 = (t0 + 9387);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB29;
 
LAB31:    xsi_set_current_line(124, ng0);
    t1 = (t0 + 9392);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB29;
 
LAB33:    xsi_set_current_line(126, ng0);
    t1 = (t0 + 9397);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB29;
 
LAB35:    xsi_set_current_line(139, ng0);
    t1 = (t0 + 9402);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB36;
 
LAB38:    xsi_set_current_line(141, ng0);
    t1 = (t0 + 9407);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB36;
 
LAB40:    xsi_set_current_line(143, ng0);
    t1 = (t0 + 9412);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB36;
 
LAB42:    xsi_set_current_line(150, ng0);
    t1 = (t0 + 9417);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB43;
 
LAB45:    xsi_set_current_line(158, ng0);
    t1 = (t0 + 9422);
    t5 = (t0 + 5992);
    t6 = (t5 + 56U);
    t8 = *((char **)t6);
    t9 = (t8 + 56U);
    t11 = *((char **)t9);
    memcpy(t11, t1, 5U);
    xsi_driver_first_trans_fast(t5);
    goto LAB46;
 
}
 
static void work_a_3845127847_2907810454_p_1(char *t0)
{
    char *t1;
    char *t2;
    unsigned char t3;
    unsigned char t4;
    char *t5;
    char *t6;
    char *t7;
    char *t8;
    char *t9;
    char *t10;
    unsigned char t11;
    unsigned char t12;
    unsigned char t13;
    unsigned char t14;
    char *t15;
    char *t16;
 
LAB0:    xsi_set_current_line(180, ng0);
    t1 = (t0 + 1992U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB2;
 
LAB4:    t1 = (t0 + 1792U);
    t4 = xsi_signal_has_event(t1);
    if (t4 == 1)
        goto LAB7;
 
LAB8:    t3 = (unsigned char)0;
 
LAB9:    if (t3 != 0)
        goto LAB5;
 
LAB6:
LAB3:    t1 = (t0 + 5848);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(181, ng0);
    t1 = (t0 + 9432);
    t6 = (t0 + 6056);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    memcpy(t10, t1, 5U);
    xsi_driver_first_trans_fast(t6);
    goto LAB3;
 
LAB5:    xsi_set_current_line(183, ng0);
    t2 = (t0 + 1512U);
    t6 = *((char **)t2);
    t13 = *((unsigned char *)t6);
    t14 = (t13 == (unsigned char)0);
    if (t14 != 0)
        goto LAB10;
 
LAB12:    xsi_set_current_line(186, ng0);
    t1 = (t0 + 2952U);
    t2 = *((char **)t1);
    t1 = (t0 + 6056);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    memcpy(t8, t2, 5U);
    xsi_driver_first_trans_fast(t1);
 
LAB11:    goto LAB3;
 
LAB7:    t2 = (t0 + 1832U);
    t5 = *((char **)t2);
    t11 = *((unsigned char *)t5);
    t12 = (t11 == (unsigned char)1);
    t3 = t12;
    goto LAB9;
 
LAB10:    xsi_set_current_line(184, ng0);
    t2 = (t0 + 9437);
    t8 = (t0 + 6056);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    memcpy(t16, t2, 5U);
    xsi_driver_first_trans_fast(t8);
    goto LAB11;
 
}
 
static void work_a_3845127847_2907810454_p_2(char *t0)
{
    char *t1;
    char *t2;
    int t3;
    unsigned int t4;
    unsigned int t5;
    unsigned int t6;
    unsigned char t7;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
 
LAB0:    xsi_set_current_line(195, ng0);
 
LAB3:    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t3 = (3 - 4);
    t4 = (t3 * -1);
    t5 = (1U * t4);
    t6 = (0 + t5);
    t1 = (t2 + t6);
    t7 = *((unsigned char *)t1);
    t8 = (t0 + 6120);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t11 = (t10 + 56U);
    t12 = *((char **)t11);
    *((unsigned char *)t12) = t7;
    xsi_driver_first_trans_fast_port(t8);
 
LAB2:    t13 = (t0 + 5864);
    *((int *)t13) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
static void work_a_3845127847_2907810454_p_3(char *t0)
{
    char *t1;
    char *t2;
    int t3;
    unsigned int t4;
    unsigned int t5;
    unsigned int t6;
    unsigned char t7;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
 
LAB0:    xsi_set_current_line(196, ng0);
 
LAB3:    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t3 = (2 - 4);
    t4 = (t3 * -1);
    t5 = (1U * t4);
    t6 = (0 + t5);
    t1 = (t2 + t6);
    t7 = *((unsigned char *)t1);
    t8 = (t0 + 6184);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t11 = (t10 + 56U);
    t12 = *((char **)t11);
    *((unsigned char *)t12) = t7;
    xsi_driver_first_trans_fast_port(t8);
 
LAB2:    t13 = (t0 + 5880);
    *((int *)t13) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
static void work_a_3845127847_2907810454_p_4(char *t0)
{
    char *t1;
    char *t2;
    int t3;
    unsigned int t4;
    unsigned int t5;
    unsigned int t6;
    unsigned char t7;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
 
LAB0:    xsi_set_current_line(197, ng0);
 
LAB3:    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t3 = (1 - 4);
    t4 = (t3 * -1);
    t5 = (1U * t4);
    t6 = (0 + t5);
    t1 = (t2 + t6);
    t7 = *((unsigned char *)t1);
    t8 = (t0 + 6248);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t11 = (t10 + 56U);
    t12 = *((char **)t11);
    *((unsigned char *)t12) = t7;
    xsi_driver_first_trans_fast_port(t8);
 
LAB2:    t13 = (t0 + 5896);
    *((int *)t13) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
static void work_a_3845127847_2907810454_p_5(char *t0)
{
    char *t1;
    char *t2;
    int t3;
    unsigned int t4;
    unsigned int t5;
    unsigned int t6;
    unsigned char t7;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
 
LAB0:    xsi_set_current_line(198, ng0);
 
LAB3:    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t3 = (0 - 4);
    t4 = (t3 * -1);
    t5 = (1U * t4);
    t6 = (0 + t5);
    t1 = (t2 + t6);
    t7 = *((unsigned char *)t1);
    t8 = (t0 + 6312);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t11 = (t10 + 56U);
    t12 = *((char **)t11);
    *((unsigned char *)t12) = t7;
    xsi_driver_first_trans_fast_port(t8);
 
LAB2:    t13 = (t0 + 5912);
    *((int *)t13) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
 
extern void work_a_3845127847_2907810454_init()
{
	static char *pe[] = {(void *)work_a_3845127847_2907810454_p_0,(void *)work_a_3845127847_2907810454_p_1,(void *)work_a_3845127847_2907810454_p_2,(void *)work_a_3845127847_2907810454_p_3,(void *)work_a_3845127847_2907810454_p_4,(void *)work_a_3845127847_2907810454_p_5};
	xsi_register_didat("work_a_3845127847_2907810454", "isim/testbench_isim_beh.exe.sim/work/a_3845127847_2907810454.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.