support structs of integers

This commit is contained in:
Zachary Snow
2020-08-11 18:37:21 -04:00
parent ddaa7ff6c6
commit 13b62fd81e
3 changed files with 25 additions and 0 deletions
+7
View File
@@ -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