mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-06 17:40:13 +02:00
support module "list of param assignments" shorthand
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
module top #(FOO = 10);
|
||||
initial $display(FOO);
|
||||
endmodule
|
||||
module top2 #(FOO = 10, BAR = 11);
|
||||
initial $display(FOO, BAR);
|
||||
endmodule
|
||||
module top3 #(FOO = 10, BAR = 11, parameter BAZ = 12);
|
||||
initial $display(FOO, BAR, BAZ);
|
||||
endmodule
|
||||
@@ -0,0 +1,9 @@
|
||||
module top #(parameter FOO = 10);
|
||||
initial $display(FOO);
|
||||
endmodule
|
||||
module top2 #(parameter FOO = 10, parameter BAR = 11);
|
||||
initial $display(FOO, BAR);
|
||||
endmodule
|
||||
module top3 #(parameter FOO = 10, parameter BAR = 11, parameter BAZ = 12);
|
||||
initial $display(FOO, BAR, BAZ);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user