From d3786169a8103e3f4123dc74f5fd0a03f2f036e7 Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Thu, 18 Jul 2024 17:01:49 +0200 Subject: [PATCH] Modify test to force the error --- scripts/run_vsim.sh | 8 ++++++++ test/tb_axi_dw_downsizer.sv | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/run_vsim.sh b/scripts/run_vsim.sh index 9812c5ed5..aaf8c3f22 100755 --- a/scripts/run_vsim.sh +++ b/scripts/run_vsim.sh @@ -49,6 +49,14 @@ exec_test() { call_vsim tb_$1 ;; axi_dw_downsizer) + call_vsim tb_axi_dw_downsizer \ + -gTbAxiSlvPortDataWidth=32 \ + -gTbAxiMstPortDataWidth=16 \ + -gTbInitialBStallCycles=100000 -t 1ps + call_vsim tb_axi_dw_downsizer \ + -gTbAxiSlvPortDataWidth=32 \ + -gTbAxiMstPortDataWidth=16 \ + -gTbInitialRStallCycles=100000 -t 1ps for AxiSlvPortDataWidth in 8 16 32 64 128 256 512 1024; do for (( AxiMstPortDataWidth = 8; \ AxiMstPortDataWidth < $AxiSlvPortDataWidth; \ diff --git a/test/tb_axi_dw_downsizer.sv b/test/tb_axi_dw_downsizer.sv index e687de066..a11baf9d3 100644 --- a/test/tb_axi_dw_downsizer.sv +++ b/test/tb_axi_dw_downsizer.sv @@ -21,8 +21,8 @@ module tb_axi_dw_downsizer #( parameter int unsigned TbAxiSlvPortDataWidth = 64 , parameter int unsigned TbAxiMstPortDataWidth = 32 , parameter int unsigned TbAxiUserWidth = 8 , - parameter int unsigned TbInitialBStallCycles = 1000, - parameter int unsigned TbInitialRStallCycles = 1000, + parameter int unsigned TbInitialBStallCycles = 0, + parameter int unsigned TbInitialRStallCycles = 0, // TB Parameters parameter time TbCyclTime = 10ns, parameter time TbApplTime = 2ns ,