ARES LAB S.-P. Yong Hspice Tutorial 2008 Professor: Jin-Fu Li TAs: 永昇平 & 盧星辰.

Slides:



Advertisements
Similar presentations
Advisor : Jin-Fu Li Teaching Assistant : Che-Wei Chou Advanced Reliable Systems (ARES) Laboratory Department of Electrical Engineering National Central.
Advertisements

FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 Pre-SIm , Post-Sim.
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
學習C++的基本語法 認識關鍵字與識別字的不同 學習程式碼偵錯的流程 學習如何提高程式的可讀性
第二章 太陽能電池的基本原理 及其結構 2-1 太陽能電池的基本原理 2-2 太陽能電池的基本結構 2-3 太陽能電池的製作.
3Com Switch 4500 切VLAN教學.
如何將數字變成可用之資訊 現代化資料處理與應用概念. 如何將數字變成可用之資訊 人最容易接受的訊息是圖像化資訊。 在一堆數字中,要進行比較分析,一般會使用表格形 式計算與分析。 所以一般我們會將數字依關聯性, 轉換成表格計算與分析。 此表格一般稱試算表或稱表格。 再將結果轉換為圖表,進行比較與分析。
小綠人行人用交通號誌燈 指導教授:黃朝章 學生:951408陳宜歆 徐祐祥.
1 第一章 Word 的基本觀念 內容概要: Word 的特色 啟動與離開 Word 的方法 滑鼠游標與外型的介紹 基本操作 Word 視窗法則 使用 Word 遭遇問題時, 應如何利用軟體特 性而獲得輔助解說.
CH-23 失效原因樹分析 FTA Failure Tree Analysis. 前言 為了提昇系統可靠度,產品在開發階段,利 用類似品管方法之魚骨圖分析手法,找出潛在 缺點,並加以改進,此種分析方法稱之為失效 原因樹分析法 (Failure Tree Analysis)– FTA 。 FTA 是一種系統化的方法,可以有效的找出.
1 Web of Science 利用指引 單元二 瀏覽與處理查詢結果. 2 瀏覽檢索結果 查出的結果,預設以時間排列, 使用者可改變結果的排列方式: 還可以依被引用次數、相關度、 第一作者、刊名、出版年等排序 回到前先查的結果畫面 點選想看資料的完整書目 本館訂購範圍的期刊 全文,便可直接連結.
五小專案 黃詩晴 章乃云. 目錄 計算機 智慧盤 拼圖 記憶大挑戰 數學題庫 心得 參考文獻.
1 Web of Science 利用指引 逢甲大學圖書館 參考服務組 單元五 存檔或輸出.
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
第一章 信號與系統初論 信號的簡介與DSP的處理方式。 系統特性與穩定性的判定方法。 以MATLAB驗證系統的線性、非時變、因果等特性。
1. 假設以下的敘述為一未提供 “ 捷徑計算 ” 能力的程式段,試用程 式設計的技巧,使此敘述經此改 寫的動作後,具有與 “ 捷徑計算 ” 之 處理方法相同之處理模式。 if and then E1 else E2 endif.
Section 2.2 Correlation 相關係數. 散佈圖 1 散佈圖 2 散佈圖的盲點 兩座標軸的刻度不同,散佈圖的外觀呈 現的相聯性強度,會有不同的感受。 散佈圖 2 相聯性看起來比散佈圖 1 來得強。 以統計數字相關係數做為客觀標準。
MS-DOS 作業系統 張基昇 (Microsoft-Disk Operating System).
南投縣社區大學 Excel 實務應用入門 講師 : 林泉成
© The McGraw-Hill Companies, Inc., 2008 第 6 章 製造流程的選擇與設計.
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
第九章 網際網路快遞 計算機概論編輯小組. 計算機概論 p9-2 大綱  電子郵件入門( )  elm  IE Outlook Express  Netscape 傳訊者  通訊錄管理.
24-6 設定開始與結束場景中的 程式 最後我們要替這個遊戲收個尾, 幫它把開始 的等待畫面跟結束畫面處理一下。
影像處理學習營 練習(四)製作影片 【下】 影像處理學習營 教師 吳清月. 製作影片 學習重點 一. 設定影片秒數。  加入音樂,與影片做結合。 三. 影片存檔方式之選擇  上傳到網路.
最新計算機概論 第 5 章 系統程式. 5-1 系統程式的類型 作業系統 (OS) : 介於電腦硬體與 應用軟體之間的 程式,除了提供 執行應用軟體的 環境,還負責分 配系統資源。
Chapter 20 塑模動態觀點:狀態圖 Statechart Diagram. 學習目標  說明狀態圖的目的  定義狀態圖的基本記號  展示狀態圖的建構  定義活動、內部事件及遞延事件的狀態 圖記號.
圖層的操作與管理 圖層的作用就如同一張張透明的賽璐璐片, 你可以將動畫中的每項物件, 放置在不同圖 層中, 圖層交疊就形成完整的畫面。在各圖 層中的物件, 做任何的移動或變化, 都不會 相互干擾, 所以當你編輯一個物件時, 只要 在物件所在的圖層進行操作, 將可大幅降低 製作過程的複雜度與難度。
: Fast and Easy Data Compressor ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10043: Fast and Easy Data Compressor 解題者:葉貫中 解題日期: 2007 年 3.
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology MATLAB 操作與 系統動態模擬 SIMULINK 李達生.
1 Netlibrary 電子書 Netlibrary 創始於 1998 年,是世界知名的電子書資 料庫,提供 450 多家出版社所出版近 100,962 ( 止)本的電子書,且以每月 2,000 本的 速度增加中。其中 80% 屬於學術性圖書,其餘 20% 一般圖書, 90% 以上為.
各種線上電子資源的特異功能 SwetsWise 的 alert, TOC alert 與 Favorites 2003/4/28 修改.
CH 15- 元件可靠度之驗證  驗證方法  指數模式之可靠度驗證  韋式模式之可靠度驗證  對數常態模式之可靠度驗證  失效數為零時之可靠度估算  各種失效模式之應用.
1 單元四 個人化服務 Web of Science 利用指引. 2 個人化服務 Sign In 登入 My EndNote Web 使用 EndNote Web 者可登入 My Citation Alert 查看或修改先前設定的引用通告 My Saved Searches 查看或更改先前儲存過的檢索.
資料庫程式設計與系統管理 SQL Server 2005 Express 第六章 進階資料庫設計.
國立聯合大學 資訊管理學系 陳士杰老師 SQL*Plus 與 iSQL*Plus 簡介. 國立聯合大學 資訊管理學系 資料庫系統課程 ( 陳士杰 ) 2 啟動 SQL*Plus 與 iSQL*Plus 方式 Windows 平台.
從此處輸入帳號密碼登入到管理頁面. 點選進到檔案管理 點選「上傳檔案」上傳資料 點選瀏覽選擇電腦裡的檔案 可選擇公開或不公開 為平台上的資料夾 此處為檔案分類,可顯示在展示頁面上,若要參加 MY EG 競賽,做品一律上傳到 “ 98 MY EG Contest ” 點選此處確定上傳檔案.
資料結構實習-一 參數傳遞.
6-2 認識元件庫與內建元件庫 Flash 的元件庫分兩種, 一種是每個動畫專 屬的元件庫 (Library) ;另一種則是內建元 件庫 (Common Libraries), 兩者皆可透過 『視窗』功能表來開啟, 以下即為您說明。
第二章第二章 Statistica 的工具欄. 本章目標:工具欄之使用 介紹 STATISTICA 是一個非常好用的統計軟體,只 要你對微軟的 Office 套裝軟體有較熟悉的瞭解, 那對 STATISTICA 的工具欄就非常容易掌握。 STATISTICA 的文件組織有四種類型,即 Workbook.
Lecture 7 Sorting in Linear Time. Sorting in Linear Time2 7.1 Lower bounds for sorting 本節探討排序所耗用的時間複雜度下限。 任何一個以比較為基礎排序的演算法,排序 n 個元 素時至少耗用 Ω(nlogn) 次比較。
Hung-Hsiang WuWindows Processing Design1 Chapter 4 簡單視窗程式 表單與標籤的屬性 按鈕與編輯的屬性 設計簡單的應用程式 表單常用事件 一般鍵盤及滑鼠常見的事件 表單視窗間的呼叫 表單間資料傳送應用 專案選擇設定.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2008.
Management Abstracts Retrieval System; MARS 檢索操作.
1 Web of Science 利用指引 逢甲大學圖書館 參考服務組 單元六 個人化服務.
Chapter 3 Entropy : An Additional Balance Equation
Chapter 10 m-way 搜尋樹與B-Tree
第12章 多重表單與模組的應用程式 12-1 VB.NET的方案與專案 12-2 模組化VB.NET應用程式 12-3 多重表單的應用程式
概念性產品企劃書 呂學儒 李政翰.
Probability Distribution 機率分配 汪群超 12/12. 目的:產生具均等分配的數值 (Data) ,並以 『直方圖』的功能計算出數值在不同範圍內出現 的頻率,及繪製數值的分配圖,以反應出該 機率分配的特性。
FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 HSPICE.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2009.
Books24x7 ® 電子書資料庫 長智文化事業有限公司 Presented by 邱稚婷. Overview and Access Instructions Books24x7 provides complete access to: –The full text of 23,000+ leading.
5 重複迴圈 5.1 增減運算符號 增量運算符號 減量運算符號
INTRODUCTION TO MATLAB SHAWNNTOU. What Is MATLAB? MATLAB® is a high-performance language for technical computing. MATLAB® is a high-performance language.
冷凍空調自動控制 - 系統性能分析 李達生. Focusing here … 概論 自動控制理論發展 自控系統設計實例 Laplace Transform 冷凍空調自動控制 控制系統範例 控制元件作動原理 控制系統除錯 自動控制理論 系統穩定度分析 系統性能分析 PID Controller 自動控制實務.
Outlook 教學與研習 (1) - 設定及收發郵件 - 設定郵件規則 陽明大學資訊與通信中心 陳坤元 2006/03/27.
-Artificial Neural Network- Matlab操作介紹 -以類神經網路BPN Model為例
NVivo 7在文件分析應用.
1 Introduction to Java Programming Lecture 3 Mathematical Operators Spring 2008.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2010.
OmniFile Full Text 系列資料庫 個人化服務設定步驟. 此相關資料庫之個人化服 務只提供類似專題選粹的 服務,然無提供 mail 通知的 服務,讀者可建立個人 ID , 並儲存檢索策略,日後需 再進入該資料庫,查詢檢 索策略之新進文章。 導航目次 個人化服務說明 個人帳號密碼申請 個人化服務設定.
Introduction to SPICE Microelectronics (I). What is SPICE? Simulation Program with Integrated Circuit Emphasis SPICE was developed by U.C. Berkeley in.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
1 Introduction to Java Programming Lecture 3 Mathematical Operators Spring 2009.
1 Chemical and Engineering Thermodynamics Chapter 1 Introduction Sandler.
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
1 Chap. 7 Response of First-Order RL and RC Circuits Contents 7.1 The Natural Response of an RL Circuit 7.2 The Natural Response of an RC Circuit 7.3 The.
Presentation transcript:

