当前位置:网站首页>JTAG-to-AXI Master调试AXI BRAM Controller
JTAG-to-AXI Master调试AXI BRAM Controller
2022-06-10 12:15:00 【硬码农二毛哥】
JTAG to AXI Master 简介
JTAG to AXI Master IP作为AXI Master驱动AXI transactions。JTAG to AXI Master加入AXI Interconnect,如下图所示,可以与Slave0,Slave1和Slave2通信。支持AXI4和AXI4-Lite协议,下面以JTAG to AXI Master 调试AXI BRAM Controller为例说明JTAG to AXI Master的使用方法。
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lxAYU9Ov-1653306398599)(./pic/1.png)]](/img/c1/ffc2901eb281b9021f0b2b39637793.png)
搭建调试环境
将JTAG to AXI Master 加入硬件平台,JTAG to AXI Master使用与AXI Interconnect相同的时钟与复位。AXI Interconnect的Master接口连接AXI BRAM Controller。
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rgACrt6l-1653306398601)(./pic/2.png)]](/img/34/c46b742d34cbcb293df52273f40815.png)
AXI BRAM Controller设置如下:
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-QV9K5hNM-1653306398601)(./pic/3.png)]](/img/67/287bb17069fd8a49a21450a5b5aaf4.png)
设置AXI BRAM Controller输出端口:
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-UaVPBs6l-1653306398602)(./pic/5.png)]](/img/2f/802ed1f29bff5879dead7debee31e3.png)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-RO71lvNs-1653306398603)(./pic/4.png)]](/img/43/3ee7c4248f3f2586b6893de270916f.png)
AXI BRAM Controller在内存中地址:
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wf81aXnW-1653306398604)(./pic/9.png)]](/img/64/c280a069dae2d1a094cb226f3d1f11.png)
AXI BRAM Controller 读写时序
写时序
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MJxCbD88-1653306398606)(./pic/6.png)]](/img/77/662b1e0cf31fa2829aa1d18dcdc524.png)
读时序
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Z1BKLp53-1653306398607)(./pic/7.png)]](/img/72/a65fea5592329810635e2d98a76d70.png)
根据读写时序,在PL端加入读写逻辑。
AXI4-Lite 读写
在TCL控制台发送指令,通过ila查看读写是否正常。
创建 AXI transaction,写入32bit数据
create_hw_axi_txn abc [get_hw_axis hw_axi_1] -address 80001000 -data 12345678 -type write
run_hw_axi abc
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-McK8DXcu-1653306398608)(./pic/10.png)]](/img/f1/dde2d927d4c5e4692ebcff52e84461.png)
创建 AXI transaction,读32bit数据
create_hw_axi_txn def [get_hw_axis hw_axi_1] -address 80001000 -type read
run_hw_axi abc
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MqvOPG7v-1653306398610)(./pic/11.png)]](/img/a2/b65fc798b94a91f708e2bd974819c2.png)
AXI4读写
本次设计中采用AXI4-Lite协议,当选择AXI4协议时,读写指令如下:
写操作
往64bit地址,写入128bit数据。
create_hw_axi_txn wr_txn64 [get_hw_axis hw_axi_1] -address 0000000000000000 -data
{11111111_22222222_33333333_44444444_55555555_66666666_77777777_88888888} -len
8-size 32 -type write
读操作
从64bit地址,读出128bit数据。
create_hw_axi_txn rd_txn64 [get_hw_axis hw_axi_1] -address 0000000000000000 -len 8
-size 32-type read
边栏推荐
- 极简随机音乐播放器
- (7) Deep and shallow copy
- 遍历未知类型对象属性
- CF894C Marco and GCD Sequence
- C# 实现气泡窗体
- Introduction to the library of C language best practices (Part 2)
- Driver. JS - open source and independent interactive guidance tool library for web novices, powerful and highly customizable
- vs2010未定义的标识符 round
- (十)空指针访问成员函数与this指针注意事项
- FM4057S单节锂电池线性充电芯片的学习
猜你喜欢
![[yuntu Said] chaque système d'affaires réussi ne peut pas être séparé de l'escorte de l'apig](/img/6c/6cb25c6b789dbd4f73ebb7f1922c1c.png)
[yuntu Said] chaque système d'affaires réussi ne peut pas être séparé de l'escorte de l'apig

嵌入式Linux中使用SQLite3数据库

Using SQLite3 database in embedded Linux

C Introduction à la Bibliothèque des meilleures pratiques linguistiques (Partie 2)

Driver.js - 开源无依赖的 web 新手交互引导工具库,功能强大、高度可定制

交出 Firehouse 数据库访问权:推特准备满足马斯克要求

web设计与开发,高效web开发

好文分享|48小时敏捷开发攻略

JS converts timestamp to normal time format

已拿offer,进阶学习
随机推荐
Collected data, must see
聊聊消息中间件(1),AMQP那些事儿
ShaderGraph——302游动的龙
eseses
【必备】,真题解析
(4) Classes and objects (1)
js禁止复制页面内容
SLM4054独立线性锂电池充电器的芯片的学习
Web server development, small company web development
H5 pop up prompt layer - top, bottom, left and right center
Amateurs don't ask for help, drag and drop for 30 seconds to make the cover image
CF894C Marco and GCD Sequence
Lua syntax
(一)预处理总结
(十 一)const修飾成員函數
遍历未知类型对象属性
[limited time], full of dry goods
element弹出框关闭并销毁:清空弹出里的数据缓存(整理)
怎样将PDF作为矢量图插入PPT中
Yet Another Palindrome Partitioning