How can I start the openroad gui for analyzing con...
# caravel
p
How can I start the openroad gui for analyzing congestions from a Caravel User Project?
m
In
OPENLANE_ROOT
, change the follow variable in the
Makefile
Copy code
ENV_START = docker run --rm\
        -v $(OPENLANE_DIR):/openlane\
        -v $(OPENLANE_DIR)/designs:/openlane/install\
        $(PDK_OPTS)\
        $(STD_CELL_OPTS)\
        $(DOCKER_OPTIONS)
to
Copy code
ENV_START = docker run --rm\
        -v $(OPENLANE_DIR):/openlane\
        -v $(OPENLANE_DIR)/designs:/openlane/install\
        -v $(UPRJ_ROOT):/openlane/user_project\
        $(PDK_OPTS)\
        $(STD_CELL_OPTS)\
        $(DOCKER_OPTIONS)
(add the
UPRJ_ROOT
mount point).
Copy code
export UPRJ_ROOT=<your caravel_user_project directory>
cd $OPENLANE_ROOT
make mount
openroad -gui
Your design data should be in
/openlane/user_project/openlane/<your block name>/runs/<timestamp>/…
p
https://github.com/efabless/caravel_user_project/pull/273 <-- I am trying to add it as a Makefile target so that you can do "make gui"
👍 1
t
@Mitch Bailey: Would you be able to review Philipp's Makefile addition pull request? The simple addition of a target like that should be non-controversial, but if it doesn't get a signoff then it's never going to get merged.
👍 1
k
@Philipp Gühring If you are using a new version of openlane this might be useful https://openlane.readthedocs.io/en/latest/reference/gui.html
m
@Kareem Farid That works if the design is accessible from the
OPENLANE_ROOT
. The problem @Philipp Gühring was experiencing was that his
caravel_user_project
was in a directory outside of
OPENLANE_ROOT
and thus not accessible in the docker with
make mount
. His change to the
caravel_user_project/Makefile
mounts the user project to a directory that docker can access.
k
New openlane mounts $HOME so it is likely accessible now.
m
Great!