Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.

Slides:



Advertisements
Similar presentations
BOUNDARY SCAN.
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR SRAM-based FPGA n SRAM-based LE –Registers in logic elements –LUT-based logic element.
PLD Technology Basics. Basic PAL Architecture DQ Q CLK OE Fuse.
Lecture 28 IEEE JTAG Boundary Scan Standard
Real-Time Systems Design JTAG – testing and programming.
Serial Peripheral Interface (SPI)
Programmable logic and FPGA
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
February 4, 2002 John Wawrzynek
Sundance High-tech DSP solutions. Giving you the freedom to design Multiprocessor Technology Ltd SYSTEM CONFIGURATION.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
FPGA Configuration Interfaces 1. After completing this presentation, you will able to: 2 Describe the purpose of each of the FPGA configuration pins Explain.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
Input/Output mechanisms
System Clocks.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
AT94 Training 2001Slide 1 AT94K Configuration Modes Atmel Corporation 2325 Orchard Parkway San Jose, CA Hotline (408) OR.
Normal text - click to edit Configuring of Xilinx Virtex-II Kjetil Ullaland, Ketil Røed, Bjørn Pommeresche, Johan Alme TPC Electronics meeting. CERN
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Field Programmable Gate Arrays (FPGAs) An Enabling Technology.
8279 KEYBOARD AND DISPLAY INTERFACING
Basic Sequential Components CT101 – Computing Systems Organization.
Design of a Novel Bridge to Interface High Speed Image Sensors In Embedded Systems Tareq Hasan Khan ID: ECE, U of S Term Project (EE 800)
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
April 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 281 Lecture 28 IEEE JTAG Boundary Scan Standard n Motivation n Bed-of-nails tester n System view.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
PPI-8255.
8279 KEYBOARD AND DISPLAY INTERFACING
Programmable Interrupt Controller (PIC)
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
MACHINE CYCLE AND T-STATE
Survey of Reconfigurable Logic Technologies
بسم الله الرحمن الرحيم MEMORY AND I/O.
Gandhinagar Institute of Technology
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
Serial Communications
The 8085 Microprocessor Architecture
FPGA Configuration Chris Stinson, 1998.
Topics SRAM-based FPGA fabrics: Xilinx. Altera..
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: Internal fault (e.g.. divide by.
CPU Sequencing 6/30/2018.
The 8085 Microprocessor Architecture
Dr. Michael Nasief Lecture 2
COMP2121: Microprocessors and Interfacing
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
The Xilinx Virtex Series FPGA
Serial Communication Interface: Using 8251
The 8085 Microprocessor Architecture
Reconfigurable FPGAs (The Xilinx Virtex II Pro / ProX FPGA family)
The Xilinx Virtex Series FPGA
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
The Programmable Peripheral Interface (8255A)
CPU Sequencing 7/20/2019.
Presentation transcript:

Configuration

Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission of characters at the fixed rate of speed. Parallel and Serial configuration modes.

Mirjana Stojanovic Configuration File Data are generated by the Xilinx development software. Frames of data are stored in configuration file. PROM is not required for storing data before loading.

Mirjana Stojanovic Modes Four configuration modes: # Slave Serial mode # Master Serial mode # Slave Parallel mode # Boundary-scan mode Modes are selected with configuration mode pins (M2,M1,M0). Mode pins are default to a logic High if left unconnected.

Mirjana Stojanovic

6 Signals Two kinds of pins that are used in configuration process: # dedicated - for specific configuration-related functions # other pins - after configuration serve as general purpose I/Os Dedicated pins: M2, M1, M0, CCLK, PROGRAM, DONE, TDI, TDO, TMS, TCK.

Mirjana Stojanovic

8 The Process Phases of configuration process: #1 Initiating the configuration #2 Configuration memory clear #3 Loading data frames #4 Start-up

Mirjana Stojanovic Phase #1: Initiating the Configuration Two different ways to initiate the configuration process: applying power to the device or asserting the PROGRAM input pin. Once in user operation, the device can be re-configured by pulling the PROGRAM pin Low. The device acknowledges the beginning of the configuration process by driving the DONE Low.

Mirjana Stojanovic

Mirjana Stojanovic Phase #2: Clearing Configuration Memory The device indicates that clearing the configuration memory is in progress by driving INIT Low. The delay of configuration – holding either PROGRAM or INIT Low. The device indicates that the memory is completely clear by driving INIT High. Mode pins are sampled on Low-to-High transition of INIT.

Mirjana Stojanovic Phase #3: Loading Configuration Data When INIT goes High, loading of the configuration data frames begins. The sequence of operations in this phase is determined by the selected configuration mode. The CRC (Cyclic Redundancy Checking) algorithm is used to verify bitstream integrity during configuration. If error occurs the device pulls INIT low.

Mirjana Stojanovic Phase #4: Start-up A match of CRC values initiates the Start-up sequence. The device performs four operations: #1 The assertion of DONE #2 The release of the Global Three State net (GTS) #3 The Negation of Global Set Reset (GSR) #4 The assertion of Global Write Enable (GWE)

Mirjana Stojanovic Start-up sequence lasts eight cycles, CO-C7. The four operations can be selected to switch on any cycle C1-C6 through settings in the Xilinx development software.

Mirjana Stojanovic GTS,GSR, and GWE events are made conditional upon the DONE pin going high in the configuration options. Sync-to-done is important for a daisy chain of multiple FPGAs in serial mode.

Mirjana Stojanovic Serial Modes The FPGA is configured by loading one bit per CCLK cycle. The MSB of each configuration data byte is always written to the DIN pin first.

Mirjana Stojanovic

Mirjana Stojanovic Slave Serial Mode FPGA in Slave Serial Mode passively receives CCLK as an input from an external agent (e.g. a microprocessor or second FPGA in master mode). Multiple FPGAs in Slave Serial mode can be daisy-chained for configuration from a single source. After an FPGA is configured, data for the next device is routed to the DOUT pin. Configuration must be delayed until INIT pins of all daisy-chained FPGAs are High.

Mirjana Stojanovic

Mirjana Stojanovic Master Serial Mode In Master Serial mode, the CCLK output of the FPGA drives a Xilinx PROM which feeds a serial stream of configuration data to the FPGA’s DIN input. An oscillator internal to the FPGA is used to generate the configuration clock (CCLK). While the first 60 bytes of the configuration data are being loaded, the CCLK frequency is always 2.5 MHz. When the ConfigRate bits are loaded into the FPGA, the frequency changes to the selected ConfigRate. ConfigRate is 4MHz by default although it can range from 4 to 60MHz.

Mirjana Stojanovic

Mirjana Stojanovic Slave Parallel Mode The fastest configuration option. Byte-wide data is written into the FPGA. BUSY flag is provided for controlling the flow of data at a clock frequency above 50MHz. Controlling agent of the Slave Parallel interface can be processor, microcontroller or CPLD. Controlling agent provides byte-wide configuration data, CCLK,CS and WRITE.

Mirjana Stojanovic

Mirjana Stojanovic The MSB must be routed to the D0 input on the FPGA. If BUSY is asserted (High) by the FPGA, the data must be held until BUSY goes Low. Multiple Spartan-II FPGAs can be configured using the Slave Parallel mode, and be made to start-up simultaneously. Sync-to-DONE start-up timing is used to ensure that the start-up sequence does not begin until the FPGAs have been loaded.

Mirjana Stojanovic Write Write operations send packets of byte-wide configuration data into the FPGA. User holds WRITE and CS Low through the sequence of write operations.

Mirjana Stojanovic

Mirjana Stojanovic Write: # 1 driving data onto D0-D7. The data source should be enabled while CS is low and WRITE is high. #2 on the rising edge of CCLK: if BUSY is low, the data is accepted on this clock. If BUSY is high the acceptance will occur on the first clock after BUSY goes low and data must be held until. #3 repeat steps 1 and 2 until all the data has been sent. #4 de-assert CS and WRITE. If CCLK is slower than FCCNH, the data can simply be entered into the FPGA every CCLK cycle.

Mirjana Stojanovic Abort To abort a configuration during a write sequence, de-assert WRITE while holding CS Low. The abort operation is initiated at the rising edge of CCLK. The device will remain BUSY until the aborted operation is complete.

Mirjana Stojanovic Boundary-Scan Mode Configuration being done entirely through the IEEE Test Access Port. Used to test the interconnections between devices on a printed circuit board. Architecture includes 4- or 5- wired TAP, the TAP controller, the instruction register, the instruction decoder, the boundary-scan register and bypass register. Configuration and readback via TAP is always available. The boundary-scan mode simply locks out the other modes.

Mirjana Stojanovic Steps required to configure the FPGA through the boundary-scan port: #1 Load the CFG_IN instruction into the boundary-scan instruction register (IR) #2 Enter the Shift-DR (SDR) state #3 Shift a standard configuration bitstream into TDI #4 Return to Run-Test-Idle (RTI) #5 Load the JSTART instruction into IR #6 Enter the SDR state #7 Clock TCK through the sequence (the length is programmable) #8 Return to RTI

Mirjana Stojanovic Readback Readback is the process of reading out all the data in the internal configuration memory. Verifying that the current configuration data is correct. Reading the current state of all internal CLB and IOB registers as well as current LUT RAM and block RAM values. Available only through the Slave Parallel and boundary-scan interfaces. Used for hardware debugging and functional verification.