openlane2 icon indicating copy to clipboard operation
openlane2 copied to clipboard

Flow and step for opening designs in Magic

Open donn opened this issue 1 year ago • 1 comments

Steps

  • New step, Magic.OpenGUI, which opens either DEF files or GDS files in magic
  • Magic.*
    • Fixed magicrc being abspath'd before command invocation (breaks reproducibles)
    • _MAGIC_SCRIPT is now set in prepare_env instead of run_subprocess (so it can be intercepted for reproducibles)

Flows

  • New mono-step flow, OpenInMagic, which runs Magic.OpenGUI

Tool Updates

  • OpenLane 2 now uses nix-eda for some of its derivations
  • Magic now uses tk with X11 on macOS, to prevent crashes when attempting to use the GUI
  • Updated Magic to 8.3.483/291ba96

Misc Bugfixes/Enhancements

  • openlane.steps.Step.create_reproducible
    • PDK_ROOT now included if the PDK is included but not flattened so Magic steps can work
  • openlane.steps.TclStep
    • Internal: Internal environment variables prefixed with _ are no longer rerouted to _env.tcl, instead being passed raw (to help with creating reproducibles)

donn avatar May 02 '24 17:05 donn

Metric comparisons are in beta. Please report bugs under the issues tab.

To create this report yourself, grab the metrics artifact from the CI run, extract them, and invoke python3 -m openlane.common.metrics compare-main <path to directory>.

  • Changes to critical metrics were detected in the following designs:
    • sky130A/sky130_fd_sc_hd/aes_upw_new
    • sky130A/sky130_fd_sc_hd/aes_upw_old

Full tables ► https://gist.github.com/openlane-bot/4d54e593d0fd68b52199a45d09d7187e

openlane-bot avatar May 02 '24 17:05 openlane-bot