2. FPGA_2
2. FPGA_2
Connecting
LSI, VLSI Systems ULSI
Again Integrating
Systems
Why FPGA...?
discrete active Integrated Embedding and discrete Further
and passive Circuit (IC) Connecting Components of Embedding of
Components, Several ICS, Embedded Systems can be
Integrating Systems to develop
transistor on Components, made to get
millions of Sensors and entire System or advanced
PCB, Bread
board Transistors Actuators Network on a
Applications
Chip
Printed Circuit Board (PCB), Integrated Internet of Things (IOT) System-on-Chip (SoC)
Bread board Circuit (IC) Cyber Physical Systems Network-on-Chip (NoC)
Dr. Yash Agrawal @ DA-IICT Gandhinagar 3 Dr. Yash Agrawal @ DA-IICT Gandhinagar 4
Field Programmable Gate Array (FPGA) Package Marking
Fig: Conceptual structure of an FPGA device. Fig: Spartan-3E BGA Package Marking Example.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 5 Dr. Yash Agrawal @ DA-IICT Gandhinagar 6
Block RAM
Multiple Blocks
Digital Clock Manager (DCM) Blocks
Dr. Yash Agrawal @ DA-IICT Gandhinagar 7 Dr. Yash Agrawal @ DA-IICT Gandhinagar 8
Spartan 3E Architecture Overview IOBs Organized into Banks
Fig: Spartan-3E Family Architecture. Fig: Spartan-3E I/O Banks (top view).
Dr. Yash Agrawal @ DA-IICT Gandhinagar 9 Dr. Yash Agrawal @ DA-IICT Gandhinagar 10
Configurable Logic Block (CLB) and Slice Resources Summary of Spartan-3E FPGA Attributes
Dr. Yash Agrawal @ DA-IICT Gandhinagar 11 Dr. Yash Agrawal @ DA-IICT Gandhinagar 12
Slice Overview Digital Clock Managers (DCMs)
Dr. Yash Agrawal @ DA-IICT Gandhinagar 13 Dr. Yash Agrawal @ DA-IICT Gandhinagar 14
Dr. Yash Agrawal @ DA-IICT Gandhinagar 15 Dr. Yash Agrawal @ DA-IICT Gandhinagar 16
FG320: 320-ball Fine-Pitch Ball Grid Array Spartan 3E FPGA Board
Dr. Yash Agrawal @ DA-IICT Gandhinagar 17 Dr. Yash Agrawal @ DA-IICT Gandhinagar 18
The key features of the Spartan-3E Starter Kit board are: The key features of the Spartan-3E Starter Kit board are:
-I/O pins
-pin FBGA package
Dr. Yash Agrawal @ DA-IICT Gandhinagar 19 Dr. Yash Agrawal @ DA-IICT Gandhinagar 20
Spartan 3E Features/Specifications Components/Parts of different Company assembled in Spartan 3E board
The key features of the Spartan-3E Starter Kit board are: Linear Technology for the SPI-compatible A/D and D/A converters, the
programmable pre-amplifier, and the power regulators for the non-FPGA
-output, SPI-based Digital-to-Analog Converter (DAC) Components
-input, SPI-based Analog-to-Digital Converter (ADC) with programmable-gain pre-
Intel Corporation for the 128 Mbit StrataFlash memory
amplifier
Micron Technology, Inc. for the 32M x 16 DDR SDRAM
ChipScope SoftTouch debugging port
-encoder with push-button shaft SMSC for the 10/100 Ethernet PHY
STMicroelectronics for the 16M x 1 SPI serial Flash PROM
-button switches
Texas Instruments Incorporated for the three-rail TPS75003 regulator
-encoder with push-button shaft supplying most of the FPGA supply voltages
-button switches Xilinx, Inc. Configuration Solutions Division for the XCF04S Platform
Flash PROM and their support for the embedded USB programmer
Xilinx, Inc. for the XC2C64A CoolRunner -II CPLD
Dr. Yash Agrawal @ DA-IICT Gandhinagar 21 Dr. Yash Agrawal @ DA-IICT Gandhinagar 22
Dr. Yash Agrawal @ DA-IICT Gandhinagar 23 Dr. Yash Agrawal @ DA-IICT Gandhinagar 24
Slew Rate Control Drive Strength
Drive Strength
Slew Rate
Each LVCMOS and LVTTL output additionally supports up to six
Each IOB has a slew-rate control that sets the output switching edge- different drive current strengths as shown in Table.
rate for LVCMOS and LVTTL outputs.
Table: Programmable Output Drive Current
The SLEW attribute controls the slew rate and can either be set to
SLOW (default) or FAST.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 25 Dr. Yash Agrawal @ DA-IICT Gandhinagar 26
Drive Strength
High output current drive strength and Fast O/P Slew rate
generally result in fastest I/O performance.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 27 Dr. Yash Agrawal @ DA-IICT Gandhinagar 28
On Board Switches on Spartan 3E Board On Board Switches - Switch, Buttons and Knob
Slide Switches
There are three types of on-board switches:
Dr. Yash Agrawal @ DA-IICT Gandhinagar 29 Dr. Yash Agrawal @ DA-IICT Gandhinagar 30
On Board Switches - Switch, Buttons and Knob On Board Switches - Switch, Buttons and Knob
Fig: Four Push-Button switches surrounded Fig: Rotary Push Button switch at the center of The center push-button switch output
Rotary Push Button switch. Fig: User Constraint File (UCF ) for Four Push-Button switches. ROT_CENTER
Push-Button switches.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 31 Dr. Yash Agrawal @ DA-IICT Gandhinagar 32
On Board Switches - Switch, Buttons and Knob On Board Switches - Switch, Buttons and Knob
Dr. Yash Agrawal @ DA-IICT Gandhinagar 33 Dr. Yash Agrawal @ DA-IICT Gandhinagar 34
Fig: Outputs from Rotary Shaft Encoder may include Mechanical Chatter.
On-board Displays
Dr. Yash Agrawal @ DA-IICT Gandhinagar 35 Dr. Yash Agrawal @ DA-IICT Gandhinagar 36
On Board Displays on Spartan 3E Board On Board Display LEDs
LEDS
LED (8 Nos.)
LCD (1 No.)
Fig: UCF constraints for Eight
Discrete LEDs.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 37 Dr. Yash Agrawal @ DA-IICT Gandhinagar 38
The Spartan-3E FPGA Starter Kit features a 16x2 LCD with 5x8 pixel
matrix (per character). Table: Character LCD Interface Signal
Dr. Yash Agrawal @ DA-IICT Gandhinagar 39 Dr. Yash Agrawal @ DA-IICT Gandhinagar 40
On Board Display LCD
Clock
Fig: UCF constraints for the Character LCD.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 41 Dr. Yash Agrawal @ DA-IICT Gandhinagar 42
Dr. Yash Agrawal @ DA-IICT Gandhinagar 43 Dr. Yash Agrawal @ DA-IICT Gandhinagar 44
On-board Clock Sources/Inputs On-board Clock Sources/Inputs
SMA Clock Input or Output connector - As shown in Table below, each of the clock inputs also optimally connects to
an associated DCM.
- Clocks can be supplied off-board via an SMA-style connector.
- The FPGA can also generate a single-ended clock output or other high-speed Table: Clock Inputs and Associated Global Buffers and DCM
signal on the SMA clock connector for an external device.
- The provided 8-pin socket accepts clock oscillators that fit the 8-pin DIP footprint.
- Use this socket if the FPGA application requires a frequency other than 50 MHz.
- Alternatively, use the Digital Clock Manager (DCM) to generate or
synthesize other frequencies from the on-board 50 MHz oscillator.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 45 Dr. Yash Agrawal @ DA-IICT Gandhinagar 46
Dr. Yash Agrawal @ DA-IICT Gandhinagar Friday, 12/04/2024 47 Dr. Yash Agrawal @ DA-IICT Gandhinagar 48
On-board Clock Sources/Inputs
Voltage Control
- The voltage for all I/O pins in FPGA I/O Bank 0 is controlled by jumper JP9.
FPGA Configuration
- Consequently, these clock resources are also controlled by jumper JP9. Options
By default, JP9 is set for 3.3V. The on-board oscillator is a 3.3V device and might
not perform as expected when jumper JP9 is set for 2.5V.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 49 Dr. Yash Agrawal @ DA-IICT Gandhinagar 50
Furthermore, Spartan-3E FPGAs support MultiBoot configuration, allowing two or more FPGA
configuration bitstreams to be stored in a single parallel NOR Flash.
The FPGA application controls which configuration to load next and when to load it.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 51 Dr. Yash Agrawal @ DA-IICT Gandhinagar 52
Configuration Bitstream Image Sizes FPGA Configuration Options
Program the on-board 4 Mbit Xilinx XCF04S serial Platform Flash PROM, then configure
the FPGA from the image stored in the Platform Flash PROM using Master Serial mode.
Program the on-board 16 Mbit ST Microelectronics SPI serial Flash PROM, then configure
the FPGA from the image stored in the SPI serial Flash PROM using SPI mode.
Program the on-board 128 Mbit Intel StrataFlash parallel NOR Flash PROM, then
configure the FPGA from the image stored in the Flash PROM using BPI Up or BPI Down
configuration modes. Further, an FPGA application can dynamically load two different FPGA
configurations using the Spartan-3E MultiBoot mode. See the Spartan-3E data sheet
(DS312) for additional details on the MultiBoot feature.
Dr. Yash Agrawal @ DA-IICT Gandhinagar 53 Dr. Yash Agrawal @ DA-IICT Gandhinagar 54
Dr. Yash Agrawal @ DA-IICT Gandhinagar 55 Dr. Yash Agrawal @ DA-IICT Gandhinagar 56
FPGA Configuration Options
Configuration Mode Jumpers
Table: Spartan-3E Configuration Mode Jumper Settings (J30)