Open mkorbel1 opened 2 years ago
See #57
Some things to consider:
LogicValue
s) need to probably throw an error when called on a 0-width signalI can take this
It would also be convenient to have isEmpty
for Logic
and LogicValue
.
It would also be convenient to have isEmpty for Logic and LogicValue.
You mean just as automation for .width == 0
?
Yes.
Motivation
There have been multiple bugs found related to zero-width
Logic
s andLogicValue
s.Desired solution
Add a bunch of tests covering behavior of things when the are zero-width, both functionally and for synthesis.