Skip to content

Commit

Permalink
Better error message on unconnected input.
Browse files Browse the repository at this point in the history
  • Loading branch information
phanrahan committed Aug 7, 2018
1 parent 3ea9659 commit eefda70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magma/backend/verilog.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def arg(k,v):
# find the output connected to v
w = v.value()
if not w:
print('Warning (verilog): input', str(v), 'not connected to an output')
print(f'Warning (verilog): {str(self.defn.name)}.{str(type(self).name)}_{str(self)}.{str(v)} not connected')
continue
v = w
if isinstance(k, IntegerTypes):
Expand Down

0 comments on commit eefda70

Please sign in to comment.