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

How to deal with the AHB slave only supporting word access ?

Hi there,

  Here is an AHB slave module which only supports word access (HSIZE[2:0] = 3'b010).

  I plan to put it in a SoC, in which masters and interconnect could  launch byte, half-word and word transcation.

  Till now, I have 2 ideas to deal with that slave module:

  Idea 1 --- Restrict software programming with only word operating instruction

  Idea 2 --- Or, add some hardware logic

               [write access]

                   * buffer byte or half-word from master

                   * halt the bus by deasserting READY signal

                   * Read remained triple bytes or half-word from slave to buffer

                   * Then write back the whole word in buffer to slave, and assert READY signal

               [read access]

                   * Read the whole word from slave in word-align way

                   * Clear unneeded triple bytes or half-word in the whole word

                   * Send the whole word to master

  I want to know if any other better idea for that ?

  Any suggestion is appreciated.

0