rohd
rohd copied to clipboard
Add extensive testing for zero-width `Logic`s and `LogicValue`s
Motivation
There have been multiple bugs found related to zero-width Logic
s and LogicValue
s.
Desired solution
Add a bunch of tests covering behavior of things when the are zero-width, both functionally and for synthesis.
See #57
Some things to consider:
- Unary operations (in gates and on
LogicValue
s) need to probably throw an error when called on a 0-width signal
I can take this