Skip to content

Commit f93270c

Browse files
committed
Proper print trace
1 parent 29a7d51 commit f93270c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscvmodel/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def issue(self, insn):
114114

115115
trace = self.state.changes()
116116
if self.verbose:
117-
print("{:20} | {}".format(str(insn), trace))
117+
print("{:20} | [{}]".format(str(insn), ", ".join([str(t) for t in trace])))
118118
self.state.commit()
119119
return trace
120120

0 commit comments

Comments
 (0)