找回密码
 注册
关于网站域名变更的通知
查看: 7705|回复: 9
打印 上一主题 下一主题

一个OrCAD与Allegro的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-9-24 13:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
一个很多人多会见到的问题,也很好解决,但想弄明白,所以想与大家讨论一下!一、PIN 如果Type为POWER,则可以重名,很好理解,但是问题在后面,如果将Pin Visible 选上,问题就来了,在生成NETLIST时,系统不提示错误,可以生产,但会有Warning,如Warning[ALG0051] Pin "GND" is renamed to "GND#21" after substituting illegal characters in Package MEGA88VS,如果不选中Pin Visible ,就不点问题也没有。不知道为什么。如果不选中Pin Visible,看到不引脚名,就更容易出错,特点是在多电源系统里。当然用GND#1,GND#2这样的方法可以解决,但总觉得不好,都是GND,还分什么1呀2的,而且这样花的时间也多,要多打几个字,占的空间也多,不好排版。看过几家大的公司,有的分了1,2,3,有的就没分,就全部是GND,不知道他们是怎么做的,还是不理会这些Warning! 二、还有一个问题就有,Value,Part,Footprint,还有NET,PIN NAME的长度问题,cadence的文档中讲的是不能超过30个字符(有的资料是31),但在其实中是Value,Part,Footprint加起来不能超过29[31-2(两个_连接符)]个,实际的操作中很容易超过29个字符,经常要做这方面的处理,虽然只是给出Warning,不影响正确性,但总觉得不爽。 不知道大家有没有这样的问题,是怎么解决的!谢谢

该用户从未签到

2#
 楼主| 发表于 2009-9-24 13:12 | 只看该作者
ADM是分开了的,用GND_1,GND_2进行区分,Type还是Passive,不知道这样算不算不规范!

该用户从未签到

3#
发表于 2009-9-25 17:09 | 只看该作者
这个没什么规范,达成共识就可以了。6 m7 G4 G1 W1 {9 ]2 \* H' y
警告的内容可以忽略。
! b4 T' s" l4 X8 `3 H4 h: Q# n- v* O# N  v* }
不需要追求完美,关键就是网表不出错,电气连接不出错,制造的电路板不出错。
& Y: N( ]2 _3 x: X8 i! o抓住重点就好

该用户从未签到

4#
 楼主| 发表于 2009-9-25 21:51 | 只看该作者
