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

From: Steven Sharp <sharp_at_.....>
Date: Tue Mar 06 2007 - 16:02:17 PST
>Are you suggesting we dispense with slicing altogether? 
>Shifting, masking, and casting are tedious and error prone.

Based on the discussion, there are complex issues that would
need to be resolved before allowing part selects on arbitrary
expressions.  Given that there is already a way of getting the
proposed functionality, I don't think the effort to work this
out is a high priority at this time.

In procedural code, an intermediate variable can be used to
hold the expression value and allow a part select.  In any
situation where an intermediate variable is not a possibility,
the functionality can still be obtained with a shift and cast.

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 Tue Mar 6 16:02:34 2007

This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:02:40 PST