mirror of https://github.com/zachjs/sv2v.git
8 lines
173 B
Systemverilog
8 lines
173 B
Systemverilog
|
|
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
|