interface and instance array support

- support for interface instance arrays
- support for interface-using module instance arrays
- support for modport array bindings
- fix modport bindings shadowed in nested instances
This commit is contained in:
Zachary Snow
2020-12-06 15:41:33 -07:00
parent 8eac9b0149
commit 2b377cef04
10 changed files with 731 additions and 38 deletions
+10
View File
@@ -0,0 +1,10 @@
interface Interface;
logic x;
endinterface
module top;
Interface intfs[3:2][8:5]();
for (genvar x = 2; x <= 3; x = x + 1)
for (genvar y = 5; y <= 8; y = y + 1)
assign intfs[x][y].x = '1;
endmodule