SlideShare a Scribd company logo
1 of 40
Download to read offline
This material exempt per Department of Commerce license exception TSU 
Zynq 
14.2 Version 
Zynq Architecture 
© Copyright 2012 Xilinx
After completing this module, you will be able to: 
– 
Identify the basic building blocks of the Zynq™ architecture processing system (PS) 
– 
Describe the usage of the Cortex-A9 processor memory space 
– 
Connect the PS to the programmable logic (PL) through the AXI ports 
– 
Generate clocking sources for the PL peripherals 
– 
List the various AXI-based system architectural models 
– 
Name the five AXI channels 
– 
Describe the operation of the AXI streaming protocol 
Objectives 
Zynq Architecture 12-2 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-3 © Copyright 2012 Xilinx
Complete ARM®-based processing system 
– 
Application Processor Unit (APU) 
• 
Dual ARM Cortex™-A9 processors 
• 
Caches and support blocks 
– 
Fully integrated memory controllers 
– 
I/O peripherals 
Tightly integrated programmable logic 
– 
Used to extend the processing system 
– 
Scalable density and performance 
Flexible array of I/O 
– 
Wide range of external multi-standard I/O 
– 
High-performance integrated serial transceivers 
– 
Analog-to-digital converter inputs 
Zynq-7000 Family Highlights 
Zynq Architecture 12-4 © Copyright 2012 Xilinx
Zynq-7000 AP SoC Block Diagram 
Zynq Architecture 12-5 © Copyright 2012 Xilinx
The Zynq-7000 AP SoC architecture consists of two major sections 
– 
PS: Processing system 
• 
Dual ARM Cortex-A9 processor based 
• 
Multiple peripherals 
• 
Hard silicon core 
– 
PL: Programmable logic 
• 
Shares the same 7 series programmable logic as 
 
Artix™-based devices: Z-7010 and Z-7020 (high-range I/O banks only) 
 
