scripts to compile and run experiments

This commit is contained in:
Richard Yan
2025-01-30 02:54:57 -08:00
parent 6efb3fe05d
commit 078a38a906
5 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -e
CURRENT_DIR="${PWD##*/}"
if [[ "$CURRENT_DIR" != "vcs" ]]; then
echo "Error: This script must be run from chipyard/sims/vcs."
exit 1
fi
source ./scripts/env.sh
echo -e "\nCompiling volta & ampere designs"
make CONFIG=VirgoFP16Config
make CONFIG=VirgoFP16Config debug
echo -e "\nCompiling hopper & virgo designs"
make CONFIG=VirgoHopperConfig
make CONFIG=VirgoHopperConfig debug
echo -e "\nCompilation completed"