微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微电子和IC设计 > IC后端设计交流 > LVS中port匹配不上的情况

LVS中port匹配不上的情况

时间:10-02 整理:3721RD 点击:
做完ICC导出了.v文件用v2lvs转成了.sp网表文件,v2lvs命令如下:v2lvs -s smic13g.cdl -s SP013D3_V1p5.sp -s0 VSS -s1 VDD -sk -sn -o TOP_final_fix.sp -v ./TOP_final_fix.output.lvs.v -log v2lvs.run.log
GDS导出之后用calibre检查LVS:calibre -lvs -hier -automatch SmicSPM5PR10R_cal013_mixRF_sali_plmtx_1233_V2_old.lvs |tee -i calibre.lvs.log
发现有几个错误不知道为何:
1)GDS抽取出来的.sp文件部分的标准单元抽成了NOR2X1$_7$这样的名称导致和netlist里的NOR2X1对应不上,从而在LVS报告中没有检查到,不明白为什么
.SUBCKT NOR2X1$_7$ B VDD A Y VSS 6
** N=7 EP=6 IP=0 FDC=4
M0 Y B VSS 6 N12 L=1.3e-07 W=4.2e-07 $X=375 $Y=755 $D=0
M1 VSS A Y 6 N12 L=1.3e-07 W=4.2e-07 $X=885 $Y=755 $D=0
M2 7 B VDD VDD P12 L=1.3e-07 W=8.4e-07 $X=405 $Y=2095 $D=7
M3 Y A 7 VDD P12 L=1.3e-07 W=8.4e-07 $X=715 $Y=2095 $D=7
.ENDS

2)GDS抽取得.sp文件总是比netlist的网表多出一个端口导致了port和net数目错误,例如AOI21X1这个标准单元,这是这个单元在GDS抽出的sp文件中的形式,多出了port是数字7,不太明白这个7是怎么多出来的
.SUBCKT AOI21X1 A1 A0 VDD B0 VSS Y 7
** N=9 EP=7 IP=0 FDC=6
M0 9 A1 VSS 7 N12 L=1.3e-07 W=5.8e-07 $X=645 $Y=735 $D=0
M1 Y A0 9 7 N12 L=1.3e-07 W=5.8e-07 $X=955 $Y=735 $D=0
M2 VSS B0 Y 7 N12 L=1.3e-07 W=4.2e-07 $X=1465 $Y=735 $D=0
M3 VDD A1 8 VDD P12 L=1.3e-07 W=8.4e-07 $X=445 $Y=2080 $D=7
M4 8 A0 VDD VDD P12 L=1.3e-07 W=8.4e-07 $X=955 $Y=2080 $D=7
M5 Y B0 8 VDD P12 L=1.3e-07 W=8.4e-07 $X=1465 $Y=2080 $D=7
.ENDS

下面是AOI21X1这个标准单元在cdl文件中正确的形式
.subckt AOI21X1 Y A0 A1 B0 VDD VSS
M0 hnet11 A1 VSS VSS N12 l=0.13u w=0.58u
M1 Y A0 hnet11 VSS N12 l=0.13u w=0.58u
M2 Y B0 net29 VDD P12 l=0.13u w=0.84u
M3 net29 A1 VDD VDD P12 l=0.13u w=0.84u
M4 net29 A0 VDD VDD P12 l=0.13u w=0.84u
M5 Y B0 VSS VSS N12 l=0.13u w=0.42u
.ends AOI21X1
*.SCALE meter
.GLOBAL VSS VDD

下面是LVS这个标准单元的报错
CELL COMPARISON RESULTS

#######################
# ###
##INCORRECT#
# ###
#######################

Error:Different numbers of ports (see below).
Error:Different numbers of nets (see below).
Error:Connectivity errors.
LAYOUT CELL NAME:AOI21X1
SOURCE CELL NAME:AOI21X1
--------------------------------------------------------------------------------------------------------------
INITIAL NUMBERS OF OBJECTS
--------------------------
LayoutSourceComponent Type
--------------------------
Ports:76*
Nets:98*
Instances:33MN (4 pins)
33MP (4 pins)
------------
Total Inst:66

NUMBERS OF OBJECTS AFTER TRANSFORMATION
---------------------------------------
LayoutSourceComponent Type
--------------------------
Ports:76*
Nets:87*
Instances:11MN (4 pins)
33MP (4 pins)
11_sdw2v (4 pins)
------------
Total Inst:55

* = Number of objects in layout different from number in source.

**************************************************************************************************************
INCORRECT OBJECTS
**************************************************************************************************************

LEGEND:
-------
ne= Naming Error (same layout name found in source
circuit, but object was matched otherwise).

**************************************************************************************************************
INCORRECT NETS
DISC#LAYOUT NAMESOURCE NAME
**************************************************************************************************************
1Net VSSVSS
7
----------------------------------------------------
--- Devices on layout net 7 ---
(cell ports)(cell ports)
VDD: VDDVDD: VDD
VSS: VSSVSS: VSS
A1: A1A1: A1
B0: B0B0: B0
A0: A0A0: A0
Y: YY: Y
7: 7** VSS **
M2(1.465,0.735)MN(N12)M5MN(N12)
g: B0g: B0
s: Yd: Y
d: VSSs: VSS
b: 7b: VSS
--- Devices on layout net VSS ---
(cell ports)(cell ports)
VDD: VDDVDD: VDD
VSS: VSSVSS: VSS
A1: A1A1: A1
B0: B0B0: B0
A0: A0A0: A0
Y: YY: Y
7: 7** VSS **
(_smn2b)(_sdw2v)
in1: A1in1: A1
in2: A0in2: A0
out1: Yout1: Y
out2: VSSout2: VSS
Devices:
M0(0.645,0.735)MN(N12)M0MN(N12)
M1(0.955,0.735)MN(N12)M1MN(N12)
M2(1.465,0.735)MN(N12)M5MN(N12)
g: B0g: B0
s: Yd: Y
d: VSSs: VSS
b: 7b: VSS

**************************************************************************************************************
INFORMATION AND WARNINGS
**************************************************************************************************************

MatchedMatchedUnmatchedUnmatchedComponent
LayoutSourceLayoutSourceType
-----------------------------------------
Ports:7600
Nets:8700
Instances:1100MN(N12)
3300MP(P12)
1100_sdw2v
--------------------------------
Total Inst:5500

o Initial Correspondence Points:
Ports:VDD VSS A1 A0 B0 Y

**************************************************************************************************************
DETAILED ERROR ANALYSIS
LAYOUT NAMESOURCE NAME
**************************************************************************************************************
(This section contains detailed error analysis and suggestions for
fixing the layout errors).
--------------------------------------------------------------------------------------------------------------
Bad instance connections
(_smn2b)(_sdw2v)
in1: A1in1: A1
in2: A0in2: A0
out1: Yout1: Y
out2: VSSout2: VSS
Devices:
M0(0.645,0.735)MN(N12)M0MN(N12)
M1(0.955,0.735)MN(N12)M1MN(N12)

谢谢希望路过的有了解的可以指导一下小白

自己顶一下

是不是你调用的cdl中重复定义了这个单元? 应该有一个这样定义的吧:.SUBCKT AOI21X1 A1 A0 VDD B0 VSS Y 7

layout里衬底open

请教下楼上高手是不是需要在ICC里面derive到VSS上面去就可以了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top