Files
sv2v/test/core/net_or_var.vh
Zachary Snow ff0c7b026c properly distinguish nets and variables internally
- new net decl to replace net pseudo-type
- support nets with complex base types, including typenames
- support var declaration type prefix for all data types
- support var as lone type shorthand
- refactor AST representation of strengths
- traversal helpers for treating nets as variables
- use decl traversals where appropriate
2021-07-02 17:59:21 -04:00

11 lines
456 B
Systemverilog

`define TEST_BASE(keywords, identifier) \
keywords a_``identifier = 1'sb1; \
keywords [1:0] a_ranged_``identifier = 1'sb1;
`define TEST_ALL(keywords, identifier) \
`TEST_BASE(keywords, identifier) \
keywords signed a_signed_``identifier = 1'sb1; \
keywords unsigned a_unsigned_``identifier = 1'sb1; \
keywords signed [1:0] a_signed_ranged_``identifier = 1'sb1; \
keywords unsigned [1:0] a_unsigned_ranged_``identifier = 1'sb1;