keep explicitly unconnected port bindings

These are now kept while still supporting optional trailing commas and
without introducing pass-through inconsistencies.
This commit is contained in:
Zachary Snow
2023-05-10 08:48:15 -04:00
parent 83f2dbde6b
commit 6c4ee8f4bc
4 changed files with 30 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
// pattern: illegal mix of ordered and named port connections
module example(
input a, b, c
);
endmodule
module top;
wire a, b, c;
example e(.a(1), .b(2), ,);
endmodule