Skip to content

Commit a21cb9b

Browse files
authored
Merge pull request #13 from FondazioneChipsIT/pr/plic-lib
[SW] Add rv_plic header file for Cheshire PLIC
2 parents ff58f4b + b50b89c commit a21cb9b

10 files changed

Lines changed: 806 additions & 410 deletions

File tree

.clang-format

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
IndentWidth: 4
2+
ColumnLimit: 100
3+
AlignEscapedNewlines: DontAlign
4+
SortIncludes: false
5+
AllowShortFunctionsOnASingleLine: None
6+
AllowShortIfStatementsOnASingleLine: true
7+
AllowShortLoopsOnASingleLine: true

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cache: pip
3131
-
3232
name: Install Python requirements
33-
run: pip install -r requirements.txt
33+
run: PIP_CONSTRAINT=constraints.txt pip install -r requirements.txt
3434
-
3535
name: Install RISC-V GCC toolchain
3636
uses: pulp-platform/pulp-actions/riscv-gcc-install@v2.4.1

.github/workflows/lint.yml

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: pulp-platform/pulp-actions/lint-license@v2.4.1
2222
with:
2323
license: |
24-
Copyright (\d{4}(-\d{4})?\s)?(ETH Zurich and University of Bologna|lowRISC contributors).
24+
Copyright (\d{4}(-\d{4})?\s)?(ETH Zurich and University of Bologna|Fondazione Chips-IT|lowRISC contributors).
2525
(Solderpad Hardware License, Version 0.51|Licensed under the Apache License, Version 2.0), see LICENSE for details.
2626
SPDX-License-Identifier: (SHL-0.51|Apache-2.0)
2727
# Exclude generated headers (no license checker support for optional lines)
@@ -57,35 +57,25 @@ jobs:
5757
with:
5858
extensions: 'c,h,cpp'
5959
clangFormatVersion: 14
60-
style: >
61-
{
62-
IndentWidth: 4,
63-
ColumnLimit: 100,
64-
AlignEscapedNewlines: DontAlign,
65-
SortIncludes: false,
66-
AllowShortFunctionsOnASingleLine: None,
67-
AllowShortIfStatementsOnASingleLine: true,
68-
AllowShortLoopsOnASingleLine: true
69-
}
7060
exclude: |
7161
./sw/include/regs/*.h
7262
./target/sim/src/elfloader.cpp
7363
74-
lint-tcl:
75-
runs-on: ubuntu-latest
76-
steps:
77-
-
78-
name: Checkout
79-
uses: actions/checkout@v3
80-
-
81-
name: Install Python
82-
uses: actions/setup-python@v5
83-
with:
84-
python-version: 3.9
85-
cache: pip
86-
-
87-
name: Install Python requirements
88-
run: pip install -r requirements.txt
89-
-
90-
name: Run Tcllint
91-
run: tclint . --style-spaces-in-braces --style-line-length 100
64+
# lint-tcl:
65+
# runs-on: ubuntu-latest
66+
# steps:
67+
# -
68+
# name: Checkout
69+
# uses: actions/checkout@v3
70+
# -
71+
# name: Install Python
72+
# uses: actions/setup-python@v5
73+
# with:
74+
# python-version: 3.9
75+
# cache: pip
76+
# -
77+
# name: Install Python requirements
78+
# run: pip install -r requirements.txt
79+
# -
80+
# name: Run Tcllint
81+
# run: tclint . --style-spaces-in-braces --style-line-length 100

constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setuptools<82

sw/deps/cva6-sdk

0 commit comments

Comments
 (0)