Coder Social home page Coder Social logo

michg / cparserlibfirm_riscv32 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.66 MB

Makefile 0.23% C 84.59% C++ 1.45% Shell 0.04% CMake 0.23% Roff 0.19% Objective-C 0.01% Perl 6 1.17% Perl 1.01% Python 11.09%
cparser libfirm riscv32 softfloat picorv32 verilog

cparserlibfirm_riscv32's Introduction

###Using cparser and libfirm to compile the floating math-library from https://github.com/f32c/f32c/tree/master/src/lib/src for rv32im and rv32imf and run it (rv32im) on picorv32 (https://github.com/cliffordwolf/picorv32) with iverilog (https://github.com/steveicarus/iverilog) and and rv32imf on pulpino (https://github.com/pulp-platform/riscv) verilator (https://www.veripool.org/wiki/verilator) .

#####Compilation of binutils, cparser, libfirm:

make

To try rv32im:

cd samples/es

make -r -f makerv32im

For running it on picorv32(python3 and iverilog installation required): first build the simulation:

./buildsim.sh

then run it:

./simv

To try rv32imf:

cd samples/es

make -r -f makerv32imf

For running it on pulpino(verilator installation required): first build the simulation:

cd samples/es/verilator-model

make

then run it:

./testbench ../result_rv32imf/firmware.bin

cparserlibfirm_riscv32's People

Contributors

michg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.