Giter Club home page Giter Club logo

Comments (4)

andreaskurth avatar andreaskurth commented on May 27, 2024

Hi @tunghoang290780,

Thanks for your question.

axi.core contains an example configuration for axi_intercon_gen. Have you tried that? If yes and it does not work, what errors do you get?

from axi.

tunghoang290780 avatar tunghoang290780 commented on May 27, 2024

Hi @accuminium

I hope my running command is correct ./scripts/axi_intercon_gen.py axi.core I got errors as below (I am using python-3.6.9 and Ubuntu 18.04)

image

from axi.

andreaskurth avatar andreaskurth commented on May 27, 2024

axi.core is the Manifest file for FuseSoC, and it is not intended to be an input file to scripts/axi_intercon_gen.py.

Instead, you need to write a separate file that describes how your interconnect instance should be configured. axi.core contains an example configuration. Based on that example, you could write the following my_xbar.yml file:

vlnv: pulp-platform.org:axi:xbar:0.27.1
parameters:
  masters:
    dma:
      id_width : 1
    ibus:
      id_width : 2
  slaves:
    ram:
      offset : 0
      size: 0x10000000
    gpio:
      offset: 0x91000000
      size: 0x1000
    rom:
      offset : 0xffff0000
      size : 32768

Invoking python3 scripts/axi_intercon_gen.py my_xbar.yml will then create an axi_intercon.v in the current directory, which instantiates axi_xbar as you defined in my_xbar.yml.

from axi.

andreaskurth avatar andreaskurth commented on May 27, 2024

Did this answer your question? If not, please feel free to reopen the issue.

from axi.

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.