ARES LAB S.-P. Yong Hspice Tutorial 2008 Professor: Jin-Fu Li TAs: 永昇平 & 盧星辰

ARESARES S.-P. Yong Contents IntroductionIntroduction Simulation Input and Controls Waveform Instructions Simulation Output Appendix

ARESARES S.-P. YongIntroduction(1/2) IC Design Cell-BasedFull-Custom HspiceVerilog DSD VLSI Design … VLSI Design AIC …

ARESARES S.-P. YongIntroduction(2/2) SPICE : Simulation Program with Integrated Circuit Emphasis Hspice 是一個電路模擬軟體,用來模擬所設計電路的行 為及功能特性。 Hspice 係以電晶體、二極體、電阻及電容等各種元件模 型為基礎,透過數值方法來計算電路各節點的 電壓、電 流變化。 對於非線性的電路系統, Hspice 是在計算近似解, 所得 結果的正確性和元件模型、演算法則有密切關係。 Hspice 主要提供穩態、暫態及小信號頻率響應模擬 ,使 用者需依所設計的電路種類自行規劃分析的指令及相關的 輸入。

ARESARES S.-P. Yong Basic Flow for SPICE

ARESARES S.-P. Yong Contents Introduction Simulation Input and ControlsSimulation Input and Controls Waveform Instructions Simulation Output Appendix

