GithubHelp home page GithubHelp logo

Comments (3)

piotr-binkowski avatar piotr-binkowski commented on July 25, 2024

Currently changing bus interface from AXI4 to Wishbone requires modifications to DMATop, but once you know where to look its not that hard 🙂
You need to:

  1. Replace AXI4Lite interface with WishboneSlave
  2. Replace AXI4LiteCSR frontend with WishboneCSR

With this it should be possible to attach CSRs to the WIshbone bus inside LiteX.

If you also want to modify either reader or writer part then you will need to replace its interface with WishboneMaster, replace its frontend with appropriate WishboneClassic* frontend and then adjust the configuration ie. Wishbone has no 4K barrier and no maximum burst length

from 2d-gpu.

kabrodzki avatar kabrodzki commented on July 25, 2024

Thanks, I had done what you suggested before, but couldn't figure out why I'm getting exception

[error] (run-main-0) chisel3.internal.ChiselException: Connection between left (DMAController.Bus.WishboneSlave@118) a
nd source (DMAController.Bus.WishboneSlave@91) failed @.err_o: Both Left and Right are drivers

Removing Flipped actually helped. I am going to open a pull request on our fork

from 2d-gpu.

piotr-binkowski avatar piotr-binkowski commented on July 25, 2024

Sorry, I forgot to mention that Wishbone interfaces have associated direction while AXI ones are bidirectional but require Flipped in some cases

from 2d-gpu.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.