mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-01 18:16:05 +02:00
support structs of integers
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
module top;
|
||||
typedef struct packed {
|
||||
integer a, b, c;
|
||||
} S;
|
||||
S s = '{a: 1, b: 2, c: 3};
|
||||
initial #1 $display("%b %b %b %b", s, s.a, s.b, s.c);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user