[sv-bc] Query related with the use of assignment pattern on LHS.

From: Dhiraj Kumar Prasad <dhiraj_at_.....>
Date: Thu Nov 19 2009 - 01:35:27 PST
Hello,

I have a query related with used of assignment pattern  on LHS.

According to LRM P1800.2005,expression can have "( operator_assignment 
)" and

operator_assignment ::= variable_lvalue assignment_operator expression

So does the following testcase is correct ??

Testcase
---------

module tmp();
bit a,b,c[1:0];

initial
    '{a,b} = (c = '{1'b0, 1'b1} );
endmodule

As most of the standard tool's are showing error for this.

Regards,
dhiRAj




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

This archive was generated by hypermail 2.1.8 : Thu Nov 19 2009 - 01:41:35 PST