Useful SKILL

From Vlsiwiki
Jump to: navigation, search

You can run a SKILL script with:

(load "../sram_1024_32.il")

You can create a cell view with:

dbsram = dbOpenCellViewByType("sram" "sram_1024_32" "layout" "maskLayout" "w")

You can create a cell instance by opening the master instance and create the instance:

master=dbOpenCellViewByType("sram" "cell_6t" "layout")
dbCreateInst(dbsram master "c0_0" 0.000000:0.000000 "R0")

Close a master view:

dbClose(master)

You can create a rectangle on a layer with:

dbCreateRect(dbsram list("metal2" "drawing" ) list( 0.070000:-1.012500 1.050000:-0.942500 ) )

You can save the instance with:

dbSave(dbsram)