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_1034123407_1181938964.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/c_bs_counter_d.vhd";
extern char *DZX_P_3728046382;
extern char *STD_STANDARD;
 
char *dzx_p_3728046382_sub_3251038083_2632892140(char *, char *, char *, char *, char *, char *);
 
 
static void work_a_1034123407_1181938964_p_0(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(73, ng0);
    t1 = (t0 + 1512U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB2;
 
LAB4:    t1 = (t0 + 1632U);
    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 + 5264);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(74, ng0);
    t1 = (t0 + 8809);
    t6 = (t0 + 5408);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    memcpy(t10, t1, 32U);
    xsi_driver_first_trans_fast(t6);
    xsi_set_current_line(75, ng0);
    t1 = (t0 + 5472);
    t2 = (t1 + 56U);
    t5 = *((char **)t2);
    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    *((unsigned char *)t7) = (unsigned char)1;
    xsi_driver_first_trans_fast(t1);
    goto LAB3;
 
LAB5:    xsi_set_current_line(78, ng0);
    t2 = (t0 + 1352U);
    t6 = *((char **)t2);
    t13 = *((unsigned char *)t6);
    t14 = (t13 == (unsigned char)0);
    if (t14 != 0)
        goto LAB10;
 
LAB12:    t1 = (t0 + 1192U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB13;
 
LAB14:    xsi_set_current_line(85, ng0);
    t1 = (t0 + 2632U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t1 = (t0 + 5472);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    *((unsigned char *)t8) = t3;
    xsi_driver_first_trans_fast(t1);
    xsi_set_current_line(86, ng0);
    t1 = (t0 + 2472U);
    t2 = *((char **)t1);
    t1 = (t0 + 5408);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    memcpy(t8, t2, 32U);
    xsi_driver_first_trans_fast(t1);
 
LAB11:    goto LAB3;
 
LAB7:    t2 = (t0 + 1672U);
    t5 = *((char **)t2);
    t11 = *((unsigned char *)t5);
    t12 = (t11 == (unsigned char)1);
    t3 = t12;
    goto LAB9;
 
LAB10:    xsi_set_current_line(79, ng0);
    t2 = (t0 + 8841);
    t8 = (t0 + 5408);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    memcpy(t16, t2, 32U);
    xsi_driver_first_trans_fast(t8);
    xsi_set_current_line(80, ng0);
    t1 = (t0 + 5472);
    t2 = (t1 + 56U);
    t5 = *((char **)t2);
    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    *((unsigned char *)t7) = (unsigned char)1;
    xsi_driver_first_trans_fast(t1);
    goto LAB11;
 
LAB13:    xsi_set_current_line(82, ng0);
    t1 = (t0 + 1032U);
    t5 = *((char **)t1);
    t1 = (t0 + 5408);
    t6 = (t1 + 56U);
    t7 = *((char **)t6);
    t8 = (t7 + 56U);
    t9 = *((char **)t8);
    memcpy(t9, t5, 32U);
    xsi_driver_first_trans_fast(t1);
    xsi_set_current_line(83, ng0);
    t1 = (t0 + 5472);
    t2 = (t1 + 56U);
    t5 = *((char **)t2);
    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    *((unsigned char *)t7) = (unsigned char)0;
    xsi_driver_first_trans_fast(t1);
    goto LAB11;
 
}
 
static void work_a_1034123407_1181938964_p_1(char *t0)
{
    char t17[16];
    char t18[16];
    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;
    int t19;
    unsigned int t20;
    unsigned int t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
 
LAB0:    xsi_set_current_line(98, ng0);
    t1 = (t0 + 1512U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB2;
 
LAB4:    t1 = (t0 + 1632U);
    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 + 5280);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(99, ng0);
    t1 = (t0 + 8873);
    t6 = (t0 + 5536);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    memcpy(t10, t1, 30U);
    xsi_driver_first_trans_fast(t6);
    goto LAB3;
 
LAB5:    xsi_set_current_line(102, ng0);
    t2 = (t0 + 1352U);
    t6 = *((char **)t2);
    t13 = *((unsigned char *)t6);
    t14 = (t13 == (unsigned char)0);
    if (t14 != 0)
        goto LAB10;
 
LAB12:    t1 = (t0 + 2792U);
    t2 = *((char **)t1);
    t4 = *((unsigned char *)t2);
    t11 = (t4 == (unsigned char)0);
    if (t11 == 1)
        goto LAB15;
 
LAB16:    t3 = (unsigned char)0;
 
LAB17:    if (t3 != 0)
        goto LAB13;
 
LAB14:    xsi_set_current_line(107, ng0);
    t1 = (t0 + 2312U);
    t2 = *((char **)t1);
    t1 = (t0 + 5536);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    memcpy(t8, t2, 30U);
    xsi_driver_first_trans_fast(t1);
 
LAB11:    goto LAB3;
 
LAB7:    t2 = (t0 + 1672U);
    t5 = *((char **)t2);
    t11 = *((unsigned char *)t5);
    t12 = (t11 == (unsigned char)1);
    t3 = t12;
    goto LAB9;
 
LAB10:    xsi_set_current_line(103, ng0);
    t2 = (t0 + 8903);
    t8 = (t0 + 5536);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    memcpy(t16, t2, 30U);
    xsi_driver_first_trans_fast(t8);
    goto LAB11;
 
LAB13:    xsi_set_current_line(105, ng0);
    t1 = (t0 + 2312U);
    t6 = *((char **)t1);
    t1 = (t0 + 8668U);
    t7 = (t0 + 8933);
    t9 = (t18 + 0U);
    t10 = (t9 + 0U);
    *((int *)t10) = 0;
    t10 = (t9 + 4U);
    *((int *)t10) = 29;
    t10 = (t9 + 8U);
    *((int *)t10) = 1;
    t19 = (29 - 0);
    t20 = (t19 * 1);
    t20 = (t20 + 1);
    t10 = (t9 + 12U);
    *((unsigned int *)t10) = t20;
    t10 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t17, t6, t1, t7, t18);
    t15 = (t17 + 12U);
    t20 = *((unsigned int *)t15);
    t21 = (1U * t20);
    t14 = (30U != t21);
    if (t14 == 1)
        goto LAB18;
 
LAB19:    t16 = (t0 + 5536);
    t22 = (t16 + 56U);
    t23 = *((char **)t22);
    t24 = (t23 + 56U);
    t25 = *((char **)t24);
    memcpy(t25, t10, 30U);
    xsi_driver_first_trans_fast(t16);
    goto LAB11;
 
LAB15:    t1 = (t0 + 2632U);
    t5 = *((char **)t1);
    t12 = *((unsigned char *)t5);
    t13 = (t12 == (unsigned char)0);
    t3 = t13;
    goto LAB17;
 
LAB18:    xsi_size_not_matching(30U, t21, 0);
    goto LAB19;
 
}
 
static void work_a_1034123407_1181938964_p_2(char *t0)
{
    char *t1;
    char *t2;
    unsigned char t3;
    unsigned char t4;
    char *t5;
    char *t6;
    char *t7;
    char *t8;
    unsigned char t9;
    unsigned char t10;
    unsigned char t11;
    unsigned char t12;
    char *t13;
    char *t14;
 
LAB0:    xsi_set_current_line(116, ng0);
    t1 = (t0 + 1512U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB2;
 
LAB4:    t1 = (t0 + 1632U);
    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 + 5296);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(117, ng0);
    t1 = (t0 + 5600);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    *((unsigned char *)t8) = (unsigned char)1;
    xsi_driver_first_trans_fast(t1);
    goto LAB3;
 
LAB5:    xsi_set_current_line(119, ng0);
    t2 = (t0 + 1352U);
    t6 = *((char **)t2);
    t11 = *((unsigned char *)t6);
    t12 = (t11 == (unsigned char)0);
    if (t12 != 0)
        goto LAB10;
 
LAB12:    xsi_set_current_line(122, ng0);
    t1 = (t0 + 1832U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t1 = (t0 + 5600);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    *((unsigned char *)t8) = t3;
    xsi_driver_first_trans_fast(t1);
 
LAB11:    goto LAB3;
 
LAB7:    t2 = (t0 + 1672U);
    t5 = *((char **)t2);
    t9 = *((unsigned char *)t5);
    t10 = (t9 == (unsigned char)1);
    t3 = t10;
    goto LAB9;
 
LAB10:    xsi_set_current_line(120, ng0);
    t2 = (t0 + 5600);
    t7 = (t2 + 56U);
    t8 = *((char **)t7);
    t13 = (t8 + 56U);
    t14 = *((char **)t13);
    *((unsigned char *)t14) = (unsigned char)1;
    xsi_driver_first_trans_fast(t2);
    goto LAB11;
 
}
 
static void work_a_1034123407_1181938964_p_3(char *t0)
{
    char t5[16];
    char t8[16];
    char *t1;
    char *t2;
    char *t4;
    char *t6;
    char *t7;
    char *t9;
    char *t10;
    int t11;
    unsigned int t12;
    char *t13;
    unsigned char t14;
    unsigned int t15;
    char *t16;
    char *t17;
    char *t18;
    char *t19;
    char *t20;
    char *t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t27;
 
LAB0:    xsi_set_current_line(129, ng0);
    t1 = (t0 + 2312U);
    t2 = *((char **)t1);
    t1 = (t0 + 8963);
    t6 = ((STD_STANDARD) + 1112);
    t7 = (t0 + 8668U);
    t9 = (t8 + 0U);
    t10 = (t9 + 0U);
    *((int *)t10) = 0;
    t10 = (t9 + 4U);
    *((int *)t10) = 1;
    t10 = (t9 + 8U);
    *((int *)t10) = 1;
    t11 = (1 - 0);
    t12 = (t11 * 1);
    t12 = (t12 + 1);
    t10 = (t9 + 12U);
    *((unsigned int *)t10) = t12;
    t4 = xsi_base_array_concat(t4, t5, t6, (char)97, t2, t7, (char)97, t1, t8, (char)101);
    t12 = (30U + 2U);
    t10 = (t0 + 2472U);
    t13 = *((char **)t10);
    t14 = 1;
    if (t12 == 32U)
        goto LAB5;
 
LAB6:    t14 = 0;
 
LAB7:    if (t14 != 0)
        goto LAB3;
 
LAB4:
LAB11:    t22 = (t0 + 5664);
    t23 = (t22 + 56U);
    t24 = *((char **)t23);
    t25 = (t24 + 56U);
    t26 = *((char **)t25);
    *((unsigned char *)t26) = (unsigned char)0;
    xsi_driver_first_trans_fast_port(t22);
 
LAB2:    t27 = (t0 + 5312);
    *((int *)t27) = 1;
 
LAB1:    return;
LAB3:    t17 = (t0 + 5664);
    t18 = (t17 + 56U);
    t19 = *((char **)t18);
    t20 = (t19 + 56U);
    t21 = *((char **)t20);
    *((unsigned char *)t21) = (unsigned char)1;
    xsi_driver_first_trans_fast_port(t17);
    goto LAB2;
 
LAB5:    t15 = 0;
 
LAB8:    if (t15 < t12)
        goto LAB9;
    else
        goto LAB7;
 
LAB9:    t10 = (t4 + t15);
    t16 = (t13 + t15);
    if (*((unsigned char *)t10) != *((unsigned char *)t16))
        goto LAB6;
 
LAB10:    t15 = (t15 + 1);
    goto LAB8;
 
LAB12:    goto LAB2;
 
}
 
static void work_a_1034123407_1181938964_p_4(char *t0)
{
    char t5[16];
    char t8[16];
    char *t1;
    char *t2;
    char *t4;
    char *t6;
    char *t7;
    char *t9;
    char *t10;
    int t11;
    unsigned int t12;
    unsigned char t13;
    char *t14;
    char *t15;
    char *t16;
    char *t17;
    char *t18;
 
LAB0:    xsi_set_current_line(130, ng0);
 
LAB3:    t1 = (t0 + 2312U);
    t2 = *((char **)t1);
    t1 = (t0 + 8965);
    t6 = ((STD_STANDARD) + 1112);
    t7 = (t0 + 8668U);
    t9 = (t8 + 0U);
    t10 = (t9 + 0U);
    *((int *)t10) = 0;
    t10 = (t9 + 4U);
    *((int *)t10) = 1;
    t10 = (t9 + 8U);
    *((int *)t10) = 1;
    t11 = (1 - 0);
    t12 = (t11 * 1);
    t12 = (t12 + 1);
    t10 = (t9 + 12U);
    *((unsigned int *)t10) = t12;
    t4 = xsi_base_array_concat(t4, t5, t6, (char)97, t2, t7, (char)97, t1, t8, (char)101);
    t12 = (30U + 2U);
    t13 = (32U != t12);
    if (t13 == 1)
        goto LAB5;
 
LAB6:    t10 = (t0 + 5728);
    t14 = (t10 + 56U);
    t15 = *((char **)t14);
    t16 = (t15 + 56U);
    t17 = *((char **)t16);
    memcpy(t17, t4, 32U);
    xsi_driver_first_trans_fast_port(t10);
 
LAB2:    t18 = (t0 + 5328);
    *((int *)t18) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
LAB5:    xsi_size_not_matching(32U, t12, 0);
    goto LAB6;
 
}
 
 
extern void work_a_1034123407_1181938964_init()
{
	static char *pe[] = {(void *)work_a_1034123407_1181938964_p_0,(void *)work_a_1034123407_1181938964_p_1,(void *)work_a_1034123407_1181938964_p_2,(void *)work_a_1034123407_1181938964_p_3,(void *)work_a_1034123407_1181938964_p_4};
	xsi_register_didat("work_a_1034123407_1181938964", "isim/testbench_isim_beh.exe.sim/work/a_1034123407_1181938964.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.