谢谢numbdemon 的指点,有些问题还是弄明白的好。
! ]' T3 |, ], ^3 k以下我查到的资料,供大家讨论。
" Z& K" ?3 \$ |! \6 q, c( Z在网上查了半天的资料,还是没解决的方案,
! c7 Z, I7 ?/ m7 U. x看下面国外的论坛:http://www.edaboard.com/ftopic186601.html  u, G7 p" a. D8 y
WHEN I TRY TO create netlist in Capture CIS the flowing masseg appear, ' S7 |% |, j4 S$ |) P1 ^1 e: t
7 h$ f5 h- l( \$ U9 ^
#170 Warning [ALG0051] Pin "VSS" is renamed to "VSS#K5" after substituting illegal characters in Package G24V-3_7N , U0D1A: DSP - G24, Pg 17,20 - DSP - AFE IO (0.50, 0.90). * s0 L  m  Q4 d' U8 e- e2 q* X

8 c& Q3 ?1 Z% u0 V- P& d# L- the pin type = Power
7 m' I+ U  C. i. S2 Q- Pin name = VSS ( l3 R. o  k/ }' o3 o8 p
- Connected to Net = GND_SIGNAL $ C; e! ?! e, n, F

2 }4 V- [9 c% q" d& R' }i try to rename the pin to GND_SIGNAL but masseg still appears. 7 v: L+ z' Q# o! ^, a" c/ m1 n7 g9 E
Hi # e7 Y. u% H8 M

. c4 ?( e/ B! i' W* u9 {# X% ~5 MCheck your ECR matrix, it will take off the warning/error message. You have to be very cautious while setting that.
* l# Z( n' x" ~5 ^) g# i- L) Q+ m
The warning is to indicate that your "VSS" (Power) is getting short to "GND_SIGNAL". Also modify it to "AGND/DGND/GND". 1 c, ?3 D! ?% ~5 z( `

9 ~( F  n: ~* m+ ~7 |The above two method should solve your problem. . X6 O3 }  ]9 J- B, N
7 ^8 F3 T* ^+ P" j* O* k4 p
Centiago
* b4 N0 X  {6 ~0 l: ~* a7 a' L0 U8 H% L$ k  @: r
再看一下OrCAD官方论坛:http://www.chronology.com/forums/ShowPost.aspx?PostID=12807
" Z" ]1 j3 }* |( N6 m' a* \2 k* b7 H" P: }) ?
illegal characters in schematic symbol???
8 R# K7 o3 ]4 B% }  : [! v% `: R( b2 m, u+ |. O1 j: o
# s, |/ S% D8 U: H( ~' O
All:9 u  u$ v. o- H- J9 H8 u

! f# b4 h5 ~! Y1 p8 [When generating the netlist, the following Warings occur:
8 Y! M) |4 W# |4 ]2 C: _
3 ?: I2 E2 O) q. K3 a) E) r! o#92 Warning [ALG0051] Pin "GND" is renamed to "GND#9" after substituting illegal characters in Package LT1765EFE+ C& ^, X9 T9 ^5 A
#99 Warning [ALG0051] Pin "Vss" is renamed to "VSS#34" after substituting illegal characters in Package IDT71016S ,
; n* [9 k2 j4 E#79 Warning [ALG0051] Pin "VCC" is renamed to "VCC#1" after substituting illegal characters in Package H8S2168AA
# V  R2 a' ?% H2 g# E) u4 ?* [) T#89 Warning [ALG0051] Pin "VIN" is renamed to "VIN#3" after substituting illegal characters in Package LT1765EFE
, u& \" p' S7 t. B( W$ M* ]
* ?# W+ m; R, S) I+ ~/ `I very puzzled, and it seems that, GND, VSS, VCC, VIN are all illegal pin name in schmatic symbol, so tool rename them. Which names are illegal when creating schamtic symbl? I dont see any docs.
: r1 x- O$ u4 z, S* J+ ]Maybe this problem is caused by same name in one schematic symbol, but I have set these pins with same name to "POWER" property. Previously, it is allowed same name if the pin property is power.2 k4 @+ u2 {9 f5 F: ?8 T# t

) M) }3 q+ t9 h/ @Thanks
/ N# J0 @: o. Z* X: Y* y7 @Peter+ _0 u0 K, Z6 \8 {$ m
- F! U) z% Y" h$ z8 R. C0 R
You didn't say which netlister you were using but by the error msgs it looks like Allegro. You may have to consult the Allegro documentation to see if it objects to duplicate pin names. As an alternative, check the netlist itself -perhaps these pins are still connected to correct nets by pin number with pin name as a reference only ?$ ]8 _2 }/ `- V$ i2 n+ I8 k3 \

4 N0 h: N  T1 O; S2 N) _) ZRon O.

该用户从未签到

5#
 楼主| 发表于 2009-9-25 21:52 | 只看该作者
最后看了一下Candence的Help文件,是这么说:1 ]6 X# t$ n4 m5 t, t/ R+ b
Pin Bubbles + q. s( ]* i* ~
Use the BUBBLE and BUBBLE_GROUP properties for tracking and checking signal states and circuit behavior. The pins need to be bubbled correctly 9 D+ G5 {) u7 x

