Skip to content

Commit

Permalink
[!] Fix verilog build errors. Run asic_sim successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeykhbr committed Dec 10, 2023
1 parent 0a8ed6d commit ac92e5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions sv/rtl/riscv_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ module riscv_soc #(
input types_amba_pkg::axi4_slave_out_type i_ddr_xslvo // AXI DDR memory interface
);

import target_cfg_pkg::*;
import types_amba_pkg::*;
import types_pnp_pkg::*;
import types_bus0_pkg::*;
Expand Down
3 changes: 2 additions & 1 deletion sv/rtl/riverlib/core/tracer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,8 @@ initial begin
assert (fl)
else begin
$warning("Cannot open log-file");
endend
end
end

always_comb
begin: comb_proc
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/core/tracer_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import river_cfg_pkg::*;

localparam int TRACE_TBL_ABITS = 6;
localparam int TRACE_TBL_SZ = 64;
localparam rname[0:64-1] = '{
localparam string rname[0:64-1] = '{
"zero", // x0
"ra", // x1
"sp", // x2
Expand Down

0 comments on commit ac92e5b

Please sign in to comment.