cadence使用教程
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2
工作站使用初級入門
基本指令簡介: 1. ls:檢視目錄下所有檔案。 2. clear:清除螢幕。 3. pwd:顯示目前工作的目錄。 4. cd:改變目錄。 5. rm:刪除檔案。 6. cp:複製檔案。 7. mv:移動檔案。 8. mkdir:建立目錄。 9. rmdir:刪除目錄。 10. find:尋找檔案。 11. passwd:改變密碼。 12. chfn:改變全名。 13. finger:顯示使用者資訊。 14. rusers:顯示所有使用者。
3.用 ruler 把長度量好, 用右鍵點選 LSW 中所要用的 layer, 再點選常用功 能欄中的 rectangular 或 polygon 來畫.
4.如果邊長要糾正的話, 可使用 stretch 來達成, 或者是用 reshape 這功能. 5. 若要取消指令重選新指令,最好先按 Esc 鍵 6. Layout 時要注意 layers 之間的距離(參考 design rule) 7. 偶而可以點選 Layout 上面的指令 Design→Save 做儲存動作,免得夜長夢 多,天有不測風雲,人有旦夕禍福 8. 用 label 來定義端點名稱,每當打上 label 時,記得要點選該 label,然後 按 q ,改變該 label 的 layer 成 text2
常 用 功 能 鍵
指令顯示
因為是採用 0.25um 5 metal & 1 poly,所以 LSW 應該是看到以上的畫面。如果不 是的話,則有可能是 create library 時 technology file 沒有設對。 三.Layout 的基本操作
1. 設定視窗的點距(Grid),點選 Layout 視窗上面的指令選項 Option→Display
1.數字應該是 4.4.5 2.若不是 4.4.5,代表使用到舊版 的 cadence 了,請從第一點重新 開始
CIW(command Interpreter window)
三.點選在 CIW 視窗的上面工具列 Tools→Library Manager, 會出現 LM 視窗 LM(Library Manager)
檔案來源:可以從/home3/user/MS92/n2690181 複製 tsmc_025c 目錄到自己的目錄 指令:cp -rf /home3/user/MS92/n2690181/tsmc_025c /自己的目錄路徑/
(其中自己的目錄路徑可以打指令 pwd 得知) 檔案安放:
e24xxxxx (Home directiory)
Introduction
完整的 Full-Custom 設計系統環境 1. 設計資料庫-Cadence Design Framework II 2. 電路編輯環境-Text editor / schematic editor 3. 電路模擬軟體-spice 4. 佈局編輯軟體-Candence virtuoso 5. 佈局驗證軟體-diva, Dracula/Inquery, Hercules 系統環境 1. 工作站 2. unix-based 作業系統
4. 出現 Load Technology File 視窗 1. 鍵入 ~/techfile/025_v1.tf 2. 點選 OK 3. 即建立以 025_v1.tf 為 technology file 的 new library “hw1”
五.建立 Cell View 1. 第四點成功之後,會在 LM 視窗的 Library 列表出現第四點建立的 new library 名稱 2. 點選該名稱,比如 hw1,再選 LM 視窗上工具列 File→New→Cell View 1. 在 tool 改選擇 Virtuso,會在 view name 出現 layout 2. 在 cell name 填上名稱 3. 按 OK 之後,會開啟 layout editor 的畫面 若要產生 Schematic view, Tool 欄 要選取 Composer-Schematic. 若要產生 Symbol view, Tool 欄要 選取 Composer-Symbol.
9.刪除檔案
執行格式: rm filename (filename 可為檔名,或檔名縮寫符號。)
Example:
rm file1
刪除檔名為 file1 之檔案。
rm file?
刪除檔名中有五個字元,前四個字元為 file 之所有檔案。
rm f*
刪除檔名中,以 f 為字首之所有檔案。
PC 怎麼連工作站?
二.若 Schematic View 已存在,在 LM 視窗用滑鼠左鍵點選 Library 的 hw1→再點 選 cell 的 inv→再連續點選 view 的 schematic 兩次,或是用右鍵 open,即可開 啟 schematic 視窗
設定 grid 的顯示方式,通常是 dots 設定 minor grid 的間距,通常是 0.05 設定 major grid 的間距, 通常是 0.1 設定 X 軸移動的最小間距,0.01 設定 Y 軸移動的最小間距vity 的功能,點選 Layout 視窗的指令列 Options→Layout Editor,依照個人使用習慣與需要來選擇是否 Gravity On Gravity On:當滑鼠指標靠近物件時即被吸到該物件的邊緣
p+ implant
Thin oxide
contact
Metal1
n+ implant poly
PMOS layout view
n-well
p+ implant
n+ implant
12
Start schematic
一. 建立 Schematc view:跟建立 layout view 方法一樣(請參考 Start Cadence 的第 五大點的第二小點),先點選要 LM 視窗預定的 library,再點選 LM 視窗的 File→New→Cell view,按 OK 之後,即可建立 Schematic View
10
四.當在畫的途中,可以使用 on-line drc(DIVA)來檢查是否違反 design rule 1. 點選 Layout 視窗上面的指令 Verify→DRC 2. 出現 DRC 視窗
若無法讀取 divaDRC.rul, 1.取消選取 Rules Library,
2.給全路徑. ~/techfile/divaDRC.rul 或直接將 divaDRC.rul copy 到所使用的 library 中(ex: hw1).
6
四.建立新的 Library 1. 點選 LM 視窗上面的工具列 File→New→Library 2. 會產生 New Library 畫面 1. 在 name 填上 Library 名稱 2. 點選下面的 OK
3. 出現下列畫面
7
1. 選擇 Compile a new techfile 2. 點選上面的 OK
7.當全部畫完時,務必要 on-line DRC 成功才行 五.以上是大致的使用方法,若要更詳細可 reference CIC 的 Full-Custom IC Design KIT (basic) Training Manual.
11
以下是 NMOS 和 PMOS 的 Layout 圖 NMOS layout view
5.複製檔案 執行格式: cp [-r] source destination Example: cp file1 file2 將檔案 file1 複製成 file2。 cp –r dir1 dir2 複製整個目錄。
3
6.搬移或更改檔案、目錄名稱。 執行格式: mv source destination Example: mv file1 file2 將檔案 file1,更改檔名為 file2。 mv file1 dir1 將檔案 file1,移到目錄 dir1 下,檔名仍為 file1。 mv dir1 dir2 改目錄名稱 dir1 為 dir2。
4
事前準備
所需檔案: cds.lib 025_v1.tf display.drf drc lvs lpe divaDRC.rul mix025_1.l
用途 Library definition Technology file for design rule layer display information Design rule check Layout v.s. Schematic Post layout extraction on-line DRC check(DIVA) Models library for 0.25um(tsmc)
7.建立新目錄 執行格式: mkdir directory-name Example: mkdir dir1 建立一新目錄 dir1。
8.刪除目錄 執行格式: rmdir directory-name 或 rm directory-name Example: rmdir dir1 刪除目錄 dir1,但 dir1 下必須沒有檔案存在,否則無法刪除。 rm –r dir1 刪除目錄 dir1,及其下所有檔案及子目錄。
1. 桌面改為 1024*768*256 色 2. 執行 xwin 程式 3. Netterm telnet 140.116.164.112~141 (CIC 電腦教室) 4. e2486***@eesol08:~> who
e2486*** pts/2 Dec 28 11:43 (.tw) 5. e2486***@eesol08:~> setenv DISPLAY .tw:0.0 6. 完成上述五個步驟後,Start Cadence 的方法,請參閱使用手冊第六頁。
使用手冊
Edited by 黃子龍、趙建勝、林慶鈞(2002)
1
Outline
1. Introduction 2. 工作站使用初級入門 3. 事前準備 4. Cadence
A. Layout B. Schematic C. Symbol D. PDRACULA 5. Spice A. Hspice B. Awaves
models techfile
mix025_1.l
025_v1.tf divaDRC.rul
simulation
drc
lvs
check
lpe
work
cds.lib display.drf
5
Start Cadence
一.在 Terminal 視窗
→ source ~n2690181/ic.cshrc.cad445 → cd work(進去有放 cds.lib 的目錄) → icfb& 二.出現畫面
3. 4. 按 OK 之後,會開始跑 DRC,若有錯誤,CIW 對話盒會秀出錯誤並且在
Layout 視窗也會有 marker 閃爍
5. 可以點選 Layout 視窗上面的指令 Verify→Makers→Explain,然後選擇 Layout 視窗中閃動線條,即可知所犯的錯誤
6. 若要消除在 Layout 視窗閃爍的 marker,點選 Layout 視窗上面的指令 Verify →Markers→delete all,出現下面視窗,再點選 OK 即可。
8
Start Layout
一.在 LM 視窗用滑鼠左鍵點選 Library 的 hw1→再點選 cell 的 inv→再連續點選
view 的 layout 兩次,或是用右鍵 open,即可開啟 layout 視窗
二.
Layout Editor
LSW(Layout selection window)
指令再介紹: 1.登錄步驟
login :___________(輸入 username) password:___________(輸入密碼)
2.登出步驟 logout 或 exit
3.線上指令說明 執行格式: man [command-name]
4.改變工作目錄位置 執行格式: cd [name] Example: cd dir1 改變目錄位置,至 dir1 之目錄位置下。
工作站使用初級入門
基本指令簡介: 1. ls:檢視目錄下所有檔案。 2. clear:清除螢幕。 3. pwd:顯示目前工作的目錄。 4. cd:改變目錄。 5. rm:刪除檔案。 6. cp:複製檔案。 7. mv:移動檔案。 8. mkdir:建立目錄。 9. rmdir:刪除目錄。 10. find:尋找檔案。 11. passwd:改變密碼。 12. chfn:改變全名。 13. finger:顯示使用者資訊。 14. rusers:顯示所有使用者。
3.用 ruler 把長度量好, 用右鍵點選 LSW 中所要用的 layer, 再點選常用功 能欄中的 rectangular 或 polygon 來畫.
4.如果邊長要糾正的話, 可使用 stretch 來達成, 或者是用 reshape 這功能. 5. 若要取消指令重選新指令,最好先按 Esc 鍵 6. Layout 時要注意 layers 之間的距離(參考 design rule) 7. 偶而可以點選 Layout 上面的指令 Design→Save 做儲存動作,免得夜長夢 多,天有不測風雲,人有旦夕禍福 8. 用 label 來定義端點名稱,每當打上 label 時,記得要點選該 label,然後 按 q ,改變該 label 的 layer 成 text2
常 用 功 能 鍵
指令顯示
因為是採用 0.25um 5 metal & 1 poly,所以 LSW 應該是看到以上的畫面。如果不 是的話,則有可能是 create library 時 technology file 沒有設對。 三.Layout 的基本操作
1. 設定視窗的點距(Grid),點選 Layout 視窗上面的指令選項 Option→Display
1.數字應該是 4.4.5 2.若不是 4.4.5,代表使用到舊版 的 cadence 了,請從第一點重新 開始
CIW(command Interpreter window)
三.點選在 CIW 視窗的上面工具列 Tools→Library Manager, 會出現 LM 視窗 LM(Library Manager)
檔案來源:可以從/home3/user/MS92/n2690181 複製 tsmc_025c 目錄到自己的目錄 指令:cp -rf /home3/user/MS92/n2690181/tsmc_025c /自己的目錄路徑/
(其中自己的目錄路徑可以打指令 pwd 得知) 檔案安放:
e24xxxxx (Home directiory)
Introduction
完整的 Full-Custom 設計系統環境 1. 設計資料庫-Cadence Design Framework II 2. 電路編輯環境-Text editor / schematic editor 3. 電路模擬軟體-spice 4. 佈局編輯軟體-Candence virtuoso 5. 佈局驗證軟體-diva, Dracula/Inquery, Hercules 系統環境 1. 工作站 2. unix-based 作業系統
4. 出現 Load Technology File 視窗 1. 鍵入 ~/techfile/025_v1.tf 2. 點選 OK 3. 即建立以 025_v1.tf 為 technology file 的 new library “hw1”
五.建立 Cell View 1. 第四點成功之後,會在 LM 視窗的 Library 列表出現第四點建立的 new library 名稱 2. 點選該名稱,比如 hw1,再選 LM 視窗上工具列 File→New→Cell View 1. 在 tool 改選擇 Virtuso,會在 view name 出現 layout 2. 在 cell name 填上名稱 3. 按 OK 之後,會開啟 layout editor 的畫面 若要產生 Schematic view, Tool 欄 要選取 Composer-Schematic. 若要產生 Symbol view, Tool 欄要 選取 Composer-Symbol.
9.刪除檔案
執行格式: rm filename (filename 可為檔名,或檔名縮寫符號。)
Example:
rm file1
刪除檔名為 file1 之檔案。
rm file?
刪除檔名中有五個字元,前四個字元為 file 之所有檔案。
rm f*
刪除檔名中,以 f 為字首之所有檔案。
PC 怎麼連工作站?
二.若 Schematic View 已存在,在 LM 視窗用滑鼠左鍵點選 Library 的 hw1→再點 選 cell 的 inv→再連續點選 view 的 schematic 兩次,或是用右鍵 open,即可開 啟 schematic 視窗
設定 grid 的顯示方式,通常是 dots 設定 minor grid 的間距,通常是 0.05 設定 major grid 的間距, 通常是 0.1 設定 X 軸移動的最小間距,0.01 設定 Y 軸移動的最小間距vity 的功能,點選 Layout 視窗的指令列 Options→Layout Editor,依照個人使用習慣與需要來選擇是否 Gravity On Gravity On:當滑鼠指標靠近物件時即被吸到該物件的邊緣
p+ implant
Thin oxide
contact
Metal1
n+ implant poly
PMOS layout view
n-well
p+ implant
n+ implant
12
Start schematic
一. 建立 Schematc view:跟建立 layout view 方法一樣(請參考 Start Cadence 的第 五大點的第二小點),先點選要 LM 視窗預定的 library,再點選 LM 視窗的 File→New→Cell view,按 OK 之後,即可建立 Schematic View
10
四.當在畫的途中,可以使用 on-line drc(DIVA)來檢查是否違反 design rule 1. 點選 Layout 視窗上面的指令 Verify→DRC 2. 出現 DRC 視窗
若無法讀取 divaDRC.rul, 1.取消選取 Rules Library,
2.給全路徑. ~/techfile/divaDRC.rul 或直接將 divaDRC.rul copy 到所使用的 library 中(ex: hw1).
6
四.建立新的 Library 1. 點選 LM 視窗上面的工具列 File→New→Library 2. 會產生 New Library 畫面 1. 在 name 填上 Library 名稱 2. 點選下面的 OK
3. 出現下列畫面
7
1. 選擇 Compile a new techfile 2. 點選上面的 OK
7.當全部畫完時,務必要 on-line DRC 成功才行 五.以上是大致的使用方法,若要更詳細可 reference CIC 的 Full-Custom IC Design KIT (basic) Training Manual.
11
以下是 NMOS 和 PMOS 的 Layout 圖 NMOS layout view
5.複製檔案 執行格式: cp [-r] source destination Example: cp file1 file2 將檔案 file1 複製成 file2。 cp –r dir1 dir2 複製整個目錄。
3
6.搬移或更改檔案、目錄名稱。 執行格式: mv source destination Example: mv file1 file2 將檔案 file1,更改檔名為 file2。 mv file1 dir1 將檔案 file1,移到目錄 dir1 下,檔名仍為 file1。 mv dir1 dir2 改目錄名稱 dir1 為 dir2。
4
事前準備
所需檔案: cds.lib 025_v1.tf display.drf drc lvs lpe divaDRC.rul mix025_1.l
用途 Library definition Technology file for design rule layer display information Design rule check Layout v.s. Schematic Post layout extraction on-line DRC check(DIVA) Models library for 0.25um(tsmc)
7.建立新目錄 執行格式: mkdir directory-name Example: mkdir dir1 建立一新目錄 dir1。
8.刪除目錄 執行格式: rmdir directory-name 或 rm directory-name Example: rmdir dir1 刪除目錄 dir1,但 dir1 下必須沒有檔案存在,否則無法刪除。 rm –r dir1 刪除目錄 dir1,及其下所有檔案及子目錄。
1. 桌面改為 1024*768*256 色 2. 執行 xwin 程式 3. Netterm telnet 140.116.164.112~141 (CIC 電腦教室) 4. e2486***@eesol08:~> who
e2486*** pts/2 Dec 28 11:43 (.tw) 5. e2486***@eesol08:~> setenv DISPLAY .tw:0.0 6. 完成上述五個步驟後,Start Cadence 的方法,請參閱使用手冊第六頁。
使用手冊
Edited by 黃子龍、趙建勝、林慶鈞(2002)
1
Outline
1. Introduction 2. 工作站使用初級入門 3. 事前準備 4. Cadence
A. Layout B. Schematic C. Symbol D. PDRACULA 5. Spice A. Hspice B. Awaves
models techfile
mix025_1.l
025_v1.tf divaDRC.rul
simulation
drc
lvs
check
lpe
work
cds.lib display.drf
5
Start Cadence
一.在 Terminal 視窗
→ source ~n2690181/ic.cshrc.cad445 → cd work(進去有放 cds.lib 的目錄) → icfb& 二.出現畫面
3. 4. 按 OK 之後,會開始跑 DRC,若有錯誤,CIW 對話盒會秀出錯誤並且在
Layout 視窗也會有 marker 閃爍
5. 可以點選 Layout 視窗上面的指令 Verify→Makers→Explain,然後選擇 Layout 視窗中閃動線條,即可知所犯的錯誤
6. 若要消除在 Layout 視窗閃爍的 marker,點選 Layout 視窗上面的指令 Verify →Markers→delete all,出現下面視窗,再點選 OK 即可。
8
Start Layout
一.在 LM 視窗用滑鼠左鍵點選 Library 的 hw1→再點選 cell 的 inv→再連續點選
view 的 layout 兩次,或是用右鍵 open,即可開啟 layout 視窗
二.
Layout Editor
LSW(Layout selection window)
指令再介紹: 1.登錄步驟
login :___________(輸入 username) password:___________(輸入密碼)
2.登出步驟 logout 或 exit
3.線上指令說明 執行格式: man [command-name]
4.改變工作目錄位置 執行格式: cd [name] Example: cd dir1 改變目錄位置,至 dir1 之目錄位置下。