Skip to content
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

Readme and layout png location update. #40

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Docker
The docker image is available
[here](https://hub.docker.com/r/cgra/cgra-flow/tags).

> **Recommended machine configuration**
> * CPU: >= 6 cores
> * Memory: 25~30G
>
> **2x2 tiles run time**: ~ 40 hours (clk_period=1000)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can provide the rough hours for clk_period=100000? And also provide the link/location of the clk_period that user needs to change, i.e., tools/OpenRoad-xxxx.

The constraint and config files only exist in the docker but do not exist in CGRA-Flow repo. We may need to upload them and fix their path in the GUI in the next PRs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, testing the version submodules, will fill run times for each clk period once submodules works.
Yes, will add the both config files.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 1000, 10000, 100000, the 3 configurations are good enough. Thanks!


As CGRA-Flow requires GUI, a script is provided for setting up the display:
```sh
docker pull cgra/cgra-flow:20241028
Expand All @@ -36,7 +42,7 @@ As CGRA-Flow requires GUI, a script is provided for setting up the display:

# Windows Docker customtkinter style UI (Please setup GUI (X-11) first)
# In WSL, execute below script, it will enter container and config x11 DISPLAY automatically
sh ./run_linux_docker.sh
sh ./run_windows_docker.sh

# Don't forget to activate the python virtual environment once you are in the container:
source /WORK_REPO/venv/bin/activate
Expand Down
2 changes: 1 addition & 1 deletion mode_dark_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@ def clickRTL2Layout():
test_platform_name = processOptions.get()
print("Test platform is %s" % (test_platform_name))
orfs_basePath = cgraflow_basepath + "/tools/OpenROAD-flow-scripts/flow/"
layout_path = orfs_basePath + "layout.png"
layout_path = cgraflow_basepath + "/build/" + "layout.png"
odb_path = orfs_basePath + "results/" + test_platform_name + "/" + standard_module_name + "/base/6_final.odb"
cmd_path = orfs_basePath + "cmd.tcl"
verilog_srcfile_path = "designs/src/" + standard_module_name + "/"
Expand Down
15 changes: 0 additions & 15 deletions run_linux_docker.sh

This file was deleted.

File renamed without changes.
Loading