Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
415 views

Custom Compiler Tutorial

This document provides a tutorial on using a custom compiler with a 14nm process in PrimeWave. It outlines the steps to include library definitions, create a new library with the target technology, build a schematic with cells from the library, run simulations in PrimeWave by setting up the design, simulator, variables, analyses, model files and outputs, and annotating the operating point results on the schematic. The tutorial covers key tools, menus and settings for library management, schematic design entry, simulation setup and viewing simulation waveforms and results.

Uploaded by

q3366325
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
415 views

Custom Compiler Tutorial

This document provides a tutorial on using a custom compiler with a 14nm process in PrimeWave. It outlines the steps to include library definitions, create a new library with the target technology, build a schematic with cells from the library, run simulations in PrimeWave by setting up the design, simulator, variables, analyses, model files and outputs, and annotating the operating point results on the schematic. The tutorial covers key tools, menus and settings for library management, schematic design entry, simulation setup and viewing simulation waveforms and results.

Uploaded by

q3366325
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

Custom Compiler tutorial

with 14nm Process

Signal Sensing and Application Laboratory

Signal Sensing and Application Lab Slide 0


Outline
• Before start
• Schematic
• Pre-sim

Signal Sensing and Application Lab Slide 1


Before start
• Include library definition
– Import process technology library file
• Create new library
• Change library’s technology

Signal Sensing and Application Lab Slide 2


Step 1: Include library definition
1. Click “Library Manager” icon
2. File ➔ Library Definitions Editor ②

① ③

Signal Sensing and Application Lab Slide 3


Step 1: Include library definition
4. Click any row of statement
5. Click “Include” icon
6. Open ~~/PDK/SAED14nm/SAED14_PDK/lib.defs ➔ Click Save

⑧ ⑤

Signal Sensing and Application Lab Slide 4


Step 2: Create new library
1. File ➔ New ➔ Library
2. Enter library name
3. Import technology file
– ~~/PDK/SAED14nm/SAED14_PDK/techfiles/sead14nm_1p9m_oa.tf



Signal Sensing and Application Lab Slide 5
Step 3: Change library’s technology
1. Right click the library ➔ Manage Technology
2. Click Attachment ➔ Choose SAED_PDK_14

Signal Sensing and Application Lab Slide 6


Schematic
• Create new cellview (schematic)
• Hot Key
• Insert cell
– SAED_PDK_14
• MOS
– AnalogLib
• Voltage source、Current source、Capacitor、Resistor
• Finish schematic
– Check and Save

Signal Sensing and Application Lab Slide 7


Step 1: Create new cellview
• File ➔ New ➔ CellView
• Choose library ➔ Click “All” ➔ Enter Cell Name ➔ Choose
“schematic” at View Name row ➔ Click “OK”
② ③

① ④


Signal Sensing and Application Lab Slide 8
Hot Key
• 【I】: Insert Instance
• 【W】: Wire
• 【Q】: Property Editor
• 【C】: Copy
• 【F】: Fit Edit
• 【F3】: Switch to Toolbar or Window
• 【U】: Undo
• 【P】: Pin
• 【L】: Label
Signal Sensing and Application Lab Slide 9
Step 2: Insert cell
• Press “I” ➔ Choose Library ➔ Choose Cell ➔ Enter Cell Name or not
• Enter Parameters depend on your design ➔ Click “Hide”

Signal Sensing and Application Lab Slide 10


Step 3: Finish Schematic
• Finish schematic ➔ Click “Check and Save” ➔ Check Error

③ ②
Signal Sensing and Application Lab Slide 11
Step 3: Finish Schematic
• Notice !! Because of simulation, the value of voltage source can
be entered a variable !! (DC Sweep)

Signal Sensing and Application Lab Slide 12


Simulation
• Enter Simulation Window
• PrimeWave Setup
– Design
– Simulator
• Check using HSPICE option
– Variables
– Analyses
– Model Files
– Output
– Option: Save testbench
• Simulate and Waveform
– .op result on the schematic

Signal Sensing and Application Lab Slide 13


Step 1: Enter Simulation Window
• Tools ➔ PrimeWave

Signal Sensing and Application Lab Slide 14


Step 2: Design
• Setup ➔ Design ➔ Confirm the schematic is what you want


Signal Sensing and Application Lab Slide 15
Step 3: Simulator
1. Setup ➔ Simulator ➔ Confirm whether simulator is PrimeSim

Signal Sensing and Application Lab Slide 16


Step 3: Simulator
2. Simulation ➔ Options ➔ Confirm whether Netlist Format is HSPICE
• Also can adjust Accuracy


Signal Sensing and Application Lab Slide 17
Step 4: Variables
• Variables ➔ Copy from Design
• Set parameter initial condition: .param in=0



Signal Sensing and Application Lab Slide 18
Step 5: Analyses
1. Setup ➔ Analyses ➔ Choose “op” in Analysis Type ➔ Apply


Signal Sensing and Application Lab Slide 19
Step 5: Analyses
2. Choose “dc” in Analysis Type ➔ Check “Sweep”
3. Set your .dc sweep condition ➔ Click “OK”


Signal Sensing and Application Lab Slide 20
Step 6: Model Files
1. Setup ➔ Model Files

Signal Sensing and Application Lab Slide 21


Step 6: Model Files
2. Click folder icon at Include Path ➔ open
~~/PDK/SAED14nm/SAED14_PDK/SAED_PDK_14 ➔ Choose

Signal Sensing and Application Lab Slide 22


Step 6: Model Files
3. Click folder icon at Model File ➔ open
~~/PDK/SAED14nm/SAED14_PDK/hspice/sead14nm.lib ➔ Open

Signal Sensing and Application Lab Slide 23


Step 6: Model Files
4. Click “Section” ➔ Select corners ➔ Click “OK”

① ②

Signal Sensing and Application Lab Slide 24


Step 7: Output
• Outputs ➔ Add from Design ➔ Select the net which you want to
probe ➔ Press “ESC”

Signal Sensing and Application Lab Slide 25


Step 7: Output

Signal Sensing and Application Lab Slide 26


Option: Save testbench
• Session ➔ Save State ➔ Click “OK”


Signal Sensing and Application Lab Slide 27
Step 8: Simulate and Waveform
1. Simulation ➔ Netlist and Run
2. Check Error ①

Signal Sensing and Application Lab Slide 28


Step 8: Simulate and Waveform
3. Waveform appears automatically

Signal Sensing and Application Lab Slide 29


Step 9: .op result on the schematic
• Results ➔ Annotate ➔ DC Operating Point

Signal Sensing and Application Lab Slide 30


Step 9: .op result on the schematic

Signal Sensing and Application Lab Slide 31


Thank you !

Signal Sensing and Application Laboratory

Signal Sensing and Application Lab Slide 32

You might also like