mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
Replaced double | and & with single. We were having issues with these verilator giving a warning about the parameter widths not matching. However the warning is not occuring anymore.
This commit is contained in:
parent
8993432928
commit
2fe73f8174
@ -46,7 +46,7 @@ module loggers import cvw::*; #(parameter cvw_t P,
|
||||
// performance counter logging
|
||||
logic BeginSample;
|
||||
logic StartSample, EndSample;
|
||||
if((PrintHPMCounters || BPRED_LOGGER) && P.ZICNTR_SUPPORTED) begin : HPMCSample
|
||||
if((PrintHPMCounters | BPRED_LOGGER) & P.ZICNTR_SUPPORTED) begin : HPMCSample
|
||||
integer HPMCindex;
|
||||
logic StartSampleFirst;
|
||||
logic StartSampleDelayed, BeginDelayed;
|
||||
@ -94,15 +94,6 @@ module loggers import cvw::*; #(parameter cvw_t P,
|
||||
EndSampleFirst = '0;
|
||||
end
|
||||
|
||||
// this code needs to be with embench and coremark but not the else condition
|
||||
/* -----\/----- EXCLUDED -----\/-----
|
||||
if (TEST == "embench" | TEST == "coremark") begin
|
||||
assign EndSample = EndSampleFirst & ~ EndSampleDelayed;
|
||||
end else begin
|
||||
assign EndSample = DCacheFlushStart & ~DCacheFlushDone;
|
||||
end
|
||||
-----/\----- EXCLUDED -----/\----- */
|
||||
|
||||
flopr #(1) EndSampleReg(clk, reset, EndSampleFirst, EndSampleDelayed);
|
||||
always_comb
|
||||
if (TEST == "embench" | TEST == "coremark") begin
|
||||
|
Loading…
Reference in New Issue
Block a user