Skip to content

Commit

Permalink
scripts:run_vsim: Add parametized axi_xbar simulation call
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Rönninger authored and thommythomaso committed Oct 6, 2022
1 parent 3076c14 commit 78f2999
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions scripts/run_vsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,29 @@ exec_test() {
done
done
;;
axi_xbar)
for GEN_ATOP in 0 1; do
for NUM_MST in 1 2 4 6; do
for NUM_SLV in 2 7 9; do
for MST_ID_USE in 3 5; do
MST_ID=5
for DATA_WIDTH in 64 256; do
for PIPE in 0 1; do
call_vsim tb_axi_xbar -t 1ns -voptargs="+acc" \
-gTbNumMasters=$NUM_MST \
-gTbNumSlaves=$NUM_SLV \
-gTbAxiIdWidthMasters=$MST_ID \
-gTbAxiIdUsed=$MST_ID_USE \
-gTbAxiDataWidth=$DATA_WIDTH \
-gTbPipeline=$PIPE \
-gTbEnAtop=$GEN_ATOP
done
done
done
done
done
done
;;
*)
call_vsim tb_$1 -t 1ns -coverage -voptargs="+acc +cover=bcesfx"
;;
Expand Down

0 comments on commit 78f2999

Please sign in to comment.