cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,961 Views
Registered: ‎01-24-2014

what is the replacement of math_real library in vivado

recently I am going to update some of my design from ISE to vivado, but one of the issue is that the math_real libray is not support in vivado any more. As a result, some math functions, e.g. ceil(), cannot be recognized by vivado. 

In stead of writing my own function in vhdl, does any one know some official replacement of those math function in library ? 

 

Thanks a lot...

Tags (3)
0 Kudos
4 Replies
Highlighted
Scholar
Scholar
4,934 Views
Registered: ‎04-26-2012

Re: what is the replacement of math_real library in vivado

@wincle "one of the issue is that the math_real libray is not support in vivado any more"

 

I've used math_real recently (2016.3); for me it appeared to be working as described on page 191 of UG901 for calculating bit widths, counter preload values from real frequencies, and the like:

vivado_math_real.png

-Brian

 

0 Kudos
Highlighted
Explorer
Explorer
4,894 Views
Registered: ‎09-07-2011

Re: what is the replacement of math_real library in vivado

Confusion might be :  http://www.xilinx.com/support/answers/52304.html

 

 

AR# 52304

Does Vivado Synthesis support IEEE MATH_REAL and PROPOSED package libraries?

 

Description

Does the Vivado Synthesis tool support IEEE MATH_REAL and IEEE PROPOSED package libraries?

Solution

Currently, the Vivado Synthesis tool does not support IEEE MATH_REAL and IEEE PROPOSED package libraries.

0 Kudos
Highlighted
Scholar
Scholar
4,885 Views
Registered: ‎04-26-2012

Re: what is the replacement of math_real library in vivado

@geoffbarnes "Confusion might be :  http://www.xilinx.com/support/answers/52304.html"

 

That Answer Record is outdated regarding math_real support in Vivado.
 

I've asked Xilinx to fix AR52304 several times since 2013, but they just don't seem to care:

   https://forums.xilinx.com/t5/Synthesis/CR-Request-Update-UG901-Vivado-Synthesis-User-Guide-to-document/m-p/560689#M13344

 

-Brian

0 Kudos
Highlighted
Explorer
Explorer
4,866 Views
Registered: ‎09-07-2011

Re: what is the replacement of math_real library in vivado

Yeah it seems to be outdated, but still listed as "active". 

 

I guess to be fair, the intent of the AR might be to say : " you can't synthesize (dynamic) floating point logic using math_real".

 

But as written, it contradicts UG901.

 

 

 

 

0 Kudos