introduction t to o axi custom om i ip
play

Introduction t to o AXI Custom om I IP Cristi tian Sister - PowerPoint PPT Presentation

Introduction t to o AXI Custom om I IP Cristi tian Sister erna na Universidad Nacional San Juan Argentina ICTP AXI - Custom IP Agen enda Describe the AXI4 transactions Summarize the AXI4 valid/ready acknowledgment model


  1. Introduction t to o AXI – Custom om I IP Cristi tian Sister erna na Universidad Nacional San Juan Argentina ICTP AXI - Custom IP

  2. Agen enda ◦ Describe the AXI4 transactions ◦ Summarize the AXI4 valid/ready acknowledgment model ◦ Discuss the AXI4 transactional modes of overlap and simultaneous operations ◦ Describe the operation of the AXI4 streaming protocol AXI - Custom IP ICTP

  3. Need eed t to Un Under erstand D Device’ e’s C Connec ectivity There is a need to get familiar with the way that different devices communicate each • other in an Embedded System like a Zynq based system Learning and understanding the communication among devices will facilitate the • design of Zynq based systems All the devices in a Zynq system communicate each other based in a device interface • standard developed by ARM, called AXI (ARM eXtended Interface): • AXI define a Point to Point Master/Slave Interface AXI - Custom IP ICTP

  4. Tod oday’s S System em-On On-Chi Chip General Purpose CPU DDR Controller I/O Shared DRAM Memory Vide Controller SPI Ethernet DAC Controller USB ADC AXI - Custom IP ICTP

  5. Inter erfac ace Op e Option ons PLBv46 – Bus Spec PLB Processor S_AXI M_AXI S_AXI M_AXI P1 Processor S_AXI M_AXI P1 PLB M_AXI S_AXI AXI P2 Inteconnect P2 PLB S_AXI M_AXI P3 P3 AXI4 Defines a PLB Point to Point Master/Slave Arbiter Peripherals Interface ICTP AXI - Custom IP

  6. Connec ectivity -> S Standard • A standard • All units talk based on the same standard (same protocol, same language) • All units can easily talk to each other • Maintanence • Design is easily maintained/updated • Facilitate debug tasks • Re-Use • Developed cores can easily re-used in other systems AXI - Custom IP ICTP

  7. Common S Co SoPC PC Interf rface ces • Core Connect (IBM) • PLB/OPB (Power PC-FPGA bus interface) • WishBone • OpenCore Cores • AXI • ARM standard (more to come . . . ) AXI - Custom IP ICTP

  8. AXI XI i is Par art t of of ARM’s A AMBA AMBA AMBA 3.0 AXI APB AHB (2003) Older Performance Newer AMBA: Advanced Microcontroller Bus Architecture AXI: Advanced Extensible Interface AXI - Custom IP ICTP

  9. AXI XI is P Par art of of A AMBA AMBA Enhancements for FPGAs APB AHB AXI ATB AMBA 3.0 (2003) Same Spec AXI-4 AXI-4 AXI-4 AMBA 4.0 Memory Map Stream Lite (2010) Interface Features Burst Data Width Applications Traditional Address/Data Burst Embedded, AXI4 Up to 256 32 to 1024 bits Memory (single address, multiple data) DSP, Video, AXI4-Stream Data-Only, Burst Unlimited Any Number Communications Traditional Address/Data—No Burst (single Small Control AXI4-Lite 1 32 or 64 bits address, single data) Logic, FSM AXI - Custom IP ICTP

  10. AXI I Interconnect AXI is an interconnect system used to tie processors to peripherals ◦ AXI Full: Full performance bursting interconnect ◦ AXI Lite : Lower performance non bursting interconnect (saves programmable logic resources) ◦ AXI Streaming : Non-addressed packet based or raw interface AXI - Custom IP ICTP

  11. AX AXI – Vocab abular ary Channel ◦ Independent collection of AXI signals associated to a VALID signal Interface ◦ Collection of one or more channels that expose an IP core’s connecting a master to a slave ◦ Each IP core may have multiple interfaces Bus ◦ Multiple-bit signal (not an interface or channel) Transfer ◦ Single clock cycle where information is communicated, qualified by a VALID handshake Transaction ◦ Complete communication operation across a channel, composed of a one or more transfers Burst ◦ Transaction that consists of more than one transfer ICTP AXI - Custom IP

  12. AXI XI T Tran ansactio ions / / Mas aster-Slav ave Responds to the Initiates the Write Transaction initiate transaction transaction AXI AXI Slave Master Read Transaction Transactions: transfer of data from one point on the hardware to another point ICTP AXI - Custom IP

  13. AXI I Interconnect AXI Slave M_AXI S_AXI SPI AXI M_AXI S_AXI Master CPU ? AXI AXI Master Interconnect DMA M_AXI S_AXI S_AXI M_AXI AXI Slave GPIO S_AXI M_AXI AXI Slave BRAM AXI - Custom IP ICTP

  14. AXI I Interconnect – Addres essing & g & Decod oding Address Decoding Table GPIO: 0X4000_0000 Address Range : 4K SPI: 0X4000_1000 Address Offset : 0X4000_1000 BRAM: 0X4001_0000 Addresses : 0X4000_0000 – 0X4000_1FFF Address Range : 4K Address Offset : 0X4000_0000 Address Range : 64K Addresses : 0X4000_0000 – 0X4000_0FFF Address Offset : 0X4001_0000 Addresses : 0X4001_0000 – 0X4001_FFFF AXI - Custom IP ICTP

  15. AXI I Interconnect M Main F Features es • Different Number of (up to 16) • Slave Ports • Master Ports • Data Width Conversion • Conversion from AXI3 to AXI4 • Register Slices (pipelining), Input/Output FIFOs • Clock Domains Transfer AXI - Custom IP ICTP

  16. AXI I Inter erconnec ect axi_interconnect component o ◦ Highly configurable ◦ Pass Through ◦ Conversion Only ◦ N-to-1 Interconnect ◦ 1-to-N Interconnect ◦ N-to-M Interconnect – full crossbar ◦ N-to-M Interconnect – shared bus structure Decoupled master and slave interfaces o o Xilinx provides three configurable ◦ AXI4 Lite Slave ◦ AXI4 Lite Master ◦ AXI4 Slave Burst o Xilinx AXI Reference Guide(UG761) AXI - Custom IP ICTP

  17. AX AXI I Interf rface ace Example ICTP AXI - Custom IP

  18. AX AXI I Interf rface ace Example le ICTP AXI - Custom IP

  19. AXI S Slave Si Signals ls ICTP AXI - Custom IP

  20. Basic AXI Rd/Wr Process ICTP AXI - Custom IP

  21. AXI C Chan annel els U Use e A Bas asic “VALID/READY” H Han andshake e Master asserts and hold VALID when data is available 1 DATA Slave asserts READY if able to accept data 2 AXI AXI VALID 3 Data and other signals transferred when VALID and READY = ‘1’ Slave Master READY Master sends next DATA/other signals or deasserts VALID 4 ACLK Slave deasserts READY if no longer able to accept data 5 3 3 3 3 4 4 1 1 5 5 5 2 2 2 AXI - Custom IP ICTP

  22. AXI4 L Lite Read Address Channel Address and Control AXI AXI o No Burst Master Slave Read Data Channel Read Read Read Read o Single address, single data Data Data Data Data o Data Width 32 or 64 bits (Xilinx IP only support 32) Write Address Channel o Very small size Address and Control o The AXI Interconnect is Write Data Channel automatically generated AXI Write Write Write Write AXI Data Data Data Data Master Slave Write Response Channel Write Response AXI - Custom IP ICTP

  23. AXI C Channel els Read Address Channel Address and Control AXI4 AXI4 AXI4 Read Master Slave Read Data Channel Read Read Read Read Data Data Data Data Write Address Channel Address and Control Write Data Channel AXI4 Write Write Write Write AXI4 AXI4 Write Data Data Data Data Master Slave Write Response Channel Write Response AXI - Custom IP ICTP

  24. AXI4 Lite R e Read Read Address Channel Address and Control AXI AXI Master Slave Read Data Channel Read Read Read Read Data Data Data Data AXI - Custom IP ICTP

  25. AXI4 Lite W e Write e Write Address Channel Address and Control Write Data Channel AXI Write Write Write Write AXI Data Data Data Data Master Slave Write Response Channel Write Response AXI - Custom IP ICTP

  26. AXI4 I4 (F (Full ll) ) Read Address Channel Address and Control AXI AXI Master Slave Read Data Channel o Sometimes called “ Full AXI ” Read Read Read Read or “ AXI Memory Mapped ” Data Data Data Data o Single address multiple data o Burst up to 256 data Write Address Channel Address and o Data Width parameterizable Control o 32, 64, 128, 256, 512, 1024 Write Data Channel bits AXI Write Write Write Write AXI Data Data Data Data Master Slave Write Response Channel Write Response AXI - Custom IP ICTP

  27. AXI4 S Stream eam o No address channel, no read and write, always just Master to Slave Write Data Channel o Just an AXI4 Write Channel AXI Write Write Write Write AXI Data Data Data Data Master Slave o Unlimited burst length o Supports sparse, continuous, aligned, unaligned streams AXI - Custom IP ICTP

  28. AX AXI S Stream Data Data Master Slave Slave AXI AXI AXI AXIS_M AXIS_S AXIS_S AXI - Custom IP ICTP

  29. AXI4 – AXI L Lite: Si Signals ls Available AXI - Custom IP ICTP

  30. Custom AXI IPs ICTP AXI - Custom IP

  31. Differ eren ent Sof Soft IP Core res Soft IP Cores Pros Cons HDL Vendor will not support if (hardware description End user can modify it IP is modified language) Configurable using Customization is limited to parameters Encrypted HDL the available parameters Sported by the vendor Customization is limited to Gate-Level Netlist High performance the available parameters Synthesis , Place and Route are controlled by the end user ICTP AXI - Custom IP

Recommend


More recommend