본문 바로가기
인터페이스/AMBA 인터페이스

[SoC] AMBA APB 인터페이스란? (Signal)

by RTLog 2024. 4. 8.
728x90
반응형

안녕하세요. RTLog입니다. 

 

지난 포스트에 이어, AHB 인터페이스의 Signal들을 정리해보려고 합니다. 

2024.03.30 - [인터페이스/AMBA 인터페이스] - [SoC] AMBA AHB 인터페이스란? (Overview)

 

[SoC] AMBA AHB 인터페이스란? (Overview)

안녕하세요. RTLog입니다. AMBA APB에 이어서, AHB 스펙 문서(아래 링크)를 읽고, 정리하는 포스트를 작성해보려고 합니다. https://developer.arm.com/documentation/ihi0033/c/?lang=en Documentation – Arm Developer developer

rtlog.tistory.com

AHB(Advanced High-performance Bus)

Signals

신호를 크게 Master(Manager), Slave(Subordinate), Interconnect(Decoder, Multiplexer) 파트로 나누어 작성해보겠습니다. AHB는 "H*" 형태로 신호가 네이밍되었습니다. 

 

Master(Manager)

Master Signals

SIGANL_NAME BIT_WIDTH DESCRIPTION
HADDR ADDR_WIDTH
(10~64bit)
Byte Address
HBURST HBURST_WIDTH [0(no burst) or 3(support burst)] Burst Type Configuration [Length + Mode(Increment or Wrapping)] 설정
HMASTLOCK 1 Indicates that the current transfer is part of a locked sequence
SWAP Instruction과 같이 Read/Write Transfer를 방해받지 않아야 하는 경우 사용
HPROT HPROT_WIDTH
(0 or 4 or 7)
Protection control signal, which provides information about the access type
접근 권한 제한 영역, Data vs Instruction 영역, Memory Type에 따른 접근 제한/보호
HSIZE 3  Indicates the size of the transfer.(Byte, Halfword, Word, Doubleword, ... )
HTRANS 2 Indicates the transfer type - Transfer 진행상황에 대한 신호
HWDATA DATA_WIDTH
8, 16, 32, 64, 128, 256, 512, or 1024
Write data bit width 
DATA_WIDTH recommend: 32, 64, 128, 256
HWSTRB DATA_WIDTH/8 Write strobes. Data phase signal - APB와 동일
HWRITE 1 When HIGH this signal indicates a write transfer and when LOW a read transfer

 

* AHB5 Secure_Transfers property: HNONSEC

* AHB5 Exclusive_Transfers property: HEXCL, HMASTER

Slave(Subordinate)

Slave Signals

SIGANL_NAME BIT_WIDTH DESCRIPTION
HRDATA DATA_WIDTH
(HWDATA와 동일)
Read Data (Slave  → Multiplexer  → Master)
HREADYOUT 1 Ready for Read transfer  
HRESP 1 Transfer Error Report (0: OKAY, 1: ERROR)

 

* AHB5  Exclusive_Transfers property: HEXOKAY

Interconnect(Decoder, Multiplexer)

Interconnect Signals

SIGANL_NAME BIT_WIDTH DESCRIPTION
Decoder / HSELx 1 Slave Selection Signal
(HSEL_S1, HSEL_S2, ... , HSEL_Memory, ...)
Mux / HRDATA DATA_WIDTH Read Data (Slave  → Multiplexer  → Master)
Mux /  HRESP 1 Transfer Error Report (0: OKAY, 1: ERROR)

 

* AHB5  Exclusive_Transfers property: HEXOKAY

728x90
반응형