File tree 3 files changed +112
-2
lines changed
3 files changed +112
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ before_script:
5
5
- export PATH=~/.cargo/bin:$PATH
6
6
- mkdir -p build
7
7
8
+ stages :
9
+ - build
10
+ - test
11
+
8
12
vsim :
9
13
stage : build
10
14
script :
@@ -177,3 +181,103 @@ axi_xbar:
177
181
<< : *run_vsim
178
182
variables :
179
183
TEST_MODULE : axi_xbar
184
+
185
+ vcs_axi_addr_test :
186
+ stage : test
187
+ script :
188
+ - make sim_vcs-axi_addr_test.log
189
+
190
+ vcs_axi_atop_filter :
191
+ stage : test
192
+ script :
193
+ - make sim_vcs-axi_atop_filter.log
194
+
195
+ vcs_axi_cdc :
196
+ stage : test
197
+ script :
198
+ - make sim_vcs-axi_cdc.log
199
+
200
+ vcs_axi_delayer :
201
+ stage : test
202
+ script :
203
+ - make sim_vcs-axi_delayer.log
204
+
205
+ vcs_axi_dw_downsizer :
206
+ stage : test
207
+ script :
208
+ - make sim_vcs-axi_dw_downsizer.log
209
+
210
+ vcs_axi_dw_upsizer :
211
+ stage : test
212
+ script :
213
+ - make sim_vcs-axi_dw_upsizer.log
214
+
215
+ vcs_axi_fifo :
216
+ stage : test
217
+ script :
218
+ - make sim_vcs-axi_fifo.log
219
+
220
+ vcs_axi_isolate :
221
+ stage : test
222
+ script :
223
+ - make sim_vcs-axi_isolate.log
224
+
225
+ vcs_axi_iw_converter :
226
+ stage : test
227
+ script :
228
+ - make sim_vcs-axi_iw_converter.log
229
+
230
+ vcs_axi_lite_regs :
231
+ stage : test
232
+ script :
233
+ - make sim_vcs-axi_lite_regs.log
234
+
235
+ vcs_axi_lite_to_apb :
236
+ stage : test
237
+ script :
238
+ - make sim_vcs-axi_lite_to_apb.log
239
+
240
+ vcs_axi_lite_to_axi :
241
+ stage : test
242
+ script :
243
+ - make sim_vcs-axi_lite_to_axi.log
244
+
245
+ vcs_axi_lite_mailbox :
246
+ stage : test
247
+ script :
248
+ - make sim_vcs-axi_lite_mailbox.log
249
+
250
+ vcs_axi_lite_xbar :
251
+ stage : test
252
+ script :
253
+ - make sim_vcs-axi_lite_xbar.log
254
+
255
+ vcs_axi_modify_address :
256
+ stage : test
257
+ script :
258
+ - make sim_vcs-axi_modify_address.log
259
+
260
+ vcs_axi_serializer :
261
+ stage : test
262
+ script :
263
+ - make sim_vcs-axi_serializer.log
264
+
265
+ vcs_axi_sim_mem :
266
+ stage : test
267
+ script :
268
+ - make sim_vcs-axi_sim_mem.log
269
+
270
+ vcs_axi_to_axi_lite :
271
+ stage : test
272
+ script :
273
+ - make sim_vcs-axi_to_axi_lite.log
274
+
275
+ vcs_axi_to_mem_banked :
276
+ stage : test
277
+ script :
278
+ - make sim_vcs-axi_to_mem_banked.log
279
+
280
+ vcs_axi_xbar :
281
+ stage : test
282
+ script :
283
+ - make sim_vcs-axi_xbar.log
Original file line number Diff line number Diff line change 23
23
VCS ?= vcs
24
24
endif
25
25
26
+ # VCS_DEBUG ?= -debug_access+r
27
+ VCS_DEBUG ?= -debug_access+nomemcbk
28
+ VCS_XPROP ?= -xprop=xmerge
29
+ VCS_OPT ?= $(VCS_XPROP ) $(VCS_DEBUG ) -full64 -CFLAGS \"-O4\" -O4 -j9
30
+
26
31
TBS ?= axi_addr_test \
27
32
axi_atop_filter \
28
33
axi_bus_compare \
@@ -103,7 +108,7 @@ compile_vcs.log: Bender.yml | build
103
108
104
109
105
110
sim_vcs-% .log : compile_vcs.log
106
- export VCS=" $( VCS) " ; cd build && ../scripts/run_vcs.sh --random-seed $* | tee ../$@
111
+ export VCS=" $( VCS) " ; export VCS_OPT= " $( VCS_OPT ) " ; cd build && ../scripts/run_vcs.sh --random-seed $* | tee ../$@
107
112
(! grep -n " Error" $@ )
108
113
(! grep -n " Fatal" $@ )
109
114
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
22
22
SEEDS=(0)
23
23
24
24
call_vcs () {
25
- $VCS -Mlib=work-" ${@: -1} " -Mdir=work-" ${@: -1} " -debug_access+r -CFLAGS " -Os " -full64 -xprop=xmerge " $@ "
25
+ $VCS -Mlib=work-" ${@: -1} " -Mdir=work-" ${@: -1} " $VCS_OPT " $@ "
26
26
for seed in ${SEEDS[@]} ; do
27
27
echo
28
28
echo " ----"
29
29
echo " Running with seed: $seed "
30
+ echo " VCS options: $VCS_OPT "
30
31
./" ${@: -1} " +ntb_random_seed=$seed -exitstatus | tee " ${@: -1} " _$seed .log 2>&1
31
32
(! grep -n " Error" " ${@: -1} " _$seed .log)
32
33
(! grep -n " Fatal" " ${@: -1} " _$seed .log)
You can’t perform that action at this time.
0 commit comments