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

Slides:



Advertisements
Similar presentations
EE 積體電路設計導論 Introduction to HSPICE
Advertisements

FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 Pre-SIm , Post-Sim.
1 Chemical and Engineering Thermodynamics Chapter 2 Conservation of mass and energy Sandler.
布林代數的應用--- 全及項(最小項)和全或項(最大項)展開式
學習C++的基本語法 認識關鍵字與識別字的不同 學習程式碼偵錯的流程 學習如何提高程式的可讀性
Event Sampling 事件取樣法. 關心重點為「事件」本身明確的焦點 行為 清楚掌握主題 - 當「事件」出現時才開 始記錄 記錄程序 等待目標事件的發生 開始記錄 事件結束,停止記錄.
第二章 太陽能電池的基本原理 及其結構 2-1 太陽能電池的基本原理 2-2 太陽能電池的基本結構 2-3 太陽能電池的製作.
Advanced Chemical Engineering Thermodynamics
小綠人行人用交通號誌燈 指導教授:黃朝章 學生:951408陳宜歆 徐祐祥.
1 第一章 Word 的基本觀念 內容概要: Word 的特色 啟動與離開 Word 的方法 滑鼠游標與外型的介紹 基本操作 Word 視窗法則 使用 Word 遭遇問題時, 應如何利用軟體特 性而獲得輔助解說.
CH-23 失效原因樹分析 FTA Failure Tree Analysis. 前言 為了提昇系統可靠度,產品在開發階段,利 用類似品管方法之魚骨圖分析手法,找出潛在 缺點,並加以改進,此種分析方法稱之為失效 原因樹分析法 (Failure Tree Analysis)– FTA 。 FTA 是一種系統化的方法,可以有效的找出.
1 Web of Science 利用指引 單元二 瀏覽與處理查詢結果. 2 瀏覽檢索結果 查出的結果,預設以時間排列, 使用者可改變結果的排列方式: 還可以依被引用次數、相關度、 第一作者、刊名、出版年等排序 回到前先查的結果畫面 點選想看資料的完整書目 本館訂購範圍的期刊 全文,便可直接連結.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 參 實驗法.
1 Advanced Chemical Engineering Thermodynamics Appendix BK The Generalized van der Waals Partition Function.
Section 2.3 Least-Squares Regression 最小平方迴歸
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
第一章 信號與系統初論 信號的簡介與DSP的處理方式。 系統特性與穩定性的判定方法。 以MATLAB驗證系統的線性、非時變、因果等特性。
1. 假設以下的敘述為一未提供 “ 捷徑計算 ” 能力的程式段,試用程 式設計的技巧,使此敘述經此改 寫的動作後,具有與 “ 捷徑計算 ” 之 處理方法相同之處理模式。 if and then E1 else E2 endif.
Section 2.2 Correlation 相關係數. 散佈圖 1 散佈圖 2 散佈圖的盲點 兩座標軸的刻度不同,散佈圖的外觀呈 現的相聯性強度,會有不同的感受。 散佈圖 2 相聯性看起來比散佈圖 1 來得強。 以統計數字相關係數做為客觀標準。
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 肆 資料分析與表達.
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 模糊控制設計使用 MATLAB 李達生.
© The McGraw-Hill Companies, Inc., 2008 第 6 章 製造流程的選擇與設計.
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 貳 研究設計.
Chapter 13 塑模靜態觀點:物件圖 Static View : Object Diagram.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
Chapter 20 塑模動態觀點:狀態圖 Statechart Diagram. 學習目標  說明狀態圖的目的  定義狀態圖的基本記號  展示狀態圖的建構  定義活動、內部事件及遞延事件的狀態 圖記號.
Advanced Chemical Engineering Thermodynamics
: 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 李達生.
各種線上電子資源的特異功能 SwetsWise 的 alert, TOC alert 與 Favorites 2003/4/28 修改.
CH 15- 元件可靠度之驗證  驗證方法  指數模式之可靠度驗證  韋式模式之可靠度驗證  對數常態模式之可靠度驗證  失效數為零時之可靠度估算  各種失效模式之應用.
第二十一章 研究流程、論文結構        與研究範例 21-1  研究流程 21-2  論文結構 21-3  研究範例.
Fugacity Coefficient and Fugacity
Introduction to Chemical Engineering Thermodynamics
The application of boundary element evaluation on a silencer in the presence of a linear temperature gradient Boundary Element Method 期末報告 指導老師:陳正宗終身特聘教授.
資料結構實習-一 參數傳遞.
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) 次比較。
Department of Electrical Engineering, National Central University ECL II Homework#1.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2008.
Management Abstracts Retrieval System; MARS 檢索操作.
Section 4.2 Probability Models 機率模式. 由實驗看機率 實驗前先列出所有可能的實驗結果。 – 擲銅板:正面或反面。 – 擲骰子: 1~6 點。 – 擲骰子兩顆: (1,1),(1,2),(1,3),… 等 36 種。 決定每一個可能的實驗結果發生機率。 – 實驗後所有的實驗結果整理得到。
Analyzing Case Study Evidence
Chapter 3 Entropy : An Additional Balance Equation
Structural Equation Modeling Chapter 6 CFA 根據每個因素有多重指標,以減少 測量誤差並可建立問卷的構念效度 驗證性因素分析.
概念性產品企劃書 呂學儒 李政翰.
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.
結構力學總複習 Review of Structural Mechanics
5 重複迴圈 5.1 增減運算符號 增量運算符號 減量運算符號
1 Chemical and Engineering Thermodynamics Chapter 8 Phase equilibrium in mixtures Parts B : Illustration Sandler.
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 自動控制實務.
連續隨機變數 連續變數:時間、分數、重量、……
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. 壹 企業研究導論.
指導教授 : 林啟芳 教授 組員 : 邱秉良 林育賢. 何謂 GPS  GPS 即全球定位系統,是一個中距離圓 型軌道衛星導航系統。它可以為地球表面 絕大部分地區( 98% )提供準確的定位、 測速和高精度的時間標準。
-Artificial Neural Network- Matlab操作介紹 -以類神經網路BPN Model為例
1 Introduction to Java Programming Lecture 3 Mathematical Operators Spring 2008.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2010.
Introduction to SPICE Microelectronics (I). What is SPICE? Simulation Program with Integrated Circuit Emphasis SPICE was developed by U.C. Berkeley in.
第五章IIR數位濾波器設計 濾波器的功能乃對於數位信號進行處理﹐ 以滿足系統的需求規格。其作法為設計一 個系統的轉移函數﹐或者差分方程式﹐使 其頻率響應落在規格的範圍內。本章探討 的是其中一種方法﹐稱為Infinite impulse register(IIR)。 IIR架構說明。 各種不同頻帶(Band)濾波器的設計方法。
Regression 相關 –Cross table –Bivariate –Contingency Cofficient –Rank Correlation 簡單迴歸 多元迴歸.
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. 肆 資料分析與表達.
ARES LAB S.-P. Yong Hspice Tutorial 2008 Professor: Jin-Fu Li TAs: 永昇平 & 盧星辰.
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:

