Added back removed warnings to verilator since we have now fixed those issues

This commit is contained in:
(Tim) Efthimis Kritikos 2023-11-12 00:07:33 +00:00
parent 09b3d51015
commit 4c130a8d63
2 changed files with 6 additions and 1 deletions

View File

@ -36,7 +36,7 @@ VERILATOR_OPTS += --cc --exe
VERILATOR_OPTS += --trace-fst --threads 1 --autoflush VERILATOR_OPTS += --trace-fst --threads 1 --autoflush
#linter options #linter options
VERILATOR_OPTS += -Wall --Wno-DECLFILENAME -Wno-SYNCASYNCNET -Wno-MULTIDRIVEN VERILATOR_OPTS += -Wall --Wno-DECLFILENAME
#optimisation options #optimisation options
VERILATOR_OPTS += -x-assign fast --x-initial fast VERILATOR_OPTS += -x-assign fast --x-initial fast

View File

@ -117,7 +117,9 @@ end
`ifdef CALCULATE_IPC `ifdef CALCULATE_IPC
/* verilator lint_off MULTIDRIVEN */
reg [128:0] instruction_count; reg [128:0] instruction_count;
/* verilator lint_on MULTIDRIVEN */
always @(new_instruction) begin always @(new_instruction) begin
instruction_count<=instruction_count+1; instruction_count<=instruction_count+1;
end end
@ -139,7 +141,9 @@ end
finish<=2'd1; finish<=2'd1;
end end
/* verilator lint_off MULTIDRIVEN */
reg [1:0] finish; reg [1:0] finish;
/* verilator lint_on MULTIDRIVEN */
reg sane; reg sane;
reg [128:0] cycles; reg [128:0] cycles;
@ -209,6 +213,7 @@ end
`endif `endif
end end
end end
`endif `endif