Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
VHDL
type casting / conversion again
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="rickman, post: 4146613"] I believe the original version is not only ugly (the woes of VHDL type conversions), but it is wrong. Shouldn't part of this be acc(acc'length-1 downto acc'length-1) ? I normally use name'high in this context. But considering 'high vs. 'left, I wouldn't know where the trade-offs are. I guess 'high may not be correct if numbered 0..N which is possible. 'left would not work if the msb is not left, but that wouldn't be compatible with unsigned would it? Rick [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
type casting / conversion again
Top