def文件的作用及相关操作

defin :加载一个指定的DEF文件

在引进一个设计之后,defin可以在任意步骤被使用。其典型的使用方法有:

1.加载一个由innovus或者其他工具导出的包含floorplanDEF文件

2.运行一个带有Scan chain信息的DEF文件,可以在palce阶段进行Scan chain的重新排序        

3.加载一个由innovus或者其他工具导出的包含cellpalcementroute信息的DEF文件

innovus会读取DEF文件的信息

1.Tracks, gcells, rows, die area

The software deletes all of the existing objects in the database and reads in the new information

2. Blockages, fills, special nets

软件将会与当前存在的物理信息进行比较,(例如shape and layer),如果它发现在当前DB文件中有与DEF文件相同的信息,则它会忽略此信息。如果信息并不存在,那么它会添加信息到DB文件中。

For special nets, the software merges wire segments in the DEF file with any existing ones in the database that overlap and have the same attributes, such as layer, width, shape, and direction. The software does not delete any existing data.

3.Nondefault rules(NDR), vias

The software adds the objects to the database if they do not already exist there.(不存在的会增加)

If a nondefault rules definition with the same name already exists, the software ignores the one in the DEF file.  (NDR存在 忽略)

If a via definition with the same name already exists, and the via is a fixed via, the software ignores the one in the DEF file.(Via 存在,有相同名称,且Via为fix状态,忽略)

If a generated via definition with the same name already exists, the geomoetries are read, but the name might be changed.

The software does not delete any existing objects of these types.

4.Nets

For each net in the DEF file, the software removes the existing regular routing (not special routing), then adds the routing from the DEF file for this net.(去除原来,保留DEF)

If the net has a shielding segment with self reference, defIn will ignore the check.()

5.Pins

For each pin in the DEF file, the software removes the existing physical information for the pin, then adds the physical information from the DEF file for this pin.(去除原来,保存DEF)

If a pin does not already exist, and it is a power or ground pin, the software adds it to the database.(一个PIN不存在,但它是个PG pin,则工具将会添加其至DB)

If the pin is not a power orground pin, the software generates an error message.(如果不是PG pin 则会产生错误)

6.Groups, regions

If a group name in the DEF file matches an existing hierarchical instance name in the database, the region's boundary constraint is attached to the hierarchical instance, overriding any existing boundary constraint.(DEF文件中关于 instance 的各种限制将会覆盖DB文件)

The software checks whether the group members belong to the hierarchical instance, and generates a warning message if any do not belong.(检查 group number是否属于hierarchical instance,如果不属于将会生成警告信息)

If a group name does not match any hierarchical instance name, the software creates the instance group with an attached region boundary constraint, if one exists. Regions that are not used by groups in the same DEF file are ignored.(如果一个group name并没有匹配到任何信息,软件将会。如果已经存在,Region将不会被DEF同样信息的文件所使用)

The software does not remove existing groups.

(一)摆floorplan的迭代过程中使用def文件保留上一版的工作,方便微调。

后端工作者都知道,目前的floorplan主要还是靠人工反复迭代来求得最优解,保留一些可以重复使用的数据,就能大大降低手工工作量。

a. 保留core的大小形状:

    deselectAll

    defOut -selected core.def

这样就能只保存core的形状而不包含其他信息,方便下次使用。

b. 保留block ram的位置(顶层设计可以用到):

     deselectAll

     selectInst  [dbGet [dbGet top.inists.cell.subClass block -p2].name]

     defOut -selected mem.def

同样可以保留memory的位置,下次微调时候可以直接先吃进来,再做改动,减少重复动作。

c. blockage, instance等都可以通过def的方式保留。

(二)、 powerPlan的时候需要对power net进行局部调整动作的也可以借助def

a.需要手动画ring的时候,辛苦花过一次之后,还需要画同样的多层layer,就可以使用def的方式保存第一次的,然后修改def文件里的layer层,在defIn即可

b.同一版本的floorplan,后面需要局部改动power,但是已经run到postroute,也可以使用def保存新的powerplan,在删掉route的power,吃进def,再做verify,保证没有drc就OK。

defOut、defIn只有记得verifyPowerVia,veriry_pg_short, verifyConnective等

(三)、需要比较两版enc data的instance的差异,也可以使用def

