| 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 [tech lambda] 1] < 2} { |
| scalegrid 1 2 |
| } |
| |
| drc off |
| # drc euclidean on |
| |
| #set PDKPATH "${PDK_ROOT}/pdks/ef-skywater-s8/EFS8A" |
| |
| # loading technology |
| tech load $PDKPATH/libs.tech/magic/current/EFS8A.tech |
| |
| |
| # load techlef ? |
| lef read ${TECH_LEF} |
| |
| # load device generator |
| source $PDKPATH/libs.tech/magic/current/EFS8A.tcl |
| |
| # load bind keys (optional) |
| source $PDKPATH/libs.tech/magic/current/EFS8A-BindKeys |
| |
| # set units to lambda grid |
| snap lambda |
| |
| # add path to reference cells |
| #set MAGPATH "${PDKPATH}/libs.ref/maglef" |
| addpath ${MAGPATH}/primdev |
| addpath ${MAGPATH}/s8_osu130 |
| addpath ${MAGPATH}/efs8hd |
| addpath ${MAGPATH}/efs8_pads |
| #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} |