VLSI Layout Lab Tutorial -- Virtuoso Instructor : Prof. Paul C. 2022/10/27 Sensers IC Lab , NYCU ECE 1 Outline Workstation • Account • Setting environment Cadence Virtuoso • Schematic • Layout Task Software tool Connect to EDA CLOUD Circuit design Schematic and Layout NX Client Hspice Virtuoso OA Calibre Design Rule Check (DRC) Layout Versus Schematic (LVS) Layout Parasitic Extraction (PEX) waveview Verification Waveform observation 2022/10/27 Sensers IC Lab , NYCU ECE 2 EDA CLOUD account&password • Account : ex:pzxxxx The TA will send you • Password obtained by OTP (Note that the password is only valid for 30 minutes ) 2022/10/27 Sensers IC Lab , NYCU ECE 3 EDA CLOUD account&password 1. https://www.tsri.org.tw/ 10/27/2022 4 Sensers IC Lab , NYCU ECE EDA CLOUD account&password 2.Log in your account of tsri 2022/10/27 Sensers IC Lab , NYCU ECE 5 EDA CLOUD account&password 3. Setting the browser. (Recommended to use IE browser ) (3) A. Settings on IE. (Step 1) (1) (4) (2) 2022/10/27 Sensers IC Lab , NYCU ECE 6 EDA CLOUD account&password 3. Setting the browser. (Recommended to use IE browser ) A. Settings on IE. (Step 2) “將未標示成安全的ActiveX 控制 項初始化並執行指令碼” -> 提示 (5) 2022/10/27 Sensers IC Lab , NYCU ECE 7 EDA CLOUD account&password B. IE browser settings on Microsoft Edge (Step 1). 2022/10/27 Sensers IC Lab , NYCU ECE 8 EDA CLOUD account&password B. IE browser settings on Microsoft Edge (Step 2). 2022/10/27 Sensers IC Lab , NYCU ECE 9 EDA CLOUD account&password B. IE browser settings on Microsoft Edge (Step 2). 2022/10/27 Sensers IC Lab , NYCU ECE 10 EDA CLOUD account&password B. IE browser settings on Microsoft Edge (Step 3). 2022/10/27 Sensers IC Lab , NYCU ECE 11 EDA CLOUD account&password 4. Enter your account e-mail to get the password pzxxxx 2022/10/27 Sensers IC Lab , NYCU ECE 12 EDA CLOUD account&password 5. Receive the Email to get password. 2022/10/27 Sensers IC Lab , NYCU ECE 13 Setting Environment (1/3) 1.Install remote software(Note that all files need to be installed ) (https://www.tsri.org.tw/edacloud/edacloud.jsp) ! 請先安裝主程式再安裝字型安裝檔 2022/10/27 Sensers IC Lab , NYCU ECE 14 Setting Environment (1/3) 2. Open “NX Connection Wizard.” You can name it yourself. 2022/10/27 edah.cic.org.tw Sensers IC Lab , NYCU ECE 9103 LAN 15 Setting Environment (3/3) 3.CDE 2022/10/27 Sensers IC Lab , NYCU ECE 16 4.Shortcut 2022/10/27 Sensers IC Lab , NYCU ECE 17 5.Click Configure to modify the connection settings. 2022/10/27 Sensers IC Lab , NYCU ECE 18 • LOG in your account and password • The first time you connect, you will be asked about the RSA key authentication consent message, please click yes. 2022/10/27 Sensers IC Lab , NYCU ECE 19 Unix Command • List the folders and files - <terminal> ls • Change a directory - <terminal> cd /File directory - <terminal> cd .. • Make a directory - <terminal> mkdir • Remove an empty directory - <terminal> rmdir 2022/10/27 Sensers IC Lab , NYCU ECE 20 Design Flow of Full-Custom Chip 2022/10/27 Sensers IC Lab , NYCU ECE 21 Before Designing a Circuit (1/2) Open the terminal - <terminal>cp -r /cad/PDK/T18 ~ 2022/10/27 Sensers IC Lab , NYCU ECE 22 Before Designing a Circuit • Folder : virtuoso Technology File : rf018.tf • Folder : model Library File : rf018.l • Folder : calibre Files for DRC, LVS,PEX 2022/10/27 Sensers IC Lab , NYCU ECE 23 Launch Cadence Virtuoso • Open TERMINAL in the virtuoso OA folder and then open VIRTUOSO • <terminal> Rvirtuoso 2022/10/27 Sensers IC Lab , NYCU ECE 24 Create a New Library (1/3) Tools -> library Manager ->File ->New->Library Name the folder and press ok 2022/10/27 Sensers IC Lab , NYCU ECE 25 Create a New Library (2/3) Select first one and click ok ->Fill in the file path(/PDK/T18/Virtuoso_OA/techfile.tf) 2022/10/27 Sensers IC Lab , NYCU ECE 26 Create schematic Library manager : select the library name you just created. Ex: inv or VLSI. File New Cell View 2022/10/27 Sensers IC Lab , NYCU ECE 27 Schematic window Save Add instance Wire Hot Key Function W Wire for connection I Instance P Pin C Copy Q Observe and modify the detail characteristic of the instance Shift+Z Ctrl+Z Zoom out Zoom in Delete Delete wire, instance, pin… Esc Cancel the command Add pin 2022/10/27 Sensers IC Lab , NYCU ECE 28 Add instance Press i and add the new instance ->Browse-> select tsmc18rf->select instances. Select “nmos2v” & “pmos2v”. 2022/10/27 Sensers IC Lab , NYCU ECE 29 Add instance Schematic window Choose the instance and press the hot key “Q”, you can modify the parameter of the instance. 2022/10/27 Sensers IC Lab , NYCU ECE 30 Add pins Three directions: input, output and inout ,vdd ,gnd 2022/10/27 Sensers IC Lab , NYCU ECE 31 Connection by Wires (hot key:W) Example: inverter 2022/10/27 Sensers IC Lab , NYCU ECE 32 Start to layout • When the behavior of the circuit you designed is verified, then you can draw the layout. • Add layout cell view in library manager. 2022/10/27 Sensers IC Lab , NYCU ECE 33 Create a Layout Cell View Launch layout XL and create layout cell view->select “create new”and click ok 2022/10/27 Sensers IC Lab , NYCU ECE 34 Create a Layout Cell View You can select your component to call the built-in cell (ex:nmos) 1 2 2022/10/27 Sensers IC Lab , NYCU ECE 35 Settings for Layout Environment • Set display options as you launch Virtuoso 2022/10/27 Sensers IC Lab , NYCU ECE 36 Cadence Virtuoso --- Hot keys for Layout You can find more functions in “Edit”. 2022/10/27 Hot Key Function Hot Key Function R Rectangle Shift+Z Ctrl+Z F Zoom out Zoom in Fit all K Shift+k Ruler Clear ruler O Create contact S A Stretch Delete Delete wire, instance, pin… C Copy Esc Cancel the command M Move L Label, pin Shift+f Show/hide instances Align Sensers IC Lab , NYCU ECE 37 Layout object 2022/10/27 Sensers IC Lab , NYCU ECE 38 Layout example: nmos, pmos 2022/10/27 Sensers IC Lab , NYCU ECE 39 Layout example: inverter 2022/10/27 Sensers IC Lab , NYCU ECE 40 Design Rule Check (DRC) • Reserve the space and capability for process fabrication (refer to the design rule) 2022/10/27 Sensers IC Lab , NYCU ECE 41 Calibre DRC (Step 1) • Stream out layout gds file. • !! Call the Layer Map file. (/PDK/T18/Virtuoso_OA/tsmc18rf/tsmc18rf.layermap) 2022/10/27 Sensers IC Lab , NYCU ECE 42 Calibre DRC (Step 2) • Copy the gds file to “Calibre” folder. • Open “T18_DRC_rule” and modify layout path & primary. (1)Layout path: gds file name. (2) Layout primary: layout top cell name. (2) (1) (3) 2022/10/27 Sensers IC Lab , NYCU ECE 43 Calibre DRC (Step 3) • Open terminal at “Calibre”. • Run Calibre DRC. ( <terminal> Qcalibre -drc T18_DRC.rule) 2022/10/27 Sensers IC Lab , NYCU ECE 44 Calibre DRC (Step 4) • Open “Calibre”, “Start RVE”. • Open DRC result at “/Calibre/CALIBRE_result” (3) (2) (6) (1) (4) (5) 2022/10/27 Sensers IC Lab , NYCU ECE 45 Calibre DRC (Step 5) • Check DRC results. 2022/10/27 Sensers IC Lab , NYCU ECE 46 DRC Ignorable error T18 process 可允許錯誤 2022/10/27 Sensers IC Lab , NYCU ECE Ignorable now, but not for full chip. 47 Layout vs. Schematic (LVS) LVS 2022/10/27 Sensers IC Lab , NYCU ECE 48 Calibre LVS (Step 1) • Export netlist form schematic. (1) (2) (3) (4) 2022/10/27 Sensers IC Lab , NYCU ECE 49 Calibre LVS (Step 2) • Check CDL output netlist. 2022/10/27 Sensers IC Lab , NYCU ECE 50 Calibre LVS (Step 3) • Copy the .gds & netlist file to “Calibre” folder. • Open “T18_LVS_rule” and modify layout path, layout primary. (1)Source path: netlist file name. (2) Source primary: netlist top cell name. (2) (1) (3) 2022/10/27 Sensers IC Lab , NYCU ECE 51 Calibre LVS (Step 4) • Open terminal at “Calibre”. • Run Calibre LVS. (<terminal> Qcalibre -lvs T18_LVS.rule) 2022/10/27 Sensers IC Lab , NYCU ECE 52 Calibre LVS (Step 5) • Open “Calibre”, “Start RVE”. • Open LVS result at “/Calibre/CALIBRE_result” (2) (3) (6) (1) (4) (5) 2022/10/27 Sensers IC Lab , NYCU ECE 53 Calibre LVS (Step 6) • Check LVS results. 2022/10/27 Sensers IC Lab , NYCU ECE 54 Calibre PEX (Step 1) • Open “T18_LPE_rule” and modify layout path, layout primary. (1) (2) 2022/10/27 Sensers IC Lab , NYCU ECE 55 Calibre PEX (Step 2) • Open terminal at “Calibre”. • Run Calibre PEX. (<terminal> Qcalibre -lpe -rc T18_LPE.rule) • Copy the three output files. (2) (1) 2022/10/27 Sensers IC Lab , NYCU ECE 56 Post-simulation (Step 1) • Check the PEX output file “out_netlist”. • Create testbench. testbench Library Include output_netlist output_netlist Netlist of the circuit 2022/10/27 Sensers IC Lab , NYCU ECE 57 Post-simulation (Step 2) • Put 3 output netlist file and testbench into a folder for post-simulation. • Run post-simulation. (<terminal> Qhspice -i inv_testbench.sp -o HSPICE -mt 4) 2022/10/27 Sensers IC Lab , NYCU ECE 58 Post-simulation (Step 3) • Open Waveview. (<terminal> Rcx) 2022/10/27 Sensers IC Lab , NYCU ECE 59 Terminate/suspend EDA Cloud 2022/10/27 Sensers IC Lab , NYCU ECE 60 Reference Document TSRI EDA: https://www.tsri.org.tw/tw/commonPage.jsp?kindId=D0010 2022/10/27 Sensers IC Lab , NYCU ECE 61 END 2022/10/27 Sensers IC Lab , NYCU ECE 62