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_1378142294_2842694933.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/nfl_counters2.vhd";
extern char *DZX_P_3728046382;
 
char *dzx_p_3728046382_sub_3251038083_2632892140(char *, char *, char *, char *, char *, char *);
 
 
static void work_a_1378142294_2842694933_p_0(char *t0)
{
    char t21[16];
    char t22[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;
    unsigned int t17;
    char *t18;
    char *t19;
    char *t20;
    int t23;
    unsigned int t24;
 
LAB0:    xsi_set_current_line(81, ng0);
    t1 = (t0 + 1672U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)0);
    if (t4 != 0)
        goto LAB2;
 
LAB4:    t1 = (t0 + 1312U);
    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 + 4128);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(83, ng0);
    t1 = (t0 + 6757);
    t6 = (t0 + 4240);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    memcpy(t10, t1, 8U);
    xsi_driver_first_trans_fast(t6);
    goto LAB3;
 
LAB5:    xsi_set_current_line(89, ng0);
    t2 = (t0 + 1512U);
    t6 = *((char **)t2);
    t13 = *((unsigned char *)t6);
    t14 = (t13 == (unsigned char)0);
    if (t14 != 0)
        goto LAB10;
 
LAB12:    t1 = (t0 + 1032U);
    t2 = *((char **)t1);
    t4 = *((unsigned char *)t2);
    t11 = (t4 == (unsigned char)1);
    if (t11 == 1)
        goto LAB15;
 
LAB16:    t3 = (unsigned char)0;
 
LAB17:    if (t3 != 0)
        goto LAB13;
 
LAB14:
LAB11:    goto LAB3;
 
LAB7:    t2 = (t0 + 1352U);
    t5 = *((char **)t2);
    t11 = *((unsigned char *)t5);
    t12 = (t11 == (unsigned char)1);
    t3 = t12;
    goto LAB9;
 
LAB10:    xsi_set_current_line(93, ng0);
    t2 = (t0 + 6765);
    t8 = (t0 + 4240);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    memcpy(t16, t2, 8U);
    xsi_driver_first_trans_fast(t8);
    goto LAB11;
 
LAB13:    xsi_set_current_line(98, ng0);
    t1 = (t0 + 2152U);
    t6 = *((char **)t1);
    t1 = (t0 + 6773);
    t14 = 1;
    if (8U == 8U)
        goto LAB21;
 
LAB22:    t14 = 0;
 
LAB23:    if (t14 != 0)
        goto LAB18;
 
LAB20:    xsi_set_current_line(104, ng0);
    t1 = (t0 + 2152U);
    t2 = *((char **)t1);
    t1 = (t0 + 6720U);
    t5 = (t0 + 6781);
    t7 = (t22 + 0U);
    t8 = (t7 + 0U);
    *((int *)t8) = 0;
    t8 = (t7 + 4U);
    *((int *)t8) = 7;
    t8 = (t7 + 8U);
    *((int *)t8) = 1;
    t23 = (7 - 0);
    t17 = (t23 * 1);
    t17 = (t17 + 1);
    t8 = (t7 + 12U);
    *((unsigned int *)t8) = t17;
    t8 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t21, t2, t1, t5, t22);
    t9 = (t21 + 12U);
    t17 = *((unsigned int *)t9);
    t24 = (1U * t17);
    t3 = (8U != t24);
    if (t3 == 1)
        goto LAB27;
 
LAB28:    t10 = (t0 + 4240);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    t18 = (t16 + 56U);
    t19 = *((char **)t18);
    memcpy(t19, t8, 8U);
    xsi_driver_first_trans_fast(t10);
 
LAB19:    goto LAB11;
 
LAB15:    t1 = (t0 + 1192U);
    t5 = *((char **)t1);
    t12 = *((unsigned char *)t5);
    t13 = (t12 == (unsigned char)0);
    t3 = t13;
    goto LAB17;
 
LAB18:    xsi_set_current_line(100, ng0);
    t10 = (t0 + 2152U);
    t15 = *((char **)t10);
    t10 = (t0 + 4240);
    t16 = (t10 + 56U);
    t18 = *((char **)t16);
    t19 = (t18 + 56U);
    t20 = *((char **)t19);
    memcpy(t20, t15, 8U);
    xsi_driver_first_trans_fast(t10);
    goto LAB19;
 
LAB21:    t17 = 0;
 
LAB24:    if (t17 < 8U)
        goto LAB25;
    else
        goto LAB23;
 
LAB25:    t8 = (t6 + t17);
    t9 = (t1 + t17);
    if (*((unsigned char *)t8) != *((unsigned char *)t9))
        goto LAB22;
 
LAB26:    t17 = (t17 + 1);
    goto LAB24;
 
LAB27:    xsi_size_not_matching(8U, t24, 0);
    goto LAB28;
 
}
 
static void work_a_1378142294_2842694933_p_1(char *t0)
{
    char *t1;
    char *t2;
    unsigned char t4;
    unsigned int t5;
    char *t6;
    char *t7;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    char *t17;
    char *t18;
 
LAB0:    xsi_set_current_line(115, ng0);
    t1 = (t0 + 2152U);
    t2 = *((char **)t1);
    t1 = (t0 + 6789);
    t4 = 1;
    if (8U == 8U)
        goto LAB5;
 
LAB6:    t4 = 0;
 
LAB7:    if (t4 != 0)
        goto LAB3;
 
LAB4:
LAB11:    t13 = (t0 + 4304);
    t14 = (t13 + 56U);
    t15 = *((char **)t14);
    t16 = (t15 + 56U);
    t17 = *((char **)t16);
    *((unsigned char *)t17) = (unsigned char)1;
    xsi_driver_first_trans_fast_port(t13);
 
LAB2:    t18 = (t0 + 4144);
    *((int *)t18) = 1;
 
LAB1:    return;
LAB3:    t8 = (t0 + 4304);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t11 = (t10 + 56U);
    t12 = *((char **)t11);
    *((unsigned char *)t12) = (unsigned char)0;
    xsi_driver_first_trans_fast_port(t8);
    goto LAB2;
 
LAB5:    t5 = 0;
 
LAB8:    if (t5 < 8U)
        goto LAB9;
    else
        goto LAB7;
 
LAB9:    t6 = (t2 + t5);
    t7 = (t1 + t5);
    if (*((unsigned char *)t6) != *((unsigned char *)t7))
        goto LAB6;
 
LAB10:    t5 = (t5 + 1);
    goto LAB8;
 
LAB12:    goto LAB2;
 
}
 
static void work_a_1378142294_2842694933_p_2(char *t0)
{
    char *t1;
    char *t2;
    char *t3;
    char *t4;
    char *t5;
    char *t6;
    char *t7;
 
LAB0:    xsi_set_current_line(117, ng0);
 
LAB3:    t1 = (t0 + 2152U);
    t2 = *((char **)t1);
    t1 = (t0 + 4368);
    t3 = (t1 + 56U);
    t4 = *((char **)t3);
    t5 = (t4 + 56U);
    t6 = *((char **)t5);
    memcpy(t6, t2, 8U);
    xsi_driver_first_trans_fast_port(t1);
 
LAB2:    t7 = (t0 + 4160);
    *((int *)t7) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
 
extern void work_a_1378142294_2842694933_init()
{
	static char *pe[] = {(void *)work_a_1378142294_2842694933_p_0,(void *)work_a_1378142294_2842694933_p_1,(void *)work_a_1378142294_2842694933_p_2};
	xsi_register_didat("work_a_1378142294_2842694933", "isim/testbench_isim_beh.exe.sim/work/a_1378142294_2842694933.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.