Chip123 科技應用創新平台

標題: 用calibre要如何驗證所寫的command file是否正確 [打印本頁]

作者: ckboy0928    時間: 2009-10-27 11:59 AM
標題: 用calibre要如何驗證所寫的command file是否正確
想問一下,我用calibre要驗證所寫的command file是否正確,要如何下calibre驗證的語法呢?謝謝
作者: shkao0201    時間: 2009-10-27 06:17 PM
Rules Syntax Checker
2 o) g2 u( K5 X% q; ZThe rules_syntax_checker is a utility you can run on a rule file to validate the syntax of its3 l" B+ n5 w. v
statements. The full path to this executable is( h! |% q# Y$ N% k  X4 O, Q+ Y
$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker. As shown in the
/ |6 z- |& f, `- J& u3 {; Bfollowing example, this utility prompts you for the name of the rule file and then runs the check.6 O) e- n- s; q1 H8 {) W
It creates a zero length file named “compiled” if you answer “y(es)”.
" z7 ?6 z3 x; ]* Mrules_syntax_checker' K& L, z' ], F- L# ]  a
Please input the file name (CTRL-D to abort): rule_file: {, O# x+ y: K9 d4 m9 ]# c
13-72 Calibre Verification User’s Manual; V4 [, C, K( S# X/ y& D
Utilities) o; p* G# N/ d5 o5 @3 Q: l
Rules Syntax Checker
$ c! K+ v2 k3 t" ^; ?9 D( DSuccessful compilation; compilation time = 0.02$ ^6 O9 i. e5 i7 `
You can also specify the pathname to the rule file upon invocation, as follows:9 ?. t7 P) ^& ~0 q. v
rules_syntax_checker rule_file
. s9 J$ z) y) H6 hYou may want to do this if you are writing a shell script to automate the process.' [/ R% W+ `6 P4 P- l9 |
Encountering an error terminates the check. The rule file compiler generates an error message
( t5 W+ H9 f3 N& bfor the first such mistake it finds where the offending word sequence appears in the error
, ]+ M0 f$ E1 f: a5 h9 Gmessage. For example:
) t  p; n7 X+ k& z3 eError INP1 on line 15 of rule_file - superfluous or invalid input object:
5 u& t" `# E, Z5 N8 ]" uSORCE.& ~5 ~0 N6 w$ K: y) O
After correcting the first such error, recheck the rule file to find the next error. Repeat this
$ q1 P- a6 ]' C& f* ]7 c/ X3 ?process until the rule file generates no syntax errors.
作者: shkao0201    時間: 2009-10-27 06:20 PM
1執行"$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker"! i2 i% w2 c. W" g7 _7 D
2給予commandfile.
作者: ckboy0928    時間: 2009-10-28 11:53 AM
感謝這位大大提供,但是我照上面key in進去,結果出現; a+ ^# m2 d7 f) S: L2 j! ?
VCO : undefined variable訊息
" f* C: I5 k8 J: {- L1 ]- k- Y請問要如何解決?! t  F9 n. e5 H* f: l6 u" Y" d) @, i( q
指令中的VCO代表何意?
作者: shkao0201    時間: 2009-10-28 12:57 PM
/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/misc/rules_syntax_checker 這是我執行的目錄
+ R% V3 d- ~/ C" P9 ~* `1 Z/export/home/Calibre/ss6_cal_2005.1_10.20是calibre的安裝目錄. Q) B  D8 G- k0 D
你可以試試用which rules_syntax_checker去找出rules_syntax_checker放在哪
$ x5 X* }$ B. o0 o0 C, Q9 m2 z$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker中的$MGC_HOME/shared/pkgs/icv.${VCO}是你的calibre的安裝目錄喔# F# s; q, F9 y5 I
再試試看吧
作者: ckboy0928    時間: 2009-10-29 11:56 AM
在請問一下我所寫的command file 經過Compiler之後,如何得知哪條rule是對應到layout圖中某一區塊呢?
% ?3 q3 e4 i3 v. Q. D" \& `0 j- D* }
我知道 Dracula是在Tools-->Dracula Interactive,在選DRC-->SETUP-->在設定run drc 路徑,就可知道哪條rule是對應到layout圖中某一區塊,不知calibre是否有此功能,那要如何點選才有這項功能
作者: shkao0201    時間: 2009-10-29 01:02 PM
你run 完 DRC 或LVS  要呼叫RVE的視窗,就可以DEBUG了.  `0 X2 T- a: A3 o# A2 a
在DRC的視窗中--output--點選start RVE after DRC finishs.
" H# e; N$ v6 [* M) j1 O; n0 u在LVS的視窗中--output--點選start RVE after LVS finishs.
作者: shkao0201    時間: 2009-10-29 01:20 PM
基本上laker有將calibre的選單放入layout視窗中
  i7 B8 u8 D( O" g4 z& ^4 @virtuoso 則是要在.cdsinit中加入calibre的skill    才會出現在layout 視窗6 x1 E4 S2 S/ X) }# ^7 H8 t' d) s
操作上laker virtuoso 大同小異
作者: shkao0201    時間: 2009-10-29 01:22 PM
setSkillPath(/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/queryskl)
( j# ?, W7 L5 r) g2 Iload("/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/queryskl/calibre.skl")
/ V) H6 l( [( j" b+ R6 A$ Q: h* A7 D, ?
以上是virtuoso 是要在.cdsinit中加入calibre的skill指令
作者: ckboy0928    時間: 2009-10-29 01:29 PM
在請問一下,如何改變Highlight的顏色,謝謝!!
作者: shkao0201    時間: 2009-10-29 01:40 PM
virtuoso 要去修改LSW" ]. E: C' W, R* G$ Q' t
$ h& Y* b4 U" T+ R  I8 }/ ^' X
在Laker預設中,Calibre highlight DRC錯誤的layer為system layer HLNet1 – HLNeta.如果想要讓highlight能夠閃爍,就必須更改這10層的設定
作者: shkao0201    時間: 2009-10-29 01:52 PM
你是使用你一套layout tools??  比較好回答你的問題
作者: ckboy0928    時間: 2009-10-29 01:56 PM
我目前是使用virtuoso layout tools,謝謝你!!
作者: shkao0201    時間: 2009-10-29 02:04 PM
在virtuoso 中 calibre DRC highline是可以在layout視窗
# q: P$ |3 O1 E- dCalibre --setup---RVE 選取你要用來做highline的layer
作者: shkao0201    時間: 2009-10-29 02:24 PM
關於calibre如何操作你可以看看/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pdfdocs/calbr_inter_user.pdf
- W1 V) k' S. i3 E# _有詳細說明
作者: motofatfat    時間: 2009-11-11 10:06 AM
如果你有 GUI 功能
  c* C8 h, L: b( O( |2 c* }8 o先去 load command file) w) y' t  d2 s7 u% Z0 M
就能知道
作者: dlnxx    時間: 2010-1-7 06:28 PM
LSW=>Edit=>Display Resource Editor( X/ s1 g: @- z- E' A0 E
點選  "●ALL"  後,修改 y0 的顏色及是RVE error highline 的顏色0 D% H- O- b3 w# a
y2 ~ y9 為 "Mark Net" 功能的顏色




歡迎光臨 Chip123 科技應用創新平台 (http://chip123.com/) Powered by Discuz! X3.2