Skip to content

Commit

Permalink
Use write instead of display
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed May 6, 2019
1 parent 2a5d2a7 commit 7dba711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fault/system_verilog_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def make_print(self, i, action):
ports = ", ".join(f"{self.make_name(port)}" for port in action.ports)
if ports:
ports = ", " + ports
return [f'$display("{action.format_str}"{ports});']
return [f'$write("{action.format_str}"{ports});']

def make_expect(self, i, action):
if value_utils.is_any(action.value):
Expand Down

0 comments on commit 7dba711

Please sign in to comment.