rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Create an `equalsAnyOf` type of synthesizable function

Open mkorbel1 opened this issue 3 years ago • 1 comments

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.

mkorbel1 avatar Sep 23 '21 18:09 mkorbel1

Hey Max, I will work on this next!

RPG-coder-intc avatar Sep 02 '22 18:09 RPG-coder-intc

equalsAnyOf or isIn will be made for following datatype:

  1. LogicValues only
  2. Logic only
  3. mix of LogicValues and Logic
  4. int, bool, BigInt

RPG-coder-intc avatar Oct 24 '22 01:10 RPG-coder-intc