Giter Site home page Giter Site logo

riazcseiu / chisel-minicpu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from i4kimura/chisel-minicpu

0.0 1.0 0.0 756 KB

Makefile 0.99% Scala 39.28% Ruby 0.28% Assembly 19.36% C 30.70% Objective-C 2.07% Perl 1.38% M4 0.02% Python 5.64% Verilog 0.17% Tcl 0.12%

chisel-minicpu's Introduction

Chisel-MiniCPU

Mini CPU written by completely Chisel.

Description

Chisel MiniCPU is written by Chisel and not use Verilog. Completely simulatable by Scala environment.

Requirement

Linux

Chisel-MiniCPU is tested on Ubuntu 18.04 LTS.

RISC-V Tools

riscv-tests repository is used to run regression test using Chisel-MiniCPU. It is recommended to install riscv-tools and $RISCV environment variable should be set.

Usage

git clone https://github.com/msyksphinz/chisel-minicpu.git
cd chisel-minicpu
cd tests/riscv-tests/isa
make  # Generate hex test file.
cd ../../../../
ruby ./gen_test_class.rb
make regression

pipetrace.[test pattern].log is generated and can be confirm pipeline behavior.

pipetrace.rv64ui_p_add.log result

make test_run_rv64ui_p_add
  • pipetrace.rv64ui_p_add.log
spike-dasm <  pipetrace.rv64ui_p_add.log  > pipetrace.rv64ui_p_add.dasm.log
less pipetrace.rv64ui_p_add.dasm.log

Contribution

Author

msyksphinz

Email : [email protected]

chisel-minicpu's People

Contributors

i4kimura avatar

Watchers

James Cloos 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.