-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw: Improve performance counters for bring-up (#155)
Co-authored-by: Milos Hirsl <[email protected]> Co-authored-by: Luca Colagrande <[email protected]>
- Loading branch information
1 parent
752785d
commit 42d430d
Showing
18 changed files
with
2,302 additions
and
18,049 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,6 @@ jobs: | |
with: | ||
paths: | | ||
./hw | ||
exclude_paths: | | ||
./hw/future/test | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
fail_on_error: true | ||
reviewdog_reporter: github-check | ||
|
@@ -39,22 +37,34 @@ jobs: | |
uses: pulp-platform/pulp-actions/[email protected] | ||
|
||
###################### | ||
# Opcodes Up-to-Date # | ||
# Sources Up-to-Date # | ||
###################### | ||
check-opcodes: | ||
name: Check Opcodes Up-to-Date | ||
runs-on: ubuntu-latest | ||
sources-up-to-date: | ||
name: Check Sources Up-to-Date | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/pulp-platform/snitch_cluster:main | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Update opcodes and diff | ||
- name: Generate opcodes | ||
run: | | ||
./util/generate-opcodes.sh | ||
- name: Generate RTL sources | ||
working-directory: target/snitch_cluster | ||
run: | | ||
make rtl | ||
# For some reason, the checkout is done by a different user, | ||
# than that running `git diff` (root, possibly due to Docker). | ||
# So we need to set the repository as a safe directory. | ||
- name: Git config safe.directory | ||
run: | | ||
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
- name: Diff porcelain | ||
uses: mmontes11/[email protected] | ||
with: | ||
message: Found differences, please update all opcode | ||
message: Found differences, please update all sources | ||
|
||
################# | ||
# Check License # | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.