- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey guys,
I have a BIDIR pin in my design file now that is not connected to any logic. Since that pin is connected to a DSP, I have been having bus contention problems. I know for sure that the FPGA is the culprit. The only difference between a functional design (when the pin is connected to some logic) and a non-functional design (pin is not connected to any logic) is:, Info: Pin GPIO[1] has VCC driving its datain port Currently, on the oscillioscope, yes I can see that the FPGA is driving the pin high, how do I avoid that? Thanks.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compilers do not honour your assignments if it does not do anything.
I wonder why you want bidir pin but without any logic. At least you can insert dummy logic to read/write the pin- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A bus-line must be set to 'Z' (tri-stated) in idle state. You can do this also for unused bus lines.
GPIO <= (others => 'Z');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the port is not synthesized due to a lack of logic, you can try setting the Unused Pin behavior to Input tri-stated with weak pull-up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks adding a when else code.. with tri-state during idle has solved it.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page