Kintex™-based devices: Z-7030 and Z-7045 (mix of high-range and high-performance I/O banks) 
The PS and the PL 
Zynq Architecture 12-6 © Copyright 2012 Xilinx
ARM Cortex-A9 processor implements the ARMv7-A architecture 
– 
ARMv7 is the ARM Instruction Set Architecture (ISA) 
– 
ARMv7-A: Application set that includes support for a Memory Management Unit (MMU) 
– 
ARMv7-R: Real-time set that includes support for a Memory Protection Unit (MPU) 
– 
ARMv7-M: Microcontroller set that is the smallest set 
The ARMv7 ISA includes the following types of instructions (for backwards compatibility) 
– 
Thumb instructions: 16 bits; Thumb-2 instructions: 32 bits 
– 
NEON: ARM’s Single Instruction Multiple Data (SIMD) instructions 
ARM Advanced Microcontroller Bus Architecture (AMBA®) protocol 
– 
AXI3: Third-generation ARM interface 
– 
AXI4: Adding to the existing AXI definition (extended bursts, subsets) 
Cortex is the new family of processors 
– 
ARM family is older generation; Cortex is current; MMUs in Cortex processors and MPUs in ARM 
ARM Processor Architecture 
Zynq Architecture 12-7 © Copyright 2012 Xilinx
Dual-core processor cluster 
2.5 DMIP/MHz per processor 
Harvard architecture 
Self-contained 32KB L1 caches for instructions and data 
External memory based 512KB L2 cache 
Automatic cache coherency between processor cores 
800-MHz operation (fastest speed grade) 
ARM Cortex-A9 Processor Power 
Zynq Architecture 12-8 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-9 © Copyright 2012 Xilinx
ARM Cortex-A9 Processor Micro-Architecture 
Instruction pipeline supports out-of- order instruction issue and completion 
Register renaming to enable execution speculation 
Non-blocking memory system with load-store forwarding 
Fast loop mode in instruction pre-fetch to lower power consumption 
Zynq Architecture 12-10 © Copyright 2012 Xilinx
Variable length, out-of-order, eight-stage, super-scalar instruction pipeline 
– 
Advanced pre-fetch with parallel branch pipeline enabling early branch prediction and resolution 
– 
Multi-issued into 
• 
Primary data processing pipeline 
• 
Secondary full data processing pipeline 
• 
Load-store pipeline 
• 
Compute engine (FPU/NEON) pipeline 
Speculative execution 
– 
Supports virtual renaming of ARM physical registers to remove pipeline stalls due to data dependencies 
– 
Increased processor utilization and hiding of memory latencies 
– 
Increased performance by hardware unrolling of code loops 
– 
Reduced interrupt latency via speculative entry to Interrupt Service Routine (ISR) 
ARM Cortex-A9 Processor Micro-Architecture 
Zynq Architecture 12-11 © Copyright 2012 Xilinx
Application processing unit (APU) 
I/O peripherals (IOP) 
– 
Multiplexed I/O (MIO), extended multiplexed I/O (EMIO) 
Memory interfaces 
PS interconnect 
DMA 
Timers 
– 
Public and private 
General interrupt controller (GIC) 
On-chip memory (OCM): RAM 
Debug controller: CoreSight 
PS Components 
Zynq Architecture 12-12 © Copyright 2012 Xilinx
Processing System Interconnect (1) 
Programmable logic to memory 
– 
Two ports to DDR 
– 
One port to OCM SRAM 
Central interconnect 
– 
Enables other interconnects to communicate 
Peripheral master 
– 
USB, GigE, SDIO connects to DDR and PL via the central interconnect 
Peripheral slave 
– 
CPU, DMA, and PL access to IOP peripherals 
Zynq Architecture 12-13 © Copyright 2012 Xilinx
Processing System Interconnect (2) 
Processing system master 
– 
Two ports from the processing system to programmable logic 
– 
Connects the CPU block to common peripherals through the central interconnect 
Processing system slave 
– 
Two ports from programmable logic to the processing system 
Zynq Architecture 12-14 © Copyright 2012 Xilinx
The Cortex-A9 processor uses 32-bit addressing 
All PS peripherals and PL peripherals are memory mapped to the Cortex-A9 processor cores 
All slave PL peripherals will be located between 4000_0000 and 7FFF_FFFF (connected to GP0) and 8000_0000 and BFFF_FFFF (connected to GP1) 
Memory Map 
Zynq Architecture 12-15 © Copyright 2012 Xilinx
On-chip memory (OCM) 
– 
RAM 
– 
Boot ROM 
DDRx dynamic memory controller 
– 
Supports LPDDR2, DDR2, DDR3 
Flash/static, memory controller 
– 
Supports SRAM, QSPI, NAND/NOR FLASH 
Zynq AP SoC Memory Resources 
Zynq Architecture 12-16 © Copyright 2012 Xilinx
CPU0 boots from OCM ROM; CPU1 goes into a sleep state 
On-chip boot loader in OCM ROM (Stage 0 boot) 
Processor loads First Stage Boot Loader (FSBL) from external flash memory 
– 
NOR 
– 
NAND 
– 
Quad-SPI 
– 
SD Card 
– 
JTAG; not a memory device—used for development/debug only 
– 
Boot source selected via package bootstrapping pins 
Optional secure boot mode allows the loading of encrypted software from the flash boot memory 
PS Boots First 
Zynq Architecture 12-17 © Copyright 2012 Xilinx
The programmable logic is configured after the PS boots 
Performed by application software accessing the hardware device configuration unit 
– 
Bitstream image transferred 
– 
100-MHz, 32-bit PCAP stream interface 
– 
Decryption/authentication hardware option for encrypted bitstreams 
• 
In secure boot mode, this option can be used for software memory load 
– 
Built-in DMA allows simultaneous PL configuration and OS memory loading 
Configuring the PL 
Zynq Architecture 12-18 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-19 © Copyright 2012 Xilinx
Input/Output Peripherals 
Two GigE 
Two USB 
Two SPI 
Two SD/SDIO 
Two CAN 
Two I2C 
Two UART 
Four 32-bit GPIOs 
Static memories 
– 
NAND, NOR/SRAM, Quad SPI 
Trace ports 
Zynq Architecture 12-20 © Copyright 2012 Xilinx
External interface to PS I/O peripheral ports 
– 
54 dedicated package pins available 
– 
Software configurable 
• 
Automatically added to bootloader by tools 
– 
Not available for all peripheral ports 
• 
Some ports can only use EMIO 
Multiplexed I/O (MIO) 
Zynq Architecture 12-21 © Copyright 2012 Xilinx
Extended interface to PS I/O peripheral ports 
– 
EMIO: Peripheral port to programmable logic 
– 
Alternative to using MIO 
– 
Mandatory for some peripheral ports 
– 
Facilitates 
• 
Connection to peripheral in programmable logic 
• 
Use of general I/O pins to supplement MIO pin usage 
• 
Alleviates competition for MIO pin usage 
Extended Multiplexed I/O (EMIO) 
Zynq Architecture 12-22 © Copyright 2012 Xilinx
AXI high-performance slave ports (HP0-HP3) 
– 
Configurable 32-bit or 64-bit data width 
– 
Access to OCM and DDR only 
– 
Conversion to processing system clock domain 
– 
AXI FIFO Interface (AFI) are FIFOs (1KB) to smooth large data transfers 
AXI general-purpose ports (GP0-GP1) 
– 
Two masters from PS to PL 
– 
Two slaves from PL to PS 
– 
32-bit data width 
– 
Conversation and sync to processing system clock domain 
PS-PL Interfaces 
Zynq Architecture 12-23 © Copyright 2012 Xilinx
One 64-bit accelerator coherence port (ACP) AXI slave interface to CPU memory 
DMA, interrupts, events signals 
– 
Processor event bus for signaling event information to the CPU 
– 
PL peripheral IP interrupts to the PS general interrupt controller (GIC) 
– 
Four DMA channel RDY/ACK signals 
Extended multiplexed I/O (EMIO) allows PS peripheral ports access to PL logic and device I/O pins 
Clock and resets 
– 
Four PS clock outputs to the PL with enable control 
– 
Four PS reset outputs to the PL 
Configuration and miscellaneous 
PS-PL Interfaces 
Zynq Architecture 12-24 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-25 © Copyright 2012 Xilinx
PS clocks 
– 
PS clock source from external package pin 
– 
PS has three PLLs for clock generation 
– 
PS has four clock ports to PL 
The PL has 7 series clocking resources 
– 
PL has a different clock source domain compared to the PS 
– 
The clock to PL can be sourced from external clock capable pins 
– 
Can use one of the four PS clocks as source 
Synchronizing the clock between PL and PS is taken care of by the architecture of the PS 
PL cannot supply clock source to PS 
PL Clocking Sources 
Zynq Architecture 12-26 © Copyright 2012 Xilinx
Clocking the PL 
Zynq Architecture 12-27 © Copyright 2012 Xilinx
Clock Generation (Using Zynq Tab) 
The Clock Generator allows the configuration of PLL components for both the PS and PL of the Zynq AP SoC 
– 
One input reference clock 
Access the GUI by clicking the Clock Generation block in the Zynq tab of the SAV 
Configure the PS Peripheral Clock in the Zynq tab 
– 
PS uses a dedicated PLL clock 
– 
PS I/O peripherals use the I/O PLL clock and ARM PLL 
Clock to PL is disabled if PS clocking is present 
Zynq Architecture 12-28 © Copyright 2012 Xilinx
Internal resets 
– 
Power-on reset (POR) 
– 
Watchdog resets from the three watchdog timers 
– 
Secure violation reset 
PS resets 
– 
External reset: PS_SRST_B 
– 
Warm reset: SRSTB 
PL resets 
– 
Four reset outputs from PS to PL 
– 
FCLK_RESET[3:0] 
Zynq Resets 
Zynq Architecture 12-29 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-30 © Copyright 2012 Xilinx
AXI is Part of ARM’s AMBA 
AMBA 
APB 
AHB 
AXI 
Older Performance Newer 
AMBA 3.0 (2003) 
AMBA: Advanced Microcontroller Bus Architecture AXI: Advanced Extensible Interface 
Zynq Architecture 12-31 © Copyright 2012 Xilinx
AXI is Part of AMBA 
AMBA 
APB 
AHB 
AXI 
AXI-4 
Memory Map 
AXI-4 
Stream 
AXI-4 
Lite 
ATB 
AMBA 3.0 
(2003) 
AMBA 4.0 
(2010) 
Same Spec 
Enhancements for FPGAs 
Interface 
Features 
Similar to 
Memory Map / Full (AXI4) 
Traditional Address/Data Burst 
(single address, multiple data) 
PLBv46, PCI 
Streaming 
(AXI4-Stream) 
Data-Only, Burst 
Local Link / DSP Interfaces / FIFO / FSL 
Lite 
(AXI4-Lite) 
Traditional Address/Data—No Burst 
(single address, single data) 
PLBv46-single 
OPB 
Zynq Architecture 12-32 © Copyright 2012 Xilinx
Basic AXI Signaling – 5 Channels 
1. 
Read Address Channel 
2. 
Read Data Channel 
3.Write Address Channel 
4.Write Data Channel 
5.Write Response Channel 
Zynq Architecture 12-33 © Copyright 2012 Xilinx
The AXI Interface—AX4-Lite 
No burst 
Data width 32 or 64 only 
– 
Xilinx IP only supports 32-bits 
Very small footprint 
Bridging to AXI4 handled automatically by AXI_Interconnect (if needed) 
AXI4-Lite Read 
AXI4-Lite Write 
Zynq Architecture 12-34 © Copyright 2012 Xilinx
The AXI Interface—AXI4 
Sometimes called “Full AXI” or “AXI Memory Mapped” 
– 
Not ARM-sanctioned names 
Single address multiple data 
– 
Burst up to 256 data beats 
Data Width parameterizable 
– 
1024 bits 
AXI4 Read 
AXI4 Write 
Zynq Architecture 12-35 © Copyright 2012 Xilinx
The AXI Interface—AXI4-Stream 
No address channel, no read and write, always just master to slave 
– 
Effectively an AXI4 “write data” channel 
Unlimited burst length 
– 
AXI4 max 256 
– 
AXI4-Lite does not burst 
Virtually same signaling as AXI Data Channels 
– 
Protocol allows merging, packing, width conversion 
– 
Supports sparse, continuous, aligned, unaligned streams 
AXI4-Stream Transfer 
Zynq Architecture 12-36 © Copyright 2012 Xilinx
May not have packets 
– 
E.g. Digital up converter 
• 
No concept of address 
• 
Free-running data (in this case) 
• 
In this situation, AXI4-Stream would optimize to a very simple interface 
May have packets 
– 
E.g. PCIe 
• 
Their packets may contain different information 
• 
Typically bridge logic of some sort is needed 
Streaming Applications 
Zynq Architecture 12-37 © Copyright 2012 Xilinx
Zynq All Programmable SoC (AP SoC) 
Zynq AP SoC Processing System (PS) 
Processor Peripherals 
Clock, Reset, and Debug Features 
AXI Interfaces 
Summary 
Outline 
Zynq Architecture 12-38 © Copyright 2012 Xilinx
The Zynq-7000 processing platform is a system on a chip (SoC) processor with embedded programmable logic 
The processing system (PS) is the hard silicon dual core consisting of 
– 
APU and list components 
• 
Two Cortex-A9 processors 
• 
NEON co-processor 
• 
General interrupt controller (GIC) 
• 
General and watchdog timers 
– 
I/O peripherals 
– 
External memory interfaces 
Summary 
Zynq Architecture 12-39 © Copyright 2012 Xilinx
The programmable logic (PL) consists of 7 series devices 
AXI is an interface providing high performance through point-to-point connection 
AXI has separate, independent read and write interfaces implemented with channels 
The AXI4 interface offers improvements over AXI3 and defines 
– 
Full AXI memory mapped 
– 
AXI Lite 
– 
AXI Stream 
Tightly coupled AXI ports interface the PL and PS for maximum performance 
The PS boots from a selection of external memory devices 
The PL is configured by and after the PS boots 
The PS provides clocking resources to the PL 
The PL may not provide clocking to the PS 
Summary 
Zynq Architecture 12-40 © Copyright 2012 Xilinx

