From 3648201db91ce0f24a1c2d189b360e5709ffea7d Mon Sep 17 00:00:00 2001 From: Philippe Sauter Date: Mon, 7 Oct 2024 19:06:38 +0200 Subject: [PATCH] tb: fix missing static/automatic/const --- rtl/tb_croc_soc.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/tb_croc_soc.sv b/rtl/tb_croc_soc.sv index 53ffedf..ec45d7e 100644 --- a/rtl/tb_croc_soc.sv +++ b/rtl/tb_croc_soc.sv @@ -182,7 +182,7 @@ module tb_croc_soc #( bit [31:0] data; bit [7:0] byte_data; int byte_count; - dm::sbcs_t sbcs = dm::sbcs_t'{sbautoincrement: 1'b1, sbaccess: 2, default: '0}; + const dm::sbcs_t sbcs = dm::sbcs_t'{sbautoincrement: 1'b1, sbaccess: 2, default: '0}; file = $fopen(filename, "r"); if (file == 0) begin