rohd
rohd copied to clipboard
Create an `equalsAnyOf` type of synthesizable function
trafficstars
A convenient operation to check if one Logic is currently equal to any of a list of other Logics, which synthesizes safely to hardware. The operation could be called equalsAnyOf or isIn or something else like that.
Hey Max, I will work on this next!
equalsAnyOf or isIn will be made for following datatype:
- LogicValues only
- Logic only
- mix of LogicValues and Logic
- int, bool, BigInt