More Related Content

What's hot (20)

PLDs
PLDsPLDs
PLDs
 
Message Signaled Interrupts
Message Signaled InterruptsMessage Signaled Interrupts
Message Signaled Interrupts
 
Fpga
FpgaFpga
Fpga
 
Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate array
 
Synchronous and asynchronous clock
Synchronous and asynchronous clockSynchronous and asynchronous clock
Synchronous and asynchronous clock
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
zynq.ppt
zynq.pptzynq.ppt
zynq.ppt
 
System On Chip (SOC)
System On Chip (SOC)System On Chip (SOC)
System On Chip (SOC)
 
Metastability
MetastabilityMetastability
Metastability
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
SPI Protocol
SPI ProtocolSPI Protocol
SPI Protocol
 
SoC Design
SoC DesignSoC Design
SoC Design
 
PCI express
PCI expressPCI express
PCI express
 
Actel fpga
Actel fpgaActel fpga
Actel fpga
 
SATA Protocol
SATA ProtocolSATA Protocol
SATA Protocol
 
Clock Tree Timing 101
Clock Tree Timing 101Clock Tree Timing 101
Clock Tree Timing 101
 
Introduction to FPGAs
Introduction to FPGAsIntroduction to FPGAs
Introduction to FPGAs
 
UPF-Based Static Low-Power Verification in Complex Power Structure SoC Design...
UPF-Based Static Low-Power Verification in Complex Power Structure SoC Design...UPF-Based Static Low-Power Verification in Complex Power Structure SoC Design...
UPF-Based Static Low-Power Verification in Complex Power Structure SoC Design...
 
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
Embedded Systems (18EC62) - ARM Cortex-M3 Instruction Set and Programming (Mo...
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 

Viewers also liked

Today's FPGA Ecosystem - Neeraj Varma, Xilinx
Today's FPGA Ecosystem - Neeraj Varma, XilinxToday's FPGA Ecosystem - Neeraj Varma, Xilinx
Today's FPGA Ecosystem - Neeraj Varma, XilinxFPGA Central
 
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)Shinya Takamaeda-Y
 
