scripts to compile and run experiments
This commit is contained in:
19
sims/vcs/scripts/compile_designs.sh
Executable file
19
sims/vcs/scripts/compile_designs.sh
Executable 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"
|
||||
Reference in New Issue
Block a user