hdl.dsl: reword m.If(~True) warning to be more clear.
authorwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 18:52:24 +0000 (18:52 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 18:52:24 +0000 (18:52 +0000)
commit99d205494a8930eac8f7da85a9558dd7e7b933f6
tree87003f099b6c929e2ffecb8607eb8bc7f13cd878
parent8854ca03ae01811bf9e2b90aa58a301d6cbbd58c
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