| 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 "/ef/tech/SW/EFS8A" |
| |
| # loading technology |
| tech load $PDKPATH/libs.tech/magic/current/EFS8A.tech |
| |
| # 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 |
| |
| set MAGPATH "${PDKPATH}/libs.ref" |
| set MAGTYPE mag |
| # set MAGTYPE maglef |
| addpath ${MAGPATH}/${MAGTYPE}/primdev |
| addpath ${MAGPATH}/${MAGTYPE}/s8iom0s8 |
| addpath ${MAGPATH}/${MAGTYPE}/scs8hd |
| |
| # 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} |