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_1655480355_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/BUFFER_COUNTER_WRITE_9BITS.vhd";
extern char *DZX_P_3728046382;
 
char *dzx_p_3728046382_sub_3251038083_2632892140(char *, char *, char *, char *, char *, char *);
 
 
static void work_a_1655480355_1181938964_p_0(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(65, ng0);
    t1 = (t0 + 1352U);
    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 + 3720);
    *((int *)t1) = 1;
 
LAB1:    return;
LAB2:    xsi_set_current_line(66, ng0);
    t1 = (t0 + 6263);
    t6 = (t0 + 3816);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    memcpy(t10, t1, 10U);
    xsi_driver_first_trans_fast(t6);
    goto LAB3;
 
LAB5:    xsi_set_current_line(69, ng0);
    t2 = (t0 + 1512U);
    t6 = *((char **)t2);
    t13 = *((unsigned char *)t6);
    t14 = (t13 == (unsigned char)1);
    if (t14 != 0)
        goto LAB10;
 
LAB12:    t1 = (t0 + 1032U);
    t2 = *((char **)t1);
    t3 = *((unsigned char *)t2);
    t4 = (t3 == (unsigned char)1);
    if (t4 != 0)
        goto LAB13;
 
LAB14:    xsi_set_current_line(78, ng0);
    t1 = (t0 + 1992U);
    t2 = *((char **)t1);
    t1 = (t0 + 3816);
    t5 = (t1 + 56U);
    t6 = *((char **)t5);
    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    memcpy(t8, t2, 10U);
    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(70, ng0);
    t2 = (t0 + 6273);
    t8 = (t0 + 3816);
    t9 = (t8 + 56U);
    t10 = *((char **)t9);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    memcpy(t16, t2, 10U);
    xsi_driver_first_trans_fast(t8);
    goto LAB11;
 
LAB13:    xsi_set_current_line(72, ng0);
    t1 = (t0 + 1192U);
    t5 = *((char **)t1);
    t11 = *((unsigned char *)t5);
    t12 = (t11 == (unsigned char)1);
    if (t12 != 0)
        goto LAB15;
 
LAB17:    xsi_set_current_line(75, ng0);
    t1 = (t0 + 1992U);
    t2 = *((char **)t1);
    t1 = (t0 + 6224U);
    t5 = (t0 + 6293);
    t7 = (t18 + 0U);
    t8 = (t7 + 0U);
    *((int *)t8) = 0;
    t8 = (t7 + 4U);
    *((int *)t8) = 9;
    t8 = (t7 + 8U);
    *((int *)t8) = 1;
    t19 = (9 - 0);
    t20 = (t19 * 1);
    t20 = (t20 + 1);
    t8 = (t7 + 12U);
    *((unsigned int *)t8) = t20;
    t8 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t17, t2, t1, t5, t18);
    t9 = (t17 + 12U);
    t20 = *((unsigned int *)t9);
    t21 = (1U * t20);
    t3 = (10U != t21);
    if (t3 == 1)
        goto LAB20;
 
LAB21:    t10 = (t0 + 3816);
    t15 = (t10 + 56U);
    t16 = *((char **)t15);
    t22 = (t16 + 56U);
    t23 = *((char **)t22);
    memcpy(t23, t8, 10U);
    xsi_driver_first_trans_fast(t10);
 
LAB16:    goto LAB11;
 
LAB15:    xsi_set_current_line(73, ng0);
    t1 = (t0 + 1992U);
    t6 = *((char **)t1);
    t1 = (t0 + 6224U);
    t7 = (t0 + 6283);
    t9 = (t18 + 0U);
    t10 = (t9 + 0U);
    *((int *)t10) = 0;
    t10 = (t9 + 4U);
    *((int *)t10) = 9;
    t10 = (t9 + 8U);
    *((int *)t10) = 1;
    t19 = (9 - 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);
    t13 = (10U != t21);
    if (t13 == 1)
        goto LAB18;
 
LAB19:    t16 = (t0 + 3816);
    t22 = (t16 + 56U);
    t23 = *((char **)t22);
    t24 = (t23 + 56U);
    t25 = *((char **)t24);
    memcpy(t25, t10, 10U);
    xsi_driver_first_trans_fast(t16);
    goto LAB16;
 
LAB18:    xsi_size_not_matching(10U, t21, 0);
    goto LAB19;
 
LAB20:    xsi_size_not_matching(10U, t21, 0);
    goto LAB21;
 
}
 
static void work_a_1655480355_1181938964_p_1(char *t0)
{
    char *t1;
    char *t2;
    char *t3;
    char *t4;
    char *t5;
    char *t6;
    char *t7;
 
LAB0:    xsi_set_current_line(84, ng0);
 
LAB3:    t1 = (t0 + 1992U);
    t2 = *((char **)t1);
    t1 = (t0 + 3880);
    t3 = (t1 + 56U);
    t4 = *((char **)t3);
    t5 = (t4 + 56U);
    t6 = *((char **)t5);
    memcpy(t6, t2, 10U);
    xsi_driver_first_trans_fast_port(t1);
 
LAB2:    t7 = (t0 + 3736);
    *((int *)t7) = 1;
 
LAB1:    return;
LAB4:    goto LAB2;
 
}
 
 
extern void work_a_1655480355_1181938964_init()
{
	static char *pe[] = {(void *)work_a_1655480355_1181938964_p_0,(void *)work_a_1655480355_1181938964_p_1};
	xsi_register_didat("work_a_1655480355_1181938964", "isim/testbench_isim_beh.exe.sim/work/a_1655480355_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.