Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

wishbone - avalon

Hellu,

I want to interface a master wishbone interface to an avalon interface, can somebody tell me how should I connect the control signals such as

STB,CYC,WE,ACK,RTY ... to an avalon bus ?. I am OK for data , address and clock but not for the rest !.

thank u all. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi gregoryw,

    Avalon read and write signals can be derived from wb cyc, stb, and we.

    Use the (cyc & stb) to qualify the cycle and we to drive either read or write.

    Unless your wb master is the only master for a particular slave, you&#39;ll need

    to add some logic to handle the ACK -- which is basically the opposite of the

    avalon ready ... since you&#39;ll have to wait for the avalon arbiter to grant your

    master access.

    Avalon slaves don&#39;t generate retries ... so you can just negate the RTY signal.

    You should carefully review the Wishbone Bus Specification though. It&#39;s all there

    and you&#39;ll save yourself lots of headaches if you spend a few hours reading it ;-)

    Regards,

    --Scott