剖析dracula command file 结构
发布时间:2008/6/5 0:00:00 访问次数:849
介绍dracula command file,首先了解一下,什么是dracula?
dralcula是ic verification tool,用来对ic layout进行检测,为cadance产品,
可以用来进行drc(design rule checking)、erc(electrical rule checking)、lvs(layout vs schematic checking)
lpe(layout parameter/parasitic extraction)等处理。
dracula不是一种命令,是一种脚本语言解释器,通过编写脚本完成你所要求的工作。
与dracula相似的工具,还有cadence 的diva、avanti的hercules等。
我们常把dracula的脚本语言叫做command file,command file结构大致分为三大块即:
主体说明部分(description block),用来设定输入/出database信息,运行的模式等相关信息;
图层说明部分(input layer block),用来说明所要操作的图层,文字等信息;
主体操作部分(operation block),这是command file的操作运算部分。
description block:
*description
primary = top1017 ;primary cell name
indisk = ../db/top.db ;input file name
outdisk = out.dat ;output file name
printfile = prt ;output log file
resolution = 0.005 mic ;minium layout increment
scale = 0.001 mic ;tap equivalent
listerror = yes ;enable output log file
program-dir = /home/dracula ;directiory include dracula program
mode = exec now ;execution mode
keepdata = inquery;smart;yes
delcel = tmp ;cell delete
text-level = 1 ;consider text in nth level
system = gds2 ;database format
*end
描述说明部分,大体就是这样,针对不同的要求,还有很多参数对所做工作进行指定
上述所列举的项目都是常用到。进行检测时,你要做的就是详细说明,database在什么目录中
要输出的log文件名字是什么等。
input layer:
*input-layer
pwell = 1
pplus = 2
cont = 5
... ...
mt1 = 6 text 6 attach mt1 texttype 2
substrate = bulk 99
connect-layer = poly mt1 mt2
temporary-layer = ngate pgate aplug
*end
这里就是要说明,databse中所用到的的图层,说明传输层等
operation block:
*operation
and thin poly gate
and gate pplus pgate
not gate pgate ngate
... ...
ext[n] mt1 lt 0.6 output drc01 40
... ...
element mos[n] ngate gpoly ndiff psub
... ...
multilab out short 40
samelab out open 40
*end
运算命令的基本格式为:
command[option] input-layer condition-layer drived-layer output output-layer
比如:and poly thin gate ;本句说明gate为poly与thin相重合的部分
如果你想了解dracula语法详细说明,请留意 “dracula语法解说”
介绍dracula command file,首先了解一下,什么是dracula?
dralcula是ic verification tool,用来对ic layout进行检测,为cadance产品,
可以用来进行drc(design rule checking)、erc(electrical rule checking)、lvs(layout vs schematic checking)
lpe(layout parameter/parasitic extraction)等处理。
dracula不是一种命令,是一种脚本语言解释器,通过编写脚本完成你所要求的工作。
与dracula相似的工具,还有cadence 的diva、avanti的hercules等。
我们常把dracula的脚本语言叫做command file,command file结构大致分为三大块即:
主体说明部分(description block),用来设定输入/出database信息,运行的模式等相关信息;
图层说明部分(input layer block),用来说明所要操作的图层,文字等信息;
主体操作部分(operation block),这是command file的操作运算部分。
description block:
*description
primary = top1017 ;primary cell name
indisk = ../db/top.db ;input file name
outdisk = out.dat ;output file name
printfile = prt ;output log file
resolution = 0.005 mic ;minium layout increment
scale = 0.001 mic ;tap equivalent
listerror = yes ;enable output log file
program-dir = /home/dracula ;directiory include dracula program
mode = exec now ;execution mode
keepdata = inquery;smart;yes
delcel = tmp ;cell delete
text-level = 1 ;consider text in nth level
system = gds2 ;database format
*end
描述说明部分,大体就是这样,针对不同的要求,还有很多参数对所做工作进行指定
上述所列举的项目都是常用到。进行检测时,你要做的就是详细说明,database在什么目录中
要输出的log文件名字是什么等。
input layer:
*input-layer
pwell = 1
pplus = 2
cont = 5
... ...
mt1 = 6 text 6 attach mt1 texttype 2
substrate = bulk 99
connect-layer = poly mt1 mt2
temporary-layer = ngate pgate aplug
*end
这里就是要说明,databse中所用到的的图层,说明传输层等
operation block:
*operation
and thin poly gate
and gate pplus pgate
not gate pgate ngate
... ...
ext[n] mt1 lt 0.6 output drc01 40
... ...
element mos[n] ngate gpoly ndiff psub
... ...
multilab out short 40
samelab out open 40
*end
运算命令的基本格式为:
command[option] input-layer condition-layer drived-layer output output-layer
比如:and poly thin gate ;本句说明gate为poly与thin相重合的部分
如果你想了解dracula语法详细说明,请留意 “dracula语法解说”