hdl.ir: detect elaboratables that are created but not used.
authorwhitequark <cz@m-labs.hk>
Sun, 21 Apr 2019 08:52:57 +0000 (08:52 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 21 Apr 2019 08:52:57 +0000 (08:52 +0000)
commit5cf1029a4a4a323a23edaf5911334d8d0a370f25
treeeda107b0b3cd333bb1c471917c2cb668bd8556cd
parentfbcd6ee434cc9440436c00a6a7f476308ae42747
hdl.ir: detect elaboratables that are created but not used.

Requres every elaboratable to inherit from Elaboratable, but still
accepts ones that do not, with a warning.

Fixes #3.
22 files changed:
examples/alu.py
examples/alu_hier.py
examples/arst.py
examples/ctr.py
examples/ctr_ce.py
examples/fsm.py
examples/gpio.py
examples/inst.py
examples/mem.py
examples/pmux.py
nmigen/__init__.py
nmigen/hdl/dsl.py
nmigen/hdl/ir.py
nmigen/hdl/mem.py
nmigen/hdl/xfrm.py
nmigen/lib/cdc.py
nmigen/lib/coding.py
nmigen/lib/fifo.py
nmigen/test/__init__.py
nmigen/test/test_hdl_xfrm.py
nmigen/test/test_lib_coding.py
nmigen/test/test_lib_fifo.py