File tree Expand file tree Collapse file tree 3 files changed +112
-2
lines changed Expand file tree Collapse file tree 3 files changed +112
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ before_script:
55 - export PATH=~/.cargo/bin:$PATH
66 - mkdir -p build
77
8+ stages :
9+ - build
10+ - test
11+
812vsim :
913 stage : build
1014 script :
@@ -177,3 +181,103 @@ axi_xbar:
177181 << : *run_vsim
178182 variables :
179183 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 2323 VCS ?= vcs
2424endif
2525
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+
2631TBS ?= axi_addr_test \
2732 axi_atop_filter \
2833 axi_bus_compare \
@@ -103,7 +108,7 @@ compile_vcs.log: Bender.yml | build
103108
104109
105110sim_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 ../$@
107112 (! grep -n " Error" $@ )
108113 (! grep -n " Fatal" $@ )
109114
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
2222SEEDS=(0)
2323
2424call_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 " $@ "
2626 for seed in ${SEEDS[@]} ; do
2727 echo
2828 echo " ----"
2929 echo " Running with seed: $seed "
30+ echo " VCS options: $VCS_OPT "
3031 ./" ${@: -1} " +ntb_random_seed=$seed -exitstatus | tee " ${@: -1} " _$seed .log 2>&1
3132 (! grep -n " Error" " ${@: -1} " _$seed .log)
3233 (! grep -n " Fatal" " ${@: -1} " _$seed .log)
You can’t perform that action at this time.
0 commit comments