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文件。5 q6 p# D1 S. M+ R/ C
请大侠指教啊。
作者: ilovechina    时间: 2009-7-17 09:25
From my personal experiences,
( i1 L0 E8 [! v! {7 TI 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.. ~5 S4 n# R, P- x9 O( L3 r+ ?
8 g5 g) S$ Z1 d3 n+ C
You may try this way.
/ p: @) O  k6 J  W* O$ J+ F: Y6 ^4 b1 ~- l% O
assuming:
  g# J# z3 z* ~% T- F(1) convert "R0A.brd" to "R0A.hyp"
% i6 f& n# O3 U- z(2) You may find "extracta.exe" in "X:\cadence\spb_16.2\tools\pcb\bin" directory9 r: D: d/ w$ c$ b
(3) you may find "hyp.txt" in HyperLynx installed directory.
. n9 |/ F- c- s* u) q) \/ t1 w5 t8 J8 y# P% X0 Q
#1: execute  the following command in XP command prompt 2 |, R, j% S) d0 Y1 {( d8 s$ {
->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c
2 R4 f; `5 C$ ^+ v# H$ }# ?. H3 J
# z. V" l5 h) a$ W$ k. ]It will generate three Allegro ascii files:. \3 h; ^/ e0 a/ c. G8 U* p2 {
(1) Component & connectivity data (a_c)  => we need this ONLY.# ?( ?+ s( a$ |' {4 T) C$ {/ t1 v
(2) Layout data (a_l)
9 h6 ]5 K% ~/ l(3) Outline data (a_o)  j; T0 b, x+ U7 o3 n' O1 J

$ {3 V! ^$ f0 \! }3 |#2: run HyperLynx program and File->Translate PCB to BoardSim Board -> Cadence Allegro (*.A_C,*.brd), then Load "R0A.a_c"; c, O2 o( e, U9 F, z
It will create the "R0A.hyp" file1 N; Z, g% u8 J' E
& A- a& a% C6 k$ Q$ B2 ]: x
Done !  R/ y% p* r% k( D9 p

' `! v* N+ M- dI hope it will help !
作者: wowo1215    时间: 2009-7-20 09:21
感谢Ilovechina的详细解答。
5 A4 D9 h* N; D# ~实际上,我如果用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 ??5 p; s# y7 X% k+ A' ]  k  W

% }$ h) b& ?- E& m#1: execute  the following command in XP command prompt
! o5 ~% `% J/ i->extracta.exe R0A.brd hyp.txt R0A.a_l R0A.a_o R0A.a_c" I$ T% R; j9 m* K( ]
# m9 E! F+ o3 O4 k$ k4 c" `
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 ??)* u7 g5 p7 T. P* V, `* V
. N" {2 c: [3 H' h3 I$ [) 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)
4 s4 a- d" `# C9 u* `/ i
2 B" N/ P! P4 l& e
: Z/ M5 x9 o' Y. k: [- hThe Cadence Allegro(extracta.exe) must generate those *.a_c, *.a_l and *.a_o files for interfacing with HyperLynx.
* x, ]! Q* d: U; vPlease refer the document I posted at https://www.eda365.com/thread-22898-1-1.html
+ Z) Q/ A, h# O0 O7 C6 a0 }+ _8 P
If you can not create those three files, there is something wrong at Allegro side,
5 ^9 K. e5 s" Snot HyperLynx side.   
% T4 U* Y4 i3 P2 R9 I6 q* [2 n. ?4 Z8 N. t0 }3 v5 T0 I( }
% M6 @% D, l% {% T8 c' _" a) h& S
The following is the R0A.log that HyperLynx program created when I successfully finished the conversion.0 u( f' T) m9 {, `
4 A& Y. Z1 N1 ]& o

! f0 n# X7 C) Y! L' J7 @-------------------------------R0A.log----------------------------------9 o1 a7 ?& o4 r3 P( g* ?, p
" o+ Y6 @$ ]& W( c
Allegro2hyp: 7.7.33
8 y3 n+ o# F: _, B7 u+ x0 @7 }Copyright Mentor Graphics Corporation 2006. All Rights Reserved.- x/ J6 H- V2 Z: b; q
Translating files: + C- C# c5 Q3 U  q$ g$ Z
    F:\Allegro_Works\R0A.a_c! A( ?: p' ?7 N" E  u( J
    F:\Allegro_Works\R0A.a_l
' W+ T" j+ P. w# I    F:\Allegro_Works\R0A.a_o
1 l8 @5 O* S7 E+ u2 wUse COMP_VALUE or COMP_DEVICE_TYPE for IC names.
6 G% p! E9 s5 w( AAllegro file translation complete,# z0 P, _  o  W' w* d+ r3 k2 n
    F:\Allegro_Works\R0A.hyp created.5 j! r: f& W3 d6 o/ Q1 l* E6 L
# h# y9 a3 I* d+ Q

9 c7 [2 \( X$ m3 R" x2 `4 ?( X) S, J$ V: y) Q7 d
-----------------------------------------------------------------  |  I' H! [: r$ T, }
. _5 m1 k, x! b7 m

2 s! p: v) i- I* Q6 oAnd  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")
7 }2 Z) ?) x  y' @! n3 G$ ~3 t6 f& o, q* D; K0 i' l( W7 R! d
Hope it will help and good luck !
作者: wowo1215    时间: 2009-7-20 12:45
再次感谢Ilovechina的详细解释。, T, _. c  S  h* |% d
由于我现在用的Hyperlynx的版本是8.0的,其hyp.txt文件已经升级成control_hyp.txt了,输出文件也由原来的三个增加到了十个(9个txt文件+1个a_b文件),对板子的描述也更详细了。而这个a_b文件就相当于之前的a_c文件,确实可以从hyperlynx中直接转成.hyp文件。但是,就是转完以后会有net(或者其中一段)被漏掉。! Z4 `! ]) w; a5 i3 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
2 `( T. y0 p9 _% ]我机器上只有SPB 16.0,所以你发的这个我的allegro打不开,也就没法转了。不知道你还有没有其他转成功的,稍微复杂点儿的板子?
/ a+ R$ O6 i+ u! p( i# ]& YPS:我用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.( b) I/ B' ~: |* W8 m0 a

$ O* n/ I) t! m% ?. XThe source Link of the board is
! y6 ^2 p. m; l& |+ l+ `$ Ihttp://www.eetop.cn/bbs/thread-74180-1-21.html
' ?2 u; B1 ~2 Q
) p2 Y: a4 f: q3 U. i
# S# W) z5 M' i% e" l# c0 \, S6 QThere 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
  \2 I5 t* r" ~6 z7 E( [9 xSomeone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...
" a9 W+ h7 Q$ z& `% S, w
请问,您的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
& X! U% }5 a2 ^" j' J. l" \Someone uploaded this brd file on this web a while ago. I just use this as example.  It can be conve ...
3 q! w0 Y3 ^! j  o9 Q* T# k! l
谢谢分享,不错的资料. j: ?% x/ T) f$ @8 {

作者: zhuwenhuo    时间: 2016-4-30 11:06
谢谢,试一下看看。
作者: hayden    时间: 2017-6-2 16:38
8 J4 `1 Q: {9 F- n, 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