12.07.2015 Views

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Mercury, APEX 20K (2.5 V), ACEX 1K & FLEX 10K Devices1 VCCINT and VCCIO pins on the banks where the configurationand JTAG pins reside need to be fully powered to theappropriate voltage levels in order to begin the configurationprocess.When nCONFIG goes high, the device comes out of reset and releases theopen-drain nSTATUS pin, which is then pulled high by an external 1-kΩpull-up resistor. Once nSTATUS is released, the FPGA is ready to receiveconfiguration data and the configuration stage begins. When nSTATUS ispulled high, the microprocessor should <strong>pl</strong>ace the configuration data onebit at a time on the DATA0 pin. The least significant bit (LSB) of each databyte must be sent first.The Mercury, APEX 20K (2.5 V), ACEX 1K, or FLEX 10K device receivesconfiguration data on its DATA0 pin and the clock is received on the DCLKpin. Data is latched into the FPGA on the rising edge of DCLK. Data iscontinuously clocked into the target device until CONF_DONE goes high.After the FPGA has received all configuration data successfully, it releasesthe open-drain CONF_DONE pin, which is pulled high by an external 1-kΩpull-up resistor. A low-to-high transition on CONF_DONE indicatesconfiguration is com<strong>pl</strong>ete and initialization of the device can begin.In Mercury and APEX 20K (2.5 V) devices, the initialization clock sourceis either the FPGA's internal oscillator (typically 10 MHz) or the optionalCLKUSR pin. By default, the internal oscillator is the clock source forinitialization. If the internal oscillator is used, the Mercury or APEX 20K(2.5 V) device allows enough clock cycles for proper initialization.In ACEX 1K and FLEX 10K devices, the initialization clock source is eitheran external host (e.g. a configuration device or microprocessor) or theoptional CLKUSR pin. By default, the clock on DCLK is the clock source forinitialization. Programming files generated by the Quartus II orMAX+PLUS II software already have these initialization clock cyclesincluded in the file. Therefore, sending the entire configuration file to thedevice is sufficient to configure and initialize the device. Driving DCLK tothe device after configuration is com<strong>pl</strong>ete does not affect deviceoperation.You also have the flexibility to synchronize initialization of multi<strong>pl</strong>edevices by using the CLKUSR option. The Enable user-sup<strong>pl</strong>ied start-up clock(CLKUSR) option can be turned on in the Quartus II software from theGeneral tab of the Device & Pin Options dialog box. Sup<strong>pl</strong>ying a clockon CLKUSR does not affect the configuration process. After allconfiguration data has been accepted and CONF_DONE goes high,Mercury devices require 136 clock cycles to initialize properly, APEX 20K(2.5 V) devices require 40 clock cycles, ACEX 1K and FLEX 10K devicesrequire 10 clock cycles.Altera Corporation 8–21August 2005 <strong>Configuration</strong> <strong>Handbook</strong>, Volume 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!