RNM Simulation V3
RNM Simulation V3
Goals:
Learn the basics of invoking mixed signal verification
in Cadence flows:
Virtuoso GUI based verification flow (AVUM)
Text based Command line verification flow (AIUM)
Real Number Modeling support in both flows
Agenda
LABs
AMS in ADE
AMS-irun
irun
AMS in ADE
(OSS+irun)
+ amsd block
IUS & IC
IUS only
ROM
Verilog-D
Application
Specific
Logic
RAM
VHDL-D
uP
SPICE
Test
Verilog-AMS
Complex
RF
USB
VHDL-AMS
PLL
AMS
Custom
DSP
Schematic
Extracted
CONFIG
The hierarchy editor (HED) makes it easy to select the view representation for a
cell. The user creates a configuration with HED.
6
HED
Verilog-D
VHDL-D
SPICE
Verilog-AMS
VHDL-AMS
Schematic
Extracted
CONFIG
Cadence 5x library structure allows a cell to own many different
views, including verilog, VHDL, ... In HED, it is easy to select the
view representation for a cell to be used in simulation.
7
Basic Application
SystemVerilog
VHDL
VHDL-AMS
Matlab
Specman
SystemC
Verilog
Verilog
VHDL
D
A
Verilog
Verilog
SV
A
SPICE
10
Agenda
LABs
11
Verilog- AMS
VHDL AMS
Real/
Wreal
FastSpice
Pure
Digital
Spice/APS
Performance
Spice/APS
FastSpice
Accuracy
Effort
Verilog-AMS
VHDL-AMS
Real/
Wreal
Pure
Digital
Performance
13
13
14
From library manager, select Library, Category, Cell and View to Open.
In pop up window, select both config and schematic views by clicking Yes
ratio buttons.
Note: Make sure Show Category option is checked otherwise category will
not show up.
17
In HED, select target cell by highlighting it. Right click on the cell
name, select Set Cell View in pop up menu, and then select
intended view name from the list (i.e. verilogams). Select Open to
view and edit the modules.
18
21
22
23
ADE State is saved set up for future reference and reuse to improve productivity.
To load previously saved state:
1. Session -> Load State
2. Select CellView, find the saved state name (i.e. ams_state1), OK.
24
25
Transient Analysis
is previously set up
26
28
29
30
31
Split
wreal
32
With wreal signal selected, launch Calculator by selecting Tools Calculator from ViVA
Window. The signal will be loaded to Calculator buffer area for further processing.
33
From Calculator function panel, select function (i.e. abs), the buffer
area will show the function selected to process the wreal signal.
34
Mixed Signal design partition feature allows users to highlight the nets
or instances that belong to analog domain, digital domain, real
domain or mixed domain. To display partitions, select AMS->Display
Partition->Initialize (after elab or ncsim finishes). After initialization,
user can display partitions and/or IE information.
36
Wreal Block
Highlighted
IE (Interconnect Element, like L2E, E2L, E2R, R2E, etc.) can be highlighted in schematic for
easy debug. To do so, select AMS -> Display Partition -> IE Information. In pop up AMS CMs
Display window, select interested net name, then click Go to button. The IE details will be
printed out in the window and the nets will be highlighted in the schematic.
38
Agenda
LABs
39
-ieinfo:
Generate ams ie information report in a separate file ams_ieinfo.log.
+DR_INFO
Provide discipline resolution information for the nets.
41
ams_ieinfo.log examples
1. Interface Elements at the block <instance> top of <master> top (file : ./test.vams)
List of Ports connected to net top.net : (Total: 5)
Automatically inserted : top.net__digInst4__in
top.digInst1.in (ddiscrete_1_8 input)
Connect Module : E2L_2
top.digInst2.in (ddiscrete_1_8 input)
Mode :
Split
top.digInst3.in (ddiscrete_2 input)
Net :
top.net (discipline: electrical, nettype: electrical)
top.digInst4.in (ddiscrete_1_5 input)
Port :
top.digInst4@dig_child<module>.in (discipline:
ddiscrete_1_5,
direction:
input, nettype:
top.anaInst.out
(electrical
output)
wire)
Discipline of Port (Ain): electrical, Analog Port
Discipline of Port (Dout): ddiscrete_1_5, Digital Port
Parameters :
Drivers of Port Dout: No drivers
vsup
:1.5
Loads of Port Dout: No loads
vthi
:1
Sensitivity information:
vtlo
:0.5
No Sensitivity info
vtol
:0.125
IE Report Summary (with disciplines and directions):
tr
:2e-10
E2L_2 ( electrical input; ddiscrete_2 output;) total: 1
txdel
:8e-10
E2L_2 ( electrical input; ddiscrete_1_5
ttol_c :5e-11
output;) total: 1
vtlox
:0.625
E2L_2 ( electrical input; ddiscrete_1_8
vthix
:0.875
output;) total: 1
-------------------------------------------------------------------Effective Number of IE Instances:
Total Number of E2L_2: 3
Total Number of Connect Modules : 3
42
43
Wreal
Signal
Wreal signal will not match original electrical signal very well when
using Analog/Linear to display the output signal in this case.
46
47
The wreal signal difference from different display formats can be explained with symbol
plotting as above. Select Format -> Symbol -> Points Only to plot the simulation points for
detailed debug. This also explains why RNM simulation is much more efficient than pure
analog
design.
2012 Cadence
Design Systems, Inc. All rights reserved.
48
LAB
49
50