.magicrc

magic/.magicrc

The magic startup file. Symlink or copy it into the IP’s work/ directory, which is where magic is started from.

It sources the PDK’s own rc file first, $PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc, then adds:

  • Move macros. Shift with an arrow key moves the selection one unit; Meta-s is select more area. The default Control-s binding is left commented out.
  • drc style drc(full). The PDK ships a fast style that skips the expensive checks. The full style is the one that matches what the foundry runs, so it is the default here.
  • source ../tech/magic/cic.tcl. Loads the array and placement helpers, see cic.tcl.

The relative ../tech/ path is why magic has to be started from work/.