aboutsummaryrefslogtreecommitdiff
path: root/sverilog_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'sverilog_utils.py')
-rw-r--r--sverilog_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sverilog_utils.py b/sverilog_utils.py
index ff116cc..a3b7571 100644
--- a/sverilog_utils.py
+++ b/sverilog_utils.py
@@ -7,7 +7,7 @@ pp = pprint.PrettyPrinter(indent=2)
logging.basicConfig(level=logging.INFO, format="%(levelname)s:: %(message)s")
-def make_sverilog(instr_dict):
+def make_sverilog(instr_dict: InstrDict):
names_str = ""
for i in instr_dict:
names_str += f" localparam [31:0] {i.upper().replace('.','_'):<18s} = 32'b{instr_dict[i]['encoding'].replace('-','?')};\n"