forked from The-OpenROAD-Project/OpenROAD-flow-scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into HEAD
- Loading branch information
Showing
201 changed files
with
16,022 additions
and
13,152 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
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 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 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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Create draft PR for updated rules | ||
on: | ||
repository_dispatch: | ||
types: | ||
- set-new-golden | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Check out repository code recursively | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install Python Packages | ||
run: | | ||
pip install firebase-admin | ||
- name: Execute Python Script Update | ||
env: | ||
CREDS_FILE: ${{ secrets.CREDS_FILE }} | ||
API_BASE_URL: ${{ secrets.API_BASE_URL }} | ||
run: | | ||
echo ${{ github.event_name }} | ||
echo ${{ github.event.client_payload.type }} | ||
if [[ "${{ github.event_name }}" == "repository_dispatch" && "${{ github.event.client_payload.type }}" == "overwrite" ]]; then | ||
python flow/util/updateRules.py --keyFile "${CREDS_FILE}" --apiURL ${API_BASE_URL} --overwrite | ||
else | ||
python flow/util/updateRules.py --keyFile "${CREDS_FILE}" --apiURL ${API_BASE_URL} | ||
fi | ||
- name: Push updated rules | ||
id: remote-update | ||
run: | | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "has_update=true" >> "$GITHUB_OUTPUT" | ||
else | ||
echo "has_update=false" >> "$GITHUB_OUTPUT" | ||
fi | ||
git add . | ||
git commit -m "flow: update rules based on new golden reference" | ||
- if: "steps.remote-update.outputs.has_update == 'true'" | ||
name: Create Draft PR | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ github.token }} | ||
signoff: true | ||
delete-branch: true | ||
title: "[BOT] Update rules" | ||
reviewers: | | ||
vvbandeira | ||
maliberty | ||
draft: true | ||
branch: bot-update-rules | ||
commit-message: | | ||
[BOT] Update rules |
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 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 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 |
---|---|---|
|
@@ -111,7 +111,7 @@ | |
}, | ||
{ | ||
"name": "Email", | ||
"url": "mailto:openroad@eng.ucsd.edu", | ||
"url": "mailto:[email protected]", | ||
"icon": "fa-solid fa-envelope", | ||
}, | ||
{ | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -244,7 +244,7 @@ We maintain the following channels for communication: | |
- OpenROAD with OpenROAD Flow Scripts: <https://github.com/The-OpenROAD-Project/OpenROAD/issues/> | ||
- Discussions: | ||
- OpenROAD Flow: <https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/discussions> | ||
- Inquiries: openroad@eng.ucsd.edu | ||
- Inquiries: [email protected] | ||
|
||
See also our [FAQs](user/FAQS.md). | ||
|
||
|
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 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 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 |
---|---|---|
@@ -1,4 +1,62 @@ | ||
```{include} ../../flow/util/README.md | ||
Building example design using Docker image | ||
========================================== | ||
|
||
The `docker_shell` script is used as a prefix to launch a command using a OpenROAD docker image. | ||
|
||
Also, the current working directory is mapped into the Docker image using the current user's credentials. | ||
|
||
Build docker image | ||
------------------ | ||
|
||
First build the docker image: | ||
|
||
``` | ||
cd OpenROAD-flow-scripts | ||
./build_openroad.sh | ||
``` | ||
|
||
Build an example design and run the GUI: | ||
|
||
``` | ||
cd flow | ||
util/docker_shell make | ||
util/docker_shell make gui_final | ||
``` | ||
|
||
You can also launch an interactive bash session: | ||
|
||
``` | ||
util/docker_shell bash | ||
``` | ||
|
||
If you need to use a different Docker image than default, override by using the `docker_shell_IMAGE` | ||
environment variable: | ||
|
||
``` | ||
OR_IMAGE=openroad/flow-centos7-builder:v1234 util/docker_shell make | ||
``` | ||
|
||
If you have built your OpenROAD Docker image using prebuilt binaries, | ||
you might want to source custom paths for your modules as follows. | ||
|
||
``` | ||
OR_IMAGE=openroad_prebuilt_image YOSYS_CMD=/oss-cad-suite/bin/yosys util/docker_shell make | ||
``` | ||
|
||
Using `docker_shell` from outside of `OpenROAD-flow-scripts/flow` folder | ||
------------------------------------------------------------------------ | ||
|
||
If you have designs you are keeping in a git source repository that is not | ||
a fork of the OpenROAD-flow-scripts git repository, you can still use | ||
the `docker_shell` script. | ||
|
||
Two ways to use `docker_shell` | ||
|
||
1. Simply invoke it from the ORFS location. | ||
2. Copy the script into your source folder. This would allow you | ||
to build and publish a Docker image to a private Docker repository | ||
and lock the ORFS version to the version of your source code. This | ||
gives you a way to deploy updates of ORFS | ||
easily, publish a new Docker image, modify the copy of `docker_shell` | ||
and create a pull request to possibly test your upgrade on your private | ||
build serves. |
Oops, something went wrong.