Skip to content

Commit

Permalink
[entropy_src, dv] Replace the "+" operator incorrectly used to concat…
Browse files Browse the repository at this point in the history
…enate string literals in SystemVerilog code

The "+" operator used on string literals is replaced with correct concatenation expression.
The indents and misspelling in a message string have been corrected.
Signed-off-by: Dariusz Stachanczyk <[email protected]>
  • Loading branch information
dariuszst committed Dec 10, 2024
1 parent f698217 commit 483fce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv
Original file line number Diff line number Diff line change
Expand Up @@ -917,10 +917,10 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
if (main_sm_exp_alert_cond) begin
if (!fw_ov_insert && !threshold_alert_active && !main_sm_escalates) begin
if (dut_phase == STARTUP) begin
fmt = "New alert anticpated with >= 2 failing windows." +
"(supercedes count/threshold of %01d/%01d)";
fmt = {"New alert anticipated with >= 2 failing windows." ,
"(supersedes count/threshold of %01d/%01d)"};
end else begin
fmt = "New alert anticpated! Fail count (%01d) >= threshold (%01d)";
fmt = "New alert anticipated! Fail count (%01d) >= threshold (%01d)";
end
threshold_alert_active = 1;
`DV_CHECK_FATAL(ral.recov_alert_sts.es_main_sm_alert.predict(1'b1));
Expand Down

0 comments on commit 483fce6

Please sign in to comment.