07/25/2020, 3:32 PM
magic_drc.tcl seems to be expecting library LEF, but receives only TECH_LEF, should I be adding EXTRA_LEF variable to my design specific setup?
Copy code
Reading DEF data from file /Users/ronaldv/Projects/repositories/openlane/designs/copperv/runs/ver3//results/routing/copperv.def.
This action cannot be undone.
  Processed 6 vias total.
Cell sky130_fd_sc_hd__inv_8 couldn't be read
DEF read, Line 613 (Error): Cell sky130_fd_sc_hd__inv_8 is not defined.  Maybe you have not read the corresponding LEF file?
Cell sky130_fd_sc_hd__inv_8 couldn't be read

Ahmed Ghazy

07/25/2020, 3:53 PM
@20Mhz: No, you shouldn't need to do anything. The
file should point at the magic views of all standard cells, so this hints that perhaps something went wrong with the open_pdks installation of the pdk? Do you see
files under


07/25/2020, 3:58 PM
I only see 1 , this may be related to the END LIBRARY issue I metioned on #sky130
Copy code
ls  pdks/sky130A/libs.ref/maglef/sky130_fd_sc_hd/
generate_magic.tcl		sky130_fd_sc_hd__o21ai_2.mag


07/25/2020, 4:09 PM
Same here btw.
Which was not the case before I updated this morning so pretty sure it's that END LIBRARY thing.


07/25/2020, 5:12 PM
removed the END LIBRARY and fixed the missing references, however now bailing out after saving the mag file
Copy code
Loading DRC CIF style.
[INFO]: COUNT: 107992
[INFO]: Should be divided by 3 or 4
[INFO]: DRC Checking DONE (/Users/ronaldv/Projects/repositories/openlane/copperv.drc)
[INFO]: Saving mag view with DRC errors(/Users/ronaldv/Projects/repositories/openlane/designs/copperv/runs/ver4//results/magic/copperv.drc.mag)
child killed: SIGABRT
    while executing
"exec magic  -noconsole  -dnull  -rcfile $magicrc  $::env(SCRIPTS_DIR)/magic_drc.tcl  </dev/null  |& tee $::env(TERMINAL_OUTPUT) $::env(magic_log_file_..."
    (procedure "run_magic_drc" line 9)
    invoked from within
    (procedure "run_non_interactive_mode" line 26)
    invoked from within
"run_non_interactive_mode {*}$argv_copy"
    invoked from within
"if { [info exists flags_map(-interactive)] ||\
    [info exists flags_map(-it)] } {
	if { [info exists arg_values(-file)] } {
		run_file [file normali..."
    (file "./flow.tcl" line 136)