projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
722a55f
)
hdl.ir: rephrase elaboratable warning to not look like an error.
author
whitequark
<cz@m-labs.hk>
Tue, 4 Jun 2019 13:11:15 +0000
(13:11 +0000)
committer
whitequark
<cz@m-labs.hk>
Tue, 4 Jun 2019 13:11:15 +0000
(13:11 +0000)
nmigen/hdl/ir.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/ir.py
b/nmigen/hdl/ir.py
index a49db7749066259517d8c38a6f471d348cb99b12..513554481192538cb07a6ad1629ace7fb7f5b07a 100644
(file)
--- a/
nmigen/hdl/ir.py
+++ b/
nmigen/hdl/ir.py
@@
-26,8
+26,8
@@
class Elaboratable(metaclass=ABCMeta):
if self._Elaboratable__silence:
return
if hasattr(self, "_Elaboratable__used") and not self._Elaboratable__used:
- print("
E
laboratable created but never used\n",
- "
T
raceback (most recent call last):\n",
+ print("
Warning: e
laboratable created but never used\n",
+ "
Constructor t
raceback (most recent call last):\n",
*traceback.format_list(self._Elaboratable__traceback),
file=sys.stderr, sep="")