Fixed compile error where iverilog didn't appreciate the string parameter type.

This commit is contained in:
riley committed 2026-11-12 12:47:13 +11:00
1 parent 5ca004e1f7
commit 97f8b5b766
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
`include "gatereg.sv"
`include "hazard_unit.sv"
module assignment3 #(string progsrc, width=5, romsz=9, ramsz=10)(
module assignment3 #(parameter progsrc = "", parameter width=5, parameter romsz=9, parameter ramsz=10)(
input logic [0:0] clk, input logic [0:0] rst
);
logic [31:0] regs_out [32];