RE: [sv-bc] part selects on arbitrary expressions

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Mar 07 2007 - 04:41:01 PST
Additional problems with that solution are

1. lint messages about casting a wide expression to a narrower width,
and thereby losing significant bits

2. In addition to Arturo's note that it is easy to write incorrectly, it
is not easily readable.

Shalom

> -----Original Message-----
> From: Arturo Salz [mailto:Arturo.Salz@synopsys.com]
> Sent: Wednesday, March 07, 2007 1:52 AM
> To: Steven Sharp; Arturo.Salz@synopsys.COM; Bresticker, Shalom;
> Feldman, Yulik; sv-bc@eda.org; mcnamara@cadence.com
> Subject: RE: [sv-bc] part selects on arbitrary expressions
> 
> Steve,
> 
> Are you suggesting we dispense with slicing altogether?
> Shifting, masking, and casting are tedious and error prone.
> 
> 	Arturo
> 
> -----Original Message-----
> From: Steven Sharp [mailto:sharp@cadence.com]
> Sent: Tuesday, March 06, 2007 2:31 PM
> To: Arturo.Salz@synopsys.COM; shalom.bresticker@intel.com;
> yulik.feldman@intel.com; sv-bc@eda.org; mcnamara@cadence.com
> Subject: RE: [sv-bc] part selects on arbitrary expressions
> 
> Is there any reason this functionality cannot be obtained via a
> shift right, followed by a cast to the desired width?
> 
> Steven Sharp
> sharp@cadence.com

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Mar 7 04:41:24 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 07 2007 - 04:41:45 PST