Configuration circuit of Xilinx Spartan-3 series FPGA

Publisher:创新脑细胞Latest update time:2013-11-05 Keywords:FPGA Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Here we are going to talk about the configuration circuit of Xilinx's spartan-3 series FPGA. Of course, the configuration circuits of other series of FPGAs are similar, and readers can make inferences and focus on the official datasheet, which is the most authoritative information after all.

  As for typical, here is a list of the most common spartan-3 xc3s400 configuration circuits on the market. The connection method of all spartan-3 FPGA configuration circuits is the same. Xc3s400 is a 400,000-gate FPGA. Although its Configuration Bitstream is only 1.699136Mbit, it still needs a 2Mbit configuration chip XCF02S. You can't take it for granted that my design is simple and only uses 1Mbit at most, so I can choose XCF01S (1Mbit). This is not the case. Even if you only use xc3s400 to design a running light, the data you download to the ROM (XCF02S) is also 1.699136Mbit, so it is better to choose a larger configuration ROM for the FPGA rather than a smaller one.

  There are five types of configuration circuits: master serial, slave serial, master parallel, slave parallel, and JTAG. The first four are relative to downloading to PROM (serial and parallel are relative to the serial and parallel protocols and FPGA communication of different configuration chips), and only JTAG is relative to debugging, which is to download the configuration to the RAM of FPGA (lost after power failure). Compared with FPGA and CPLD, CPLD is based on ROM, that is, after the data is downloaded to CPLD, it will not be lost after power failure. FPGA is based on RAM. If there is no external ROM to store configuration data, the data will be lost after power failure. Therefore, FPGAs need to have external configuration chips (of course, there are also FLASH-based FPGAs now). Then let's take a look at the connection of the configuration circuit of FPGA in master serial mode.

  The official hardware connections are as follows :

  Configuration circuit of Xilinx Spartan-3 series FPGA

  In order to increase the reliability of the configuration circuit, we usually add some anti-interference designs (such as adding filter capacitors and matching resistors):

  Configuration circuit of Xilinx Spartan-3 series FPGA

  Let's look at the various pins of the PROM chip first. I won't talk about pins 18, 19, and 20. The corresponding voltage levels are given according to the datasheet. Pin 3 CLK is connected to the CCLK of the FPGA, and the synchronization of data communication is carried out through the clock generated by the CCLK of the FPGA. Because the chip used is a serial configuration chip, there is only one data signal port DO, which is connected to the DIN port of the FPGA (not shown in the above figure), and works with the clock signal above to complete serial data transmission. Every time the rising edge of CLK latches data, the address counter inside the PROM automatically increases. There are also two control signal lines, INIT (connected to the OE/RESET of the PROM) and DONE (connected to the CE of the PROM). OE/RESET is to ensure that the address counter of the PROM is reset before each reconfiguration. Regarding the CE pin, the official information is not very detailed. In my personal understanding, CE should be chip The abbreviation of enable. From its connection with the DONE pin of FPGA, we can easily infer that when FPGA is not configured, DONE=0, then the configuration chip PROM is in the chip select state, and once the configuration is completed, DONE=1, then the PROM is no longer selected. At the same time, the datasheet also says that this pin can be directly grounded, that is, it is always chip selected, but this will cause the DATA port to have continuous data signal output and cause unnecessary current consumption; the CEO pin is not connected here, because it is used as the OE terminal signal connection of the next PROM in the configuration circuit of multiple PROMs; the CF signal is connected to the PROG_B interface of FPAG, and its function is to generate a start configuration signal. It is connected to a pull-up resistor. If PROG_B generates a low-level pulse, the PROM will restart the configuration, so we will connect a button to the ground on this line. If the button is pressed, the PROM will be enabled to reconfigure the FPGA; there are also several signal interfaces TDI, TCK, TMS, TDO, which are signals connecting PROM and PC. PC downloads data to PROM through these circuits (usually connected to a driver isolation chip and communicated through the parallel port, which is not emphasized here).

  When we talked about the signal interface of PROM above, we also talked about the configuration pins of FPGA. Here are some summary explanations. FPGA has 7 dedicated configuration pins (CCLK, DIN, PROG_B, DONE, HSWAP_EN, M0, M1, M2), 4 dedicated JTAG pins (TDI, TCK, TMS, TDO), these pins are powered by VCCAUX (this series of FPGA is usually connected to VCCAUX = 2.5V). The M0, M1, and M2 pins of FPGA are used for configuration mode selection. In the main serial mode of this circuit, {M0, M1, M2} = 000, if it is JTAG download mode {M0, M1, M2} = 101. The HSWAP_EN pin not mentioned above is grounded, which is used to set other idle pins to pull-up state when FPAG is in the configuration state. If this pin is connected to a high level, other idle pins will float when FPAG is in the configuration state. Therefore, in order to reduce interference in the FPGA configuration process, this pin is generally grounded.

