Giter Site home page Giter Site logo

trellixvulnteam / aos-risc-v_ugqg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yonghaekim/aos-risc-v

0.0 0.0 0.0 56.67 MB

Shell 0.07% Ruby 0.01% C++ 1.60% Python 0.17% Perl 0.04% C 42.58% Scala 5.74% Tcl 0.18% VHDL 0.05% Verilog 46.70% Assembly 0.15% Forth 0.02% TeX 0.01% SystemVerilog 2.32% Stata 0.04% Makefile 0.21% HTML 0.10% CMake 0.01% Batchfile 0.01% Jupyter Notebook 0.01%

aos-risc-v_ugqg's Introduction

AOS-RISC-V

Initial Setup/Installation for FireSim

Please refer to the FireSim documentation.

Setting up the FireSim Repo

When you set up a manager instance during the initial setup process, check out a specific tag, 1.13.6.

git clone https://github.com/firesim/firesim.git
cd firesim
git checkout 1.36.6 # command to check out a specific tag
./build-setup.sh fast

Replacing the Existing "generator" Directory.

git clone https://github.com/yonghaekim/AOS-RISC-V.git
rm -rf ~/firesim/generator
cp -rf ./AOS-RISC-V/generator ~/firesim/

Building a New HW Design for AOS-RISC-V

  1. In ~/firesim/deploy/config_build.ini,
  • Under [afibuild], add a bucket name:
s3bucketname=firesim-aos
  • Under [builds], add a build recipe name (comment out other things).
firesim-boom-singlecore-no-nic-l2-llc4mb-ddr3-aos
  • Undr [agfistoshare], add a agfi name (comment out other things).
firesim-boom-singlecore-no-nic-l2-llc4mb-ddr3-aos
  1. In ~/firesim/deploy/config_build_recipes.ini,
  • Add a build recipe.
[firesim-boom-singlecore-no-nic-l2-llc4mb-ddr3-aos]
DESIGN=FireSim
TARGET_CONFIG=DDR3FRFCFSLLC4MB_FireSimLargeBoomConfig
PLATFORM_CONFIG=F75MHz_BaseF1Config
instancetype=f1.2xlarge
deploytriplet=None
  1. Build a new HW design (This will take a long time, ~10 hours).
firesim buildafi

After completed, you will get a new agfi number for your new HW design.
Refer to the documentation for more details.

Running FireSim Simulations with AOS-RISC-V

  1. In ~/firesim/deploy/config_runtime.ini,
  • Change the default HW config.
defaulthwconfig=firesim-boom-singlecore-no-nic-l2-llc4mb-ddr3-aos
  1. In ~/firesim/deploy/config_hwdb.ini,
  • Add a new HW database.
[firesim-boom-singlecore-no-nic-l2-llc4mb-ddr3-aos]
agfi=agfi-062b20613c52a2313 # replace with your agfi after HW build completes
deploytripletoverride=None
customruntimeconfig=None
  1. Launch FPGA instance(s) following the documentation.

  2. Run binaries!

aos-risc-v_ugqg's People

Contributors

trellixvulnteam avatar yonghaekim 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.