VHDL-200x fixed_pkg synthesis warnings

R

rnbrady

Hi folks

I wonder if anyone can lend me some advice on fixed_pkg_c.vhd? I'm
trying to use it for synthesis, but Synplify gives the message:

Entity port input[1,-14] has negative indices. It is remapped to
positive range [15,0]

This worries me a bit. I'm not sure where it is doing the remapping. If
the warning messages are generated after elaboration, they're possibly
harmeless.

So now I'm trying to take the VHDL *netlists* that Synplify Pro
generates, and feed them back into ModelSim to compare to my original
code in terms of functionality. I presume this is the standard method
for validation?

I have a feeling it could be my synplify version, as older versions
might not like negative indexing. My Synplify Pro is version 8.0 Build
189R.

If anyone could shed any light, I'd be grateful.

Richard
 
M

Mike Treseler

Hi folks

I wonder if anyone can lend me some advice on fixed_pkg_c.vhd? I'm
trying to use it for synthesis, but Synplify gives the message:

Entity port input[1,-14] has negative indices. It is remapped to
positive range [15,0]

Consider converting the top ports (only) to std_logic vector.
This worries me a bit. I'm not sure where it is doing the remapping. If
the warning messages are generated after elaboration, they're possibly
harmeless.

Probably just a bit mapping issue.
So now I'm trying to take the VHDL *netlists* that Synplify Pro
generates, and feed them back into ModelSim to compare to my original
code in terms of functionality. I presume this is the standard method
for validation?

I check the rtl viewer then run
a functional sim on the code,
not the netlist.

-- Mike Treseler
 
R

rnbrady

Mike

Thanks for your reply.
Consider converting the top ports (only) to std_logic vector.

This is what I did but it only removed the warnings for the top level
block, the componets still generate warnings.
Probably just a bit mapping issue.

Hope so.
I check the rtl viewer then run
a functional sim on the code,
not the netlist.

Thanks, will give this a try on Monday. Appreciate your help.

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top