magic drc crashes because of the SRAM rules.
# shuttle
m
magic drc crashes because of the SRAM rules.
d
@User You can avoid running Magic DRC in openlane flow by adding -no_drc switch in Makefile OPENLANE_BASIC_COMMAND = "cd /project/openlane && flow.tcl -design ./$* -save_path .. -save -tag $* -overwrite" to OPENLANE_BASIC_COMMAND = "cd /project/openlane && flow.tcl -design ./$* -save_path .. -save -no_drc -tag $* -overwrite" And use the run-precheck to validate the Magic DRC which uses SRAM LEF for DRC checks, Note : Precheck Script uses SRAM in Open_PDK path for LEF replacement. In LEF based Magic DRC flow, if you find small number of DRC around memory which can be avoided by adding blockage around SRAM using set ::env(GLB_RT_OBS)=
👍 2
You can also try set ::env(MAGIC_DRC_USE_GDS) "0" in config.tcl. This will does LEF based Magic DRC. But you may get DRC around each HIP and need to add blockage around by set ::env(GLB_RT_OBS) to solve the failure
m
When using SRAM I disable the magic GDS DRC as you say above and ignore any errors. The precheck seems to be able to do a drc check without crashing on SRAM.