1 / 59

課程名稱 : 積體電路分析與模擬 (Analysis and Simulation of Integrated Circuits)

課程名稱 : 積體電路分析與模擬 (Analysis and Simulation of Integrated Circuits). Text Books 1. 電腦輔助電子電路設計 , 鄭群星 , 全華 2. Reference Books 1. OrCAD PSpice and Circuit Analysis, J. Keown 2. Real Word FPGA Design with Verilog, Coffman. 任課教師及相關資料. 授課教師 : 李宗演 研究室 : 綜科館 207-4 E-mail: tylee@ntut.edu.tw

crete
Download Presentation

課程名稱 : 積體電路分析與模擬 (Analysis and Simulation of Integrated Circuits)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 課程名稱: 積體電路分析與模擬(Analysis and Simulation of Integrated Circuits) • Text Books 1. 電腦輔助電子電路設計, 鄭群星,全華 2. • Reference Books 1. OrCAD PSpice and Circuit Analysis, J. Keown 2. Real Word FPGA Design with Verilog, Coffman

  2. 任課教師及相關資料 • 授課教師: 李宗演 • 研究室: 綜科館 207-4 • E-mail: tylee@ntut.edu.tw • URL: www.ntut.edu.tw/~tylee/ • Tel: 02-2771-2171 ext. 2251 • Office Hour: 星期三及四 10:00~12:00

  3. Goal • Introduce the methodologies of analysis and simulation on integrated circuits • Learn the analysis and simulation techniques on analog circuits using OrCAD PSpice tool • Learn the design and simulation techniques on digital circuits using Xilinx FPGA design tool kit

  4. Progress of Course • Analysis and Simulation Techniques on Analog Circuits Using OrCAD PSpice Tool/ 8 Weeks • Design and Simulation Techniques on Digital Circuits Using Xilinx FPGA Design Tool Kit / 8 Weeks

  5. 進度表

  6. Scores • Term Exam 30% • Final Exam 30% • Home Works, Computer Exercises, and Others 40%

  7. Question & Answer • ? ? ? ? ? ?

  8. Chapter 1 Introduction

  9. Design Concept Verification • The design is described in equations or behavioral expressions • This high-level design description is then simulated or verified to match with expected result

  10. Design Implementation Verification • Simulates the physical design • The simulated result should match with the expected specification

  11. Design Performance Verification • Predicts or verifies the design “quality” • Post-layout simulation with extracted RCs is needed in nanometer technology

  12. Verification Methodologies • Dynamic simulation • Examples: SPICE, Verilog • Static verification or analysis • Examples: Formal verification, static timing analysis

  13. Dynamic vs Static Verification • Dynamic simulation mimics the physical behavior • Difficult to select the input stimulus pattern to cover all possible verifications using dynamic simulation • More time consuming to simulate many possible test patterns • Static verification tends to validate the design still works under all possible working conditions • Static verification is less accurate and may give wrong results occasionally • Static verification is limited to digital circuits only

  14. Important Simulation Technologies • Complier code logic simulation • Transistor-level SPICE-like circuit simulation • Switch-level transistor circuit simulation • Fast SPICE circuit simulation • Analog behavioral simulation • Hierarchical circuit simulation

  15. Complied Code Logic Simulation • Complier the digital circuit into a sequence of computer machine code • Traditional interpretation method looks up the logic gate model to simulate the digital state changes • Machine code execution runs faster than procedural interpretation

  16. SPICE Circuit Simulation • Developed at UC Berkeley in early 1970s • Models and simulations the electrical-level circuit behavior accurately • Widely used due to open release to public users • Solves the whole circuit as a single entity • Slow and limited to speed circuit size less than 100,000 elements • Earlier attempts to speed up simulation, including waveform relaxation and iterative method, failed to commercialize • Fast SPICE simulation technology achieved commercial success until late 1990s

  17. History of Dynamic Simulation • Logic simulation and circuit simulation are converging into a mixed-signal simulation

  18. Basic Idea of Circuit Simulation

  19. First Generation SPICE Technology

  20. Second Generation Fast SPICE Technology

  21. Hierarchical Simulation Technology

  22. Hierarchical Circuit Simulation

  23. Switch-Level Simulation • Models MOSFET as a switch • Able to model the bi-directional signal flow behavior of MOSFET • Simulates the flat transistor netlist extracted from physical layout • Simulation speed is 1,000X faster than SPICE and is close to gate-level logic simulation • Limited in digital circuit only • A hot technology in 1980s but only achieved limited commercial success

  24. Switch-Level Logic Simulation

  25. Switch-Level Timing Simulation • Models the conducting MOSFET by an equivalent resistance • Calculates the switching delay by the RC time constant • Limited to digital CMOS circuit simulation • Unable to simulate analog behavior even in digital circuits

  26. Analog Event-Driven Simulation • Similar to digital logic simulation except the event is triggered by analog voltage change instead of logic state transition

  27. Fast SPICE Circuit Simulation • Partitions the whole circuit into smaller subcircuits and solves each one individually • Runs 10-100X faster than SPICE • Can simulate circuits up to 5 million elements • Simulates analog behavior in digital circuits • Less accurate especially when simulating high-sensitivity analog circuits • Gets more acceptance due to new enhancements in simulating analog circuits

  28. Analog Behavioral Simulation • Needed in top-down analog/mixed-signal design flow • Further speeds up verification • A new trend: device model described in Verilog-A • Verifies design concept instead of design implementation • Very difficult to create and characterize the analog behavior model

  29. Use SPICE or Mixed-Signal Simulation • Mixed-signal simulator is difficult to use • No need if SPICE performance is reasonable • Fast SPICE may do a better job if majority portions are analog

  30. Reference • A.-C. Deng, Signal Integrity in SOC Design, SOC/IP 菁英人才養成課程, 三C整合策劃推行小組, July 2002.

  31. Question & Answer

  32. SPICE & OrCAD PSpice 介紹

  33. SPICE 模擬電路程式之功能 • DC Analysis • Small Signal Transfer Function • DC Transfer Curves • Small Signal Sensitivities • Small Signal Frequency Domain Response • Noise Analysis • Distortion Analysis • Transient Analysis • Fourier Analysis • Temperature Analysis

  34. 電路描述模擬的方式

  35. OrCAD PSpice使用電路描述模擬的方式(1) • 開始→程式集→OrCAD family release 9.2 Lite Edition →PSpiceAD Lite Edition • File→New→Text File • 依OrCAD PSpice描述格式將電路輸入, filename為XXX.CIR

  36. OrCAD PSpice使用電路描述模擬的方式(2)

  37. OrCAD PSpice使用電路描述模擬的方式(3)

  38. OrCAD PSpice使用電路描述模擬的方式(4) • File→Open→XXX.CIR • Simulation File→Run XXX • View→Outputfile (出現輸出檔視窗XXX.out)

  39. OrCAD PSpice使用電路描述模擬的方式(5)

  40. OrCAD PSpice使用電路描述模擬的方式(6)

  41. OrCAD PSpice使用電路描述模擬的方式(7) • File→Exit (Exit OrCAD PSpice)

  42. OrCAD PSpice使用繪圖描述模擬的方式(1) • 開始→程式集→OrCAD family release 9.2.1 Lite Edition →Capture Lite Edition

  43. OrCAD PSpice使用繪圖描述模擬的方式(2) • File→New→Project

  44. OrCAD PSpice使用繪圖描述模擬的方式(3) • Location → 輸入C:\OrCAD pspice\project\example1 →OK (目錄要先存在) • Create a blank project

  45. OrCAD PSpice使用繪圖描述模擬的方式(4) • Project Manager and Schematic page Editor

  46. OrCAD PSpice使用繪圖描述模擬的方式(5) • 繪圖及模擬: 1. 取元件 ~ 直流電源 • Place → Part → Begin Search → VDC→ VDC/source.olb

  47. OrCAD PSpice使用繪圖描述模擬的方式(6) • 繪圖及模擬: 1. 取元件 ~ 電阻 • Place → Part → Begin Search → R/analog.olb →ok (Ctrl + R 轉動用)

  48. OrCAD PSpice使用繪圖描述模擬的方式(7) • 繪圖及模擬: 1. 取元件 ~ 地線 • Place → Ground, libraries →SOURCE, Symbol →0 →ok

  49. OrCAD PSpice使用繪圖描述模擬的方式(8) • 繪圖及模擬: 2. 開始連線 • Place → Wire

  50. OrCAD PSpice使用繪圖描述模擬的方式(9) • 繪圖及模擬: 3.改變元件的屬性~電源 • 在該VDC元件以mouse左鍵連續按兩次

More Related