diff --git a/.gitignore b/.gitignore index 4bfd202..4dd3695 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ riscv-sodor* tmp* .bsp/ .scala-build/ + +hw2.zip diff --git a/scripts/make_submission.sh b/scripts/make_submission.sh new file mode 100755 index 0000000..acd857e --- /dev/null +++ b/scripts/make_submission.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Clears the previous submissions. +rm -rf hw2.zip + +# Creates new submissions. +zip hw2.zip -j hazardflow-designs/src/cpu/fetch.rs hazardflow-designs/src/cpu/decode.rs hazardflow-designs/src/cpu/exe.rs hazardflow-designs/src/cpu/branch_predictor/bht.rs hazardflow-designs/src/cpu/branch_predictor/btb.rs