Skip to content

yonghaekim/AOS-RISC-V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published