Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

搜索
1 2 3 4
查看: 16025|回復: 16
打印 上一主題 下一主題

[問題求助] 用calibre要如何驗證所寫的command file是否正確

  [複製鏈接]
跳轉到指定樓層
1#
發表於 2009-10-27 11:59:27 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
想問一下,我用calibre要驗證所寫的command file是否正確,要如何下calibre驗證的語法呢?謝謝
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂8 踩 分享分享
2#
發表於 2009-10-27 18:17:49 | 只看該作者
Rules Syntax Checker
: U1 [6 [# P/ c3 aThe rules_syntax_checker is a utility you can run on a rule file to validate the syntax of its: o5 z3 E7 H* P9 b$ D
statements. The full path to this executable is+ m  F) L; V8 H/ ]& }6 o
$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker. As shown in the
! U9 @% y6 S. U9 x" p0 p% \4 qfollowing example, this utility prompts you for the name of the rule file and then runs the check.
$ Z& ?$ Y4 a7 j: p3 o5 V6 e* _; `It creates a zero length file named “compiled” if you answer “y(es)”.
* }, G+ J7 g6 T, H2 B9 R& ?- ~rules_syntax_checker
, n6 w0 d8 V, q( W: dPlease input the file name (CTRL-D to abort): rule_file
" p' H! G6 t4 {7 W3 e( I: T4 I13-72 Calibre Verification User’s Manual6 A% t5 l5 b- \7 F
Utilities4 @; H# n0 }' L# T4 X0 ?. e
Rules Syntax Checker
* F) p; U8 h/ \Successful compilation; compilation time = 0.02& L" f- B% g3 p- Q* z/ ]
You can also specify the pathname to the rule file upon invocation, as follows:0 ^! @8 m  f4 t% Z% }& q8 e
rules_syntax_checker rule_file
! @  V2 b  A7 Q! CYou may want to do this if you are writing a shell script to automate the process.% O. r# @* H8 ?- }" z
Encountering an error terminates the check. The rule file compiler generates an error message4 \- O% H) r4 J0 `
for the first such mistake it finds where the offending word sequence appears in the error+ T0 y$ [8 ^9 @! P( u; _
message. For example:
3 T* h) R0 r, p5 [- r% ^$ }6 oError INP1 on line 15 of rule_file - superfluous or invalid input object:
# ~. d  j$ _; c* h, eSORCE.
4 K6 G4 a0 @8 J  N0 {: j: pAfter correcting the first such error, recheck the rule file to find the next error. Repeat this
; C2 z8 H& u3 ^* v. Kprocess until the rule file generates no syntax errors.
3#
發表於 2009-10-27 18:20:53 | 只看該作者
1執行"$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker"  P4 }. ^$ H& M! ^
2給予commandfile.
4#
 樓主| 發表於 2009-10-28 11:53:06 | 只看該作者
感謝這位大大提供,但是我照上面key in進去,結果出現
" c  G% X$ k  z# u. VVCO : undefined variable訊息
8 S- W6 u, ]2 P- b  p請問要如何解決?4 W/ }* j$ I7 Z' Q5 e+ m% r
指令中的VCO代表何意?
5#
發表於 2009-10-28 12:57:28 | 只看該作者
/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/misc/rules_syntax_checker 這是我執行的目錄
5 b# g: w0 J( q% x- D, T/export/home/Calibre/ss6_cal_2005.1_10.20是calibre的安裝目錄4 X1 l0 m, ?, z5 @2 j
你可以試試用which rules_syntax_checker去找出rules_syntax_checker放在哪
6 `( K5 m6 ~) b$ H# Z/ w! I$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker中的$MGC_HOME/shared/pkgs/icv.${VCO}是你的calibre的安裝目錄喔( l2 k4 m3 t) X. N+ ~
再試試看吧
6#
 樓主| 發表於 2009-10-29 11:56:06 | 只看該作者
在請問一下我所寫的command file 經過Compiler之後,如何得知哪條rule是對應到layout圖中某一區塊呢?+ l8 b+ \! E8 v6 F& r6 |- U+ H
' }( d. z; j: {6 o, c9 x/ g  ^; i
我知道 Dracula是在Tools-->Dracula Interactive,在選DRC-->SETUP-->在設定run drc 路徑,就可知道哪條rule是對應到layout圖中某一區塊,不知calibre是否有此功能,那要如何點選才有這項功能
7#
發表於 2009-10-29 13:02:38 | 只看該作者
你run 完 DRC 或LVS  要呼叫RVE的視窗,就可以DEBUG了.
  K2 O6 t2 [$ _1 ~- M- s在DRC的視窗中--output--點選start RVE after DRC finishs.
# Z2 Y2 {: T5 c. M) Y在LVS的視窗中--output--點選start RVE after LVS finishs.
8#
發表於 2009-10-29 13:20:16 | 只看該作者
基本上laker有將calibre的選單放入layout視窗中
' j6 P+ B' R# r- x  ^2 {virtuoso 則是要在.cdsinit中加入calibre的skill    才會出現在layout 視窗' U  o# @1 R( L, S' o
操作上laker virtuoso 大同小異
9#
發表於 2009-10-29 13:22:19 | 只看該作者
setSkillPath(/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/queryskl), P' ]4 ~! z8 v. u- z
load("/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/queryskl/calibre.skl")( P; y  u: |" Z8 ^0 @9 ?- g
) G6 P- i$ n( I1 ~# U# y, J0 @1 q3 U$ b
以上是virtuoso 是要在.cdsinit中加入calibre的skill指令
10#
 樓主| 發表於 2009-10-29 13:29:37 | 只看該作者
在請問一下,如何改變Highlight的顏色,謝謝!!
11#
發表於 2009-10-29 13:40:21 | 只看該作者
virtuoso 要去修改LSW/ |7 f& n" T3 k' Z7 {2 m

3 m7 s5 z! D1 D. o  t在Laker預設中,Calibre highlight DRC錯誤的layer為system layer HLNet1 – HLNeta.如果想要讓highlight能夠閃爍,就必須更改這10層的設定
12#
發表於 2009-10-29 13:52:45 | 只看該作者
你是使用你一套layout tools??  比較好回答你的問題
13#
 樓主| 發表於 2009-10-29 13:56:51 | 只看該作者
我目前是使用virtuoso layout tools,謝謝你!!
14#
發表於 2009-10-29 14:04:58 | 只看該作者
在virtuoso 中 calibre DRC highline是可以在layout視窗/ c5 S7 k  K8 t: Y/ W7 K2 y! T
Calibre --setup---RVE 選取你要用來做highline的layer
15#
發表於 2009-10-29 14:24:50 | 只看該作者
關於calibre如何操作你可以看看/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pdfdocs/calbr_inter_user.pdf
( v# X* L  S+ X有詳細說明
16#
發表於 2009-11-11 10:06:09 | 只看該作者
如果你有 GUI 功能! e) i* b2 T9 l5 {5 w/ v# X+ `8 F
先去 load command file. s+ _& p$ {1 X% q
就能知道
17#
發表於 2010-1-7 18:28:49 | 只看該作者
LSW=>Edit=>Display Resource Editor
2 Z) W" j9 O. e# i) X  f點選  "●ALL"  後,修改 y0 的顏色及是RVE error highline 的顏色
- d! f0 P* ~! p+ ?  t0 @y2 ~ y9 為 "Mark Net" 功能的顏色
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

首頁|手機版|Chip123 科技應用創新平台 |新契機國際商機整合股份有限公司

GMT+8, 2024-4-20 02:18 AM , Processed in 0.117007 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表