From 5da3c5cf7a636609298e362c9d37538c90fa2caf Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Thu, 5 Sep 2024 10:06:12 +0900 Subject: [PATCH] Add submission script for hw2 --- .gitignore | 2 ++ scripts/make_submission.sh | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100755 scripts/make_submission.sh 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