mirror of https://github.com/YosysHQ/yosys.git
13 lines
232 B
Plaintext
13 lines
232 B
Plaintext
|
read_verilog -sv <<EOF
|
||
|
module Example #(
|
||
|
parameter X, Y
|
||
|
);
|
||
|
endmodule
|
||
|
module top;
|
||
|
Example #(1) e();
|
||
|
endmodule
|
||
|
EOF
|
||
|
|
||
|
logger -expect error "Parameter `\\Y' has no default value and has not been overridden!" 1
|
||
|
hierarchy -top top
|