I had difficulties running openroad -gui in Ubuntu...
# openlane
b
I had difficulties running openroad -gui in Ubuntu 20.04, which is also a subject of an open issue in openlane: https://github.com/The-OpenROAD-Project/OpenLane/issues/1149 @Matt Liberty suggested using: "I see that running docker with "--security-opt apparmor=unconfined" or "--privileged" fixes the crash." I edited Makefile in openlane and add these options, both worked and opened openroad -gui However, when I try to read_lef or read_def commands and try to read my macro's final outputs, it gives tons of warnings related to undefined layer (met2) or (met3) referenced and do not open the layout [WARNING ODB-0176] error: undefined layer (met2) referenced [WARNING ODB-0176] error: undefined layer (met3) referenced [WARNING ODB-0176] error: undefined layer (met3) referenced [WARNING ODB-0176] message limit reached, this message will no longer print [INFO ODB-0225] Created 1 library cells [INFO ODB-0226] Finished LEF file: lef_files/mba_core_region.lef any idea what can cause this?
a
1. read lef the tech lef 2. read lef the library lef 3. read def
you skipped first step
b
himm thanks, but can you please elaborate on the steps, what I assume is tech lef -> pdks/sky130B/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd.tlef lef -> pdks/sky130B/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef then I need to use read_def command to my macro def file ? if there is any tutorial or some info page about usage of GUI it could be very helpful also
a
Yes that is correct. The guide will be out in September probably
b
I think I load
I think I loaded nets but not instances, I can see connections of different layers, signals power clock etc but there is no instance, which also the console complains about it
a
you forgot to load the second lef
close openroad then repeat the three steps above
b
okay thanks, but I got error on reading second lef file:
>> read_lef lef_files/techlef/sky130_fd_sc_hd.tlef
[INFO ODB-0222] Reading LEF file: lef_files/techlef/sky130_fd_sc_hd.tlef [INFO ODB-0223] Created 13 technology layers [INFO ODB-0224] Created 25 technology vias [INFO ODB-0226] Finished LEF file: lef_files/techlef/sky130_fd_sc_hd.tlef
>> read_lef lef_files/lef/sky130_fd_sc_hd.lef
[WARNING ODB-0229] Error: library (sky130_fd_sc_hd) already exists
m
you had it loaded correctly the first time and now you are reading the same lef twice
the wires will appear over the instances so you need to turn them off if you just want to see the instances. The easiest way is to click the checkbox by 'Layers' on the left to turn off all the layer visibility
b
sorry I can't follow, I am sure that I can't load instances since, when I disable layers I see nothing. what I understood and did in openroad tcl commands are: read_lef lef_files/techlef/sky130_fd_sc_hd.tlef read_def lef_files/mba_core_region.def after the second command, openroad GUI console complains about tons of things such as: [WARNING ODB-0099] error: netlist component (51196) is not defined [WARNING ODB-0099] error: netlist component (30394) is not defined [WARNING ODB-0099] error: netlist component (30357) is not defined [WARNING ODB-0099] error: netlist component (30120) is not defined [WARNING ODB-0092] error: unknown library cell referenced (sky130_ef_sc_hd__decap_12) for instance (FILLER_100_2517) [WARNING ODB-0092] error: unknown library cell referenced (sky130_ef_sc_hd__decap_12) for instance (FILLER_100_2529) [WARNING ODB-0092] error: unknown library cell referenced (sky130_fd_sc_hd__decap_4) for instance (FILLER_100_253) [WARNING ODB-0092] error: unknown library cell referenced (sky130_fd_sc_hd__decap_6) for instance (FILLER_100_2541) [WARNING ODB-0092] error: unknown library cell referenced (sky130_fd_sc_hd__fill_1) for instance (FILLER_100_2547)
a
I will repeat what I stated above: restart openroad read lef the tech lef read lef the library lef read def You skipped both first and third steps
b
OK thanks, I used the tlef and lef files from OpenRoad repo and it worked: https://github.com/The-OpenROAD-Project/OpenROAD/tree/master/test/sky130hd