diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f4e64f9..3655c42 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - run: brew install yosys - run: ./flow.sh syn - WBA-testsuite: + WBA-Testsuite: runs-on: macos-latest steps: - uses: actions/checkout@v2 @@ -27,6 +27,20 @@ jobs: - run: ./flow.sh sim wba-testsuite core verilator - run: ./flow.sh sim wba-testsuite platform icarus - run: ./flow.sh sim wba-testsuite platform verilator + Privilege-Security-Testsuite: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - run: brew install icarus-verilog + - run: iverilog -V + - run: brew install verilator + - run: verilator -V + - run: brew install md5sha1sum + - run: git submodule update --init --recursive + - run: ./flow.sh sim priv_sec-testsuite core icarus + - run: ./flow.sh sim priv_sec-testsuite core verilator + - run: ./flow.sh sim priv_sec-testsuite platform icarus + - run: ./flow.sh sim priv_sec-testsuite platform verilator RISCV-Compliance: runs-on: macos-latest steps: @@ -41,7 +55,7 @@ jobs: - run: ./flow.sh sim riscv-testsuite core verilator - run: ./flow.sh sim riscv-testsuite platform icarus - run: ./flow.sh sim riscv-testsuite platform verilator - C-testsuite: + C-Testsuite: runs-on: macos-latest steps: - uses: actions/checkout@v2 @@ -55,7 +69,7 @@ jobs: - run: ./flow.sh sim c-testsuite core verilator - run: ./flow.sh sim c-testsuite platform icarus - run: ./flow.sh sim c-testsuite - SV-testsuite: + SV-Testsuite: runs-on: macos-latest steps: - uses: actions/checkout@v2 diff --git a/flow.sh b/flow.sh index b176a14..112fc88 100755 --- a/flow.sh +++ b/flow.sh @@ -233,6 +233,13 @@ main() { run_sims "$TB" "$SIMULATOR" fi + if [ "$2" == "priv_sec-testsuite" ] || [ "$2" == "all" ]; then + echo "" + printinfo "Start Privilege/Security Simulation flow" + cd "${FRISCV_DIR}/test/priv_sec_testsuite" + run_sims "$TB" "$SIMULATOR" + fi + if [ "$2" == "sv-testsuite" ] || [ "$2" == "all" ]; then echo "" printinfo "Start SV Simulation flow"