Fix bad connections to dead_response_fifo for hidestrb case #47
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 2024 ETH Zurich and University of Bologna. | |
| # Solderpad Hardware License, Version 0.51, see LICENSE for details. | |
| # SPDX-License-Identifier: SHL-0.51 | |
| # Author: Michael Rogenmoser <michaero@iis.ee.ethz.ch> | |
| name: lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| lint-verilog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: chipsalliance/verible-linter-action@main | |
| with: | |
| paths: | | |
| ./src | |
| ./test | |
| exclude_paths: | |
| extra_args: "--rules=-interface-name-style --lint_fatal --parse_fatal" | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| reviewdog_reporter: github-check | |
| lint-sv-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Install Bender | |
| uses: pulp-platform/pulp-actions/bender-install@v2 | |
| with: | |
| version: 0.28.2 | |
| - name: Get files | |
| run: | | |
| bender_files=$(bender script flist -n -t test -t memory_island_standalone_synth) | |
| bender_files=$(echo $bender_files | tr '\n' ' ') | |
| echo $bender_files | |
| echo "BENDER_FILES=$bender_files" >> $GITHUB_ENV | |
| - name: Print fix | |
| run: | | |
| echo "Fix with \`make format\`" | |
| - name: Run Verible formatter action | |
| uses: chipsalliance/verible-formatter-action@main | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| files: | |
| $BENDER_FILES | |
| parameters: | |
| --flagfile .verilog_format | |
| fail_on_formatting_suggestions: true |