Skip to content

Commit b4f65d3

Browse files
authored
Merge pull request #3 from oakentling/fixes
Fix removal of `logic` from sverilog generation
2 parents 03e3742 + bffb6c8 commit b4f65d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse_opcodes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ def make_chisel():
12531253
print('}')
12541254

12551255
def print_sverilog_insn(name):
1256-
s = " localparam [31:0] %-18s = 32'b" % name.replace('.', '_').upper()
1256+
s = " localparam logic [31:0] %-18s = 32'b" % name.replace('.', '_').upper()
12571257
for i in range(31, -1, -1):
12581258
if yank(mask[name], i, 1):
12591259
s = '%s%d' % (s, yank(match[name], i, 1))

0 commit comments

Comments
 (0)