[sv-bc] query regarding array assignment pattern

From: Sharmistha Rakshit <srakshit_at_.....>
Date: Tue May 30 2006 - 07:20:51 PDT
Hi,
I have query regarding the following testcase::
module top;
    integer a1 ,a2 ;
    initial
    begin
        a1= '{0:1'b0,3:1'b1,default:1'b0};
        a2 ='{32{1'b1}};
    end
endmodule

Now by LRM , the  first assignment is valid.
and LRM also states that
"A syntax resembling multiple concatenations can be used in array 
assignment patterns as well"
So , shouldn't the second assignment be also valid ?

Thanks,
Sharmistha
Received on Tue May 30 07:20:08 2006

This archive was generated by hypermail 2.1.8 : Tue May 30 2006 - 07:20:34 PDT