ds188-XA-Zynq-7000-Overview
ds188-XA-Zynq-7000-Overviewds188-XA-Zynq-7000-Overview
ds188-XA-Zynq-7000-OverviewAngela Suen
 
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveFPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveIJORCS
 
tau 2015 spyrou fpga timing
tau 2015 spyrou fpga timingtau 2015 spyrou fpga timing
tau 2015 spyrou fpga timingTom Spyrou
 

Viewers also liked (6)

FPGA Implementation of High Speed FIR Filters and less power consumption stru...
FPGA Implementation of High Speed FIR Filters and less power consumption stru...FPGA Implementation of High Speed FIR Filters and less power consumption stru...
FPGA Implementation of High Speed FIR Filters and less power consumption stru...
 
Today's FPGA Ecosystem - Neeraj Varma, Xilinx
Today's FPGA Ecosystem - Neeraj Varma, XilinxToday's FPGA Ecosystem - Neeraj Varma, Xilinx
Today's FPGA Ecosystem - Neeraj Varma, Xilinx
 
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)
Debian Linux on Zynq (Xilinx ARM-SoC FPGA) Setup Flow (Vivado 2015.4)
 
ds188-XA-Zynq-7000-Overview
ds188-XA-Zynq-7000-Overviewds188-XA-Zynq-7000-Overview
ds188-XA-Zynq-7000-Overview
 
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveFPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
 
