amaranth/nmigen/hdl
whitequark afece15001 hdl.ast: warn on unused property statements (Assert, Assume, etc).
A property statement that is created but not added to a module is
virtually always a serious bug, since it can make formal verification
pass when it should not. Therefore, add a warning to it, similar to
UnusedElaboratable.

Doing this to all statements is possible, but many temporary ones are
created internally by nMigen, and the extensive changes required to
remove false positives are likely not worth the true positives.
We can revisit this in the future.

Fixes #303.
2020-02-01 02:03:23 +00:00
..
__init__.py Remove everything deprecated in nmigen 0.1. 2020-01-12 13:59:26 +00:00
ast.py hdl.ast: warn on unused property statements (Assert, Assume, etc). 2020-02-01 02:03:23 +00:00
cd.py hdl.cd: add negedge clock domains. 2019-08-31 22:05:48 +00:00
dsl.py hdl.ast: warn on unused property statements (Assert, Assume, etc). 2020-02-01 02:03:23 +00:00
ir.py hdl.ast: warn on unused property statements (Assert, Assume, etc). 2020-02-01 02:03:23 +00:00
mem.py hdl.mem: fix src_loc_at in ReadPort, WritePort. 2019-12-15 11:46:26 +00:00
rec.py Remove everything deprecated in nmigen 0.1. 2020-01-12 13:59:26 +00:00
xfrm.py hdl.ast: warn on unused property statements (Assert, Assume, etc). 2020-02-01 02:03:23 +00:00