cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
5,249 Views
Registered: ‎05-30-2016

Fixed point / Floating point - <sfixed> is not declared

Hey,

in my vhdl code i need to do some fixed/floating point operations.

 

For example 8193 * 0.000132

 

Ive tried the IEEE.fixed_pkg.all; but i always get the <sfixed> or <ufixed> are not declared error.

 

Any suggestions how to calc with floats or fixed ?

0 Kudos
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
4,727 Views
Registered: ‎08-01-2008

you can use xilinx floating point operator IPs
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos