Guest
Hi,
I would like to convert an algorithm that uses floating point ('real' and it's
subtypes defined by me) into a fixed point version so that the design that
uses the algorithm can be synthesize-able (the synopsys tool I am going to use
cannot synthesize 'real' and it seems no tools can do this yet).
First, I plan to make a package for a type based on std_ulogic_vector which
will store the unsigned versions of the whole and fractional part of the
corresponding 'real'. Are there already packages out there to for this type
of conversion or should I continue writing my own? If the latter, is this the
right approach/what are alternate approaches?
I will appreciate any pointers.
I would like to convert an algorithm that uses floating point ('real' and it's
subtypes defined by me) into a fixed point version so that the design that
uses the algorithm can be synthesize-able (the synopsys tool I am going to use
cannot synthesize 'real' and it seems no tools can do this yet).
First, I plan to make a package for a type based on std_ulogic_vector which
will store the unsigned versions of the whole and fractional part of the
corresponding 'real'. Are there already packages out there to for this type
of conversion or should I continue writing my own? If the latter, is this the
right approach/what are alternate approaches?
I will appreciate any pointers.