The goal is to provide a web browser experience of the OpenROAD GUI. Solution works with Firefox and Chrome.
First time Codespace users are encouraged to read the tutorial creating a codespace for a repository
- Create a codespace from this repository
- Select
ubuntu gui
in theDev container configuration
field
- Click "Create codespace" and after a few minutes, the codespace should be ready for use
- At the bottom, there should be tab
PORTS
, where you will find theForwarded Address
. A link is provided, which you can follow to open the OpenROAD GUI
- NoVNC tab should open - default password is
vscode
- Right-click on desktop and open Terminal and execute the following commands to run OpenROAD GUI
cd ~/OpenROAD-flow-scripts/flow
. ../env.sh
make
make gui_final
- You can also use VSCode to connect to Codespaces
- Install VSCode
- Open VSCode and install the GitHub Codespaces extension
- Press
Ctrl+Shift+P
and selectCodespaces:Connect to Codespace
- Open a web browser and connect to url:
localhost:6080
User can use:
/usr/local/bin/set-resolution
- change the resolution/usr/local/share/desktop-init.sh
- desktop (GUI, VNC, etc.) initialization/workspaces/openroad-codespace/kill.sh
- script to terminate all processes related to vnc. If you want to restart the vnc environment, first kill proceses, then re-lanuch by executing/usr/local/share/desktop-init.sh
In docker build, scripts are used:
patch-lxqt-config.sh
- set the GUI configurationpatch-novnc-ui.sh
- set remote resizing and skip login panelinstall-*
- a group of scripts to install dependencies (Yosys, ORFS, etc.)
ORFS docker images is now built with available binaries. In CI configuration, you will find steps to reproduce the required docker images.
Useful resources:
The desktop-lite feature is provided by the devcontainers organization. In this repo, the scripts were heavily modified, c.f. install-desktop.sh
.