Skip to content

Commit

Permalink
fix(ToHdlAstVerilog): support dict as HArrayVal value cont. (update) #46
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic30 committed Mar 18, 2024
1 parent 2222427 commit b9a2f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwt/serializer/verilog/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def as_hdl_HdlModuleDef_variable(
p.labels.append(label)
p.body = HdlStmBlock()
body = p.body.body
for i, _v in enumerate(rom.def_val.val):
for i, _v in enumerate(rom.def_val):
a = HdlStmAssign(self.as_hdl_int(int(_v)),
self.as_hdl(rom[i]))
a.is_blocking = True
Expand Down

0 comments on commit b9a2f3e

Please sign in to comment.