Hi Shalom,
Regards Surya
Your failures seem to be tool limitations, not language restrictions. ShalomSV 2009 draft 7a LRM has described array query functions in "20.7 Array querying functions" which uses reference of clause 7 where the unpacked array is defined. The clause 7 defines unpacked arrays of different data types. But it is not clear what will be the expected behavior of array query functions if they are applied on instance array of interface port array. For the following case what will be the expected behavior? interface a; endinterface module test(in1,in2,out); input [7:0] in1,in2; output reg [7:0]out; a a[3:0](); assign out = $size(a); bottom inst(a); endmodule module bottom(a a[4]); byte out; assign out = $size(a); endmodule Some simulators fail and some pass for the above case.--------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
This archive was generated by hypermail 2.1.8 : Thu Aug 13 2009 - 02:59:34 PDT