ARESARES S.-P. Yong Instance and Element Names CCapacitor ICurrent LInductor MMOSFET RResistor VVoltage Source XSubcircuit Call ★

ARESARES S.-P. Yong Unit and Scale Factor Units: R Ohm (e.g. R1 node1 node2 1K) L Henry (e.g. L1 node1 node2 1n) C Farad (e.g. C1 node1 node2 1p) Scale Factors: F 1e-15 T 1e12 P 1e-12 K 1e3 N 1e-9 Meg 1e6 U 1e-6 G 1e9 M 1e-3 DB 20log 10

ARESARES S.-P. Yong Instance and Element Descriptions Mname D G S B N/PMOS W=?u L=?u Mp out in vdd vdd pch W=3u L=1u R1 A B 1K C1 out gnd 1p

ARESARES S.-P. YongSubcircuit.SUBCKT …… 次電路區塊描述.ENDS 如果要在 SPICE 檔案中呼叫次電路時,格式如下: Xname …….subckt inv out in Wn=0.22u Wp=0.22u Lmin=0.18u mp0 out in vdd vdd pch w=Wp l=Lmin mn0 out in vss vss nch w=Wn l=Lmin.ends inv xinv dout0 d0 inv Wn=0.22u Wp=0.22u Lmin=0.18u

