



免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AMBA APB Summary1. AMBA APB2/APB3/APB4区别1) APB2: basic timing and function2) Compare to APB2, APB3 adds:PREADY: wait states, to extend an APB transferPSLVERR: to indicate the failure of a transfer(, cannot write data or no valid read data, not necessary)3) Compare to APB3, APB4 adds:PPROT2:0: protection typePSTRB3:0: write strobe, indicate which byte contains valid wdata(must be driven all low when read transfer)2. AMBA APB2/APB3/APB4共同点1) The basic timing is based on APB2, when PREADY is tied HIGH, APB3/APB4 becomes APB2, and APB2 slave can connect directly to APB3/APB4 without change.AMBA 2.0 APB1. Operating status*SETUP & ENABLE state both only last for one cycle, that is each transfer last only two cycles2. basic timing*PSELxx, PADDR, PWDATA, PWRITE must keep constant during the transfer change from SETUP to ENABLE state*PRDATA just need to provide valid data at the last cycle for transfer.3. APB Bridge*function: converts system bus transfers into APB transfers and performs the following functionsLatchs the address and holds it valid throughout the transferDecode the address and generate PSELxDrives the data onto the APB for a write transferDrives the APB data onto the system bus for a read transferGenerate PENABLE for the transfer4. AHB to APB Timinga) write transferb) read transferc) notes*write transfer need two cycles to load the first address, but read just need one. The reason is write transfer need one cycle two send wdata after address, while APB bridge need load address & wdata simultaneously, so it has to wait the wdata loaded, thus need two cycles to load first addr; read transfer doesnt need data, it just need to load addr, so one cycle is enough.*the above transfer timing is the situation that has the fastest transfer type as each transfer need two cycles without IDLE, addr2 is registered in advance, this is realized by using two register and AHB & APB has the same clock. In reality, APB may not have same clock as AHB, and we may need a fifo(or something) with greater depth to register the untreated address.AMBA 3.0 APB1. Operating status*the transfer is similar to APB2, the difference is the ACCESS state may not last only one cycle with the PREADY, when PREADY=LOW, it extend the transfer*Timing*the PSEL, PWRITE, PADDR, PWDATA must keep constant during the whole transfer, while PRDATA just need to be valid when the PREADY/PSEL/PENABLE are all HIGH2. PREADYDuring the ACCESS state, when PREADY=LOW, it extend the transfer until PREADY=HIGH, the ACCESS state can last more than one cycle.PREADY can take any value when PENABLE=LOW, this make is easy for a APB2 slave connect APB3 Bridge directly through tie PREADY=HIGH3. PSLEVRR MappingPSLEVRR is only considered valid during the last cycle of transfer, that is when PREADY/PSEL/PENABLE are all HIGHFrom AXI to APB mapping: RRESP/BRESP = SLVERR, mapping PSLEVRR to RRESP1 for reads and BRESP1 for writeFrom AHB to APB mapping: HRESP = ERROR, mapping PSLEVRR to HRESP0AMBA4.0 APB1. Operating statusSame as APB32. PPROT2:0Protection typePPROT0: 0 normal access 1 privileged accessPPROT1: 0 secure access 1 non-secure accessPPROT2: 0 data access 1 instruction access3. PSTRB3:0Write strobe signal, enable Sparse data transfer. Each bit correspond to one byte of the wdata bus, when PSTRBn = HIGH, it indicate the byte data contains valid information.For read transfer, the bus master must drive all bits of PSTRB LOW !4. signalssignalsourcesignalSourcePCLKClock sourcePPROTSystem bus equivalentPRESETnSystem
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 安丘市2025-2026学年七年级上学期语文期中测试试卷
- 安徽省池州市石台县2024-2025学年高三上学期第一次月考语文考点及答案
- DB21-T 2567-2025 工业锅炉 效率测试技术
- 2024-2025学年河南省新乡市高新区人教PEP版(2024)三年级下册期末测试英语试卷(含答案)
- 宾馆转让合同范本
- 缠绕膜合同范本
- 社区政治基础知识培训课件
- 私人聘请员工合同范本
- 承包田亩合同范本
- 网围栏采购合同范本
- 货运平台代扣代缴协议书
- 日本所有番号分类
- T/CATCM 026-2023中药液体废弃物循环利用指导原则
- 过程稽核培训
- (高清版)DG∕TJ 08-7-2021 建筑工程交通设计及停车库(场)设置标准
- 2025景观园林设计合同
- 国际压力性损伤-溃疡预防和治疗临床指南(2025年版)解读课件
- 人教九年级英语上册Unit 7《单元写作》课件
- 种植土外购合同协议
- 乡村青年新主播直播实训营招募
- ZYJ电液转辙机检修测试信号基础设备课件
评论
0/150
提交评论