[sv-bc] Query reagarding Array of Instance unrolling

From: Moumita <moumita_at_.....>
Date: Tue Apr 29 2008 - 00:47:34 PDT
Hello,

According to SV LRM 1800-2005  sec 19.12.5  for port connection of 
packed array if we
have a testcases as follows -


module leaf(input [1:0][2:0] in2)
          bot I1[1:0] (in2);
endmodule

module bot(input [2:0] in2);
endmodule

Then after unrolling output will be -

module leaf(input wire [1:0] [2:0] in2);
   bot gen0(in2[0][2:0] );
   bot gen1(in2[1][2:0]  );
endmodule

But if we change our testcase by interchanging the packed dimensions of 
in2 as follows then after
unrolling what should be the output, i.e. which instance will take what 
part of connection net 'in2'.

module leaf(input [2:0][1:0] in2)
          bot I1[1:0] (in2);
endmodule

module bot(input [2:0] in2);
endmodule

LRM does not say  anything ragarding this.

Thanks and regards,
Moumita




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Apr 29 00:55:06 2008

This archive was generated by hypermail 2.1.8 : Tue Apr 29 2008 - 00:57:23 PDT