OpenCores

Address decoder should gate stb signals, not cyc signals.

Back to bugtracker overview.

Information:
Type :: BUG
Status :: OPENED
Assigned to ::

Description:
According to the Wishbone spec: "A SLAVE shall
respond to other WISHBONE signals only when this [STB_I] is asserted."

Therefore, the bus arbiter should gate the stb_i signals for slave devices to ensure that only the one being addressed responds to the cycle.

The code generated by this script instead gates the cyc_i slave signals. It is therefore incompatible with some Wishbone compliant modules, for example the register banks provided in the Wishbone toolkit package, as these expect the strobe signal to be gated rather than cyc.

I can check in a fix if nobody else is currently working on the module. It is a simple change to the script - instead of assigning the slave_stb_i signals to stb, assign them to stb & slave_ss (where slave_ss is the select signal for that slave device).

There may be a little more to it to ensure this works with all the supported bus topologies.

Regards,
Richard Walker.

Comments:
No comments yet...

Post a comment:
Login to post comments!

Back to bugtracker overview.

© copyright 1999-2012 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.