004:ZYNQ_AXI总线学习笔记(1)
1. WHAT IS AXI?
AXI是一种高级可扩展接口,是ARM AMBA的一部分。
2. WHAT IS AMBA?
AMBA是高级微控制器总线架构,开放的片内互联总线标准。
3.AXI分类
AXI4/AXI4_ITE/AXI4_STREAM
Memory_mapped 存储器映射 就是读写数据时需要目标地址。
AXI4(AXI4_FULL):用于高性能存储映射。例如:AXI4读写DDR3。
AXI4_LITE:简单的,低吞吐率。比如说一些控制寄存器和状态寄存器。
AXI4_STREAM(ST):高速的流数据通信。
AXI4(AXI4_FULL)和AXI4_LITE需要主机指定读写的地址。AXI4_STREAM(ST)属于流数据,不需要存储器映射不需要地址。
4.存储器映射(Memory_mapped)
主机在对从机进行读写操作时,要先指定一个目标地址(target address),在这个地址对应系统存储空间的地址,表示对该空间进行读写操作。
Memory-Mapped Protocols: In memory-mapped protocols (AXI3, AXI4, and
AXI4-Lite), all transactions involve the concept of transferring a target
address within a
system memory space and data.
AXI_Stream不属于存储器映射。
5.AXI4的优势
AXI的优势
生产力:
灵活性:AXI4(支持突发256)和AXI4_lite(不支持突发,1个数据)都属于存储器映射。AXI_ST不属于存储器映射,突发长度不受限制。
可获得性:
6.what is 互联?
7. five different channels
Both AXI4 and AXI4-Lite interfaces consist of five different channels:
• Read Address Channel
• Write Address Channel
• Read Data Channel
• Write Data Channel
• Write Response Channel
主机发送读地址,从机返回读数据
Data can move in both directions between
the master and slave simultaneously, and data
transfer sizes can vary. The limit in AXI4 is a burst
transaction of up to 256 data transfers.
AXI4-Lite allows only one data transfer per
transaction.
读操作:主机通过读地址通道向从机发出地址和控制,从机通过读数据通道发送读数据。根据突发长度大小返回不同个数的数据。
写操作:主机先通过写地址通道发出地址和控制信号。然后通过写数据通道发出数据,等从机接收到数据会发送response信号。
AXI4:
读写地址分离,支持同时读写。
需要一个单一地址然后进行256个数据突发。
As shown in the preceding figures, AXI4:
• Provides separate data and address connections for
reads and writes, which allows
simultaneous, bidirectional data transfer.
• Requires a single address and then bursts up to 256
words of data.
AXI4_LITE:
单次一个数据,不支持突发传输。
AXI4-Lite is similar to AXI4 with some
exceptions: The most notable exception is that
bursting is not supported.
AXI4-Stream:
单通道传输数据类似AXI4的写数据通道,且写数据大小没有突发限制。
The AXI4-Stream protocol defines a single channel for
transmission of streaming data. The AXI4-Stream channel models the write data channel of AXI4.
Unlike AXI4, AXI4-Stream
interfaces can burst an unlimited amount of data.
只关心数据流,不需要地址。
AXI4-Stream
Protocol: Use the AXI4-Stream protocol for applications that typically
focus on a data-centric and data-flow paradigm where the concept of an address
is not
present or not required. Each AXI4-Stream acts as a single unidirectional
channel with a
handshaking data flow.
Infrastructure
IP: An infrastructure IP is a building block used to help assemble
systems. Infrastructure IP tends to be a generic IP that moves or transforms
data
around the system using general-purpose AXI4 interfaces and does not interpret
data.
Examples of infrastructure IP are:
° AXI Register slices (for pipelining)
° AXI FIFOs (for buffering/clock conversion)
° AXI Interconnect IP and AXI SmartConnect IP (for
connecting memory-mapped IP
together)
° AXI Direct Memory Access (DMA) engines (for memory-mapped
to stream
conversion)
° AXI Performance Monitors and Protocol Checkers
(for analysis and debug)
° AXI Verification IP (for simulation-based
verification and performance analysis)
These IP are useful for connecting IP together into a system, but are not
generally
endpoints for data.
DMA常用于存储器映射和stream数据流的转换。
比如说ddr中存储了你的有效数据需要做fft
fft IP的接口时stream流 ddr的数据是存储器映射,做操作需要DMA做数据转换。
A common
approach is to build systems that combine AXI4-Stream and AXI
memory-mapped IP together. Often a DMA engine can be used to move streams in
and out
of memory.
注意AXI Data width
converter 和 AXI Direct Memory
Access支持的AXI接口协议。
8.AXI SmartConnect IP and AXI
Interconnect IP
两者都用于一些主从设备的互联(存储器映射类型)。在一些情况下, AXI
SmartConnect IP可以提供高带宽的链接以及低延迟。
The Xilinx
LogiCORE IP AXI Interconnect and LogiCORE IP AXI SmartConnect cores both connect
one or more AXI memory-mapped master devices to one or more memory-mapped slave
devices; however, the SmartConnect is more tightly integrated into the Vivado
design environment to automatically configure and adapt to connected AXI master
and slave IP with minimal user intervention. The AXI Interconnect can be used in
all memory-mapped designs. There are certain cases for high bandwidth
application where using a SmartConnect provides better optimization. The AXI
SmartConnect IP delivers the maximum system throughput at low latency by
synthesizing a low area custom interconnect that is optimized for important
interfaces.The AXI Interconnect core IP (axi_interconnect)
connects one or more AXI memory-mapped master devices to one or more
memory-mapped slave devices。
今天先到这里。
参考资料:
IHI0022D
UG1037
正点原子ZYNQ嵌入式教程
004:ZYNQ_AXI总线学习笔记(1)的更多相关文章
- openrisc 之 Wishbone总线学习笔记——接口信号定义
这部分内容就是copy下来的,网上到处都有.先看看接口啥样子,在详细说明 接口定义copy http://blog.csdn.net/ce123/article/details/6929897.百度文 ...
- openrisc 之 Wishbone总线学习笔记——总线互联
一,总线命名规范 1,wishbone总线接口信号都是高电平有限 2,wishbone接口信号都是以 _i ,或者是 _o 结束.i表示输入, o表示输出. ()表示该信号为总线信号,总线位宽可以大于 ...
- openrisc 之 Wishbone总线学习笔记——总线特性
特性: 一,互联方式: 支持点到点.共享总线.十字交叉(Crossbar)和基于交换结构(Switch fabric)的互联. 二,数据操作方式:单次读/写操作.块读/写操作,读改写(RMW,Read ...
- PCI 总线学习笔记
转载请注明出处:http://blog.csdn.net/lg2lh/article/details/8042008 PCI的基本协议这里就不介绍了,由于一般的芯片协议都是集成好的,我仅仅须要大体了解 ...
- CAN总线学习笔记
1.CAN总线信息包的格式 问题: 1.CAN总线的初始化要初始化哪些东西? 2.处理器如何与CAN总线之间进行连接? 硬件连接 关于CC2底盘CAN通信的协议格式 备注: 设备地址为01 功能码
- 基于I2C总线的MPU6050学习笔记
MPU6050学习笔记 1. 简述 一直想自己做个四轴飞行器,却无从下手,终于狠下决心,拿出尘封已久的MPU6050模块,开始摸索着数据手册分析,一步一步地实现了MPU6050模块的功能,从MPU60 ...
- IRP IO_STACK_LOCATION 《寒江独钓》内核学习笔记(1)
在学习内核过滤驱动的过程中,遇到了大量的涉及IRP操作的代码,这里有必要对IRP的数据结构和与之相关的API函数做一下笔记. 1. 相关阅读资料 <深入解析 windows 操作系统(第4版,中 ...
- C语言学习笔记之成员数组和指针
成员数组和指针是我们c语言中一个非常重要的知识点,记得以前在大学时老师一直要我们做这类的练习了,但是最的还是忘记了,今天来恶补一下. 单看这文章的标题,你可能会觉得好像没什么意思.你先别下这个 ...
- Web前端学习笔记(001)
....编号 ........类别 ............条目 ................明细....................时间 一.Web前端学习笔记 ...
随机推荐
- mooc人大单元测试1
@font-face { font-family: Wingdings } @font-face { font-family: 宋体 } @font-face { font-family: " ...
- 你可能不知道的CSS元素隐藏“失效”以其妙用
在CSS中,让元素隐藏(指屏幕范围内肉眼不可见)的方法很多,有的占据空间,有的不占据空间:有的可以响应点击,有的不能响应点击.后宫选秀--一个一个看. { display: none; /* 不占据空 ...
- dalvik浅析二:jni、so
android大多使用java来开发,java中有个概念叫jni.当然说到jni,必然是少不了native code.在android中就是so库.我们来分析下jni在android dalvik的使 ...
- Day003 位运算
位运算 & 按位与,全1才为1,否则为0 | 按位或,全0才为0,否则为1 ^ 按位异或,相同则为0,不通则为1 ~按位取反 <<左移,相当于*2 >>右移,相当于/2 ...
- Redis数据结构—链表与字典
目录 Redis数据结构-链表与字典 链表 Redis链表节点的结构 Redis链表的表示 Redis链表用在哪 字典 Redis字典结构总览 Redis字典结构分解 哈希算法 解决键冲突 rehas ...
- spring-boot-maven-plugin not found的解决方案
spring-boot-maven-plugin not found 在maven测试的生命周期都没有错,但是就是爆红 参考了很多的链接,没有成功解决,最后得到真正有帮助的方法,添加springboo ...
- Web中的相对路径和绝对路径
前台路径:浏览器端发起的资源请求路径 后台路径:服务器端发起的资源请求路径
- Android学习之TTS踩坑笔记
•前言 最近在做一款英文词典的 APP,做到语音模块的时候,我裂开,从网上搜索了各种博客,各种瞎捣鼓,模拟器就是不发音: 辗转反侧数日,终于让我找到解决之法,接下来就本次测试列出一些需要(必须)解决的 ...
- PE文件中的输入表
前言 PE文件中的输入表含有三个重要结构IID,IDT,IAT.PE文件为需要加载的DLL文件创建一个IID结构,一个DLL与一个IID对应.IDT是输入名称表,IAT输入地址表,在没有绑定输入的情况 ...
- ubuntu中执行可执行文件时报错“没有那个文件或目录”的解决办法(非权限问题)
问题:可执行文件明明存在,也有可执行权限(x),但执行时就提示"没有那个文件或目录". 原因:这个程序的是32位的程序(比如arm-linux-gcc),而系统是64位的,运行时需 ...