tau 2015 spyrou fpga timing
tau 2015 spyrou fpga timingtau 2015 spyrou fpga timing
tau 2015 spyrou fpga timing
 

Similar to Zynq Architecture Overview

System_on_Chip_SOC.ppt
System_on_Chip_SOC.pptSystem_on_Chip_SOC.ppt
System_on_Chip_SOC.pptzahixdd
 
MYC-C7Z015 CPU Module
MYC-C7Z015 CPU ModuleMYC-C7Z015 CPU Module
MYC-C7Z015 CPU ModuleLinda Zhang
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersPremier Farnell
 
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)Talal Khaliq
 
Presentation sparc m6 m5-32 server technical overview
Presentation   sparc m6 m5-32 server technical overviewPresentation   sparc m6 m5-32 server technical overview
Presentation sparc m6 m5-32 server technical overviewsolarisyougood
 
TRACK B: Multicores & Network On Chip Architectures/ Oren Hollander
TRACK B: Multicores & Network On Chip Architectures/ Oren HollanderTRACK B: Multicores & Network On Chip Architectures/ Oren Hollander
TRACK B: Multicores & Network On Chip Architectures/ Oren Hollanderchiportal
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL Amr Rashed
 
Introduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseIntroduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseanishgoel
 
Using a Field Programmable Gate Array to Accelerate Application Performance
Using a Field Programmable Gate Array to Accelerate Application PerformanceUsing a Field Programmable Gate Array to Accelerate Application Performance
Using a Field Programmable Gate Array to Accelerate Application PerformanceOdinot Stanislas
 
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSnehaLatha68
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailedAnkita Tiwari
 
Sybsc cs sem 3 physical computing and iot programming unit 1
Sybsc cs sem 3 physical computing and iot programming unit 1Sybsc cs sem 3 physical computing and iot programming unit 1
Sybsc cs sem 3 physical computing and iot programming unit 1WE-IT TUTORIALS
 
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral IntegrationA 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral IntegrationTalal Khaliq
 
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip coreanishgoel
 

Similar to Zynq Architecture Overview (20)

Zynq 7010
Zynq 7010Zynq 7010
Zynq 7010
 
System_on_Chip_SOC.ppt
System_on_Chip_SOC.pptSystem_on_Chip_SOC.ppt
System_on_Chip_SOC.ppt
 
MYC-C7Z015 CPU Module
MYC-C7Z015 CPU ModuleMYC-C7Z015 CPU Module
MYC-C7Z015 CPU Module
 
ARM AAE - Architecture
ARM AAE - ArchitectureARM AAE - Architecture
ARM AAE - Architecture
 
So c
So cSo c
So c
 
Overview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit MicrocontrollersOverview of ST7 8-bit Microcontrollers
Overview of ST7 8-bit Microcontrollers
 
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
Design of 32 Bit Processor Using 8051 and Leon3 (Progress Report)
 
Presentation sparc m6 m5-32 server technical overview
Presentation   sparc m6 m5-32 server technical overviewPresentation   sparc m6 m5-32 server technical overview
Presentation sparc m6 m5-32 server technical overview
 
TRACK B: Multicores & Network On Chip Architectures/ Oren Hollander
TRACK B: Multicores & Network On Chip Architectures/ Oren HollanderTRACK B: Multicores & Network On Chip Architectures/ Oren Hollander
TRACK B: Multicores & Network On Chip Architectures/ Oren Hollander
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Introduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseIntroduction to Advanced embedded systems course
Introduction to Advanced embedded systems course
 
Using a Field Programmable Gate Array to Accelerate Application Performance
Using a Field Programmable Gate Array to Accelerate Application PerformanceUsing a Field Programmable Gate Array to Accelerate Application Performance
Using a Field Programmable Gate Array to Accelerate Application Performance
 
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
Softcore processor.pptxSoftcore processor.pptxSoftcore processor.pptx
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
Palestra IBM-Mack Zvm linux
Palestra  IBM-Mack Zvm linux  Palestra  IBM-Mack Zvm linux
Palestra IBM-Mack Zvm linux
 
Sybsc cs sem 3 physical computing and iot programming unit 1
Sybsc cs sem 3 physical computing and iot programming unit 1Sybsc cs sem 3 physical computing and iot programming unit 1
Sybsc cs sem 3 physical computing and iot programming unit 1
 
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral IntegrationA 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
A 32-Bit Parameterized Leon-3 Processor with Custom Peripheral Integration
 
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip core
 
TMS320C5x
TMS320C5xTMS320C5x
TMS320C5x
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

