3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-17 20:55:45 +00:00

Merge branch 'YosysHQ:main' into main

This commit is contained in:
Akash Levy 2025-05-05 15:36:40 -07:00 committed by GitHub
commit 7191be492c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,24 @@
logger -expect-no-warnings
read_verilog << EOF
module bar (
input portname
);
parameter paramname = 7;
endmodule
module empty (
);
bar #() barinstance ();
endmodule
module implicit (
);
bar #(.paramname()) barinstance (.portname());
endmodule
module explicit (
input a
);
bar #(.paramname(3)) barinstance (.portname(a));
endmodule
EOF