EDA365电子工程师网

标题: 请教brd 转hyp问题 [打印本页]

作者: wowo1215    时间: 2009-7-17 09:25
标题: 请教brd 转hyp问题
我用的是Hyperlynx 8.0版,点File-->New Board(Run PCB Translator) 可以把brd转成hyp,但是会丢失信息,有的net变成unroute net了。 我如果用Allegro的extract 命令行,生成了9个txt文件+1个a_b文件,就是没有hyp文件。% q' w8 U5 R* }1 E( [8 p
请大侠指教啊。
作者: ilovechina    时间: 2009-7-17 09:25
From my personal experiences,
+ \" X8 Z/ _, B: w" L) [I do NOT  really trust the HyperLynx built-in automatic converter (directly *.brd to *.hyp). So, when the converting fails or show error, try not  using HyperLynx built-in automatically converting with Allegro *.brd file, manually use command line (by using extracta.exe) to create *.a_c file, then loading *.a_c file to convert to *.hyp.0 a3 i5 g: d/ J% Q; I# J
% M3 A& K) a. M9 ^
You may try this way.  p: c( ]2 T3 b

7 I2 u3 E4 }: v' k! d' Qassuming:
0 D" t, @' C7 o: g* f(1) convert "R0A.brd" to "R0A.hyp"$ k- b8 n0 O0 r; t
(2) You may find "extracta.exe" in "X:\cadence\spb_16.2\tools\pcb\bin" directory
4 V9 \1 j  S$ r% {. n$ D(3) you may find "hyp.txt" in HyperLynx installed directory.
4 v% ]8 h0 C! Z9 O- w
& f0 m) G/ y9 {# U( _+ t#1: execute  the following command in XP command prompt
+ g5 P6 V3 G3 t/ d- U3 \->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c' I  T- ~7 [) O! `1 l

2 H' ?4 J3 t! p8 `. eIt will generate three Allegro ascii files:& g8 \  f. w- n7 l4 F9 z% [
(1) Component & connectivity data (a_c)  => we need this ONLY.0 j( _9 M8 U3 `# U& A0 B/ X
(2) Layout data (a_l)
$ r' y4 P0 _' b/ I4 t: C% D* L(3) Outline data (a_o)" t3 q. b( G& C/ ~) v

' ~! p* t- s# r' N/ s' a3 [1 W' b#2: run HyperLynx program and File->Translate PCB to BoardSim Board -> Cadence Allegro (*.A_C,*.brd), then Load "R0A.a_c"
: A2 ^9 `5 Q* c- f7 a. }& t* D3 D0 \% D7 XIt will create the "R0A.hyp" file6 r3 V2 d9 l; r8 `2 x
+ U+ ]4 ^( q# ~+ N
Done !
' M4 V( h) x' D# [
( ~$ T) k8 r& b% z) ?. b" Z' gI hope it will help !
作者: wowo1215    时间: 2009-7-20 09:21
感谢Ilovechina的详细解答。9 }- c+ Z9 h+ K- ]
实际上,我如果用Allegro的extract 命令行,生成了9个txt文件+1个a_b文件,我把这个a_b文件用hyperlynx转换跟直接转brd结果是一样的,还是好多net的信息会丢掉,尤其是小的net或者表层的thermal relief。 不知道有没有什么好的办法?
作者: rx_78gp02a    时间: 2009-7-20 11:50
brd还是用allegro的sq比较好吧!
作者: ilovechina    时间: 2009-7-20 12:07
Do you really execute this same command word by word except for file name ??( z4 Q4 C3 h, Z" \

& p( t( w. \+ X* L5 j2 K#1: execute  the following command in XP command prompt: ~2 ^) o( V) k" w# b
->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c
9 `7 I9 i6 D5 ]% @4 [: V# ~0 V4 r1 u( M
if you execute the same command, except for file name, I do not see how it could create  nine txt file, plus *.a_b file (what is that ??)
$ B3 ]# k% \1 q4 Y$ n5 k
# U( y5 c$ }" [5 P' ]why not copy your brd file + hyp.txt to allegro extracta.exe directory ("X:\cadence\spb_16.2\tools\pcb\bin") and execute #1 command to see if it create those three files or not ?? (I bet it will unless there is error at brd file): ~: U' N" H% Z* F9 ~# Q4 Q

7 m- m. u: g5 U7 L' T0 B& H, n% q# Y  O6 }* R, z
The Cadence Allegro(extracta.exe) must generate those *.a_c, *.a_l and *.a_o files for interfacing with HyperLynx. 8 e; t/ w( ?8 |  s) ]& ]' k! {
Please refer the document I posted at https://www.eda365.com/thread-22898-1-1.html
. y, I8 C3 J* U; Z
; {0 ?" @' E1 k; |; s. Y+ qIf you can not create those three files, there is something wrong at Allegro side,
  ?8 y4 S- h$ r) xnot HyperLynx side.   
