mirror of https://github.com/zachjs/sv2v.git
9 lines
173 B
Systemverilog
9 lines
173 B
Systemverilog
|
|
// pattern: field 'y' not found in struct packed \{..logic x;.\}
|
||
|
|
module top;
|
||
|
|
struct packed {
|
||
|
|
logic x;
|
||
|
|
} x;
|
||
|
|
assign x.x = 1;
|
||
|
|
assign x.y = 0;
|
||
|
|
endmodule
|