From 4ee6d40ea494bce2bca55f45ad2216966930e23f Mon Sep 17 00:00:00 2001 From: Yuqi Sun <791079835@qq.com> Date: Mon, 4 Nov 2024 22:27:08 +0800 Subject: [PATCH 1/3] Add description of: 1. Required (recommended) #CPUs, RAM 2. How many hours for the 2x2 --- README.md | 6 ++++++ run_docker.sh | 15 --------------- 2 files changed, 6 insertions(+), 15 deletions(-) delete mode 100755 run_docker.sh diff --git a/README.md b/README.md index 90c6141..c8546c7 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 diff --git a/run_docker.sh b/run_docker.sh deleted file mode 100755 index 825e6c0..0000000 --- a/run_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 - From 3eb16246b0f2d4239da300fa970f3dfdcef42a9b Mon Sep 17 00:00:00 2001 From: Yuqi Sun <791079835@qq.com> Date: Tue, 5 Nov 2024 06:04:44 +0800 Subject: [PATCH 2/3] Update the layout.png location - under build/ --- mode_dark_light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + "/" From 9291cdcd5378c968e5780172efc3b375dc371e19 Mon Sep 17 00:00:00 2001 From: Yuqi Sun <791079835@qq.com> Date: Wed, 6 Nov 2024 21:50:10 +0800 Subject: [PATCH 3/3] rename run_linux_docker to run_windows_docker --- README.md | 2 +- run_linux_docker.sh => run_windows_docker.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename run_linux_docker.sh => run_windows_docker.sh (100%) diff --git a/README.md b/README.md index c8546c7..13f0be6 100644 --- a/README.md +++ b/README.md @@ -42,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/run_linux_docker.sh b/run_windows_docker.sh similarity index 100% rename from run_linux_docker.sh rename to run_windows_docker.sh