$ H0 j  J9 a1 D/ z: e, E, f" S) F+ d
8 I' k. y6 W: g+ N$ u$ G: c- f
The following is the R0A.log that HyperLynx program created when I successfully finished the conversion.* e6 d/ b/ {/ g! {. L; F. n
* t. [+ b. d% L6 O' M+ t3 X
& K/ b8 @" w4 ?; t- }8 K! {
-------------------------------R0A.log----------------------------------
$ ^( b/ C- @: E& Q5 c* Y0 d- s6 E. Q1 C7 @/ p3 D
Allegro2hyp: 7.7.33; ?4 m1 q- K5 ?
Copyright Mentor Graphics Corporation 2006. All Rights Reserved.
7 C: K- I2 A" TTranslating files: 3 n+ k& B; x( F5 e2 U3 E
    F:\Allegro_Works\R0A.a_c
) |' }( @5 S, t5 d4 C    F:\Allegro_Works\R0A.a_l
# u1 H2 n: S) R) L    F:\Allegro_Works\R0A.a_o
- Y8 _# L5 Y3 q, dUse COMP_VALUE or COMP_DEVICE_TYPE for IC names.# p4 Q* j: j9 ]9 {# G. p
Allegro file translation complete,
& D( F# k9 E" D1 X0 h" {! u2 t    F:\Allegro_Works\R0A.hyp created.8 L$ n2 v; {# |) W1 q& v
6 ]- j( H4 |9 g2 l% f: O. S
8 }5 }& n+ b1 D# f. \, `

  P1 M6 k4 \1 `; `& Z-----------------------------------------------------------------
5 H5 \8 t9 b: }* P6 R2 T+ E: G9 q6 _4 T3 j3 ?; c

. I; l+ ~, u  fAnd  I think you are using SPB 15.x version that are still with "extract.exe". New SPB 16.x is with "extracta.exe". They should be same as function wise. I  have another PC still installed with spb 15.5 ("extract.exe") and got the same result as SPB 16.2 ("extracta.exe")
2 F- \$ L& o# M" \2 Y: _1 [2 o/ A# d' n  b
Hope it will help and good luck !
作者: wowo1215    时间: 2009-7-20 12:45
再次感谢Ilovechina的详细解释。; }7 l0 z3 B6 H5 q3 V
由于我现在用的Hyperlynx的版本是8.0的,其hyp.txt文件已经升级成control_hyp.txt了,输出文件也由原来的三个增加到了十个(9个txt文件+1个a_b文件),对板子的描述也更详细了。而这个a_b文件就相当于之前的a_c文件,确实可以从hyperlynx中直接转成.hyp文件。但是,就是转完以后会有net(或者其中一段)被漏掉。" E1 b% a$ |9 V
不知道ilovechina手头上有没有8.0版的hyper可以试一下。或者如果你有老版的,也可以发上来,我装上再试试。
作者: ilovechina    时间: 2009-7-21 03:33
Someone uploaded this brd file on this web a while ago. I just use this as example.  It can be converted to Hyperlynx (v8.0) boardsim file *.hyp. The attachment is the brd & hyp.

Allegro_HyperLynx examples.rar

321.75 KB, 下载次数: 259, 下载积分: 威望 -5


作者: wowo1215    时间: 2009-7-21 09:50
7# ilovechina 0 n# i6 Q4 G* t- s6 ?" H
我机器上只有SPB 16.0,所以你发的这个我的allegro打不开,也就没法转了。不知道你还有没有其他转成功的,稍微复杂点儿的板子?7 `2 ]* G$ C" S9 f: Y) O" U
PS:我用Hyperlynx8打开你发的hyp文件的时候也会提示有unroute net。
作者: ilovechina    时间: 2009-7-22 02:43
The gentleman posted this brd file on 2007-08-21. If you can not read this board file, there is something wrong with your systems , NOT 16.0 or 16.2 issue.7 z" v0 d" B9 K" a! l5 ~6 F$ O
1 S+ b5 ]% y6 b" B6 H. l* R
The source Link of the board is% g; e4 [% W* x, o8 R/ \
http://www.eetop.cn/bbs/thread-74180-1-21.html
# R- l& e7 I  g3 b9 {, c" w3 Z/ s8 O& J. J4 Y
, W! O* K0 R: E$ o9 ^
There are so many Allegro PCB brd files posted on the Websites, searching and find whatever you want !
作者: wowo1215    时间: 2009-7-23 16:43
我又从网上找了一块双层板,用Hyperlynx8.0直接就可以转成Hyp格式,没有出现什么问题。但是用来转我的板子(只有6层)就出问题了。哎,郁闷了。。。
作者: zgl846    时间: 2012-4-6 14:03
楼主辛苦喽,谢谢分享,加油啊,顶一个 bjbdf466zgl
作者: pwj6323    时间: 2012-5-3 19:46
如果只是做反射分析,一些不重要的线unroute应该是没有问题的.
作者: johnnash    时间: 2012-10-12 09:34
ilovechina 发表于 2009-7-21 03:33 ) o* z, x+ V$ V. {! h! E
Someone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...

7 e! ~3 @# u7 S( t4 G3 J0 [请问,您的allegro文件,是怎么转成hyp文件的?{:soso_e122:}
作者: 278529735    时间: 2012-12-10 08:56
ilovechina   强悍啊
作者: yuhuikeji    时间: 2014-4-22 16:31
非常感谢!分享!
作者: ideapivot    时间: 2016-3-8 20:11
ilovechina 发表于 2009-7-21 03:33
( R- I0 b0 V, J8 D5 N6 _. X7 @& `) kSomeone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...

# S5 b! d# E: T9 x谢谢分享,不错的资料
: B1 W) H4 F! P% T3 K
作者: zhuwenhuo    时间: 2016-4-30 11:06
谢谢,试一下看看。
作者: hayden    时间: 2017-6-2 16:38

3 t' X/ s0 t/ A7 }3 R, _非常感谢分享!
作者: Shoumei    时间: 2017-7-6 14:37
非常感谢分享!
作者: benwa    时间: 2018-2-1 15:46
thanks very much




欢迎光临 EDA365电子工程师网 (http://bbs.elecnest.cn/) Powered by Discuz! X3.2