Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

搜索
1 2 3 4
查看: 16156|回復: 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# G. u1 d! r, \/ a) _) V5 ?* r
The rules_syntax_checker is a utility you can run on a rule file to validate the syntax of its
' k! C* r8 T! l8 v5 _- @; estatements. The full path to this executable is
( q3 O+ G& g+ [/ D+ {4 s# v! E$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker. As shown in the6 w8 Z0 w8 ?/ @3 Z4 n. I9 i7 F
following example, this utility prompts you for the name of the rule file and then runs the check.
& t7 {5 y9 i  W1 h8 KIt creates a zero length file named “compiled” if you answer “y(es)”.
: @! a4 J& c( h, f) frules_syntax_checker* ~# w. |6 J( I" ?0 B( R
Please input the file name (CTRL-D to abort): rule_file
) O0 i1 A8 U) U& }$ L: T6 v13-72 Calibre Verification User’s Manual
, N4 ]# l% g! IUtilities+ ]; k$ ]/ c; Y' U5 \3 }# u, _
Rules Syntax Checker
. o" K1 E- b8 Z. L$ l  }Successful compilation; compilation time = 0.02
* ~! h/ Z( X/ L2 y; R: y+ \You can also specify the pathname to the rule file upon invocation, as follows:
# T8 j) ^* Y+ k/ V; u5 Irules_syntax_checker rule_file4 G, Z# C8 M, I& C; ^8 k5 x0 {
You may want to do this if you are writing a shell script to automate the process." `* _+ ~$ M* d5 }% Z, m6 k
Encountering an error terminates the check. The rule file compiler generates an error message
' R, f& f  x  ^. C/ [0 q' |. zfor the first such mistake it finds where the offending word sequence appears in the error' O5 K' \8 i# }  i# [2 w8 B
message. For example:9 {2 P4 L$ q9 I' I% \
Error INP1 on line 15 of rule_file - superfluous or invalid input object:
2 d/ k+ j% I" v8 J, cSORCE.
' a1 H4 K8 v* T0 G) ^3 k. L- BAfter correcting the first such error, recheck the rule file to find the next error. Repeat this' ]' Q' V& I* p& @5 w' v' }
process 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"# C# F. n4 y. n: B) ~: x6 ~
2給予commandfile.
4#
 樓主| 發表於 2009-10-28 11:53:06 | 只看該作者
感謝這位大大提供,但是我照上面key in進去,結果出現5 W+ u* ]* X2 c& y; }4 h
VCO : undefined variable訊息6 a6 Q+ C" u& z3 F
請問要如何解決?/ ~$ Q/ E# Z+ Q- B, s2 [
指令中的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 這是我執行的目錄
) P5 [' }9 e& s/ e' E0 r% H/export/home/Calibre/ss6_cal_2005.1_10.20是calibre的安裝目錄
0 C: [$ H$ p5 ?! x+ @6 j你可以試試用which rules_syntax_checker去找出rules_syntax_checker放在哪
8 y- X; o9 c+ Z1 H" [$MGC_HOME/shared/pkgs/icv.${VCO}/tools/misc/rules_syntax_checker中的$MGC_HOME/shared/pkgs/icv.${VCO}是你的calibre的安裝目錄喔
# H- p+ p5 V3 U' @9 H+ x" ?9 a9 \再試試看吧
6#
 樓主| 發表於 2009-10-29 11:56:06 | 只看該作者
在請問一下我所寫的command file 經過Compiler之後,如何得知哪條rule是對應到layout圖中某一區塊呢?, ?5 O8 c) G- m' ~
; c8 [" O2 b4 d# |: }! e; @  l
我知道 Dracula是在Tools-->Dracula Interactive,在選DRC-->SETUP-->在設定run drc 路徑,就可知道哪條rule是對應到layout圖中某一區塊,不知calibre是否有此功能,那要如何點選才有這項功能
7#
發表於 2009-10-29 13:02:38 | 只看該作者
你run 完 DRC 或LVS  要呼叫RVE的視窗,就可以DEBUG了.
' U# q/ s  W& |/ E/ c在DRC的視窗中--output--點選start RVE after DRC finishs.
0 ^9 n, {1 R8 K' R% P, e/ }* j# `在LVS的視窗中--output--點選start RVE after LVS finishs.
8#
發表於 2009-10-29 13:20:16 | 只看該作者
基本上laker有將calibre的選單放入layout視窗中* r, ?5 ~  I9 I5 s# O
virtuoso 則是要在.cdsinit中加入calibre的skill    才會出現在layout 視窗
5 @2 b1 f. y/ ~( {& `  v操作上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)
! z" p* y# P9 {1 [: Uload("/export/home/Calibre/ss6_cal_2005.1_10.20/shared/pkgs/icv.ss6/tools/queryskl/calibre.skl")- G1 U$ p5 w% `* G- L  C4 l
  k$ F3 f4 j) C6 m
以上是virtuoso 是要在.cdsinit中加入calibre的skill指令
10#
 樓主| 發表於 2009-10-29 13:29:37 | 只看該作者
在請問一下,如何改變Highlight的顏色,謝謝!!
11#
發表於 2009-10-29 13:40:21 | 只看該作者
virtuoso 要去修改LSW8 _/ k( u8 P/ \

8 O* }8 L* W2 O* |6 k- z8 B9 ~# X在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視窗
$ g9 b0 A: {0 A3 e2 P/ q' T6 yCalibre --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: T# M: o9 N8 B8 {4 N
有詳細說明
16#
發表於 2009-11-11 10:06:09 | 只看該作者
如果你有 GUI 功能
2 o4 S8 \3 }0 F& {5 ?- |先去 load command file; {' O2 L+ a& \
就能知道
17#
發表於 2010-1-7 18:28:49 | 只看該作者
LSW=>Edit=>Display Resource Editor
# \! p& L. b/ O3 [" @2 z' b  `點選  "●ALL"  後,修改 y0 的顏色及是RVE error highline 的顏色
* l# ]& f. h' s3 E/ k: c  {. J, e* Xy2 ~ y9 為 "Mark Net" 功能的顏色
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-6-4 11:07 PM , Processed in 0.127016 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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