mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 01:18:10 +02:00
allow dimension shorthand for instance arrays
This commit is contained in:
@@ -4,11 +4,11 @@ module Example;
|
||||
endmodule
|
||||
|
||||
module top;
|
||||
Example e[2:0][4:5]();
|
||||
defparam e[0][5].FOO = 1;
|
||||
defparam e[0][4].FOO = 2;
|
||||
Example e[3][4:5]();
|
||||
defparam e[2][5].FOO = 1;
|
||||
defparam e[2][4].FOO = 2;
|
||||
defparam e[1][5].FOO = 4;
|
||||
defparam e[1][4].FOO = 8;
|
||||
defparam e[2][5].FOO = 16;
|
||||
defparam e[2][4].FOO = 32;
|
||||
defparam e[0][5].FOO = 16;
|
||||
defparam e[0][4].FOO = 32;
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user