3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-13 19:20:19 +00:00
This commit is contained in:
KrystalDelusion 2025-10-08 18:39:41 +09:00 committed by GitHub
commit d6eccca38a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,18 @@
read_verilog -defer <<EOT
module bb (...);
localparam A = "abc";
input a;
output b;
endmodule
module top (...);
input a;
output b;
bb #(.A("def")) my_bb (a, b);
endmodule
EOT
logger -expect error "does not have a parameter named 'A'" 1
hierarchy -check -top top