Disable printf/assert during reset
This commit is contained in:
parent
cd9e07d8e7
commit
46d7dceb1e
@ -46,7 +46,7 @@ VCS_OPTS = -notice -line +lint=all,noVCDE,noONGS,noUI -error=PCWM-L -timescale=1
|
|||||||
$(sim_dir)/libdramsim.a \
|
$(sim_dir)/libdramsim.a \
|
||||||
+incdir+$(generated_dir) \
|
+incdir+$(generated_dir) \
|
||||||
+define+CLOCK_PERIOD=0.5 $(sim_vsrcs) $(sim_csrcs) \
|
+define+CLOCK_PERIOD=0.5 $(sim_vsrcs) $(sim_csrcs) \
|
||||||
+define+PRINTF_COND=$(TB).verbose \
|
+define+PRINTF_COND=$(TB).printf_cond \
|
||||||
+libext+.v \
|
+libext+.v \
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
@ -33,6 +33,7 @@ module ZscaleTestHarness;
|
|||||||
reg [ 63:0] max_cycles = 0;
|
reg [ 63:0] max_cycles = 0;
|
||||||
reg [ 63:0] trace_count = 0;
|
reg [ 63:0] trace_count = 0;
|
||||||
reg verbose = 0;
|
reg verbose = 0;
|
||||||
|
wire printf_cond = verbose && !reset;
|
||||||
integer stderr = 32'h80000002;
|
integer stderr = 32'h80000002;
|
||||||
integer i;
|
integer i;
|
||||||
reg [127:0] image [8191:0];
|
reg [127:0] image [8191:0];
|
||||||
|
@ -78,6 +78,7 @@ module rocketTestHarness;
|
|||||||
reg stats_active = 0;
|
reg stats_active = 0;
|
||||||
reg stats_tracking = 0;
|
reg stats_tracking = 0;
|
||||||
reg verbose = 0;
|
reg verbose = 0;
|
||||||
|
wire printf_cond = verbose && !reset;
|
||||||
integer stderr = 32'h80000002;
|
integer stderr = 32'h80000002;
|
||||||
|
|
||||||
`include `TBVFRAG
|
`include `TBVFRAG
|
||||||
|
Loading…
Reference in New Issue
Block a user