RE: [sv-bc] Question on string data type

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Jun 04 2009 - 07:42:03 PDT
By the way, in Hebrew, the word "isha", almost the same, means "lady".

Shalom

________________________________
From: Surya Pratik Saha [mailto:spsaha@cal.interrasystems.com]
Sent: Thursday, June 04, 2009 5:37 PM
To: Bresticker, Shalom
Cc: Brad Pierce; sv-bc@eda.org
Subject: Re: [sv-bc] Question on string data type

Hi Shalom,
No, Ishita (she is a lady, not he) is asking about the target of assignment pattern. If it is a string array, then recursive rule will be applied on the assignment pattern.

Brad,
Please let me know I am incorrect.

Regards
Surya



-------- Original Message  --------
Subject: Re:[sv-bc] Question on string data type
From: Bresticker, Shalom <shalom.bresticker@intel.com><mailto:shalom.bresticker@intel.com>
To: Brad Pierce <Brad.Pierce@synopsys.com><mailto:Brad.Pierce@synopsys.com>, sv-bc@eda.org<mailto:sv-bc@eda.org> <sv-bc@eda.org><mailto:sv-bc@eda.org>
Date: Thursday, June 04, 2009 7:51:28 PM

I think he was asking about the contents of the assignment pattern, not about the target.
Besides, suppose the target was an array of strings.

Shalom



-----Original Message-----
From: owner-sv-bc@server.eda.org<mailto:owner-sv-bc@server.eda.org>
[mailto:owner-sv-bc@server.eda.org] On Behalf Of Brad Pierce
Sent: Thursday, June 04, 2009 5:12 PM
To: sv-bc@eda.org<mailto:sv-bc@eda.org>
Subject: RE: [sv-bc] Question on string data type

A string is neither an array nor a structure, so no, it
cannot be the target of an assignment pattern.

-- Brad

________________________________________
From: owner-sv-bc@eda.org<mailto:owner-sv-bc@eda.org> [owner-sv-bc@eda.org<mailto:owner-sv-bc@eda.org>] On Behalf Of
Ishita Ghosh [ighosh@cal.interrasystems.com<mailto:ighosh@cal.interrasystems.com>]
Sent: Thursday, June 04, 2009 12:37 AM
To: sv-bc@eda.org<mailto:sv-bc@eda.org>
Subject: [sv-bc] Question on string data type

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.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





---------------------------------------------------------------------
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.




---------------------------------------------------------------------
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 message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jun 4 07:55:15 2009

This archive was generated by hypermail 2.1.8 : Thu Jun 04 2009 - 07:55:51 PDT