mirror of https://github.com/YosysHQ/yosys.git
Tests: Add svtypes/typedef_struct_global.ys
This commit is contained in:
parent
209df95fb9
commit
995a893afd
|
|
@ -0,0 +1,13 @@
|
|||
read_verilog -sv << EOF
|
||||
typedef struct packed {
|
||||
logic y;
|
||||
logic x;
|
||||
} Vec_2_B;
|
||||
|
||||
module top;
|
||||
|
||||
Vec_2_B two_dee;
|
||||
wire foo = two_dee.x;
|
||||
|
||||
endmodule
|
||||
EOF
|
||||
Loading…
Reference in New Issue