| /* | |
| :name: let_construct | |
| :description: let construct test | |
| :should_fail: 0 | |
| :tags: 11.12 | |
| */ | |
| module top(); | |
| logic [3:0] a = 12; | |
| logic [3:0] b = 15; | |
| logic [3:0] c = 7; | |
| logic d; | |
| let op(x, y, z) = |((x | y) & z); | |
| initial begin | |
| d = op(.x(a), .y(b), .z(c)); | |
| end | |
| endmodule |