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文件。
3 T* B8 I& h' L' f" N9 k- j请大侠指教啊。
作者: ilovechina    时间: 2009-7-17 09:25
From my personal experiences,
8 R% C2 r$ `5 j  P4 |( `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.
. S7 r' I' ~+ I' i* F. n. h- ~; k7 }- n: N1 N; _; d' B) N3 v5 ~. k
You may try this way.
+ S+ v! w9 I! f) j7 {8 ^: }
" Q* a; S( v0 kassuming:
3 U4 Z$ j2 u" |0 E, f2 l(1) convert "R0A.brd" to "R0A.hyp"
- R5 p5 W7 k/ T2 b  s(2) You may find "extracta.exe" in "X:\cadence\spb_16.2\tools\pcb\bin" directory
; `. E$ h6 N1 z( d) J3 V(3) you may find "hyp.txt" in HyperLynx installed directory.
. y; F8 b( `: w6 L, y) l- ]7 q+ k) v, I
#1: execute  the following command in XP command prompt 2 G' k+ R3 u% {& O+ [, N; G3 f
->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c8 i, L0 g0 m; J3 R
* r" i* C( I. ]4 m; z
It will generate three Allegro ascii files:
5 r0 C0 |5 ]* A(1) Component & connectivity data (a_c)  => we need this ONLY.
8 ?! y" l  C% `& N(2) Layout data (a_l) . N( [  \: D# d' C$ C8 Z: R
(3) Outline data (a_o)
) e* b6 r6 u: }7 `4 Z" |6 _1 y% {4 N
) N' V* M  |# a1 |0 }* X) @8 B% t! j+ N#2: run HyperLynx program and File->Translate PCB to BoardSim Board -> Cadence Allegro (*.A_C,*.brd), then Load "R0A.a_c"
2 _) U. f8 q; n" j, U- }It will create the "R0A.hyp" file
% p$ F9 y4 W7 e& W) ^' X
" ]  [5 K, d9 J- D$ b$ ]Done !- Z  p/ A' e% g( j
8 q2 m5 R7 L5 Y! |
I hope it will help !
作者: wowo1215    时间: 2009-7-20 09:21
感谢Ilovechina的详细解答。( ?. [' R) Y0 Y1 _1 `4 Q: [
实际上,我如果用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 ??
- `  X3 p% }) S7 ~# i
* c/ ^$ p. I- N1 G#1: execute  the following command in XP command prompt* X0 ^+ e/ L, l# q3 d, N+ g
->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c  ]/ O0 D$ Q6 |0 q" g
. n' [. l, q* d5 x$ w8 H. ~3 ^3 V+ k0 G
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 ??)* l, w2 ~- b5 e3 P% h$ s
+ E9 ]$ g7 w% \. R2 u) F
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)
% w2 F7 [" O9 q: C  }2 ~  Q/ H+ i9 G7 G, O  T# y: V
0 f" A. M  g' C
The Cadence Allegro(extracta.exe) must generate those *.a_c, *.a_l and *.a_o files for interfacing with HyperLynx. ( m& t+ P8 b) ]9 n/ a8 `6 W
Please refer the document I posted at https://www.eda365.com/thread-22898-1-1.html, [' m# X4 I% n8 D" v; i6 u5 R

! {. q& G" p2 MIf you can not create those three files, there is something wrong at Allegro side,
; y$ t) f3 i' q7 X3 \not HyperLynx side.   ! \6 G# Y& Q: h, P1 x
& p, [( f( h2 D4 x- D4 ~

. r$ a- ]1 p( TThe following is the R0A.log that HyperLynx program created when I successfully finished the conversion.+ b8 r3 c5 Y7 w( p
4 s. Q7 w" R. G
$ ]7 _) E' J# Q+ x; O8 x8 }
-------------------------------R0A.log----------------------------------2 h& m) d6 y5 p" A: w9 u; F
8 \* l, o4 o) M7 ?& M  E8 {5 K
Allegro2hyp: 7.7.33
* @8 B/ u& S: x# x2 Q5 dCopyright Mentor Graphics Corporation 2006. All Rights Reserved.5 P$ |& l0 Q5 Z, i) m$ G
Translating files: : w* ~$ \! D. x* g  b1 R
    F:\Allegro_Works\R0A.a_c# {! Q  ]2 p: t) Q
    F:\Allegro_Works\R0A.a_l$ i% i6 N: ~1 `" y! N
    F:\Allegro_Works\R0A.a_o
+ z: g8 T. e- v8 t+ u9 @2 `Use COMP_VALUE or COMP_DEVICE_TYPE for IC names.
2 b/ [. u7 z0 |# K6 U8 g% T: m: ]) nAllegro file translation complete,
8 ~% t7 M# A0 m/ A    F:\Allegro_Works\R0A.hyp created.7 U9 q( r, T  q8 s9 S
7 q' Q7 c+ y' t5 s: V

3 C1 u# O+ Q0 g9 V
( q: S% |: G9 a. l2 x5 @2 s-----------------------------------------------------------------
$ J4 e$ c9 z& ^5 C! P
: m, i5 s6 i/ h5 ^
- ?6 F8 O7 b) Y/ p2 X+ }And  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")' [+ d! j5 E& C! ?

) F$ z; ?, _4 @& l) N0 z- v8 NHope it will help and good luck !
作者: wowo1215    时间: 2009-7-20 12:45
再次感谢Ilovechina的详细解释。- ~+ y- q" |1 ~% Q7 ?9 y
由于我现在用的Hyperlynx的版本是8.0的,其hyp.txt文件已经升级成control_hyp.txt了,输出文件也由原来的三个增加到了十个(9个txt文件+1个a_b文件),对板子的描述也更详细了。而这个a_b文件就相当于之前的a_c文件,确实可以从hyperlynx中直接转成.hyp文件。但是,就是转完以后会有net(或者其中一段)被漏掉。; G( D) Q- b3 b6 V6 s" ?6 |
不知道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   |, k8 [$ i7 G; f& l4 _
我机器上只有SPB 16.0,所以你发的这个我的allegro打不开,也就没法转了。不知道你还有没有其他转成功的,稍微复杂点儿的板子?
: |8 o: `* ]3 aPS:我用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.. ?1 I7 Y/ L) _  S. ~1 u

1 z- o0 U2 G( U: `$ tThe source Link of the board is
% \( v' _& R8 K- c, _http://www.eetop.cn/bbs/thread-74180-1-21.html
' S, l3 b( }- @& w/ T* q; L8 g* ~- F& e3 h. F- {$ E$ a
% \4 U" V5 H- Q! x# s. {% y9 G
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
' e, F3 {+ Y2 J  _$ R  g4 bSomeone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...
+ `& i6 G# L& p) Q
请问,您的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:337 t. Z$ M" S1 i( I7 g
Someone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...
/ g2 z1 `* w& S" L9 P
谢谢分享,不错的资料
/ Q9 h# [1 B+ G; O8 K+ j4 u
作者: zhuwenhuo    时间: 2016-4-30 11:06
谢谢,试一下看看。
作者: hayden    时间: 2017-6-2 16:38

6 Q( u" l" Z* R' Q$ e3 {; i" u非常感谢分享!
作者: Shoumei    时间: 2017-7-6 14:37
非常感谢分享!
作者: benwa    时间: 2018-2-1 15:46
thanks very much




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