This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what is difference between ahb/ahb-lite master side and slave side?

Note: This was originally posted on 6th April 2012 at http://forums.arm.com

Hi


I am learning about AMBA bus. Using my knowlege from the learning wih tool, I have a question. I tried to connect AHB master Port to AHB slave Port. But I couldn't. I tried to know what's the problem. Finally I found that AHB Port have a attribute, which I shoud consider when I use AHB, about side. For example, If AHB Master Port is in Master side, it should be connected to AHB slave Port in Master side. If AHB Master Port is in Slave side, it should be connected to AHB slave Port in Slave side.

Why did ARM divide AHB to two side?

And is there any way to connect two side in different side?

Thanks in advance.

Regard,
Kyungmok

Parents
  • Note: This was originally posted on 9th April 2012 at http://forums.arm.com

    One thing I found that helps when learning is that you can view it like a electrical plug and socket - masters have "pins", slaves have "holes". A master fits into a slave, but not a another master, etc.

    The second thing to note is that you don't plug two components like a CPU and a RAM together directly - you plug the CPU into the AMBA bus and the RAM into the AMBA bus. So AMBA exposes "holes" (a slave port) for the pins (master port) which the CPU exposes, and "pins" (a master port) for the holes (slave port) which the RAM exposes).

    [color=#222222][size=2]
    Why did ARM divide AHB to two side?
    [/size][/color]
    [color=#222222][size=2]
    [/size][/color]
    [color=#222222][size=2]Because they are different. A master generates transactions, a slave responds to transactions generated by masters.[/size][/color]
Reply
  • Note: This was originally posted on 9th April 2012 at http://forums.arm.com

    One thing I found that helps when learning is that you can view it like a electrical plug and socket - masters have "pins", slaves have "holes". A master fits into a slave, but not a another master, etc.

    The second thing to note is that you don't plug two components like a CPU and a RAM together directly - you plug the CPU into the AMBA bus and the RAM into the AMBA bus. So AMBA exposes "holes" (a slave port) for the pins (master port) which the CPU exposes, and "pins" (a master port) for the holes (slave port) which the RAM exposes).

    [color=#222222][size=2]
    Why did ARM divide AHB to two side?
    [/size][/color]
    [color=#222222][size=2]
    [/size][/color]
    [color=#222222][size=2]Because they are different. A master generates transactions, a slave responds to transactions generated by masters.[/size][/color]
Children
No data