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_2775555474_1241093336.c] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 eejlny
/**********************************************************************/
2
/*   ____  ____                                                       */
3
/*  /   /\/   /                                                       */
4
/* /___/  \  /                                                        */
5
/* \   \   \/                                                       */
6
/*  \   \        Copyright (c) 2003-2009 Xilinx, Inc.                */
7
/*  /   /          All Right Reserved.                                 */
8
/* /---/   /\                                                         */
9
/* \   \  /  \                                                      */
10
/*  \___\/\___\                                                    */
11
/***********************************************************************/
12
 
13
/* This file is designed for use with ISim build 0x7708f090 */
14
 
15
#define XSI_HIDE_SYMBOL_SPEC true
16
#include "xsi.h"
17
#include <memory.h>
18
#ifdef __GNUC__
19
#include <stdlib.h>
20
#else
21
#include <malloc.h>
22
#define alloca _alloca
23
#endif
24
static const char *ng0 = "C:/Users/eejlny/projects/xmatch_sim7/xmatch_sim7/src/control_reg.vhd";
25
 
26
 
27
 
28
static void work_a_2775555474_1241093336_p_0(char *t0)
29
{
30
    char *t1;
31
    char *t2;
32
    unsigned char t3;
33
    unsigned char t4;
34
    char *t5;
35
    char *t6;
36
    char *t7;
37
    char *t8;
38
    char *t9;
39
    char *t10;
40
    unsigned char t11;
41
    unsigned char t12;
42
    unsigned char t13;
43
    unsigned char t14;
44
    char *t15;
45
 
46
LAB0:    xsi_set_current_line(61, ng0);
47
    t1 = (t0 + 1352U);
48
    t2 = *((char **)t1);
49
    t3 = *((unsigned char *)t2);
50
    t4 = (t3 == (unsigned char)0);
51
    if (t4 != 0)
52
        goto LAB2;
53
 
54
LAB4:    t1 = (t0 + 1472U);
55
    t4 = xsi_signal_has_event(t1);
56
    if (t4 == 1)
57
        goto LAB7;
58
 
59
LAB8:    t3 = (unsigned char)0;
60
 
61
LAB9:    if (t3 != 0)
62
        goto LAB5;
63
 
64
LAB6:
65
LAB3:    t1 = (t0 + 3560);
66
    *((int *)t1) = 1;
67
 
68
LAB1:    return;
69
LAB2:    xsi_set_current_line(62, ng0);
70
    t1 = (t0 + 5851);
71
    t6 = (t0 + 3656);
72
    t7 = (t6 + 56U);
73
    t8 = *((char **)t7);
74
    t9 = (t8 + 56U);
75
    t10 = *((char **)t9);
76
    memcpy(t10, t1, 32U);
77
    xsi_driver_first_trans_fast(t6);
78
    goto LAB3;
79
 
80
LAB5:    xsi_set_current_line(65, ng0);
81
    t2 = (t0 + 1192U);
82
    t6 = *((char **)t2);
83
    t13 = *((unsigned char *)t6);
84
    t14 = (t13 == (unsigned char)1);
85
    if (t14 != 0)
86
        goto LAB10;
87
 
88
LAB12:    xsi_set_current_line(68, ng0);
89
    t1 = (t0 + 1832U);
90
    t2 = *((char **)t1);
91
    t1 = (t0 + 3656);
92
    t5 = (t1 + 56U);
93
    t6 = *((char **)t5);
94
    t7 = (t6 + 56U);
95
    t8 = *((char **)t7);
96
    memcpy(t8, t2, 32U);
97
    xsi_driver_first_trans_fast(t1);
98
 
99
LAB11:    goto LAB3;
100
 
101
LAB7:    t2 = (t0 + 1512U);
102
    t5 = *((char **)t2);
103
    t11 = *((unsigned char *)t5);
104
    t12 = (t11 == (unsigned char)1);
105
    t3 = t12;
106
    goto LAB9;
107
 
108
LAB10:    xsi_set_current_line(66, ng0);
109
    t2 = (t0 + 1032U);
110
    t7 = *((char **)t2);
111
    t2 = (t0 + 3656);
112
    t8 = (t2 + 56U);
113
    t9 = *((char **)t8);
114
    t10 = (t9 + 56U);
115
    t15 = *((char **)t10);
116
    memcpy(t15, t7, 32U);
117
    xsi_driver_first_trans_fast(t2);
118
    goto LAB11;
119
 
120
}
121
 
122
static void work_a_2775555474_1241093336_p_1(char *t0)
123
{
124
    char *t1;
125
    char *t2;
126
    char *t3;
127
    char *t4;
128
    char *t5;
129
    char *t6;
130
    char *t7;
131
 
132
LAB0:    xsi_set_current_line(75, ng0);
133
 
134
LAB3:    t1 = (t0 + 1832U);
135
    t2 = *((char **)t1);
136
    t1 = (t0 + 3720);
137
    t3 = (t1 + 56U);
138
    t4 = *((char **)t3);
139
    t5 = (t4 + 56U);
140
    t6 = *((char **)t5);
141
    memcpy(t6, t2, 32U);
142
    xsi_driver_first_trans_fast_port(t1);
143
 
144
LAB2:    t7 = (t0 + 3576);
145
    *((int *)t7) = 1;
146
 
147
LAB1:    return;
148
LAB4:    goto LAB2;
149
 
150
}
151
 
152
 
153
extern void work_a_2775555474_1241093336_init()
154
{
155
        static char *pe[] = {(void *)work_a_2775555474_1241093336_p_0,(void *)work_a_2775555474_1241093336_p_1};
156
        xsi_register_didat("work_a_2775555474_1241093336", "isim/testbench_isim_beh.exe.sim/work/a_2775555474_1241093336.didat");
157
        xsi_register_executes(pe);
158
}

powered by: WebSVN 2.1.0

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