hdl.dsl: reword m.If(~True) warning to be more clear.
authorwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 18:52:24 +0000 (18:52 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 18:52:24 +0000 (18:52 +0000)
commit0efa9a3484291bef96ab565b467672c55fd1950f
tree87003f099b6c929e2ffecb8607eb8bc7f13cd878
parenta3b4e42b98971f8765c4e2359a6e962f76fab1b0
hdl.dsl: reword m.If(~True) warning to be more clear.

Before this commit, it only suggested one thing (silencing it) and
that's wrong almost all of the time, so suggest the right thing
instead.
nmigen/hdl/dsl.py
nmigen/test/test_hdl_dsl.py