Hi. I'm using iic-osic-tool docker container on my mac. How I can use openlane with docker command i...
f
Hi. I'm using iic-osic-tool docker container on my mac. How I can use openlane with docker command inside the container to run the scripts?
h
@Filippo Install XQuartz if you don’t have it already. Then start the container with
./start_x.sh
. In the shell that pops up, run OpenLane simply with executing
flow.tcl -design YOUR_DESIGN_FOLDER
.
The README.md at https://github.com/iic-jku/iic-osic-tools/blob/main/README.md provides further usability hints.
🌍 1
f
Okay thank you, is possible to use it with VNC?
h
Yes, just start
./start_vnc.sh
to start it up, then use VNC to connect to
localhost:5901
. This works on my Mac.
f
Now it say no design configuration config.json/config.tcl
m
@Filippo what is the exact command that you are executing and what directory are you executing in?
f
I exec flow.tcl -design MCU, inside designs/MCU directory
m
try in the
openlane
directory.
h
You have to execute the
flow.tcl
one level below where your design sits. So in your case, go to the
designs
dir and execute the
flow.tcl -design MCU
there. This should work.
f
It work, but say that no design configuration config.tcl found in foss/design/MCU
Now work but don't found cell library in PDK
Schermata 2022-11-07 alle 14.26.50.png
m
Do you have a PDK set? (
echo $PDK
). If not
export PDK=sky130B
f
Okay now it's working, thank you very much
👍 1
t
I've issue accessing /foss/designs. Permissions are set to default/1000 for this dir, and whoami returns default. But running flow.tcl in /foss/designs gives permission denied. I've started docker image using start_vcd.sh, then logged in using Chrome.
Ok, I just copied the OpenLane designs folder to ~/runs/designs. Then cd into ~/runs/designs/spm, and "flow.tcl --design spm" seems to be running correctly. I'm not sure it's supposed to work like this, but looks like the flow finished correctly.
f
Run this command
flow.tcl -design “foldername”