Zynq Architecture Overview

  • 1. This material exempt per Department of Commerce license exception TSU Zynq 14.2 Version Zynq Architecture © Copyright 2012 Xilinx
  • 2. After completing this module, you will be able to: – Identify the basic building blocks of the Zynq™ architecture processing system (PS) – Describe the usage of the Cortex-A9 processor memory space – Connect the PS to the programmable logic (PL) through the AXI ports – Generate clocking sources for the PL peripherals – List the various AXI-based system architectural models – Name the five AXI channels – Describe the operation of the AXI streaming protocol Objectives Zynq Architecture 12-2 © Copyright 2012 Xilinx
  • 3. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-3 © Copyright 2012 Xilinx
  • 4. Complete ARM®-based processing system – Application Processor Unit (APU) • Dual ARM Cortex™-A9 processors • Caches and support blocks – Fully integrated memory controllers – I/O peripherals Tightly integrated programmable logic – Used to extend the processing system – Scalable density and performance Flexible array of I/O – Wide range of external multi-standard I/O – High-performance integrated serial transceivers – Analog-to-digital converter inputs Zynq-7000 Family Highlights Zynq Architecture 12-4 © Copyright 2012 Xilinx
  • 5. Zynq-7000 AP SoC Block Diagram Zynq Architecture 12-5 © Copyright 2012 Xilinx
  • 6. The Zynq-7000 AP SoC architecture consists of two major sections – PS: Processing system • Dual ARM Cortex-A9 processor based • Multiple peripherals • Hard silicon core – PL: Programmable logic • Shares the same 7 series programmable logic as  Artix™-based devices: Z-7010 and Z-7020 (high-range I/O banks only)  Kintex™-based devices: Z-7030 and Z-7045 (mix of high-range and high-performance I/O banks) The PS and the PL Zynq Architecture 12-6 © Copyright 2012 Xilinx
  • 7. ARM Cortex-A9 processor implements the ARMv7-A architecture – ARMv7 is the ARM Instruction Set Architecture (ISA) – ARMv7-A: Application set that includes support for a Memory Management Unit (MMU) – ARMv7-R: Real-time set that includes support for a Memory Protection Unit (MPU) – ARMv7-M: Microcontroller set that is the smallest set The ARMv7 ISA includes the following types of instructions (for backwards compatibility) – Thumb instructions: 16 bits; Thumb-2 instructions: 32 bits – NEON: ARM’s Single Instruction Multiple Data (SIMD) instructions ARM Advanced Microcontroller Bus Architecture (AMBA®) protocol – AXI3: Third-generation ARM interface – AXI4: Adding to the existing AXI definition (extended bursts, subsets) Cortex is the new family of processors – ARM family is older generation; Cortex is current; MMUs in Cortex processors and MPUs in ARM ARM Processor Architecture Zynq Architecture 12-7 © Copyright 2012 Xilinx
  • 8. Dual-core processor cluster 2.5 DMIP/MHz per processor Harvard architecture Self-contained 32KB L1 caches for instructions and data External memory based 512KB L2 cache Automatic cache coherency between processor cores 800-MHz operation (fastest speed grade) ARM Cortex-A9 Processor Power Zynq Architecture 12-8 © Copyright 2012 Xilinx
  • 9. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-9 © Copyright 2012 Xilinx
  • 10. ARM Cortex-A9 Processor Micro-Architecture Instruction pipeline supports out-of- order instruction issue and completion Register renaming to enable execution speculation Non-blocking memory system with load-store forwarding Fast loop mode in instruction pre-fetch to lower power consumption Zynq Architecture 12-10 © Copyright 2012 Xilinx
  • 11. Variable length, out-of-order, eight-stage, super-scalar instruction pipeline – Advanced pre-fetch with parallel branch pipeline enabling early branch prediction and resolution – Multi-issued into • Primary data processing pipeline • Secondary full data processing pipeline • Load-store pipeline • Compute engine (FPU/NEON) pipeline Speculative execution – Supports virtual renaming of ARM physical registers to remove pipeline stalls due to data dependencies – Increased processor utilization and hiding of memory latencies – Increased performance by hardware unrolling of code loops – Reduced interrupt latency via speculative entry to Interrupt Service Routine (ISR) ARM Cortex-A9 Processor Micro-Architecture Zynq Architecture 12-11 © Copyright 2012 Xilinx
  • 12. Application processing unit (APU) I/O peripherals (IOP) – Multiplexed I/O (MIO), extended multiplexed I/O (EMIO) Memory interfaces PS interconnect DMA Timers – Public and private General interrupt controller (GIC) On-chip memory (OCM): RAM Debug controller: CoreSight PS Components Zynq Architecture 12-12 © Copyright 2012 Xilinx
  • 13. Processing System Interconnect (1) Programmable logic to memory – Two ports to DDR – One port to OCM SRAM Central interconnect – Enables other interconnects to communicate Peripheral master – USB, GigE, SDIO connects to DDR and PL via the central interconnect Peripheral slave – CPU, DMA, and PL access to IOP peripherals Zynq Architecture 12-13 © Copyright 2012 Xilinx
  • 14. Processing System Interconnect (2) Processing system master – Two ports from the processing system to programmable logic – Connects the CPU block to common peripherals through the central interconnect Processing system slave – Two ports from programmable logic to the processing system Zynq Architecture 12-14 © Copyright 2012 Xilinx
  • 15. The Cortex-A9 processor uses 32-bit addressing All PS peripherals and PL peripherals are memory mapped to the Cortex-A9 processor cores All slave PL peripherals will be located between 4000_0000 and 7FFF_FFFF (connected to GP0) and 8000_0000 and BFFF_FFFF (connected to GP1) Memory Map Zynq Architecture 12-15 © Copyright 2012 Xilinx
  • 16. On-chip memory (OCM) – RAM – Boot ROM DDRx dynamic memory controller – Supports LPDDR2, DDR2, DDR3 Flash/static, memory controller – Supports SRAM, QSPI, NAND/NOR FLASH Zynq AP SoC Memory Resources Zynq Architecture 12-16 © Copyright 2012 Xilinx
  • 17. CPU0 boots from OCM ROM; CPU1 goes into a sleep state On-chip boot loader in OCM ROM (Stage 0 boot) Processor loads First Stage Boot Loader (FSBL) from external flash memory – NOR – NAND – Quad-SPI – SD Card – JTAG; not a memory device—used for development/debug only – Boot source selected via package bootstrapping pins Optional secure boot mode allows the loading of encrypted software from the flash boot memory PS Boots First Zynq Architecture 12-17 © Copyright 2012 Xilinx
  • 18. The programmable logic is configured after the PS boots Performed by application software accessing the hardware device configuration unit – Bitstream image transferred – 100-MHz, 32-bit PCAP stream interface – Decryption/authentication hardware option for encrypted bitstreams • In secure boot mode, this option can be used for software memory load – Built-in DMA allows simultaneous PL configuration and OS memory loading Configuring the PL Zynq Architecture 12-18 © Copyright 2012 Xilinx
  • 19. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-19 © Copyright 2012 Xilinx
  • 20. Input/Output Peripherals Two GigE Two USB Two SPI Two SD/SDIO Two CAN Two I2C Two UART Four 32-bit GPIOs Static memories – NAND, NOR/SRAM, Quad SPI Trace ports Zynq Architecture 12-20 © Copyright 2012 Xilinx
  • 21. External interface to PS I/O peripheral ports – 54 dedicated package pins available – Software configurable • Automatically added to bootloader by tools – Not available for all peripheral ports • Some ports can only use EMIO Multiplexed I/O (MIO) Zynq Architecture 12-21 © Copyright 2012 Xilinx
  • 22. Extended interface to PS I/O peripheral ports – EMIO: Peripheral port to programmable logic – Alternative to using MIO – Mandatory for some peripheral ports – Facilitates • Connection to peripheral in programmable logic • Use of general I/O pins to supplement MIO pin usage • Alleviates competition for MIO pin usage Extended Multiplexed I/O (EMIO) Zynq Architecture 12-22 © Copyright 2012 Xilinx
  • 23. AXI high-performance slave ports (HP0-HP3) – Configurable 32-bit or 64-bit data width – Access to OCM and DDR only – Conversion to processing system clock domain – AXI FIFO Interface (AFI) are FIFOs (1KB) to smooth large data transfers AXI general-purpose ports (GP0-GP1) – Two masters from PS to PL – Two slaves from PL to PS – 32-bit data width – Conversation and sync to processing system clock domain PS-PL Interfaces Zynq Architecture 12-23 © Copyright 2012 Xilinx
  • 24. One 64-bit accelerator coherence port (ACP) AXI slave interface to CPU memory DMA, interrupts, events signals – Processor event bus for signaling event information to the CPU – PL peripheral IP interrupts to the PS general interrupt controller (GIC) – Four DMA channel RDY/ACK signals Extended multiplexed I/O (EMIO) allows PS peripheral ports access to PL logic and device I/O pins Clock and resets – Four PS clock outputs to the PL with enable control – Four PS reset outputs to the PL Configuration and miscellaneous PS-PL Interfaces Zynq Architecture 12-24 © Copyright 2012 Xilinx
  • 25. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-25 © Copyright 2012 Xilinx
  • 26. PS clocks – PS clock source from external package pin – PS has three PLLs for clock generation – PS has four clock ports to PL The PL has 7 series clocking resources – PL has a different clock source domain compared to the PS – The clock to PL can be sourced from external clock capable pins – Can use one of the four PS clocks as source Synchronizing the clock between PL and PS is taken care of by the architecture of the PS PL cannot supply clock source to PS PL Clocking Sources Zynq Architecture 12-26 © Copyright 2012 Xilinx
  • 27. Clocking the PL Zynq Architecture 12-27 © Copyright 2012 Xilinx
  • 28. Clock Generation (Using Zynq Tab) The Clock Generator allows the configuration of PLL components for both the PS and PL of the Zynq AP SoC – One input reference clock Access the GUI by clicking the Clock Generation block in the Zynq tab of the SAV Configure the PS Peripheral Clock in the Zynq tab – PS uses a dedicated PLL clock – PS I/O peripherals use the I/O PLL clock and ARM PLL Clock to PL is disabled if PS clocking is present Zynq Architecture 12-28 © Copyright 2012 Xilinx
  • 29. Internal resets – Power-on reset (POR) – Watchdog resets from the three watchdog timers – Secure violation reset PS resets – External reset: PS_SRST_B – Warm reset: SRSTB PL resets – Four reset outputs from PS to PL – FCLK_RESET[3:0] Zynq Resets Zynq Architecture 12-29 © Copyright 2012 Xilinx
  • 30. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-30 © Copyright 2012 Xilinx
  • 31. AXI is Part of ARM’s AMBA AMBA APB AHB AXI Older Performance Newer AMBA 3.0 (2003) AMBA: Advanced Microcontroller Bus Architecture AXI: Advanced Extensible Interface Zynq Architecture 12-31 © Copyright 2012 Xilinx
  • 32. AXI is Part of AMBA AMBA APB AHB AXI AXI-4 Memory Map AXI-4 Stream AXI-4 Lite ATB AMBA 3.0 (2003) AMBA 4.0 (2010) Same Spec Enhancements for FPGAs Interface Features Similar to Memory Map / Full (AXI4) Traditional Address/Data Burst (single address, multiple data) PLBv46, PCI Streaming (AXI4-Stream) Data-Only, Burst Local Link / DSP Interfaces / FIFO / FSL Lite (AXI4-Lite) Traditional Address/Data—No Burst (single address, single data) PLBv46-single OPB Zynq Architecture 12-32 © Copyright 2012 Xilinx
  • 33. Basic AXI Signaling – 5 Channels 1. Read Address Channel 2. Read Data Channel 3.Write Address Channel 4.Write Data Channel 5.Write Response Channel Zynq Architecture 12-33 © Copyright 2012 Xilinx
  • 34. The AXI Interface—AX4-Lite No burst Data width 32 or 64 only – Xilinx IP only supports 32-bits Very small footprint Bridging to AXI4 handled automatically by AXI_Interconnect (if needed) AXI4-Lite Read AXI4-Lite Write Zynq Architecture 12-34 © Copyright 2012 Xilinx
  • 35. The AXI Interface—AXI4 Sometimes called “Full AXI” or “AXI Memory Mapped” – Not ARM-sanctioned names Single address multiple data – Burst up to 256 data beats Data Width parameterizable – 1024 bits AXI4 Read AXI4 Write Zynq Architecture 12-35 © Copyright 2012 Xilinx
  • 36. The AXI Interface—AXI4-Stream No address channel, no read and write, always just master to slave – Effectively an AXI4 “write data” channel Unlimited burst length – AXI4 max 256 – AXI4-Lite does not burst Virtually same signaling as AXI Data Channels – Protocol allows merging, packing, width conversion – Supports sparse, continuous, aligned, unaligned streams AXI4-Stream Transfer Zynq Architecture 12-36 © Copyright 2012 Xilinx
  • 37. May not have packets – E.g. Digital up converter • No concept of address • Free-running data (in this case) • In this situation, AXI4-Stream would optimize to a very simple interface May have packets – E.g. PCIe • Their packets may contain different information • Typically bridge logic of some sort is needed Streaming Applications Zynq Architecture 12-37 © Copyright 2012 Xilinx
  • 38. Zynq All Programmable SoC (AP SoC) Zynq AP SoC Processing System (PS) Processor Peripherals Clock, Reset, and Debug Features AXI Interfaces Summary Outline Zynq Architecture 12-38 © Copyright 2012 Xilinx
  • 39. The Zynq-7000 processing platform is a system on a chip (SoC) processor with embedded programmable logic The processing system (PS) is the hard silicon dual core consisting of – APU and list components • Two Cortex-A9 processors • NEON co-processor • General interrupt controller (GIC) • General and watchdog timers – I/O peripherals – External memory interfaces Summary Zynq Architecture 12-39 © Copyright 2012 Xilinx
  • 40. The programmable logic (PL) consists of 7 series devices AXI is an interface providing high performance through point-to-point connection AXI has separate, independent read and write interfaces implemented with channels The AXI4 interface offers improvements over AXI3 and defines – Full AXI memory mapped – AXI Lite – AXI Stream Tightly coupled AXI ports interface the PL and PS for maximum performance The PS boots from a selection of external memory devices The PL is configured by and after the PS boots The PS provides clocking resources to the PL The PL may not provide clocking to the PS Summary Zynq Architecture 12-40 © Copyright 2012 Xilinx