| /* | |
| :name: packed-structures-default-members-value | |
| :description: Test packed structures default value support | |
| :should_fail: 1 | |
| :tags: 7.2.2 | |
| */ | |
| module top (); | |
| // Members of unpacked structures containing a union | |
| // as well as members of packed structures shall not be | |
| // assigned individual default member values. | |
| parameter c = 4'h5; | |
| struct packed { | |
| bit [3:0] lo = c; | |
| bit [3:0] hi; | |
| } p1; | |
| endmodule |