Advisor : Jin-Fu Li Teaching Assistant : Che-Wei Chou Advanced Reliable Systems (ARES) Laboratory Department of Electrical Engineering National Central University Jhongli, Taiwan Hspice Tutorial 2010/10/21

ARES Lab-2010 Contents  Introduction  Simulation Input and Controls  Waveform Instructions  Simulation Output 2Hspice Tutorial

ARES Lab-2010 Introduction(1/2) IC Design Cell-BasedFull-Custom HspiceVerilog DSD VLSI Design … VLSI Design AIC … 3Hspice Tutorial

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

ARES Lab-2010 Basic Flow for SPICE 5Hspice Tutorial

ARES Lab-2010 Contents  Introduction  Simulation Input and Controls  Waveform Instructions  Simulation Output 6Hspice Tutorial

ARES Lab-2010 Instance and Element Names CCapacitor ICurrent LInductor MMOSFET RResistor VVoltage Source XSubcircuit Call ★ 2015/5/14 7Hspice Tutorial

ARES Lab-2010 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 8Hspice Tutorial

ARES Lab-2010 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 9Hspice Tutorial

ARES Lab-2010 Subcircuit.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 10Hspice Tutorial

ARES Lab-2010 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 /5/14 11Hspice Tutorial

ARES Lab-2010 Input Control Statement  GLOBAL ALL nodes are assumed to be local Node names can across all subcircuits by.GLOBAL.GLOBAL VDD VSS 12Hspice Tutorial

ARES Lab-2010 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 13Hspice Tutorial

ARES Lab-2010 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 才會進行模擬 14Hspice Tutorial

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

ARES Lab-2010 Contents  Introduction  Simulation Input and Controls  Waveform Instructions  Simulation Output 16Hspice Tutorial

ARES Lab-2010 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) ★ ★ ★ 17Hspice Tutorial

ARES Lab-2010 PULSE  PULSE (Periodic Waveform) PULSE ( V1 V2 td tr tf pw per) PULSE ( 0V 5V 10ns 10ns10ns 40ns 100ns ) 18Hspice Tutorial

ARES Lab-2010 PWL  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) 19Hspice Tutorial

ARES Lab-2010 SIN  SIN (Sinusoidal Waveform) SIN ( Voffset Vacmag ) Vin 3 0 SIN ( 0V 1V 100Meg 2ns 5e7 ) 20Hspice Tutorial

ARES Lab-2010 Contents  Introduction  Simulation Input and Controls  Waveform Instructions  Simulation Output 21Hspice Tutorial

ARES Lab-2010 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” 22Hspice Tutorial

ARES Lab-2010 Example SP 檔 mt0 檔 Tr=6.738e-11 s Simulate 23Hspice Tutorial

ARES Lab-2010 Power  Command : .meas tran pwr avg power 在暫態分析中,量測整個電路的平均功率消耗 結果顯示在 *.mt0 檔 24Hspice Tutorial

ARES Lab-2010 Contents  Introduction  Simulation Input and Controls  Waveform Instructions  Simulation Output  Appendix 2015/5/14 25Hspice Tutorial

ARES Lab-2010 Example 26Hspice Tutorial

ARES Lab-2010 Compile 27Hspice Tutorial

ARES Lab-2010 Job Aborted 28Hspice Tutorial

ARES Lab-2010 Job Conculded 29Hspice Tutorial

ARES Lab-2010 verdi 30Hspice Tutorial

ARES Lab-2010 New Waveform 31Hspice Tutorial

ARES Lab-2010 Open File 32Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab-2010 Waveform File(.tr0) Step 1 Step 2 Step 3 34Hspice Tutorial

ARES Lab-2010 Get Signals 35Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab-2010 PC_Hspice 介面 38Hspice Tutorial

ARES Lab-2010 建立一個新的 sp 檔案 39Hspice Tutorial

ARES Lab-2010 英文路徑 英文檔名 40Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab Hspice Tutorial

ARES Lab-2010 以後直接複製 sp 檔,重新命名 為想要的檔名, open 後即可利 用 edit NL 去更改 sp 檔內容 44Hspice Tutorial

ARES Lab-2010 Editing 45Hspice Tutorial