Expr-building
Basic functions for generating expressions and gates.
WARNING
Many of these functions generate sized expressions so you have to be really
careful that you're using them in the proper way.
Subtopics
- Vl-make-binary-gateinstlist
- Make a list of basic binary gate instances, e.g., AND, OR, XOR, NAND, NOR, or XNOR gates.
- Vl-make-binary-gateinst
- Make a basic binary gate instance, e.g., an AND, OR, XOR, NAND, NOR, or XNOR gate.
- Vl-make-unary-gateinstlist
- Make a list of unary (buf or not) gate instances.
- Vl-make-bitselect
- Safely create the bit-select expr[n].
- Vl-make-unary-gateinst
- Make a unary (buf or not) gate instance.
- Vl-make-partselect
- Safely creates expr[msb:lsb].
- Vl-make-msb-to-lsb-bitselects
- Build a list of expressions, (expr[msb] ... expr[lsb]).
- Vl-make-list-of-bitselects
- Build a list of expressions, (expr[low] ... expr[high]).
- Vl-default-n-bit-expr
- Build an arbitrary expression of some particular width.