ARESARES S.-P. Yong Example ***** inv *****.global vdd vss.subckt inv in out MM0 out in vdd vdd pch w=3u l=350n MM1 out in vss vss nch w=1u l=350n.ENDS x1 in net1 inv x2 net1 out inv x1 in 0 inv x2 0 out inv x1 in 1 inv x2 1 out inv innet1out in out 10

ARESARES S.-P. Yong Input Control Statement GLOBAL –ALL nodes are assumed to be local –Node names can across all subcircuits by.GLOBAL.GLOBAL VDD VSS

ARESARES S.-P. Yong Netlist Structure.Title inv.GLOBAL gnd! + vdd!.protect.lib ‘C:\VLSI\mm0355v.l' TT.unprotect.op.options post.tran 0.05n 25n.temp 25 v1 vdd! 0 3.3v v2 gnd! 0 0v v3 Vin 0 pulse( 0v 3.3v 0.1n 0.1n 0.1n 0.5n 1.2n) MM1 Vout Vin vdd! vdd! Pch W=3u L=350.00n MM0 Vout Vin gnd! gnd! Nch W=1u L=350.00n.end Title Model Controls Sources Components END file

ARESARES S.-P. Yong Example ******inverter*******.GLOBAL gnd! + vdd!.protect.lib 'e:\temp\mm0355v.l' TT.unprotect.op.options post.tran 0.05n 25n.temp 25 v1 vdd! 0 3.3v v2 gnd! 0 0v v3 Vin 0 pulse( 0v 3.3v 0.1n 0.1n 0.1n 0.5n 1.2n) MM1 Vout Vin vdd! vdd! Pch W=3u L=350.00n MM0 Vout Vin gnd! gnd! Nch W=1u L=350.00n.end 第一行是註解, 模擬時會忽略 製程資料,需指定好路徑 TT 為模擬環境 一定要有.end 才會進行模擬

ARESARES S.-P. Yong Control Statements.AC 電路之交流分析 ( 頻率響應 ).DC 電路之直流分析.OP 靜態點分析.NOISE 雜訊分析.TRAN 暫態分析.SUBCKT 定義次電路.ENDS 次電路之結束.OPTIONS 可設定參數及其他功能.PRINT 指定輸出的內容.PLOT 圖形式輸出.TEMP 指定模擬環境的溫度.END 檔案結束 ★

ARESARES S.-P. Yong Contents Introduction Simulation Input and Controls Waveform InstructionsWaveform Instructions Simulation Output Appendix

ARESARES S.-P. Yong Transient Sources Pulse (PULSE Function) Sinusoidal (SIN Function) Exponential (EXP Function) Piecewise Linear (PWL Function) Single-Frequency FM (SFFM Function) Single-Frequency AM (AM Function) ★ ★ ★

ARESARES S.-P. YongPULSE PULSE (Periodic Waveform) PULSE ( V1 V2 td tr tf pw per) PULSE ( 0V 5V 10ns 10ns10ns 40ns 100ns )

