Add HMR Unit #84
This file contains 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 2022 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: ci | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
check-stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- name: Install Bender | |
run: make bender | |
- name: Python Requirements | |
run: pip install -r requirements.txt | |
- name: Check clean make targets | |
run: | | |
make -B gen_HMR gen_ecc_registers gen_ECC | |
git status && test -z "$(git status --porcelain)" | |
lint-verilog: | |
runs-on: ubuntu-latest | |
needs: [check-stale] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: chipsalliance/verible-linter-action@main | |
with: | |
paths: | | |
./rtl | |
exclude_paths: | | |
./test | |
./rtl/HMR/regs | |
./rtl/HMR/regs | |
./rtl/ecc_wrap/ecc_manager_reg_pkg.sv | |
./rtl/ecc_wrap/ecc_manager_reg_top.sv | |
./rtl/deprecated | |
extra_args: "--rules=-interface-name-style --lint_fatal --parse_fatal --waiver_files .github/waiver.verible" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reviewdog_reporter: github-check |