需求描述:一版data做了opt或者eco的动作,变化了大量的instance,这时候需要debug一下变换了哪些instance,把不同的instance列出来。

这个问题以前使用过方法:

a.脚本去遍历来抓取不同,但是当instance超过一定的数量级就需要耗费大量的CPU资源和时间,甚至有hang住的风险;

b.使用cat命令,抓取相同的部分,可以比较两版差异的百分比,但是较难找出不同部分;

现在就可以借助def来完成这件事。

第一步,def出数量少的那一版的instance来,叫做min.def;

第二步,从def中列出instance list,每个前面加unplace Instance的命令;

第三部,在数量多的那一版里source这个list,unplance掉相同的部分,然后在defOut出来剩下的instance,就可以得到差异的那部分的instance了

  • 5
    点赞
  • 31
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 芯片后端def文件(Design Exchange Format)包含了芯片设计的物理布局和电路连接信息,具体包含以下内容: 1. 芯片外形和尺寸 2. 格网分辨率和布局 3. 片内电路模块的位置、大小和方向 4. 片上电源和地线的位置和连接 5. 片上时钟、复位信号的位置和连接 6. 片上IO引脚的位置和连接 7. 片上晶体管、电容、电感等元器件的位置和连接 8. 片上金属层的层次结构和物理布局 9. 片上信号线的物理布局和连接关系 10. 片上标记和注释信息等 这些信息都是芯片后端设计流程中非常重要的一部分,对于芯片的物理实现和电路性能都有着重要的影响。 ### 回答2: 芯片后端def文件是指芯片设计的布局和物理规则定义文件,其包含以下内容: 1. 物理模型定义:def文件中包含了芯片中各个器件的物理模型定义,如晶体管、电路连线等。这些物理模型定义了芯片中每个组件的具体尺寸和位置,用于后续的布局和布线操作。 2. 布局规则定义:def文件中包含了芯片的布局规则定义,如器件间的最小距离、电源线的宽度等。这些规则是为了保证芯片的稳定性和可靠性,同时也会考虑到制造工艺的限制。 3. 布局信息:def文件中包含了芯片的布局信息,如各个器件的位置、相对位置关系等。这些信息是后续布线操作的基础,可以确保电路信号的传输效率和信号完整性。 4. 电路连线规则:def文件中还包含了芯片的电路连线规则,如连线的层次、层次间的转换规则等。这些规则是为了优化电路的性能和功耗,同时也会考虑到信号互联的物理限制。 5. 器件的组织结构:def文件中还包含了芯片各个器件的组织结构信息,如晶体管的排列方式、块的划分等。这些信息是为了在后续的物理设计过程中进行更高效的布局和布线操作。 总之,芯片后端def文件包含了芯片设计中各个物理层面的信息,如物理模型、布局规则、布局信息、连线规则和器件的组织结构等,为芯片的物理设计和制造提供了基础和指导。 ### 回答3: 芯片后端def文件包含以下内容: 1. 物理约束:def文件包含设计芯片的物理约束信息,包括网格布局、布线规则、电源引脚位置、时钟与时序要求等。物理约束是确保芯片物理布局和布线满足设计规范和性能目标的关键。 2. 栅格与层信息:def文件中包含芯片布局的栅格和层的相关信息。栅格是对芯片布局进行划分和定位的最小单位,用于确定组件和导线的摆放位置。层信息描述了芯片不同层的材料、用途和特性,如金属层、衬底层、电源层等。 3. 非标准单元定义:芯片后端设计过程中,可能会引入一些非标准单元,如特殊的时钟控制器、内存结构等。def文件中包含这些非标准单元的定义和引用关系,确保在后续的布局和布线阶段能够准确处理这些单元。 4. 电路网络信息:def文件中包含了芯片设计的具体电路网络信息,包括各个组件之间的连接关系、输入输出引脚、时钟和时序路径等。这些信息是用于进行详细的布局和布线操作的输入。 5. 特殊器件和电源信息:对于一些特殊的器件和电源单元,def文件中也包含了相应的定义和布局规则。这些特殊器件可能是为了满足特定需求而引入的,如电源管理单元、模拟电路单元等。 总之,芯片后端def文件是存储芯片物理约束与布局的关键文件,它包含了芯片布局、连接、约束和特殊单元等重要信息,为后续的布局布线、时序调整等工作提供了基础。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值