Caremask
Functions for computing bitmasks for, e.g., casez/casezx statements
and wildcard equality operators.
Subtopics
- Vl-msb-bits-to-care-mask
- Construct a bit-mask that captures the non-wild bits from a casex
pattern or the right-hand side of a ==? or !=? expression.
- Vl-msb-bits-zap-dontcares
- Zero out the don't-care bits from the right-hand side of a ==? or
!=? expression.
- Vl-msb-bits-to-intliteral
- Puts a list of bits into a constint or weirdint atom, as appropriate.
Assumes the finalwidth should be the length of the bitlist.
- Vl-intliteral-msb-bits
- Try to explode a match-expression into a vl-bitlist-p.