blob: bf18fc2cb67197f1d16a661dc5e17095da2d10e9 [file] [log] [blame]
puts stdout "Sourcing design .magicrc for technology EFS8A ..."
# Put grid on 0.005 pitch. This is important, as some commands don't
# rescale the grid automatically (such as lef read?).
set scalefac [tech lambda]
if {[lindex $scalefac 1] < 2} {
scalegrid 1 2
# drc off
drc euclidean on
set PDKPATH "~/projects/efabless/tech/SkyWater/EFS8A"
# loading technology
#tech load $PDKPATH/
tech load ../../char/techfiles/
# load device generator
source $PDKPATH/
# load bind keys (optional)
# source $PDKPATH/
# set units to lambda grid
snap internal
# add path to reference cells
set MAGPATH "${PDKPATH}/libs.ref/mag"
addpath ${MAGPATH}/primdev
addpath ${MAGPATH}/s8fmlt
addpath ${MAGPATH}/s8iom0
addpath ${MAGPATH}/scs8hd
addpath ${MAGPATH}/scs8hdll
addpath ${MAGPATH}/scs8hvl
addpath ${MAGPATH}/scs8hs
addpath ${MAGPATH}/scs8ms
addpath ${MAGPATH}/scs8ls
addpath ${MAGPATH}/scs8lp
# add path to GDS cells
# add path to IP from catalog. This procedure defined in the PDK script.
catch {magic::query_mylib_ip}
# add path to local IP from user design space. Defined in the PDK script.
catch {magic::query_my_projects}
macro Shift_G "grid 74"
macro XK_Left "scroll l .1 w"
macro Shift_XK_Left "scroll l 1 w"
macro Control_XK_Left "box grow w 1"
macro Control_Shift_XK_Left "box shrink e 1"
macro XK_Right "scroll r .1 w"
macro Shift_XK_Right "scroll r 1 w"
macro Control_XK_Right "box grow e 1"
macro Control_Shift_XK_Right "box shrink w 1"
macro XK_Up "scroll u .1 w"
macro Shift_XK_Up "scroll u 1 w"
macro Control_XK_Up "box grow n 1"
macro Control_Shift_XK_Up "box shrink s 1"
macro XK_Down "scroll d .1 w"
macro Shift_XK_Down "scroll d 1 w"
macro Control_XK_Down "box grow s 1"
macro Control_Shift_XK_Down "box shrink n 1"
macro XK_Pointer_Button4 "scroll u .05 w"
macro XK_Pointer_Button5 "scroll d .05 w"
macro . "history redo -1"
macro XK_L "select less area {ndif pdif nwell poly}"
macro XK_K "select less area nwell"
macro XK_J "select less area {m1 lic}"
macro XK_H "select less area li1"
macro Control_Shift_XK_X "rotate"
macro Shift_XK_Pointer_Button4 "stretch N 74"
macro Shift_XK_Pointer_Button5 "stretch S 74"
macro Control_XK_Pointer_Button4 "stretch N 34"
macro Control_XK_Pointer_Button5 "stretch S 34"
macro Control_Shift_XK_Q "stretch W 88"
macro Control_Shift_XK_R "stretch E 88"
macro Control_Shift_XK_W "stretch N 116"
macro Control_Shift_XK_E "stretch S 348"
macro Control_Shift_XK_Pointer_Button4 "stretch N 17"
macro Control_Shift_XK_Pointer_Button5 "stretch S 17"
macro Control_Shift_XK_G "select area {m1 lic}"
macro Control_Shift_XK_F "select area {poly polycont}"
macro Control_Shift_XK_D "select area {ndc li1}"
macro Control_Shift_XK_S "select area ntrans"