Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | Xilinx XST synthesis removes input pin even though it's LOCed

There are 6 messages in this thread.

You are currently looking at messages 0 to 6.

Xilinx XST synthesis removes input pin even though it's LOCed - Matt Dykes - 2004-06-17 16:51:00

XST keeps removing some of my input pins.  I have
used the LOC
attribute in both the VHDL itself and in the .ucf file to no avail. 
After PAR, the pins declared in the port declaration (and LOCed to
specific pins) have not been routed to a pad.

The inputs ARE used by latching into a register that is later read. 
Any thoughts on why XST is removing them and how to make it stop?
Thx-Matt



Re: Xilinx XST synthesis removes input pin even though it's LOCed - John Adair - 2004-06-18 04:29:00

Synthesisers usually remove unused inputs. One
crude way that works with all
synthesiser is to use the unused inputs in a dummy function. This dummy
function must be used somewhere but if you make it so that is always '1' or
'0' and use that value where you don't care then that will be enough. If you
have a spare pin you can always attached the function to that.

A typical dummy function might be an OR gate of all unused signals possibly
with some real signals as well to ensure a always '1' output.
Similarly use AND gate for '0'.

John Adair
Enterpoint Ltd. - Home of Broaddown2. The Ultimate Spartan3 Development
Board.
http://www.enterpoint.co.uk

This message is the personal opinion of the sender and not that necessarily
that of Enterpoint Ltd.. Readers should make their own evaluation of the
facts. No responsibility for error or inaccuracy is accepted.

"Matt Dykes" <m...@earthlink.net> wrote in message
news:8...@posting.google.com...
> XST keeps removing some of my input pins.  I have used the LOC
> attribute in both the VHDL itself and in the .ucf file to no avail.
> After PAR, the pins declared in the port declaration (and LOCed to
> specific pins) have not been routed to a pad.
>
> The inputs ARE used by latching into a register that is later read.
> Any thoughts on why XST is removing them and how to make it stop?
> Thx-Matt



Re: Xilinx XST synthesis removes input pin even though it's LOCed - Alvin Andries - 2004-06-18 10:30:00

"Matt Dykes" <m...@earthlink.net> wrote in message
news:8...@posting.google.com...
> XST keeps removing some of my input pins.  I have used the LOC
> attribute in both the VHDL itself and in the .ucf file to no avail.
> After PAR, the pins declared in the port declaration (and LOCed to
> specific pins) have not been routed to a pad.
>
> The inputs ARE used by latching into a register that is later read.
> Any thoughts on why XST is removing them and how to make it stop?
> Thx-Matt

Hi,

Have a look at the SAVE NET FLAG constraint in the cgd.pdf documentation.

Regards,
Alvin.


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Xilinx XST synthesis removes input pin even though it's LOCed - Frank Benoit - 2004-06-19 16:15:00

> Have a look at the SAVE NET FLAG constraint in the cgd.pdf documentation.

http://toolbox.xilinx.com/docsan/xilinx5/pdf/docs/cgd/cgd.pdf



Re: Xilinx XST synthesis removes input pin even though it's LOCed - Matt Dykes - 2004-06-21 08:53:00

Frank Benoit <n...@xyz.com> wrote in
message news:<p...@xyz.com>...
> > Have a look at the SAVE NET FLAG constraint in the cgd.pdf documentation.
> 
> http://toolbox.xilinx.com/docsan/xilinx5/pdf/docs/cgd/cgd.pdf

Using LOC and SAVE NET FLAG with no results.  The PARer gives the
warnings:
"logical net on "signal" has no load" and
"Attribute LOC on "signal" is on the wrong type of object."

Then looking at the project.pad_txt file, "signal" does not show up.

I thought about using the dummy function, but the inputs are just
discrete interrupts from outside that update a register that gets
read/reset at some later time.  What better 'dummy' funtion?  I can
see how it could get optimized out, but those inputs are needed
whether XST thinks they are or not.

Reading the docs leads me to believe the SAVE NET FLAG should do the
job, but.....  Thanks again for the suggestions.  Knowing where to
find that doc is worth the post!
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Xilinx XST synthesis removes input pin even though it's LOCed - John Adair - 2004-06-22 05:12:00

I would check that the register isn't being
removed. A synthesiser will tend
to remove anything that it thinks unused or unconnected.

John Adair
Enterpoint Ltd. - Home of Broaddown2. The Ultimate Spartan3 Development
Board.
http://www.enterpoint.co.uk

This message is the personal opinion of the sender and not that necessarily
that of Enterpoint Ltd.. Readers should make their own evaluation of the
facts. No responsibility for error or inaccuracy is accepted.
"Matt Dykes" <m...@earthlink.net> wrote in message
news:8...@posting.google.com...
> Frank Benoit <n...@xyz.com> wrote in message
news:<p...@xyz.com>...
> > > Have a look at the SAVE NET FLAG constraint in the cgd.pdf
documentation.
> >
> > http://toolbox.xilinx.com/docsan/xilinx5/pdf/docs/cgd/cgd.pdf
>
> Using LOC and SAVE NET FLAG with no results.  The PARer gives the
> warnings:
> "logical net on "signal" has no load" and
> "Attribute LOC on "signal" is on the wrong type of object."
>
> Then looking at the project.pad_txt file, "signal" does not show up.
>
> I thought about using the dummy function, but the inputs are just
> discrete interrupts from outside that update a register that gets
> read/reset at some later time.  What better 'dummy' funtion?  I can
> see how it could get optimized out, but those inputs are needed
> whether XST thinks they are or not.
>
> Reading the docs leads me to believe the SAVE NET FLAG should do the
> job, but.....  Thanks again for the suggestions.  Knowing where to
> find that doc is worth the post!


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.