OpenCores
URL https://opencores.org/ocsvn/cpu8080/cpu8080/trunk

Subversion Repositories cpu8080

[/] [cpu8080/] [trunk/] [project/] [isim/] [work/] [cpu__tbw/] [cpu__tbw.h] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 samiam9512
////////////////////////////////////////////////////////////////////////////////
2
//   ____  ____  
3
//  /   /\/   /  
4
// /___/  \  /   
5
// \   \   \/    
6
//  \   \        Copyright (c) 2003-2004 Xilinx, Inc.
7
//  /   /        All Right Reserved. 
8
// /___/   /\   
9
// \   \  /  \  
10
//  \___\/\___\ 
11
////////////////////////////////////////////////////////////////////////////////
12
 
13
#ifndef H_workMcpu__tbw_H
14
#define H_workMcpu__tbw_H
15
 
16
#ifdef _MSC_VER
17
#pragma warning(disable: 4355)
18
#endif
19
 
20
#ifdef __MINGW32__
21
#include "xsimMinGW.h"
22
#else
23
#include "xsim.h"
24
#endif
25
 
26
class workMcpu__tbw : public HSim__s5{
27
public:
28
    workMcpu__tbw(const char *instname);
29
    ~workMcpu__tbw();
30
    void setDefparam();
31
    void constructObject();
32
    void moduleInstantiate(HSimConfigDecl *cfg);
33
    void connectSigs();
34
    void reset();
35
    virtual void archImplement();
36
    HSim::ValueS* up1Func(HSim::VlogVarType& outVarType, int& outNumScalars, int inNumScalars);
37
    class cu0 : public HSimVlogTask{
38
    public:
39
        cu0(workMcpu__tbw* arch );
40
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
41
        void deleteTaskCall(HSimVlogTaskCall *p );
42
        void reset();
43
        void constructObject();
44
        int getSizeForArg(int argNumber);
45
        workMcpu__tbw* Arch ;
46
        HSimVector<HSimRegion *> activeInstanceList ;
47
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
48
        ~cu0();
49
        bool disable(HSim__s7* proc);
50
    };
51
    cu0 u0;
52
    class cu1 : public HSimVlogTask{
53
    public:
54
        cu1(workMcpu__tbw* arch );
55
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
56
        void deleteTaskCall(HSimVlogTaskCall *p );
57
        void reset();
58
        void constructObject();
59
        int getSizeForArg(int argNumber);
60
        workMcpu__tbw* Arch ;
61
        HSimVector<HSimRegion *> activeInstanceList ;
62
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
63
        ~cu1();
64
        bool disable(HSim__s7* proc);
65
    };
66
    cu1 u1;
67
    class cu2 : public HSimVlogTask{
68
    public:
69
        cu2(workMcpu__tbw* arch );
70
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
71
        void deleteTaskCall(HSimVlogTaskCall *p );
72
        void reset();
73
        void constructObject();
74
        int getSizeForArg(int argNumber);
75
        workMcpu__tbw* Arch ;
76
        HSimVector<HSimRegion *> activeInstanceList ;
77
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
78
        ~cu2();
79
        bool disable(HSim__s7* proc);
80
    };
81
    cu2 u2;
82
    class cu3 : public HSimVlogTask{
83
    public:
84
        cu3(workMcpu__tbw* arch );
85
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
86
        void deleteTaskCall(HSimVlogTaskCall *p );
87
        void reset();
88
        void constructObject();
89
        int getSizeForArg(int argNumber);
90
        workMcpu__tbw* Arch ;
91
        HSimVector<HSimRegion *> activeInstanceList ;
92
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
93
        ~cu3();
94
        bool disable(HSim__s7* proc);
95
    };
96
    cu3 u3;
97
    class cu4 : public HSimVlogTask{
98
    public:
99
        cu4(workMcpu__tbw* arch );
100
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
101
        void deleteTaskCall(HSimVlogTaskCall *p );
102
        void reset();
103
        void constructObject();
104
        int getSizeForArg(int argNumber);
105
        workMcpu__tbw* Arch ;
106
        HSimVector<HSimRegion *> activeInstanceList ;
107
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
108
        ~cu4();
109
        bool disable(HSim__s7* proc);
110
    };
111
    cu4 u4;
112
    class cu5 : public HSimVlogTask{
113
    public:
114
        cu5(workMcpu__tbw* arch );
115
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
116
        void deleteTaskCall(HSimVlogTaskCall *p );
117
        void reset();
118
        void constructObject();
119
        int getSizeForArg(int argNumber);
120
        workMcpu__tbw* Arch ;
121
        HSimVector<HSimRegion *> activeInstanceList ;
122
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
123
        ~cu5();
124
        bool disable(HSim__s7* proc);
125
    };
126
    cu5 u5;
127 9 samiam9512
    class cu6 : public HSimVlogTask{
128
    public:
129
        cu6(workMcpu__tbw* arch );
130
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
131
        void deleteTaskCall(HSimVlogTaskCall *p );
132
        void reset();
133
        void constructObject();
134
        int getSizeForArg(int argNumber);
135
        workMcpu__tbw* Arch ;
136
        HSimVector<HSimRegion *> activeInstanceList ;
137
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
138
        ~cu6();
139
        bool disable(HSim__s7* proc);
140
    };
141
    cu6 u6;
142 11 samiam9512
    class cu7 : public HSimVlogTask{
143
    public:
144
        cu7(workMcpu__tbw* arch );
145
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
146
        void deleteTaskCall(HSimVlogTaskCall *p );
147
        void reset();
148
        void constructObject();
149
        int getSizeForArg(int argNumber);
150
        workMcpu__tbw* Arch ;
151
        HSimVector<HSimRegion *> activeInstanceList ;
152
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
153
        ~cu7();
154
        bool disable(HSim__s7* proc);
155
    };
156
    cu7 u7;
157
    class cu8 : public HSimVlogTask{
158
    public:
159
        cu8(workMcpu__tbw* arch );
160
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
161
        void deleteTaskCall(HSimVlogTaskCall *p );
162
        void reset();
163
        void constructObject();
164
        int getSizeForArg(int argNumber);
165
        workMcpu__tbw* Arch ;
166
        HSimVector<HSimRegion *> activeInstanceList ;
167
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
168
        ~cu8();
169
        bool disable(HSim__s7* proc);
170
    };
171
    cu8 u8;
172
    class cu9 : public HSimVlogTask{
173
    public:
174
        cu9(workMcpu__tbw* arch );
175
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
176
        void deleteTaskCall(HSimVlogTaskCall *p );
177
        void reset();
178
        void constructObject();
179
        int getSizeForArg(int argNumber);
180
        workMcpu__tbw* Arch ;
181
        HSimVector<HSimRegion *> activeInstanceList ;
182
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
183
        ~cu9();
184
        bool disable(HSim__s7* proc);
185
    };
186
    cu9 u9;
187
    class cu10 : public HSimVlogTask{
188
    public:
189
        cu10(workMcpu__tbw* arch );
190
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
191
        void deleteTaskCall(HSimVlogTaskCall *p );
192
        void reset();
193
        void constructObject();
194
        int getSizeForArg(int argNumber);
195
        workMcpu__tbw* Arch ;
196
        HSimVector<HSimRegion *> activeInstanceList ;
197
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
198
        ~cu10();
199
        bool disable(HSim__s7* proc);
200
    };
201
    cu10 u10;
202
    class cu11 : public HSimVlogTask{
203
    public:
204
        cu11(workMcpu__tbw* arch );
205
        HSimVlogTaskCall * createTaskCall(HSim__s7 * process );
206
        void deleteTaskCall(HSimVlogTaskCall *p );
207
        void reset();
208
        void constructObject();
209
        int getSizeForArg(int argNumber);
210
        workMcpu__tbw* Arch ;
211
        HSimVector<HSimRegion *> activeInstanceList ;
212
        HSimVector<HSimRegion *>  availableTaskCallObjList ;
213
        ~cu11();
214
        bool disable(HSim__s7* proc);
215
    };
216
    cu11 u11;
217
    HSim__s1 us[13];
218 9 samiam9512
    HSim__s3 uv[6];
219 2 samiam9512
    HSimVlogParam up[3];
220
};
221
 
222
#endif

powered by: WebSVN 2.1.0

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