[sv-bc] Errata: Clarify comments in streaming concatenation as an assignment target example

From: Coffin, Eric <Eric_Coffin@mentor.com>
Date: Fri Sep 02 2011 - 14:21:46 PDT

The example in section 11.4.14.3, "Streaming concatenation as an
assignment target (unpack)", provides an example with the text:

 

{>>{a,b,c}} = 96'b1; // OK: unpack a = 0, b = 0, c = 1

{>>{a, b, c}} = 100'b1; // OK: unpack as above (4 bits unread)

 

This causes confusion. When the second line's comment mentions 'as
above' does that mean that a, b and c all have the same values as the
line immediately above it which contains 96'b1? Or does that mean that
this line is valid, and that it is unpacked in a manner given by the
text starting on page 221?

 

The first interpretation implies that the value of c is 1, while the
second interpretation implies that the value of c is 0.

 

-Eric

 

 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Sep 2 14:22:13 2011

This archive was generated by hypermail 2.1.8 : Fri Sep 02 2011 - 14:22:25 PDT