[sv-bc] Question on string data type

From: Ishita Ghosh <ighosh_at_.....>
Date: Thu Jun 04 2009 - 00:37:15 PDT
Hi,
       Can assignment pattern be used on string type variable?

Consider the testcase,
module top;
    string s;
    initial begin
        s = '{s};                // legal?
        s = string'{s};      // legal ?
    end
endmodule

Some standard simulators do support these.

Thanks and Regards,
Ishita.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jun 4 00:41:58 2009

This archive was generated by hypermail 2.1.8 : Thu Jun 04 2009 - 00:43:12 PDT