diff --git a/README.md b/README.md index 90c6141..13f0be6 100644 --- a/README.md +++ b/README.md @@ -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) + As CGRA-Flow requires GUI, a script is provided for setting up the display: ```sh docker pull cgra/cgra-flow:20241028 @@ -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 diff --git a/mode_dark_light.py b/mode_dark_light.py index 67905e3..8956e9a 100755 --- a/mode_dark_light.py +++ b/mode_dark_light.py @@ -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 + "/" diff --git a/run_linux_docker.sh b/run_linux_docker.sh deleted file mode 100644 index 825e6c0..0000000 --- a/run_linux_docker.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -IMAGE=cgra/cgra-flow:20241028 - -CONTAINER=CGRA-Flow-OpenRoad - -XSOCK=/tmp/.X11-unix - -sudo docker run \ - -it \ - --name=$CONTAINER \ - -v $XSOCK:$XSOCK:rw \ - -e DISPLAY=unix$DISPLAY \ - $IMAGE - diff --git a/run_docker.sh b/run_windows_docker.sh old mode 100755 new mode 100644 similarity index 100% rename from run_docker.sh rename to run_windows_docker.sh