ARESARES S.-P. YongPWL PWL (Piece Wise Linear Waveform) PWL ( t1 V1 t2 V2 t3 V3 … R) PWL (1n 0v 2n 0v 3n 3.3v 8n 3.3v 9n 0v R 0)

ARESARES S.-P. YongSIN SIN (Sinusoidal Waveform) SIN ( Voffset Vacmag ) Vin 3 0 SIN ( 0V 1V 100Meg 2ns 5e7 )

ARESARES S.-P. Yong Contents Introduction Simulation Input and Controls Waveform Instructions Simulation OutputSimulation Output Appendix

ARESARES S.-P. Yong Timing Measurement.meas tran Tr trig v(out) val=“3.3*0.1” rise=2 targ v(out) val=‘”3.3*0.9” rise=2 rise=2rise=1fall=4 val=‘”3.3*0.9” val=‘”3.3*0.1”

ARESARES S.-P. YongExample SP 檔 mt0 檔 Tr=6.738e-11 s Simulate

ARESARES S.-P. YongPower Command :.meas tran pwr avg power – 在暫態分析中,量測整個電路的平均功率消耗 – 結果顯示在 *.mt0 檔

ARESARES S.-P. Yong Contents Introduction Simulation Input and Controls Waveform Instructions Simulation Output AppendixAppendix

ARESARES S.-P. Yong Login Step 1 Step 2 Step 3

ARESARES S.-P. Yong Step 1 Step 2 提醒 : 密碼不會顯示在螢幕上

ARESARES S.-P. Yong Unix

ARESARES S.-P. Yong

ARESARES 提醒 : 滑鼠右鍵開啟 Menu 左鍵點選工具

ARESARES S.-P. Yong

ARESARES Vim Under unix shell –vim – start an empty file –vim filename – open a file to edit Save or quit file –:w xxx.x – save as xxx.x –:w – save the current file –:q – quit current file, discard any change –:q! – quit the current file, discard any change –:wq! – save and exit the current file

ARESARES S.-P. Yong Editing Under insert mode –a – append text after the cursor –A – append text at the end of the line –i – append text before the cursor –I – append text before the first non-blank in the line –o – open a new line below the current line –O – open a new line above the current line Esc – end insert mode, back to normal mode

ARESARES S.-P. Yong Deleting Text When you typed something wrong –Under normal mode –x – delete one character under the cursor (or Delete) –nx – delete n characters under the cursor –X – delete one character before the cursor –D – delete from the current cursor to the end of line –dd – delete one line –s – delete one character and enter insert mode –S – delete one line and move the cursor to the beginning of the line –cw – change a word

ARESARES S.-P. Yong Example

ARESARES S.-P. Yong Vim 按 i 開始編輯 如果打錯字,按 Esc 跳出編輯模式 再利用 x 鍵將錯字刪除

ARESARES S.-P. Yong Save 先按 Esc 跳出編輯模式 再利用 :w 指令儲存 離開 Vim 之指令為 :q

ARESARES S.-P. Yong Edit Spice File Set library path:.lib ‘/home/ms/spyong/sp_file/mm018.l’ TT 0.18u 製程 Lmin=0.18u Wmin=0.22u

ARESARES S.-P. Yong Example Replaces with:.lib ‘/home/ms/spyong/sp_file/mm018.l’ TT (ARES_SERVER)

ARESARES S.-P. Yong Compile

ARESARES S.-P. Yong Job Aborted

ARESARES S.-P. Yong Job Conculded

ARESARES S.-P. Yong verdi

ARESARES S.-P. Yong New Waveform

ARESARES S.-P. Yong Open File

ARESARES S.-P. Yong

ARESARES Waveform File(.tr0) Step 1 Step 2 Step 3

ARESARES S.-P. Yong Get Signals

ARESARES S.-P. Yong

ARESARES

ARESARES PC_Hspice 介面

ARESARES S.-P. Yong 建立一個新的 sp 檔案

ARESARES S.-P. Yong 英文路徑 英文檔名

ARESARES S.-P. Yong

ARESARES

ARESARES

ARESARES 以後直接複製 sp 檔,重新命名 為想要的檔名, open 後即可利 用 edit NL 去更改 sp 檔內容

ARESARES S.-P. YongEditing