Presentation is loading. Please wait.

Presentation is loading. Please wait.

SOC Design Lecture 5 AMBA Signals. Youpyo DGU AMBA Bus Types.

Similar presentations


Presentation on theme: "SOC Design Lecture 5 AMBA Signals. Youpyo DGU AMBA Bus Types."— Presentation transcript:

1 SOC Design Lecture 5 AMBA Signals

2 Youpyo Hong @ DGU AMBA Bus Types

3 Youpyo Hong @ DGU Master and Slave Concept A can initiate a data transfer. (Write operation in this case.) B only responses to a A’s request. A is called a master and B is called a slave.

4 Youpyo Hong @ DGU How about read operation? Which one is a master?

5 Youpyo Hong @ DGU Bus Again In such simple case we do not need a bus.

6 Youpyo Hong @ DGU AMBA for Multiple Masters & Slaves AMBA consists of Master, Slave, Arbiter, Mux, and Decoder. HADDR is the address from master to slave. HWDATA is the data from master to slave. HRDATA is the data from slave to master.

7 Youpyo Hong @ DGU Number of Cases about BUS Single Master, Single Slave Multi Master, Single Slave Single Master, Multi Slave Multi Master, Multi Slave The Simplest BUS is the 1 st Case The last case should be a combination of 2 nd & 3 rd case.

8 Youpyo Hong @ DGU Multi Master, Single Slave (MMSS) There’s a Mux. How do we make a “Master Selection” signal?

9 Youpyo Hong @ DGU Arbiter When a master wants to transfer data, it sends a request signal to arbiter. If arbiter grants the request, then the master transfers data.

10 Youpyo Hong @ DGU Single Master, Multi Slave (SMMS) There’s a Mux, but situation is different from MMSS case. How do we make a slave selection signal?

11 Youpyo Hong @ DGU Decoder Slave A & B must have a different address. ex) Slave A : 0x0 ~ 0x3FFF, Slave B : 0x4000 ~ 0x7FFF Decoder decodes an address from master, and make a selection signal.

12 Youpyo Hong @ DGU AMBA for Multiple Masters & Multiple Slaves

13 Youpyo Hong @ DGU AMBA Signals SignalDescription HRESETReset HADDRAddress HWDATAData from master to slave HWRITEWrite Enable HRDATAData from slave to master HREADYIndicates slave is ready HREQUE STx Request from Master number x to Arbiter HGRANTxGrant from Arbiter to Master number x HSELxSection Signal from Decoder to Slave ……

14 Youpyo Hong @ DGU What about human laws? There are millions of laws. Do you have to do all the legal actions everyday? No. You just need to do what you want. Just do not violate the laws. So, if you need a simple job, you can use a few AMBA signals only. Let’s find the “minimal set” of AMBA signal for our goal.

15 Youpyo Hong @ DGU Single Master Single Slave (SM SS)

16 Youpyo Hong @ DGU SM SS Write and Read HCLK HADDR HWRITE HWDATA

17 Youpyo Hong @ DGU HW #2 (Due Next Class) List all possible combinations of timing for “Write” for SM SS situation. Which combinations violate AHB spec.? (Read AMBA Spec. and find out what kind of information is written on timing.) The goal of this HW is to distinguish the coverage of specification and implementation.


Download ppt "SOC Design Lecture 5 AMBA Signals. Youpyo DGU AMBA Bus Types."

Similar presentations


Ads by Google