3 m* A0 u9 p, X0 dwhile they are being designed in Design Entry HDL. Symbols that are built correctly should not cause any problems and should successfully
' g7 d# e! j. f1 t: [0 ~' [1 H! A, z# p* A  i. S* m% K5 k
complete the design integrity checks within Design Entry HDL. These properties also provide for much more readable designs when looked at ; a0 ]2 Z8 R& ?- W: M
# a# H& [6 V% P$ _  v1 t
logically. - q+ S7 v" o/ Y  |3 c1 m+ S
Cadence libraries include the DeMorgan equivalent parts as alternate symbol versions. When placing parts, the correct symbol should be used to
% L" y, v% G) r; r4 [- E, i. `5 K5 f7 }) \* f
establish signal states and to provide design integrity. You can use the bubble command in Design Entry HDL to toggle the signal states on pins. ) ~: a3 h" J8 a( K& ^/ v
& ]: f' `2 u, J" V6 h5 p: x
; Z  ~$ c5 r8 ^1 i: ^! i* X
Pin Types ! G3 s. f& U0 S3 A
Designate the pin types and add pin loading information in Part Developer. This information gets stored in the chips.prt file and is crucial for 9 |5 X% Q4 t) \

8 Q% [8 H/ \- {; asome Design Entry HDL integrity checks and layout analysis with SigNoise. Signal noise analysis uses the pin type and loading information to % i8 x8 Q8 W+ ]$ ~' E* z

! m2 U! z! E! A/ e9 s& S5 g; paccurately model the behavior of components. : }- ?5 U3 z4 e
The information can also be input manually into the chips.prt file by using a text editor. However, this requires you to be aware of the syntax
7 T7 F+ X- E$ U* C/ n2 _' C
4 I6 J  b& M8 F- R$ |- F7 yand file format.
/ g' }: G$ U$ x0 m8 jWhenever appropriate the input pins should be placed on the left side of the symbol with outputs on the right. 3 V9 w6 h. ^# B1 T% I. L
# c. E% l" V8 t. _, C3 Q" z
5 `; B9 w; S2 i
Pin Naming
2 w! E) [: `8 _4 A0 BPins should be designated with functional names. Each pin name must be unique to that symbol and must have a matching entry in the chips.prt
9 z% h8 ^% T  ^1 Q6 g; K
& o; F2 n. D7 O( Q; j. Sfile. Typically, a pin name must be alphanumeric, but you can have numbers as pin names for scalar pins. The other characters that are supported
. h3 Z! r( |- t# p4 h* V+ M! N( Z) q
by Design Entry HDL as valid characters in pin names are as follows: - @, \7 G" t. b
-
/ Q4 a6 z: i8 b9 _- E' H! [! g# a# 2 F% O$ @" I; a" @- D
$
" f, z6 o5 O" D3 S- g% . `$ t9 ?. L+ i3 Q6 p  d
+
. I! l1 l6 f! J  j9 n  W/ e' o=
' M" r7 o  u0 ~. B5 F; L4 N0 A| 8 V% G6 B" t& [* [! i
?
$ {2 v1 |( B( [6 @- ]) E* y/ S" U7 `^ * x3 l/ x! B3 R% C" w' [
_
+ y* p. ]5 R0 D, @1 c, m5 s6 j. 9 X: V* A5 r) X# k; E8 w
(
7 s! z/ S; v' L/ \) ]' H)
7 M9 ~3 x) g- Y. A3 a: {9 C$ H7 N9 u2 A6 `
For pins that have ( or ) in their names, hlibftb reports errors if you run verification checks from within Part Developer. However, you can use " k7 w% t4 ?, _" J6 L7 j5 u
/ s1 n$ e1 C& M8 ?* p
such pins in Design Entry HDL schematics by turning off the multi_format_vector option. Because of this reason, it is suggested that you do not
( Y8 }6 j1 H  \. P$ g
: s% z; R7 J+ v2 B7 z- duse ( or ) in pin names.' H; G$ e3 u8 n9 N$ G

( Q; P; R$ h# d* a8 p* lThe following are not valid for pin names:
6 e8 v$ @! C7 D# w' H" _5 MAll extended character sets , Y8 |# s  @% p1 _
/ 1 B4 d2 k' X7 R
; : g' \! w% z% w+ V0 c) l
! ; `- T' c2 ^, |
< $ G) I! J2 \( Q6 S
> ( H. d( N  K* B. B! E* t: S
: ( y) |5 z2 y2 Q$ d* ~2 k
\
4 K2 S" b/ L7 ^4 }$ V" Z) J! ^" ) E1 N9 w$ P  n6 v% Q0 ]! y- M
,
, y" J8 ~4 w, E4 o. W! {*7 W/ E" P3 }" x& o
When creating parts manually, place the SIG_NAME properties outside the symbol, next to the pin it is attached to. Text size is not too ! r5 k' X$ n, m2 J  f. N
5 y  u9 B' W; j) y
important on these properties since they are not displayed on the schematic. . s9 G( _  H/ k" H4 T
Follow low asserted pin names with an asterisk (*) (for example, OE*) or _N (for example OE_N). Do not differentiate low asserted pins with any , a8 G  f4 t8 E" F
' S' @6 }' l. P) m& g
other nomenclature. All low asserted pins should appear as bubbles and not straight pin stubs.
  K, F# y% J6 G) t设为Power可重名只是OrCAD的规定,那是OrCAD公司的规则,便Candence却不认同,Allegro是不准同名的,只要同名就有Warning,再看看Allegro的NETLIST,
5 u8 `2 m7 B7 y# ?6 r1 @" G'GND'
$ e/ N; B/ B* g2 v9 t0 q5 ?, ['@SR888.SCHEMATIC1(SCH_1):GND':" S" S7 g+ n' z/ a, U3 m
C_SIGNAL='@sr888.schematic1(sch_1):gnd';
' j1 r0 M/ Q6 [6 P, MNODE_NAME        U2 34 f: r( P/ B; q/ v
'@SR888.SCHEMATIC1(SCH_1):INS1860963@MY LIBRARY.MEGA88VS.NORMAL(CHIPS)':0 q0 y/ U6 W4 g% S) b. ~1 L; h
'GND#3':;: B; I! `0 e! R& |
NODE_NAME        U2 5- A( c. a8 R0 O0 {6 s2 U% }( n
'@SR888.SCHEMATIC1(SCH_1):INS1860963@MY LIBRARY.MEGA88VS.NORMAL(CHIPS)':
1 A' U) A  N+ R8 ^3 K'GND#5':;
5 ~% |3 H& ?  Y% u- X& I. \这才明白,Allegro的NETLIST中pin name的信息,这样能重名吗?* H: H+ ~* g8 c, U! j
再看看PADS的netlist:2 z8 A. h8 F) X. b
*NET*# e/ E5 z; I! Y
*SIGNAL* GND6 D+ Q: e5 I7 f
U6.12 R14.2 R13.2 J6.10 J6.8 J6.6 U6.10 D10.2, e0 Z0 b$ z6 T  x# x
D16.1 D15.1 U6.13 D17.1 J6.3 C8.2 C16.2 U2.5
) ^" v& [, F& BC20.2 U2.3 C15.2 U6.5 C18.2 U5.3 U2.21 U4.3) I; e0 b% Q" h! S/ y
C17.2 C25.2 C22.2 C6.1 C21.2 D8.2 J6.4 D18.1
( i) j9 q1 m+ d0 R& M2 u8 kU6.1 C19.2 C7.1 D4.1 D9.2 C24.2 D12.2 U6.111 J/ Q5 r" h% j; c& b9 O- |! a
D11.2 C23.2 J1.2 J1.4 MH13.1 MH12.1 MH6.1 C27.2$ s8 g! Z0 v7 _1 K
MH9.1 C29.2 MH5.1 J5.5 C30.2 C10.2 C31.2 C11.12 i' S8 \5 n3 b8 L* ]
P2.5 J5.6 U7.7 C3.2 C26.2 C1.2 C2.2 U3.15+ ^4 L* ?: `1 ~) z
P2.10 C4.2 C28.2 J4.13 P1.5 C5.2 U1.2 C14.2
7 T* U( ~7 ?5 T; s: eC9.2 J4.15 P1.10 P1.11 MH10.1 P2.11 MH8.1 U7.3( ^6 N& b7 P* }: X; Z: }
这样,没用pin name信息,当然可以重名了!
% T8 X5 n8 `, @9 }7 a9 c. A, w3 j/ C7 F( \
看来,没什么好想的,只能用#1,#2,#3来区分了,这样就知道是同一个地上的不同引脚,如果用1,2,3来分的话,不怎么好,DATA1,DATA2,DATA3,它也是用1,2,3来分的,名子也都是data,但不是同一网络。

该用户从未签到

6#
 楼主| 发表于 2009-9-25 22:01 | 只看该作者
这个没什么规范,达成共识就可以了。; E( F/ X% Y+ J, h3 h; C4 U
警告的内容可以忽略。
; n( x& G* y$ ^/ n! \$ e" V& y' O; q8 T/ N4 [
不需要追求完美,关键就是网表不出错,电气连接不出错,制造的电路板不出错。0 m2 n( l3 J# ^; S+ F0 r+ J
抓住重点就好* F, c# J: M7 D  P& f' L( o# g, I0 D. z
numbdemon 发表于 2009-9-25 17:09

& m" @  T/ d3 S9 r& C如果没有规范的要求,就很难达成共识,有的在一个公司,大家这么规定还可以,但是到了别一个公司,又是另一种共识,请问这样的共识有用吗?而且没有统一的要求,是很难达成共识的。

该用户从未签到

7#
 楼主| 发表于 2009-9-25 22:09 | 只看该作者
3# numbdemon - m4 Z1 m% g: d7 B( R- d0 P" h& j
其实定义Type是很在必要的,且在后期这个属性是会传到Allegro中的,allegro对pin Type有很严格的要求,在仿真的时候都用得上.

该用户从未签到

8#
发表于 2009-9-28 11:49 | 只看该作者
5# Dandy_15
3 d' B% ~' Y% O1 }) x7 n$ X1.Pin Name信息并非网表需要关注的主要信息,真正关系到电气连接的是pin number,所以仅从这一点出发,对于电源引脚命名为相同名字还是不同的名字,可以随便选择。 当然软件本身会阻止你使用错误的命名方法(把非电源类型的引脚命名相同的名称)。$ z% P+ j  f" G
2.OrCAD原本只是Cadence公司半路购买来的产品,它与Allegro的配合并不是最默契的(最默契的要属concept,即HDL),所以有些瑕疵也是在所难免的。关于pin name的警告完全可以忽略。因为实质上它不会影响到电气连接。
, ~4 E* ~, ~! {3.关于pin type,由于在allegro进行相关仿真时有它自己的一套设置和配置方法,在OrCAD绘图时,不必要考虑。而且如果不能保证考虑完全正确,就会造成无用功,浪费工作时间和效率。所以一般的设计流程中可以不考虑pin type。除非你需要在OrCAD中使用Pspice仿真。
4 A* q' Z- L* e. u7 `: _+ A! y; {0 G* n
当然上述只是我个人意见,如果公司有自己的要求和规范,工作中还是要遵守的。但是心里要明白原理图设计的最重要目标是保证电气连接。

评分

参与人数 1贡献 +10 收起 理由
Bridge + 10 讲的好,讲的妙,讲的呱呱叫!

查看全部评分

该用户从未签到

9#
发表于 2009-10-20 20:10 | 只看该作者
严格的来说GND_1,GND_2.....都来表示GND的确超级不爽,给人的感觉是有3种地网络,都是CADENE把别人的ORCAD乱改惹的祸

该用户从未签到

10#
 楼主| 发表于 2009-10-26 08:14 | 只看该作者
8# numbdemon
4 o$ d' g' E/ d$ z我个人觉得,如果画原理图是一个人,画PCB是一个人,做SI仿真又是一个人的话,如果各管各的,你讲得可能比较实用,如果考虑到整个项目的话,有些工作在前面做比在后面可能会更好,毕竟做原理图对整个电路更了解些,以上只是人个观点,不对之处,还请指正。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-8-2 08:35 , Processed in 0.125000 second(s), 28 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表