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
constants of sfixed in architecture body
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="Tricky, post: 4098810"] The function you are trying to call expects a declared object (so a signal, variable or constant). you cannot pass types into functions. you could do it with something like: constant COEFF_SIZER : coeeffiecient_type; constant a2_coeff : coeefficient_type := to_sfixed(0.724545, COEFF_SIZER); Just a quick question: are you sure you want such large coefficients and data types, and ones that dont divide by 18? Altera multipliers (and I think Xilinx too) work on 18 bit inputs (giving 36 bits results). 2x 36bit inputs eats up 4 multipliers. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
constants of sfixed in architecture body
Top