Skip to content

Using the OpenROAD GUI

Abhinav Uppal edited this page Sep 20, 2022 · 7 revisions

Setting up OpenROAD GUI: cd <caravel_user_project clone> Edit the Makefile to use the latest OPENLANE_TAG from https://hub.docker.com/r/efabless/openlane/tags

Try running make setup, which will most likely error out on the OPEN_PDKS commit. Update that on the Makefile too. Now make setup should grab the latest openlane and corresponding open_pdks.

Next, navigate to cd dependencies/openlane_src. There's a Makefile here that we would update. This is read-only so the update may have to be made under sudo:

ENV_START = docker run --rm\
	-v $(OPENLANE_DIR):/openlane\
	-v $(OPENLANE_DIR)/designs:/openlane/install\
	-v <add path to your repo's openlane folder>:<add a mount location within docker's container, could use the same path>
	$(PDK_OPTS)\
	$(STD_CELL_OPTS)\
	$(DOCKER_OPTIONS)

This allows us to run docker next but now with our local openlane runs mounted and readily available within the docker container. We also need to make sure that we grad the correct OPENLANE tag for this docker, so we first export the correct tag name and then mount the container for calling the OpenROAD GUI:

export OPENLANE_IMAGE_NAME=efabless/openlane:<insert same tag as used above>
make mount
openroad -gui

From within the GUI, we can try calling read_lef, read_def, or the newer open_db commands...

Clone this wiki locally