<#695 Magic LEF/DEF Based DRC check fails where as...
# openlane
g
#695 Magic LEF/DEF Based DRC check fails where as GDS DRC check passes New issue created by dineshannayya Description Openlane support two way of MAGIC DRC check 1) LEF/DEF and 2) GDS using the environmental variable MAGIC_DRC_USE_GDS I see GDS base DRC check passes, while as LEF/DEF based DRC fails with Error Environment
Copy code
[issue.survey.rpt.gz](<https://github.com/The-OpenROAD-Project/OpenLane/files/7501655/issue.survey.rpt.gz>)

This issue can be reproduced with
1. Clone the <https://github.com/efabless/caravel_user_project.git>
2. Set set ::env(MAGIC_DRC_USE_GDS) "0"  in openlane/user_project_wrapper/config.tcl
3. cd openlane
4. make user_proj_example
5. make user_project_wrapper
Failure: Magic DRC fails with error
Reproduction Material 1. make sure that $PDK_ROOT is configure to PDK path where Sky130A installed 2. Use Run command to reproduce the issue: run_cmd exp2.tar.gz 3. For Checking GDS mode of DRC checking, change File: input/drc.tcl set ::env(MAGIC_DRC_USE_GDS) "0" to set ::env(MAGIC_DRC_USE_GDS) "1" and run the run_cmd Expected behavior As GDS based DRC is passing expectation is LVS/DEF also should pass. Logs
Copy code
Log and Report are part of the example tar ball under output directory
The-OpenROAD-Project/OpenLane