GithubHelp home page GithubHelp logo

kactus2 / pulpinoexperiment Goto Github PK

View Code? Open in Web Editor NEW
10.0 7.0 3.0 1.08 MB

IP-XACT packaging of Pulpino by pulp-platform.org: https://github.com/pulp-platform/pulpino

License: Other

SystemVerilog 10.40% Verilog 87.79% HTML 0.49% C 0.65% Coq 0.67%
pulpino risc-v ip-xact example-project

pulpinoexperiment's Introduction

pulpinoexperiment

An experimental repository containing IP-XACT packaging of PULPino RISC-V microcontroller by pulp-project.org: https://github.com/pulp-platform/pulpino

Based on PULPino release in August 2017.

Setup

Update submodule pulpino:

git submodule init
git submodule update

Update all pulpino IPs, see README.md in pulpino for full instructions:

cd pulpino
./update-ips.py

Directories

  • ip-xact: IP-XACT description files
  • pulpino: Submodule directory for original PULPino implementation
  • rtl: RTL implementation files for glue logic and wrappers

Notes on packaging

The following lists problems faced in the design in IP-XACT point of view:

  • top.sv, peripherals.sv:
    • gpio_padcfg is 2-dimensional([6][32]) - Can't be used in bus definition
    • Left as ad-hoc port
  • axi_node_intf_wrap.sv:
    • a vector of buses declared - Cant' be expressed in bus interfaces
    • Within the project the number of interfaces is always a constant
    • Created a new wrapper with bare ports and a set number of interfaces
  • riscv-core.sv:
    • Parameter N_EXT_PERF_COUNTERS = 0 => signal ext_perf_counters_i boundaries are [-1:0] - IP-XACT port boundaries must be positive
    • Set default value to 1 which sets signal width to 1, not connected
  • zero-riscy-core: zeroriscy_cs_registers
    • Parameter N_EXT_CNT = 0 => signal ext_counters_i boundaries are [-1:0]
    • Set default value to 1 which sets signal width to 1, not connected
  • ifdefs
    • To be replaced with design configurations and isPresent attribute
  • generate loops - IP-XACT cannot express n instances
    • Replaced with static number of instances
  • hierarchical modules with additional logic, usually muxes -- Split stray(glue) logic into new components in directory rtl

New RTL components split from stray logic in hierarchical files:

  • core_region_demux
  • csr_logic
  • csr_mux
  • mux_mem
  • spi_master_fsm
  • uart_registers
  • zero_riscy_registers

pulpinoexperiment's People

Contributors

artoinoin avatar epekkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pulpinoexperiment's Issues

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.