-
Notifications
You must be signed in to change notification settings - Fork 0
UART integration #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
07b55f4
Integrating UART into RISC-V core
marwannismail 4cea2fe
UART Cocotb testbench intial work
marwannismail 680b6eb
Removed all simulation commands from UART makefile
marwannismail 533442e
Standalone UART test bench using Cocotb
marwannismail 9bac90d
bump librelane
TheDeepestSpace cecca5a
bump upstream
TheDeepestSpace a24b6dc
agressively fix antenna violations
TheDeepestSpace 4f3bf09
skip dbg_* signals for uart for now
TheDeepestSpace 1fc09c0
bump upstream again
TheDeepestSpace d6340de
ci dbg
TheDeepestSpace 1b55ab6
ci hack
TheDeepestSpace 7d4c8d3
temporarily stop running tests
TheDeepestSpace 043a59e
bump upstream again
TheDeepestSpace 4cd1554
temporarily skip gltest
TheDeepestSpace e15516c
use verilator for cocotb test and bring latest version from oss cad s…
TheDeepestSpace 8ae80e4
bring back dbg_regs for now
TheDeepestSpace b69e833
bump upstream
TheDeepestSpace bac2c79
make tests work
TheDeepestSpace 959cbf6
udpate tests a bit
TheDeepestSpace 48bd0d1
bring back tests in ci
TheDeepestSpace 17d9670
bump upstream
TheDeepestSpace 36a4606
use oss cad suite docker image as base for test workflow + remove icarus
TheDeepestSpace eea9253
fix git missing from oss-cad-suite image
TheDeepestSpace a20109c
use devcontainer as the base imagefor test workflow
TheDeepestSpace d3cab35
fix dispatch for test workflow
TheDeepestSpace 15f63bf
make gds workflow also use devcontainer
TheDeepestSpace 8b294c2
bring back gl test
TheDeepestSpace 36c45a6
stip trying to setup python explicitly in test workflow
TheDeepestSpace 8c4de61
stop using container for gds action
TheDeepestSpace d067cb0
debug: reg file check
TheDeepestSpace cc66b45
attempting to fix missing regfile issue with sv2v
TheDeepestSpace d622073
not using dbg_reg now
RunzeZhu28 0c8a7aa
remove and gitignore venv folder
TheDeepestSpace 14627ec
Fixed inverted reset which was failing past tests (not fault of uart …
Parzival129 efc1c72
update submodule
RunzeZhu28 dcb8fe3
Merge branch 'uart_new' into mi_uart_integration
TheDeepestSpace 7bf7abb
Merge remote-tracking branch 'origin/uart_new' into mi_uart_integration
TheDeepestSpace 5cca0ee
switch back to ssh based submodule
TheDeepestSpace c300508
Merge branch 'main' into mi_uart_integration
TheDeepestSpace 3df07d1
fix gl tests
TheDeepestSpace 412be9d
manual gltest action
TheDeepestSpace 2df1a6b
fixing gl action
TheDeepestSpace File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| name: Docker image build template workflow | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| image-name: | ||
| required: true | ||
| type: string | ||
| dockerfile: | ||
| required: true | ||
| type: string | ||
| tag-prefix: | ||
| required: false | ||
| type: string | ||
| default: "" | ||
| outputs: | ||
| image-tag: | ||
| description: Built image tags | ||
| value: ${{ jobs.build.outputs.image-tag }} | ||
| image-primary-tag: | ||
| description: Primary image tag | ||
| value: ${{ jobs.build.outputs.image-primary-tag }} | ||
|
|
||
| jobs: | ||
| build: | ||
| timeout-minutes: 30 | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| image-tag: ${{ steps.meta.outputs.tags }} | ||
| image-primary-tag: ${{ fromJSON(steps.meta.outputs.json).tags[0] }} | ||
| image-digest: ${{ steps.build.outputs.digest }} | ||
|
|
||
| steps: | ||
| - name: Free up disk space | ||
| run: | | ||
| sudo rm -rf /usr/share/dotnet | ||
| sudo rm -rf /usr/local/lib/android | ||
| sudo rm -rf /opt/ghc | ||
| sudo rm -rf /opt/hostedtoolcache/CodeQL | ||
| sudo apt-get clean | ||
| docker system prune -af --volumes | ||
| echo "Available space after cleanup:" | ||
| df -h | ||
|
|
||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Login to GitHub Container Registry | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Extract metadata | ||
| id: meta | ||
| uses: docker/metadata-action@v5 | ||
| with: | ||
| images: ${{ inputs.image-name }} | ||
| tags: | | ||
| type=ref,event=branch,prefix=${{ inputs.tag-prefix }}branch- | ||
| type=ref,event=pr,prefix=${{ inputs.tag-prefix }}pr- | ||
| type=raw,value=latest,prefix=#${{ inputs.tag-prefix }},enable={{is_default_branch}} | ||
|
|
||
| - name: Build and push Docker image | ||
| id: build | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| file: ${{ inputs.dockerfile }} | ||
| push: true | ||
| tags: ${{ steps.meta.outputs.tags }} | ||
| labels: ${{ steps.meta.outputs.labels }} | ||
| platforms: linux/amd64 | ||
| cache-from: | | ||
| type=gha | ||
| type=registry,ref=${{ inputs.image-name }}:buildcache | ||
| cache-to: | | ||
| type=gha,mode=max | ||
| type=registry,ref=${{ inputs.image-name }}:buildcache,mode=max |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: setup | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| workflow_dispatch: {} | ||
|
|
||
| permissions: | ||
| contents: read | ||
| packages: write | ||
|
|
||
| jobs: | ||
| build_devcontainer_image: | ||
| # do this during a push to a branch (e.g. to main) or on a non-fork PR | ||
| if: > | ||
| github.event_name == 'push' || | ||
| (github.event.pull_request != null && github.event.pull_request.head.repo.full_name == github.repository) | ||
| uses: ./.github/workflows/docker-image.yml | ||
| with: | ||
| image-name: ghcr.io/utoss/risc-v-ttgf-devcontainer | ||
| dockerfile: .devcontainer/Dockerfile | ||
| tag-prefix: "" | ||
| secrets: inherit |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,3 +13,4 @@ test/__pycache__/ | |
| test/results.xml | ||
| test/gate_level_netlist.v | ||
| tt | ||
| .venv/ | ||
Submodule utoss-risc-v
updated
37 files
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not 100% sure we need these, i have not tried running hardening without this after the version bump