Keywords:FPGA Reference address:Configuration circuit of Xilinx Spartan-3 series FPGA

Previous article:Cypress PSoC4 chip secrets: Play with SAR ADC module
Next article:Mobile High-Definition Link (MHL) technology adopted by 200 equipment manufacturers worldwide

Recommended ReadingLatest update time:2024-11-16 14:36

Intel spins off FPGA business, how will domestic development be?
On October 4, during the holiday period, a piece of news detonated the chip circle. Intel announced on its official website that it would spin off its Programmable Solutions Group (PSG) and is expected to begin operating as an independent business on January 1, 2024. , is expected to report PSG as a separate business
[Embedded]
Intel spins off FPGA business, how will domestic development be?
FPGA Implementation of Real-time Video Data Acquisition
The video monitoring system uses the existing enterprise computer network platform to transmit, store and share the video, audio and other data required within the monitoring range in digital form through the network, so that the security monitoring department can obtain real-time, accurate, specific and intuitive data
[Embedded]
FPGA Implementation of Real-time Video Data Acquisition
Using FPGA chip to realize the function and interface design of SAR layer and ATM layer in AAL
introduction In recent years, broadband access technology has developed rapidly. Among them, asymmetric digital subscriber line technology (ADSL) can utilize existing telephone network resources and has the advantages of low investment and quick results. It has become one of the best transition forms to B-ISDN. In the
[Microcontroller]
Using FPGA chip to realize the function and interface design of SAR layer and ATM layer in AAL
Implementation of SD card file system based on FPGA and Nios II soft core
Abstract: A SPI controller for SD card reading and writing is constructed using Cyclone II series FPGA, and an embedded file system based on Nios II soft-core processor is implemented on it. This file system is implemented by transplanting znFAT32 file system on Nios II EDS development platform. Keywords
[Embedded]
Implementation of SD card file system based on FPGA and Nios II soft core
Temperature detection wireless transmitting and receiving system based on FPGA control
Abstract: This article introduces a temperature detection wireless transmitting and receiving system based on FPGA control. This system uses EPlKl000C208-3 as the control core. The system compares whether the temperature exceeds the optimal temperature range of the human body. If it is too high, a cooling signal i
[Test Measurement]
Temperature detection wireless transmitting and receiving system based on FPGA control
Implementation of baseband transmission in WCDMA system based on DSP+FPGA
Introduction With the rapid development of the Internet and the increasing demand for various wireless services, the current wireless communication network that mainly carries single voice services has become less and less suitable for people's needs. Therefore, the third-generation mobile communication system (IMT-2
[Embedded]
Implementation of baseband transmission in WCDMA system based on DSP+FPGA
Design of large-capacity data storage using FPGA and SRAM
1 Introduction Aiming at the shortcoming of limited internal BlockRAM in FPGA, a method of improving the design by combining FPGA with external SRAM is proposed, and some VHDL programs are given. 2 Hardware Design Here we will mainly discuss the design ideas of using Xilinx's FPGA (XC2S600E-6f
[Industrial Control]
Remote Control System of Intelligent Instrument Based on FPGA
Abstract: In order to realize the remote control of intelligent instruments and improve the speed of the control system, the field programmable gate array (FPGA) chip and USB chip are used to realize the design of the remote control system of intelligent instruments. The interface conversion principle between
[Embedded]
Remote Control System of Intelligent Instrument Based on FPGA
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号