Difference between revisions of "Useful SKILL"
From Vlsiwiki
Line 7: | Line 7: | ||
You can create a cell instance by opening the master instance and create the instance: | You can create a cell instance by opening the master instance and create the instance: | ||
− | master=dbOpenCellViewByType("sram" "cell_6t" "layout") | + | master=dbOpenCellViewByType("sram" "cell_6t" "layout") |
dbCreateInst(dbsram master "c0_0" 0.000000:0.000000 "R0") | 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: | You can create a rectangle on a layer with: |
Latest revision as of 22:14, 30 October 2009
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)