6 add binary reader for cycle accurate simulator (#10) #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Workflow executing VTA simulator and perform basic tests | |
| name: Standalone VTA CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| functional-simutator-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-activate-base: false | |
| environment-file: environment_setup/standalone-vta.yml | |
| activate-environment: standalone-vta | |
| - name: Build Lenet5 instructions and data | |
| run: make lenet5 | |
| - name: Display compiler results | |
| run: cat compiler_output/prompt_data.txt | |
| - name: Display simulator results | |
| run: cat simulators_output/fsim_report.txt | |
| cycle-accurate-simulator-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 8 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Setup Z3 | |
| id: z3 | |
| uses: cda-tum/setup-z3@v1 | |
| - name: Run tests | |
| run: | | |
| cd simulators/cycle_accurate_simulator | |
| sbt test |