Ok, so I changed open_pdk to ignore the `.magic.le...
# openlane
t
Ok, so I changed open_pdk to ignore the
.magic.lef
file and only aggregate the
.lef
files. This solves all the weirdness during the open_pdk install ( duplicate cells / unable to write file / space in filenames ...) and resulted in a combined
.lef
that doesn't have duplicate cells. This also solved the TritonRoute crash, it can now find the access points to the cell pins and complete the process. Now, I have
magic
crashing :
Copy code
*** stack smashing detected ***: <unknown> terminated
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
"run_magic_drc"
    (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)
a
@tnt: Was adding
exclude=*.magic.lef
enough to get it to ignore them?
t
Copy code
@@ -358,7 +358,7 @@ vendor-a:
                -techlef %l/latest/tech/*.tlef \
                -spice %l/latest/cells/*/*.spice compile-only \
                -cdl %l/latest/cells/*/*.cdl ignore=topography compile-only \
-               -lef %l/latest/cells/*/*.lef exclude=*.*.v compile-only \
+               -lef %l/latest/cells/*/*.lef exclude=*.*.v,*.magic.lef compile-only \
                -doc %l/latest/cells/*/*.pdf \
                -lib %l/latest/timing/*.lib \
                -gds %l/latest/cells/*/*.gds compile-only \
@Ahmed Ghazy pretty much, that's what I'm using above.
a
@tnt: Thanks 👍