mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-06 17:40:13 +02:00
support for attributes in unary, binary, and ternary expressions
Co-authored-by: qcorradi <[email protected]> Co-authored-by: Zachary Snow <[email protected]>
This commit is contained in:
co-authored by
qcorradi
Zachary Snow
parent
211bce6bb1
commit
619bde4be1
@@ -0,0 +1,4 @@
|
||||
module top;
|
||||
wire a, b, c, d, e;
|
||||
assign a = b ? (* ternary *) ~^ (* unary *) c : d & (* binary *) e;
|
||||
endmodule
|
||||
@@ -0,0 +1,3 @@
|
||||
affirm (* unary *)
|
||||
affirm (* binary *)
|
||||
affirm (* ternary *)
|
||||
Reference in New Issue
Block a user