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
1 changed files with 13 additions and 0 deletions

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