[sv-bc] Query related with associative array assignment.

From: Dhiraj Kumar Prasad <dhiraj_at_.....>
Date: Thu Nov 26 2009 - 02:21:50 PST
Hello,

I have a query related with associative array assignment.

According to LRM P1800-2005,section 5.11

"Associative arrays can be assigned only to another associative array of 
a compatible type and with the
 same index type."

So same type don't include equivalent type??

Does the following testcase should pass ??

Testcase
-------

module top();

typedef bit signed [31:0] bit32;
bit var1[][bit32];
bit var2[][int];

initial
    var1 = var2;
endmodule

As different standard simulator's are behaving in different way.

Regards,
dhiRAj




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Nov 26 02:43:19 2009

This archive was generated by hypermail 2.1.8 : Thu Nov 26 2009 - 02:46:25 PST