Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThis is somewhat detailed in the Serial Flash Loader documentation here: http://www.altera.com/literature/an/an370.pdf
You need to first create a SFL using the MegaWizard, under JTAG-accessible extensions, then Serial Flash Loader. The JTAG connection will be active when noe_in is low and asmi_access_granted is high. The ports asdo_in, dclk_in, ncso_in and data0_out would connect to either your user logic to control the EPCS device or to the SOPC Builder EPCS Serial Flash Loader pins from an SOPC project instance (to drive these pins out of SOPC uncheck "Automatically select dedicated active serial interface if supported" and "use dedicated active serial interface" in the EPCS Serial Flash Controller section). Then just instantiate the SFL in your source code (Verilog or VHDL) and connect up these pins (asdo_in, dclk_in, etc) and Quartus will automatically connect up to the EPCS interface pins.