I have burned .sof(The FPGA program) and .hex (some parametrs that I have been created) files into the configuration flash (via JIC file).
my FPGA program uses the Generic Serial Flash IP and I'm trying to read the .hex file parameters but I can't assign the Configuration Flash's pins into the the FPGA design. I got the error "Value entered is not a valid location".
I would like to get some help here'
Are you using the Generic Serial Flash Interface IP?
If that is the case, you do not need to manually assign the pins: just leave unchecked the parameters about the ASMI interface and QSPI pins (I don't remember how they are exactly called). Quartus is going to automatically connect the IP to the Active Serial Configuration pins (check the compilation report to be sure).
Then in "configuration," make sur you have selected "active serial" (or "active serial x4"). In "dual purpose pins", put everything to "user i/o".
Then you will be able to use those pins in user mode.
Ah yes you're right.
I assumed that, based on the message at the top of the window, Quartus was automatically refering to the configuration pins for the selected configuration mode.
So either the AS pins are available by default as user I/Os in User mode, or the setting for this behaviour is elsewhere...
However I do not know of other settings about this. In a design, I use the AS configuration pins as user I/Os to access a QSPI flash (just as you do) and it works. Only thing is that I program the FPGA with JTAG (.sof file) and not actual active serial, despite the Quartus settings.
Is it possible for you to try?
Quick note: I stumbled on a "Enable input tri-state on active configuration pins in user mode" option in "Device&pins options"' configuration page. It is disabled by default and I have never changed it.
Maybe you can use this to prevent user access to AS pins?
By the way I use Arria 10 SOC (I do not know if it is relevant here)