Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

wishbone - avalon

Altera_Forum
Honored Contributor II
1,255 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
333 Views

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
0 Kudos
Reply