rtl: fix vendored whitespace lint #356
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
| # Copyright (c) 2025 ETH Zurich and University of Bologna. | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # Author: Philippe Sauter <phsauter@iis.ee.ethz.ch> | |
| name: Short Flow | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| simulation: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository (with submodules) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Free disk space | |
| uses: ./.github/actions/free-space | |
| - name: Run helloworld simulation in OSEDA | |
| uses: ./.github/actions/oseda-cmd | |
| with: | |
| cmd: "make -C sw && cd verilator && ./run_verilator.sh --build --run ../sw/bin/helloworld.hex" | |
| - name: Upload built software | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: croc-sw | |
| path: sw/bin | |
| - name: Upload simulation output | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: simulation-output | |
| path: | | |
| verilator/croc.fst | |
| verilator/croc.log | |
| continue-on-error: true | |
| - name: Check simulation output | |
| shell: bash | |
| run: .github/scripts/check_sim.sh verilator/croc.log | |
| - name: Run unit tests in OSEDA | |
| uses: ./.github/actions/oseda-cmd | |
| with: | |
| cmd: "cd verilator && ../.github/scripts/run_tests.sh" | |
| - name: Upload test logs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-logs | |
| path: verilator/test_*.log | |
| continue-on-error: true | |
| synthesis: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository (with submodules) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Free disk space | |
| uses: ./.github/actions/free-space | |
| - name: Setup OSEDA container | |
| uses: ./.github/actions/oseda-cmd | |
| with: | |
| cmd: "cd yosys && ./run_synthesis.sh --synth && tail -n 40 reports/*area.rpt" | |
| - name: Upload synthesis outputs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: croc-synth-reports | |
| path: | | |
| yosys/reports | |
| yosys/out | |
| continue-on-error: true | |