- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
i'm trying to create a project based on a Bridge SPI to Avalon. In my top entity i have a signal that is defined as "INOUT" and that represent the I/O of my fpga (name signal is LSASBUS). My problem regards the eda netlist writer that create the file .vo. If i change something in my top entity and i compile the project, all work good. if i re-compile it, my project doesn't work. This happen because in the .vo file, the "INOUT" port became "Output" and i don't know why. I'm using quartus lite versione 20.1.
How can i resolve? i include my top level file in vhdl.
FPGA_USER.vhd
------------------------------------------------------------------------------
FPGA-USER.vo --- FIRST COMPILATION
------------------------------------------------------------------------------
FPGA-USER.vo ----SECOND COMPILATION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Check this KDB https://www.intel.com/content/www/us/en/support/programmable/articles/000086339.html, this is known previous problem and had been concluded using the workaround clean the project before running compilation to resolve the problem. Based on previous internal team reply: There is no capacity or further step taken for this.
The problem only exists in linux version but not in window version.
Thanks,
Regards,
Sheng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just a guess, you see inout port implemented as output only because tri-state output is always enabled in your code. If so, you'd see respective synthesis warnings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The tri-state outputs are not always active. In fact my lsasBusEn is initialize to 0.
Maybe I’m wrong. How would you fix my code?
Thank you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Check this KDB https://www.intel.com/content/www/us/en/support/programmable/articles/000086339.html, this is known previous problem and had been concluded using the workaround clean the project before running compilation to resolve the problem. Based on previous internal team reply: There is no capacity or further step taken for this.
The problem only exists in linux version but not in window version.
Thanks,
Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I’m using quartus lite 20.1 in Windows.
if I use clean project under project tab, it works good. But if I want to clean it automatically every time that I want to compile, what I should do? Create a script and add it on project?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, you can create a tcl script for example like test.tcl. Then add the command below to the tcl script:
quartus_sh --clean test
quartus_sh --flow compile test
And then source the tcl script to clean and compile
[Edited] If for quartus_sh --clean test, project name test can't be used then use with the .qpf one like test.qpf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or you may also create tcl script like below and run with quartus_sh -t:
package require ::quartus::project
package require ::quartus::flow
project_open -revision test test
project_clean
project_open -revision test test
execute_flow -compile

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