Coder Social home page Coder Social logo

Comments (10)

mithro avatar mithro commented on September 21, 2024

+1

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

It’s indeed a good idea - in fact we have already internally planned to add this support in the future. We don’t have, however, any specific roadmap planned for it at the moment.

As a workaround you can always include a Wishbone-to-AXI bridge in your Verilator simulation so that you talk to Renode over the currently supported AXI4-Lite.

from renode.

mithro avatar mithro commented on September 21, 2024

I would say that wishbone is a high priority for me.

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

70ce00f adds Wishbone bus support to Verilator Plugin.

We are currently working on a demo for this feature.

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

We have published a demo of LiteX/VexRiscv platform with verilated LiteUART (using wishbone bus) in Renode: a711027 .

There are also commits adding support for interrupts from the verilated peripheral.

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

We published sources of the demo of LiteX/VexRiscv platform with verilated LiteUART using wishbone bus at https://github.com/antmicro/renode-verilator-integration/tree/master/samples/liteuart.

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

@xobs, @mithro: If you don't have any additional insights/comments, I guess we can close this issue?

from renode.

xobs avatar xobs commented on September 21, 2024

@mateusz-holenko Sorry to be obtuse, but how was top.v generated? Was it built using the Sim platform? What did you do to expose the Wishbone bus out the top? Similar to what I did with spibone (https://github.com/xobs/spibone/blob/master/sim/generate-verilog.py)?

from renode.

mateusz-holenko avatar mateusz-holenko commented on September 21, 2024

@xobs We generated the top.v file using the script from LiteX: https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_gen.py with ./tools/litex_gen.py --with-uart.
It uses the wishbone bus by default, but can be changed to axi as well.

Exposing the bus is done in https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_gen.py#L99, which uses additional functions we've recently added: https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/wishbone.py#L73 and https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/wishbone.py#L80.

from renode.

PiotrZierhoffer avatar PiotrZierhoffer commented on September 21, 2024

I think we can close this one. @xobs if you have any more questions/inquiries about this, please let us know

from renode.

Related Issues (20)

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.