3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 22:23:23 +00:00

Tests: Add svtypes/typedef_struct_global.ys

This commit is contained in:
Krystine Sherwin 2025-05-26 12:16:58 +12:00
parent 209df95fb9
commit 995a893afd
No known key found for this signature in database

View file

@ -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