Slices


Subject: Slices
From: David Smith (david_smith@avanticorp.com)
Date: Fri Jul 27 2001 - 12:03:10 PDT


The behavior of bit, int, and other integral types is not defined if the selection is out of range. In the verilog 2001 standard it defines that during an out of range read the returned values are x and during an out of range write the extra bits are ignored.

For integral types the x value is not available. The return of 0 is misleading but possible. What is the defined behavior?

Thanks
David

David W. Smith
Architect

> Avant! Corporation
9205 SW Gemini Drive
Beaverton, OR 97008

Voice: 503.520.2715
FAX: 503.643.3361
Email: david_smith@avanticorp.com
http://www.avanticorp.com



This archive was generated by hypermail 2b28 : Fri Jul 27 2001 - 12:04:23 PDT