From 483fce6da61ab9ded12da6d995aa131187db474b Mon Sep 17 00:00:00 2001 From: Dariusz Stachanczyk Date: Tue, 3 Dec 2024 14:26:36 +0100 Subject: [PATCH] [entropy_src, dv] Replace the "+" operator incorrectly used to concatenate 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 --- hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv b/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv index 07afdfcfa40fe..5e8e889a666c3 100644 --- a/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv +++ b/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv @@ -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));