Ezwave Ur
Ezwave Ur
Release 2019.2
Document Revision 8
This document contains information that is proprietary to Mentor Graphics Corporation. The original recipient of this
document may duplicate this document in whole or in part for internal business purposes only, provided that this entire
notice appears in all copies. In duplicating any part of this document, the recipient agrees to make every reasonable
effort to prevent the unauthorized use and distribution of the proprietary information.
Note - Viewing PDF files within a web browser causes some links not to function (see MG595892).
Use HTML for full navigation.
This document is for information and instruction purposes. Mentor Graphics reserves the right to make
changes in specifications and other information contained in this publication without prior notice, and the
reader should, in all cases, consult Mentor Graphics to determine whether any changes have been
made.
The terms and conditions governing the sale and licensing of Mentor Graphics products are set forth in
written agreements between Mentor Graphics and its customers. No representation or other affirmation
of fact contained in this publication shall be deemed to be a warranty or give rise to any liability of Mentor
Graphics whatsoever.
MENTOR GRAPHICS MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE.
MENTOR GRAPHICS SHALL NOT BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR
CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS)
ARISING OUT OF OR RELATED TO THIS PUBLICATION OR THE INFORMATION CONTAINED IN IT,
EVEN IF MENTOR GRAPHICS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
U.S. GOVERNMENT LICENSE RIGHTS: The software and documentation were developed entirely at
private expense and are commercial computer software and commercial computer software
documentation within the meaning of the applicable acquisition regulations. Accordingly, pursuant to
FAR 48 CFR 12.212 and DFARS 48 CFR 227.7202, use, duplication and disclosure by or for the U.S.
Government or a U.S. Government subcontractor is subject solely to the terms and conditions set forth in
the license agreement provided with the software, except for provisions which are contrary to applicable
mandatory federal laws.
TRADEMARKS: The trademarks, logos and service marks ("Marks") used herein are the property of
Mentor Graphics Corporation or other parties. No one is permitted to use these Marks without the prior
written consent of Mentor Graphics or the owner of the Mark, as applicable. The use herein of a third-
party Mark is not an attempt to indicate Mentor Graphics as a source of a product, but is intended to
indicate a product from, or associated with, a particular third party. A current list of Mentor Graphics’
trademarks may be viewed at: mentor.com/trademarks.
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of
Linus Torvalds, owner of the mark on a world-wide basis.
End-User License Agreement: You can print a copy of the End-User License Agreement from:
mentor.com/eula.
Author: In-house procedures and working practices require multiple authors for documents. All
associated authors for each topic within this document are tracked within the Mentor Graphics
Technical Publication’s source. For specific topic authors, contact Mentor Graphics Technical
Publication department.
Revision History: Released documents maintain a revision history of up to four revisions. For
earlier revision history, refer to earlier releases of documentation which are available on http://
support.mentor.com.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
4 EZwave™ User's and Reference Manual, 2019.2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Table of Contents
Chapter 1
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
EZwave Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
EZwave Process Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Joint Waveform Database (JWDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Invoking EZwave. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Invoking EZwave in Batch Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Supported File Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Visual Tour of EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Chapter 2
Setting Up EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Changing Default Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
EZwave Format Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Configuring Waveform Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Configuring the Color Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
EZwave Display Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuring Display Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuring Colors, Fonts, and Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Changing Waveform Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Configuring Keyboard Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Chapter 3
EZwave GUI Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
EZwave Viewer Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Format Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Tools Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Cursor Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Waveform List Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Graph Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Creating a New Graph Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Graph Window Title Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Waveform Names Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Graph Window Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Workspace Taskbar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Application Window Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Graph Window Popup Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Graph Window Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Row Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Waveform Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Axis Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Cursor Popup Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Vertical Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Horizontal Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Cursor Value Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Waveform List Panel Popup Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Waveform List Popup Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Database Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Folder Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Hierarchy Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Waveform Name Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Selected Waveforms Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Workspace Popup Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Keyboard and Mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Keyboard Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Mouse Strokes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Waveform Calculator GUI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Chapter 4
Add Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Waveform Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Starting EZwave and Loading a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Single Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Plotting a Single Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Moving a Plotted Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Copying a Plotted Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Multiple Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Plotting Multiple Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Plotting Waveforms with the Same Name using Tandem Mode . . . . . . . . . . . . . . . . . . . 124
Managing Database Groups for Tandem Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Plotting the Difference Between Two Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Creating an XY Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Managing Waveform Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Grouping Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Adding a Waveform to a Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Removing a Waveform from a Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Creating an Empty Waveform Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Ungrouping Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Chapter 5
Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Working with Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Adding the Base Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Changing the Base Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Adding Reference Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Adding Relative Reference Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Adding a Horizontal Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Copying Horizontal Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Moving Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Setting the Visibility of Cursor Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Moving Cursor Value Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Hiding a Cursor Value for a Single Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Hiding a Cursor Value for All Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Showing Cursor Values for Selected Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Setting Default Cursor Value Visibility when Selecting Waveforms . . . . . . . . . . . . . . . 173
Sharing Cursor Value Visibility Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Setting Cursor Value Visibility in the Cursor Values Table . . . . . . . . . . . . . . . . . . . . . . 176
Chapter 6
Post-Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Working with a Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Creating a Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Editing Bus Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Transforming Analog Waveforms to Digital. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Transforming Digital Waveforms to Analog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Bus and Bit Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Bus Transformation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Bit Transformation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Measurement Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Taking a Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
DC Hysteresis Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Eye Diagram Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Frequency Domain Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Bandpass. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Gain Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Phase Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
General Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Average. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Y Level Crossing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Intersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Local Max. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Local Min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Maximum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Minimum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Peak to Peak Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Slope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Slope Intersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
YVal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Statistical Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Time Domain Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Falltime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Overshoot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Chapter 7
Save and Output Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Saving and Restoring Graph Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Saving Graph Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Restoring Graph Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Printing Graph Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Exporting Graph Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Exporting Graph Windows as a PDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Using a Different PDF Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Exporting Graph Windows as an Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Saving a Waveform Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Saving a Single Waveform Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Saving Post-Processed Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Save File Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Saving Multiple Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
Recovering Database Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Recovering from Incomplete Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Recovering Incomplete Savefiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Outputting a JWDB as an ASCII File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Saving a JWDB as an ASCII File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Converting a JWDB to an ASCII File (Batch Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Chapter 8
Dialog Box and Field Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Add Clock Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Analog to Digital Conversion Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Annotation Properties Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Axis Properties Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
Appendix A
Eldo Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Run Eldo With EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Complete Eldo Simulation and View Simulation Data Later . . . . . . . . . . . . . . . . . . . . . . . . 640
Manual Status Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
Marching Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
Joint Waveform Database Read API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
AMS Results Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
Appendix B
Waveform Calculator Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645
Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
Function Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
abs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
absolutejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655
absolutejitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657
acos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658
acosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659
acot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660
acoth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661
add. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662
allandeviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664
asin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665
asinh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666
atan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
atan2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668
atanh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
atod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
autocor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
avg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
baseline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
calcvartype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
cdf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
ceil. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
chirp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
complex. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
compress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
concat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
conjugate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
constellationdiagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
continuous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688
convolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
cosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
cot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693
coth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
cphase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
cphytrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696
crosscorrelation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
crossing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
cycle2cyclejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
cycletocyclejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
cycletocyclejitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
datatodig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
datatowf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
dchysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
db . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
db10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
deg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
derive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
drv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
dtoa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
dtoaonbit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716
dutycycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718
enob. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720
evmber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
exp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
eye . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
eyeamplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
eyecphy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
eyecrossingamplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
eyedelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730
eyediagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
eyefalltime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
eyeheight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734
eyeheightatx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
eyejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
eyemeasures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
eyerisetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
eyesetmask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
eyesnr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
eyewidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
eyewidthaty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
eyewithtrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
falltime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
fft. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
firstdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752
floor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754
fmod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
frequencyjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758
frexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
gaussiandistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
gendecade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762
genlinear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 763
genoctave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
getelementat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
gmargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766
gptocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767
halfperiodjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768
harmonicdistortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
harmonics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
harmonicsmeter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
hdist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
histogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
hypot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
idb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
idb10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
ifft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778
iipx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
imag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
integ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
intersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784
join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
larger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788
ldexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789
length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
lesser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
ln . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
localmax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
localmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797
longtermjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798
mag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 801
maxdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 802
maxspectrumdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 804
min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 806
modf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807
mptocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 808
nand. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 809
noisetosignaldbc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 810
noisetrantophasenoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811
nor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 812
oipx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813
period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814
periodjitter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 816
periodjitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818
phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819
phasenoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820
phnoisebydlm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821
phnoisebymixer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
phmargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 824
pivot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825
plotjitterconfidenceinterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826
pow10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 827
psd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828
pssresidue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831
pulsewidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 832
rad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 834
real . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835
reglin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 837
removepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
risetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
ritocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
rms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
rms_ac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
rms_accurate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
rms_noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
rms_tran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
rol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847
ror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
round . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850
samplelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
samplepsd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
setAngleUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856
setNotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
setTemperatureUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
settlingtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
sfdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860
shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862
shiftedmaxdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863
sin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865
sinad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
sinh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869
sla . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
slewrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
slope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
slopeintersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
sndr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
snr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
sorty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 879
spectrummeasurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880
sphibyjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883
sphifilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
sqr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
sqrt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 887
sra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
stddev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
tan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 891
tanh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892
thd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 893
tiejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 895
timeabsolutejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 897
timelongtermjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899
timeperiodjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 901
timestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 903
todchysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 904
topline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 905
topnoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 906
trunc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 907
var . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
wf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
wftoascii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911
wftodata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912
windavg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914
windowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 915
xcompress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917
xdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
xnor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919
xofmax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
xofmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
xup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 922
xval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 923
xwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 924
xytowf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
yval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
Appendix C
Tcl Scripting Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929
Tcl Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Tcl Scripting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Tcl Command Syntax Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
If Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
Set Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1034
find analogs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
find currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036
find digitals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1037
find nets | signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1038
getactivecursortime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1039
precision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
printenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1041
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1042
radix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043
radix define . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045
radix delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
radix list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1048
radix names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049
radix signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1050
save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
setenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
unsetenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053
wave activecursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1054
wave activewindow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1055
wave activeworkspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1056
wave addannotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1057
wave addaxisdeltamarker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
wave addcursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1061
wave adddeltamarker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
wave addline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064
wave addmarker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
wave addproperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1067
wave addwindow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1068
wave addworkspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1069
wave cdf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1070
wave clean. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1074
wave closewindow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1075
wave colortheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1076
wave createbus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1077
wave cursortime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1078
wave deletecursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1079
wave difference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080
wave displayed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1081
wave exists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1082
wave ezwave_title. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1084
wave gettype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1085
wave histogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1086
wave jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1090
wave launchfolder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
wave listworkspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1096
wave loadbindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
wave lockcursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1098
wave names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1099
pll_jitter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1158
pll_jitter_parallel4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160
pll_phasenoise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
pll_phasenoise_parallel4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1162
PlotCompress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1164
PlotPacIPn. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165
Appendix D
Supported Net Representation Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1167
Representing the Signal as a Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
Extended Options for Selecting Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
discipline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
physic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1172
Examples of wave show and -show usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Appendix E
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175
Known Problems and Workarounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175
Linux Printing Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178
Resolving Linux Printing Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178
Printing Issues when using LPRNG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178
Printing Issues when using CUPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179
Troubleshooting Memory Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181
Configuring Memory Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181
Resolving Out-Of-Memory Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1182
Resolving Incorrect Estimate the Disk Space Needed to Save A Database . . . . . . . . . . . . 1184
Resolving Why the Simulator Fails to Start EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1184
Increasing the Memory Stack Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185
Loading .fsdb and .tr0 Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1186
Troubleshooting EZwave Launch Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1187
Failure to Load EZwave Dynamic Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1187
Failure to Launch EZwave in Questa ADMS GUI Context . . . . . . . . . . . . . . . . . . . . . . . . 1187
Displaying Results Between Different AMS Versions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1188
Troubleshooting Display Issues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1189
Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1189
Troubleshooting Logfiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1190
Logfile Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1190
Troubleshooting Waveform Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1191
System Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1191
Contacting the Customer Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196
Training Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196
Glossary
Index
Third-Party Information
End-User License Agreement
Table 8-66. Fonts and Colors - Window Background Dialog Box Contents . . . . . . . . . . . . 520
Table 8-67. Fonts and Colors - Zero-Level Line Dialog Box Contents . . . . . . . . . . . . . . . . 521
Table 8-68. EZwave Display Preferences - Histogram Plot Options Dialog Box Contents . 522
Table 8-69. EZwave Display Preferences - Histogram Measures Options Dialog Box Contents
524
Table 8-70. EZwave Display Preferences - Histogram Legend Options Dialog Box Contents
526
Table 8-71. EZwave Display Preferences - Waveform Calculation Options . . . . . . . . . . . . 528
Table 8-72. EZwave Display Preferences - Waveform Calculator General Options . . . . . . 529
Table 8-73. EZwave Display Preferences - Waveform Calculator View Options . . . . . . . . 531
Table 8-74. Filter Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
Table 8-75. Find Tool Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
Table 8-76. Jitter Tool Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
Table 8-77. Measurement Tool Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
Table 8-78. Parameter Table Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
Table 8-79. Pick Points Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Table 8-80. Expression Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Table 8-81. Power Analysis Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
Table 8-82. Save As Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
Table 8-83. Save Windows Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Table 8-84. Select Hierarchy Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
Table 8-85. Select Waveforms Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Table 8-86. Shortcuts Manager Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
Table 8-87. Update Waveforms Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
Table 8-88. Waveform Names Display Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . 574
Table 8-89. Appearance Tab for Analog Waveforms Contents . . . . . . . . . . . . . . . . . . . . . . 576
Table 8-90. Appearance Tab for Digital Waveform Contents . . . . . . . . . . . . . . . . . . . . . . . 580
Table 8-91. Auto Correlation Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584
Table 8-92. Chirp Transform Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Table 8-93. Constellation Diagram Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Table 8-94. Convolution Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
Table 8-95. Cross Correlation Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
Table 8-96. Error Vector Magnitude and Bit Error Rate Dialog Box Contents . . . . . . . . . . 597
Table 8-97. Eye Diagram Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Table 8-98. Fast Fourier Transform Tool Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . 602
Table 8-99. Harmonic Distortion Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605
Table 8-100. Harmonics Meter Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
Table 8-101. Histogram Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
Table 8-102. Inverse Fast Fourier Transform Dialog Box Contents . . . . . . . . . . . . . . . . . . 613
Table 8-103. Phase Noise Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615
Table 8-104. Power Spectral Density Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . 618
Table 8-105. PSS Residue Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Table 8-106. Signal to Noise Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Table 8-107. Spectrum Measurement Tool Dialog Box Contents . . . . . . . . . . . . . . . . . . . . 628
Table 8-108. Tcl File Viewer Dialog Box Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
This section presents an overview of the functionality and capability of the EZwave™ viewer, as
well as detailing basic concepts relating to the tool and this manual.
EZwave Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
EZwave Process Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Joint Waveform Database (JWDB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Invoking EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Invoking EZwave in Batch Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Supported File Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Visual Tour of EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
EZwave Overview
EZwave Overview
The EZwave viewer is an advanced graphical user interface (GUI) that supports viewing of
multiple databases of analog, digital and mixed-signal waveforms. It provides a dynamic
graphical display of data produced by a variety of Mentor Graphics applications.
The EZwave viewer can be run from the command line or from within host applications, such as
the Eldo® and Questa® ADMS™ simulators, Analog FastSPICE™ (AFS) and the Analog
Characterization Environment (ACE), a schematic capture tool such as Pyxis®, or other design
environment tools.
Once you have loaded your simulation results into the EZwave viewer, you can view, analyze,
and post-process them using a range of utilities, such as the Waveform Measurement Tool and
the Waveform Calculator. These utilities enable you to perform sophisticated calculations with
a combination of built-in or user-defined arithmetic (such as log, sin, cos) and logical (such as
AND, OR, XOR) functions. The calculation results can be waveforms, vectors, or scalar values.
A separate manual, Getting Started with EZwave, is available, which also links to video
tutorials. In addition, there is a short EZwave Quick Reference, which provides a summary of
the key functions of EZwave, including a tour of the main window features and tools, actions
available in the Wave windows, and keyboard shortcuts.
Tip
You can also view and analyze simulation results and associated files in tabular form using
the AMS Results Browser. Refer to the AMS Results Browser User’s Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Joint Waveform Database (JWDB)
additional analysis and reuse. Add cursors to show data points and interpolated values
between data points.
See “Analysis” on page 161.
4. Post-Processing — After analyzing the simulator output data, the EZwave viewer
provides a number of powerful utilities for processing the data and transforming the raw
data to specific characteristic information. Using the Measurement Tool and the
Waveform Calculator, you can perform sophisticated calculations with a combination of
built-in or user-defined arithmetic (such as log, sin, cos) and logical (such as AND, OR,
XOR) functions. The calculation results can be waveforms, vectors, or scalar values.
See “Post-Processing” on page 267.
5. Save and Output Data — Save and/or output results to a disk file.
See “Save and Output Data” on page 389.
Related Topics
Setting Up EZwave
Add Waveforms
Analysis
Post-Processing
Save and Output Data
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Joint Waveform Database (JWDB)
• VHDL char
• buses and records
• bit
• boolean
• string
• integer (16, 32, or 64 bits)
• user-defined enumerated types
X values can either be 64-bit integers or double-precision floating-point numbers. It can contain
signals from the time and frequency domains, or any other required domain.
The JWDB is a multi-run database. Waveforms and buses are stored, managed, and analyzed as
Compound Waveforms. In addition to compound waveforms, the JWDB has hierarchies which
allow waveforms to be placed in folders for further data management.
Tip
Refer to the Joint Waveform Database Read API Reference Manual.
Related Topics
Visual Tour of EZwave
EZwave Process Flow
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Invoking EZwave
Invoking EZwave
To invoke the EZwave viewer, type ezwave at the command line.
Describes the ezwave command, used to invoke EZwave. Lists all supported files types that can
be opened in EZwave.
Tip
The EZwave viewer can also be invoked from host applications such as the Questa ADMS
simulator, the Pyxis® schematic capture tool, or other design environment tools. For more
information, refer to the documentation provided with the host application.
Syntax
ezwave [arguments] [file1 ...]
ezwave [-nos | -nosplash]
[-v | -version]
[-hei <#> | -height <#>]
[-w <#> | -width <#>]
[-loc <x# y#> | -location <x# y#>]
[-title <"title">]
[--laf <light | gray | dark>]
[-c]
[-hel | -help | -u | -usage]
[-do <filename>]
[-args <args>]
[-assign <variable=value>]
[-i <path>]
[-o <path>]
[-s]
[-tcl | -tclprompt]
[-bigmem]
[-nobigmem]
[-maxwnd | -maximizefirstinnerwindow]
[-now | -nowindow]
[-notree | -forcewfchoosernotvisible]
[-singlewk | -forceworkspacenotallowmultiple]
[-skipexprerror]
[-log <path> | -logfile <path>]
[-nologging]
[-nor | -norestore]
[<file1> ...]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Invoking EZwave
Arguments
• -nos | -nosplash
Prevents the splash screen from opening when EZwave launches. If specified, this must be
the first argument.
• -v | -version
Displays the EZwave version number.
• -hei <#> | -height <#>
Sets the default height of the application windows.
• -w <#> | -width <#>
Sets the default width of the application windows.
• -loc <x# y#> | -location <x# y#>
Sets the location of the initial window.
• -title <"title">
Adds a title to the top of the EZwave main display. If the option -title “My Custom Title” is
set, the displayed name will be “My Custom Title (EZwave #Version# )”.
• --laf <light | gray | dark>
Note
Early-access feature. This feature has had limited production-level testing.
Changes the look and feel of EZwave, using light, gray, or dark themes for the GUI.
• -c
Runs EZwave in batch mode. There is no graphical user interface or display. Refer to
“Invoking EZwave in Batch Mode” on page 45.
• -hel | -help | -u | -usage
Displays this help text.
• -do <filename>
Indicates Tcl filename and location to be executed by the EZwave viewer.
• -args <args>
Arguments that follow -ARGS are defined for the Tcl script (and are ignored by EZwave).
• -assign <variable=value>
Assigns a Tcl variable to a value.
• -i <path>
Specifies the input simulation results file or directory name (optional).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Invoking EZwave
• -o <path>
Specifies the output file name for the measurement results generated by the Tcl script.
• -s
A comma-separated list of variable names for which to print out measurements.
• -tcl | -tclprompt
Opens a prompt in the terminal, enabling single line Tcl commands to be entered directly.
• -bigmem
Enables the possibility to use up to 75% of machine memory. Enabled by default.
• -nobigmem
Limits the memory size to 4 GB. Equivalent to setting the environment variable
AMS_JAVA_NO_BIG_MEMORY=1.
Refer to “Environment Variables” on page 54 for further details.
• -maxwnd | -maximizefirstinnerwindow
Maximizes the first inner window at startup.
• -now | -nowindow
Prevents opening the initial empty window.
• -notree | -forcewfchoosernotvisible
Hides the waveform list at startup.
• -singlewk | -forceworkspacenotallowmultiple
Disables multi-workspace management.
• -skipexprerror
Skips errors when executing Tcl commands or scripts.
• -log <path> | -logfile <path>
Specifies the location for the session log file.
• -nologging
Prevents session activity from being logged to a file.
• -nor | -norestore
Prevents settings from a previous session from being restored.
• <file1>
The name of the file to open. Refer to “Supported File Types” on page 45 for a list of the file
types that can be opened in EZwave.
Related Topics
Invoking EZwave in Batch Mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Invoking EZwave
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Invoking EZwave in Batch Mode
When all connections are closed and script evaluations complete, EZwave batch exits.
Note
Running .swd file in batch mode is not supported. Tcl graphical commands are ignored in
batch mode). There is no log, -log <path> is ignored.
Tip
You can check whether EZwave is in batch mode using the Tcl command “batch_mode” on
page 974. This can be useful inside scripts if you want them to work differently in batch
mode, for example to make graphical operations conditional on mode.
Related Topics
Invoking EZwave
Passing Tcl Parameters from the Command Line
batch_mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Supported File Types
HSPICE Graph Data Files *.tr% The EZwave viewer can only read files
*.ac% with extension .tr% that have been
generated by HSPICE. Files with this
*.ft% extension that were generated by other
*.mt% tools may appear in the list of available
files but will fail to load. Refer to
*.sw% “Loading .fsdb and .tr0 Files” on
page 1186.
OVD Files *.ovd Open Verification Database format file.
See also “Foreign Databases Options” on
page 467 and “dataset ovd” on page 1013.
Cou Files *.cou
Wlf Files *.wlf Questa SIM Wave Log Format file. The
EZwave viewer can only read WLF files
that have been fully saved to disk where
the simulation has completed and the
simulator exited. The list of waveforms in
the database is loaded first, then the
default hierarchical name used within the
waveform. Waveforms are created in the
TRAN folder. Unsupported WLF types
are ignored and a dialog will point to the
log file.1
VCD (Value Change Dump) *.vcd Real signals can be defined as a 64-bit bus
with the value provided as a floating-point
number.
Real 64-bit elements can still be defined
using standard 64-bit binary descriptions.
The state “U” is accepted as a correct
value.
PSF Files runObjFile PSF files do not have a predefined
logFile * extension. EZwave will open files with
the name runObjFile or logFile or
unrecognized files that contain the string
“PSFversion” in the first 100 bytes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Supported File Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Visual Tour of EZwave
Use the tabs on the Waveform List Panel to switch between a flat display (List tab) or a
hierarchical format (Tree tab).
The Workspace is the area where the graph windows are displayed. You can move, resize,
minimize, and restore each graph window that is displayed on each Workspace. From the
Window pull-down menu, you can manage the windows by tiling or cascading them within the
Workspace. You can create multiple Workspaces by right-clicking an open workspace and
choosing New from the Workspace Popup Menu. All Workspaces can be accessed using the
tabs at the bottom of the pane.
The Graph Window is used to plot and view waveforms. They are created when you drag
waveform icons from the left Waveform List panel into the EZwave Workspace. You can have
a single waveform in a graph window, multiple waveforms overlaid in a graph window, or
multiple rows of waveforms in a single graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Visual Tour of EZwave
Digital waveforms displayed on a graph window are called trace rows. Digital waveforms
display only logic states (on/off, hi/low, and so on). Analog waveforms are displayed in graph
rows. Each point on an analog waveform represents a specifically graphed data point (for
instance, showing voltage versus time).
Waveforms can be dragged up and down within the graph window or overlaid for comparison
display. Drag your mouse pointer on an axis to zoom in on a waveform. To reverse the action,
click the Undo Zoom icon on the main toolbar. You can arrange graph windows within a
workspace into a cascade or a variety of tilings for easier viewing and printing.
The status bar at the bottom of the graph window displays the current X and Y coordinates of
your mouse pointer (analog waveforms can be displayed with dual Y axes). If you click on a
waveform, the status bar displays the distance and the slope between two successive click
locations (shown as deltaX, deltaY, and slope).
You can add cursors to plotted waveforms, to measure points or lengths of a waveform. A
cursor is an on-screen indicator, drawn in the graph window waveform display area to identify
locations on the X or Y axes, in order to create a point for measurement. Cursors are displayed
as vertical or horizontal lines, each having a label and an X or Y value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Visual Tour of EZwave
To add a cursor, right-click on a waveform and select Add Cursor or Add Horizontal Cursor.
The first cursor created is known as the base (reference) cursor. You can add multiple cursors to
show data points, as well as interpolated values between data points, and the delta between the
base cursor. You can set a base cursor, then add additional cursors to measure values in between
using the Measurement Tool (see “Measurement Tool” on page 274). The current cursor is
highlighted, while others are set as dotted lines.
Choose Tools > Search to invoke the Event Search Tool. This tool enables you to locate
occurrences of simulation events interactively. An event is a definition of specific states (or
values) for a single waveform or a collection of waveforms. To define an event, you need to
select a set of waveforms and specify the states (or values) you want them to have. You can
place markers (indicated by a red triangle) on cursors, allowing you to anchor locations to
“jump” between. For details on how to use the Event Search Tool, refer to “Using the Event
Search Tool” on page 192.
Choose Tools > Measurement Tool... to invoke the Measurement Tool. This tool enables you
to perform a range of analog and mixed-signal measurement operations on waveforms
displayed in the graph window. You can annotate the measurement results in the graph window
along with the measured waveforms. Measurement operations are divided into categories, such
as general, time-domain, frequency-domain, and statistical.
In a graph window, insert two cursors on a waveform, then choose Tools > Measurement Tool
from the EZwave menu. In the Measurement Tool, select the waveforms, then choose what type
of measurement you need, and select the waveform area in which to apply the measurement.
The results appear highlighted in the graph window. The results of some measurements produce
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Visual Tour of EZwave
other waveforms. The EZwave Measurement Tool enables you the option of creating and
plotting the result waveform in the active graph window. For more details on how to use the
Measurement Tool, refer to “Measurement Tool” on page 274.
Choose Tools > Waveform Calculator to invoke the Waveform Calculator. This tool is an
integral part of post-processing and viewing the analog, digital, and mixed-signal simulation
results. It can optimize the time it takes to analyze large amounts of simulation data, and
supports a range of charting and analysis features. Refer to “Waveform Calculator” on page 304
and “Waveform Calculator GUI” on page 113 for more details.
Choose Tools > Waveform Compare > Comparison Wizard to invoke the Waveform
Comparison Wizard. This tool enables you to compare waveforms from a reference simulation
to a new result simulation when analyzing the analog, digital, and mixed-signal simulation
results. The set of differences can be reported either graphically, or in report files. Refer to
“Comparing Waveforms” on page 227 for more information.
Related Topics
EZwave GUI Overview
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Introduction
Visual Tour of EZwave
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 2
Setting Up EZwave
Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Changing Default Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
EZwave Format Preferences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Configuring Waveform Names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Configuring the Color Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
EZwave Display Preferences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuring Display Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuring Colors, Fonts, and Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Changing Waveform Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Configuring Keyboard Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Environment Variables
Environment Variables
Describes the key environment variables that are set to default path locations during the
installation process. You should verify that these locations are correct.
• MGLS_LICENSE_FILE or LM_LICENSE_FILE
Points to your Mentor Graphics license file or license server.
• MGC_AMS_HOME
Points to the root installation tree.
On UNIX, you can use the following command:
echo $environment_variable_name
On Windows, see Control Panel > System > Advanced tab > Environment Variables.
The environment variables listed in Table 2-1 are set during runtime.
Table 2-1. Environment Variables
Environment Variable Description
AMS_VIEWER_SETUP_HOME Specifies the location of the .ezwave directory where
the EZwave viewer keeps its setup files. The default
location is $HOME/.ezwave.
AMS_VIEWER_WFC_NOTATION Forces the Waveform Calculator to use the specified
notation. Takes priority over notation settings specified
in “Waveform Calculator General Options” on
page 529. Specify value “spice” | “ieee”.
AMS_EZDO_ROOT Specifies a root directory for relative paths when
saving window content in TCL or SWD (.swd) format.
The path entered in the File Name field on the Save
Windows Dialog Box will be relative to
AMS_EZDO_ROOT if the Use Relative Paths option
is set to Relative to AMS_EZDO_ROOT in the Save
Window Options.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Environment Variables
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Changing Default Environment Variables
Procedure
1. Enter the following command once:
setenv AMS_USE_ENV 1
For example, if you want to change the location of the .ezwave directory, enter the
following:
setenv AMS_USE_ENV 1
setenv AMS_VIEWER_SETUP_HOME $HOME/my_directory
Note
Do not use the echo $environment_variable_name command for these
environment variables.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Changing Default Environment Variables
Related Topics
EZwave Display Preferences
Invoking EZwave
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
EZwave Format Preferences
• No Hierarchy (Leaf Name Only) — To display only the leaf name. Use this option
when waveforms can be identified without ambiguity by only the leaf name. For
example:
clk
• Display <N> Levels — To display a specified number of hierarchy levels. Use this
option when waveforms can be identified without ambiguity by limiting the number
of hierarchy levels displayed. For example, if N=2, two levels of hierarchy are
displayed:
u1:x1:clk
The Justify Value section controls justification of the waveform name display. Select an
option from Left (Default) or Right.
Tip
Use Right justification when information for identifying waveforms is at leaf level.
The Database Name section controls whether the database name is displayed as part of
the waveform name. For example:
<adc12test_mixed_eldo_ms/TRAN>clk
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring the Color Scheme
Related Topics
Changing Waveform Colors
Configuring the Color Scheme
Configuring Display Preferences
Configuring Colors, Fonts, and Styles
Waveform List Panel
Procedure
1. Choose Format > Color Scheme.
2. Select on of the following options:
• Black Background
Specifies a black background, with colors for the graph window objects.
• White Background
Specifies a white background, with colors for the graph window objects. This is the
default color scheme.
• Monochrome
Specifies a white background, with black for the graph window objects. Instead of
waveforms being displayed in different colors, different line styles are used.
• Documentation
Specifies settings for items such as waveform line width, fonts, cursors and axes,
that have been optimized for printing or exporting an image of the graph window(s).
Caution
The Documentation color scheme is primarily intended for printing or exporting,
and may significantly reduce the waveform display performance. For best
performance, use a waveform line width of 1 pixel and a plain line style, for
example, color schemes Black Background or White Background.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring the Color Scheme
Tip
When using the Documentation color scheme for exported pages, ensure this
option is selected prior to organizing and annotating your window. This will
ensure that the page layout appears as expected in the export.
Related Topics
Configuring Colors, Fonts, and Styles
Configuring Display Preferences
Workspace
Waveform Colors Options
Changing Waveform Colors
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
EZwave Display Preferences
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring Colors, Fonts, and Styles
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Changing Waveform Colors
Note
The Waveform Name options for Waveform Hierarchy, Justify Value and Database
Name options are common to all four color schemes.
Related Topics
EZwave Viewer Interface
Configuring the Color Scheme
Note
Even if the color palettes are different, the color palette size is shared between White
and Black color schemes.
When the Monochrome color scheme is active, the color palette cannot be set.
The Documentation color scheme uses its own color palette settings.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring Keyboard Shortcuts
Related Topics
Configuring Waveform Names
Configuring Colors, Fonts, and Styles
Configuring Display Preferences
Workspace
Waveform Colors Options
Waveform Properties Dialog (For Analog Waveforms)
Waveform Properties Dialog (Digital Waveforms)
b. You can filter the available actions by the main menu category under which they
appear. Choose the required menu from the By Category dropdown menu, for
example Tools.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring Keyboard Shortcuts
c. You can filter the available actions by the context in which they are used. Choose the
required context from the By Context dropdown menu, for example Waveform
Calculator.
d. You can view any actions that do not have an associated keystroke. Select the Show
Empty Key Strokes checkbox.
4. You can assign keyboard shortcuts to actions and modify existing assignments using the
Shortcuts Manager. This process is called binding, where you bind an action to a
keyboard shortcut. To modify bindings, click on the required row in the Actions table
and then do any of the following:
a. If you want to remove the associated key stroke from the selected action, click
Unbind Selection.
b. If you want to restore the last saved key stroke to the selected action, click Restore
Selected To Last Saved.
c. To modify the keyboard binding for the selected action, specify the required shortcut
in the Key Stroke field and ensure the Description field is correct in the Edit pane.
For example, to use Ctrl+S for an action, click in the Key Stroke field, hold down the
Ctrl key and press S. Then click the Update button.
5. If you encounter any issues, for example conflicts with the same shortcuts used for
actions in the same context, a message will appear in the Status Messages field. You
should then review the items in the Issues table. Click in a row in the Issues table and
specify different keystrokes for the affected actions in the Edit pane. Then click the
Update button and review the Status Messages area to check that the issue has been
resolved.
6. Finally, click OK or Apply to update your changes. Click Close if you do not want to
save any changes.
Examples
You can also manually edit a *.ezkey keyboard schema file or create a new file to define your
own keyboard shortcut preferences for EZwave.
v1.0
<action> <context> <category> ["]<binding>["] ["]<description>["]
...
<action_N> <context_N> <category_N> ["]<binding_N>["]
["]<description_N>["]
You can also load a keyboard schema file using the Tcl command “wave loadbindings” on
page 1097:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Setting Up EZwave
Configuring Keyboard Shortcuts
Related Topics
Shortcuts Manager Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 3
EZwave GUI Overview
This section provides an overview of the EZwave graphical user interface (GUI).
For a more in-depth description of the dialog boxes, see “Dialog Box and Field Reference” on
page 405.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
EZwave Viewer Interface
Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Format Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Tools Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Cursor Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Waveform List Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
EZwave Viewer Interface
Graph Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Creating a New Graph Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Graph Window Title Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Waveform Names Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Graph Window Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Workspace Taskbar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Application Window Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Menu Bar
You can use the menu bar to access all of the EZwave menus.
This section describes the options available under each of the following menus in EZwave:
File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Format Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Tools Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Cursor Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
File Menu
You can use the File menu to access to Load, Save and Print operations.
It contains the following items:
Table 3-1. File Menu Items
Icon Mouse Key Item Description
Stroke Shortcut
Ctrl+N New Creates a new graph window.
Ctrl+O Open Opens any supported file type. For details refer
to “Supported File Types” on page 45.
Ctrl+W Close Closes the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Edit Menu
EZwave has an Edit menu for access to Edit, Group, Find, Shortcuts Manager and EZwave
Options features.
The Edit menu contains the following items:
Table 3-2. Edit Menu Items
Icon Mouse Key Item Description
Stroke Shortcut
Undo/Redo Undoes the previous graphical operation, such
as plotting a waveform or splitting a row.
Removes the effect of the previous undo
operation, performing the operation again.
Ctrl+X Cut Removes the currently selected objects from
the active graph window and stores them on the
clipboard.
Ctrl+C Copy Makes a duplicate of the currently selected
objects and stores them to the clipboard.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
The Undo command is able to undo operations such as adding, moving, and deleting waveforms
and cursors, which occur graphically within EZwave. It is not able to operate on simulation-
related actions, such as creating waveforms in the database or plotting waveforms interactively
from the simulator graphical interface.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
The undo buffer can hold multiple commands, so that you can undo the last several actions.
However, some actions—particularly those that would cause undo to become unsafe—clear the
undo buffer. These commands include the following:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
View Menu
EZwave has a View menu for access to Zoom, Gridlines, Waveform and Toolbar features.
The View menu contains the following items:
Table 3-3. View Menu Items
Icon Mouse Key Item Description
Stroke Shortcut
U Zoom Undo Undoes the previous zoom operation in the
active graph window
R Zoom Redo Redoes the last action undone by Zoom Undo
O Zoom Out Zooms the display out to view less detail in the
x-axis of the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Format Menu
EZwave has a Format menu for access to Waveform Names and Color Scheme features.
The Format menu contains the following items:
Table 3-4. Format Menu Items
Item Description
Waveform Names Display Provides format options for waveform names within the
graph windows. This is a global setting.
Show Full Hierarchy - Controls whether the waveform
name contains the full design path name, or just the
waveform leaf name.
Show Database Names - Controls whether the
displayed waveform name contains the database name.
For example, if there is a waveform named “clock” in a
database named “results” then checking this option
would include the text “results” when the “clock”
waveform name was displayed in the graph windows.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Tools Menu
EZwave has a Tools menu for access to all of the main analysis tools.
The Tools menu contains the following items:
Table 3-5. Tools Menu Items
Icon Item Description
Waveform Compare Contains submenus to set up and perform
waveform comparison. Refer to
“Comparing Waveforms” on page 227.
Create Bus Creates user-defined buses. Refer to
“Working with a Bus” on page 269.
Eye Diagram Creates an eye diagram based on a period
of a waveform. Refer to “Working with
Eye Diagrams” on page 195.
Extract Extracts outputs from a database. Refer to
“Using the Extract Outputs from Database
Tool” on page 371.
FFT Opens the Fast Fourier Transform Tool
Dialog Box. Refer to “Fast Fourier
Transform (FFT) Function” on page 373.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Cursor Menu
EZwave has a Cursor menu for access to the various cursor operations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Window Menu
EZwave has a Window menu for access to the various window features.
The Window menu contains the following items:
Table 3-7. Window Menu Items
Icon Item Description
New Creates a new graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Menu Bar
Help Menu
EZwave has a Help menu for access to the on-line help system and tutorials.
The Help menu contains the following items:
Table 3-8. Help Menu Items
Item Description
Quick Start Launches the Setting Up EZwave chapter of
this manual.
Tutorial Launches the Getting Started with EZwave
tutorial manual. The Tutorial Data menu
item on the sub-menu provides a small
database for use.
Contents and Index Launches the online help system.
Quick Reference Provides a short overview of EZwave’s key
functionality and lists of mouse and
keyboard operations and shortcuts.
Release Notes Launches the AMS Release Notes.
AMS Documentation- InfoHub Launches the InfoHub, which contains all of
the AMS documentation.
Videos Opens a dialog box that enables you to
select and view instructional videos for
EZwave, Eldo, ACE and related tools. You
can run the videos or copy the video path.
About EZwave Provides information about the application
for Contacting the Customer Support
Center.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Toolbar
Toolbar
The toolbar contains buttons (displayed with icons) for accessing frequently used operations.
To access: Choose View > Toolbar.
Place the mouse pointer over the toolbar icon to display the tooltip for that item.
Table 3-9. Toolbar Icons
Item Description
Creates a new graph window.
Cuts the selection from the active graph window and store it in the viewer
clipboard.
Copies the selection from the active graph window to the viewer clipboard.
Toggles Minimum Row Height Plot Mode on or off. When on, all
Waveforms are plotted using the Minimum Size specified on the EZwave
Display Preferences Row Options dialog box. Useful when displaying
many waveforms.
Fits row heights in the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel
Views all of the active graph window so that all the data is visible.
Updates the graph window with new data from a running simulation. This
icon is only available when the application is started from the Questa
ADMS tool, or when the EZwave viewer is connected to an Eldo
simulation.
Arranges multiple graph windows in an overlapped (cascade) fashion.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel
Overview
The top panel lists the databases in folders, and the bottom panel lists the individual waveforms
contained within them. Use the tabs to switch between a flat display (List tab) or a hierarchical
format (Tree tab).
The Tree tab (by default) splits the panel into a Structure view (top) and a waveform list
(bottom). To change this, go to the Waveform List Options and clear the Separate Tree View
Into Structure and Waveform List Views option
Each item in the waveform list is associated with an icon indicating how the waveform will be
displayed when plotted in the graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel
• Sort by Name
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel
All matching waveform names associated with that panel are highlighted. The search includes
an implied * wildcard character at the start and end of the term entered.
The search term can include * and ? wildcard characters. If the search string does not contain
either, the search returns waveform names that match the search term at any position in the
waveform name. If you include a * or ? wildcard character, the search returns waveform names
that match the search term from the first character of the waveform name.
The search highlights waveforms that match the string (or partial string) as you type it into the
search field. If automatic searching is disabled, you must press Enter to perform the search.
Automatic searching can be disabled using the Waveform List Options.
After you press Enter to perform a search, the search is added to the search history list. Click on
the icon to access the search history. The history maintains up to ten entries. Select the Clear
History option to reset the history.
Note
If more than 100 search results are found, EZwave displays the number of results and asks if
you want to display the search results.
Tip
For more search options, use the Find Tool Dialog Box by clicking .
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel
The X icon in the upper right corner of the waveform list temporarily hides the panel from the
application window to increase your workspace area. To show the panel again, choose
View > Waveform List.
Note
For databases loaded from .fsdb files, only loaded waveforms are displayed in the list panel.
Loaded waveforms are waveforms that have been displayed once, or waveforms from a
hierarchy selected once in the Tree View of the panel. Refer to “Loading .fsdb and .tr0 Files” on
page 1186.
• Analog Voltage
• Analog Current
• Digital Signals
• Real and WReal Signals
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Graph Window
Graph Window
The Graph Window is used to plot and view waveforms. They are created when you drag
waveform icons from the left Waveform List panel into the EZwave Workspace. You can have
a single waveform in a graph window, multiple waveforms overlaid in a graph window, or
multiple rows of waveforms in a single graph window.
Waveforms can be dragged up and down within the graph window or overlaid for comparison
display.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Graph Window
Rows
A graph window can have multiple graph rows. You can quickly resize the height of an analog
graph row by dragging the x-axis within the row.
Additional viewing options are available from the Row Popup Menu. Right-click within the row
to display this menu.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Workspace
3. Right-click the waveform name or the plotted waveform to activate the Waveform
Name Popup Menu.
You can select multiple waveforms by selecting each one individually with Ctrl+click,
or selecting a range with Shift+click.
When there are multiple y-axes within a single row, there will be one Y data value for each of
the axes. If you click on a waveform, it also shows the distance between the point where you
clicked and the point where you had previously clicked before that as deltaX and deltaY.
Workspace
The workspace is the area where the graph windows are displayed. It is located directly below
the toolbar on the application window.
If the Waveform List Panel is displayed, the workspace displays to the right of the waveform
list.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Workspace Taskbar
The application supports multiple workspaces for flexibility in organizing graph windows.
Multiple workspaces are accessed through workspace tabs. Click the Workspace tab to bring
that workspace to the top of your application window.
Workspace Taskbar
Above the status bar, a taskbar is available to easily select graph windows. As each new graph
window is added to the workspace, a graph window button is added to this taskbar.
Figure 3-8. Workspace Taskbar
When graph windows are minimized, they appear as icons on the workspace. Click the graph
window button on the workspace taskbar to make that window the active graph window. When
you click the taskbar, if the window is minimized, it is automatically restored and brought to the
front of the workspace.
The left area of the status bar describes actions of menu items as you navigate through menus.
This area also shows messages that describe the actions of toolbar buttons as you place the
mouse pointer over the buttons.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Application Window Status Bar
The current time on your computer clock is displayed in the field to the right of the status bar.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Graph Window Popup Menus
To activate the popup menus in the graph window, right-click window objects as follows:
Table 3-11. Graph Window Popup Menus
Right-Click Object Popup Menu
Graph Window Graph Window Popup Menu
Row Row Popup Menu
Waveform or Waveform Name Waveform Popup Menu
X Axis or Y Axis Axis Popup Menu
Cursor Value Cursor Value Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Graph Window Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Row Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Popup Menu
Note
To set options related to row displays, use the Row Options.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Axis Popup Menu
Paste Inserts the contents of the clipboard into the active graph
window within the current row.
Delete Removes the waveform from the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Axis Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Axis Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Cursor Popup Menus
Vertical Cursors
The Vertical cursor popup menu is accessed by right-clicking on a vertical cursor in the graph
window.
Figure 3-11. Vertical Cursor Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Cursor Popup Menus
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Cursor Value Popup Menu
Horizontal Cursor
The Horizontal cursor popup menu is accessed by right-clicking on a horizontal cursor in the
graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Cursor Value Popup Menu
The Cursor Value popup menu for compound waveforms contains the following additional
items:
Table 3-19. Cursor Value Popup Menu Items for Compound Waveforms
Item Description
Hide Other Values Hides values for other elements of the waveform.
Show Other Values Displays values for other elements of the waveform.
Show/Hide... Opens the Cursor Value dialog box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform List Panel Popup Menus
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Database Popup Menu
Tip
You can control the visibility of the Database list items by choosing General Options.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Database Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Folder Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Hierarchy Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Name Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Selected Waveforms Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Workspace Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Workspace Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Keyboard and Mouse
Keyboard Commands
Frequently used EZwave keyboard commands are described here.
Mouse Strokes
Mouse Strokes provide a convenient way to perform common tasks by simply drawing shapes
using the mouse. For example, drawing the letter “D” deletes the current set of selected objects.
By default, mouse strokes are executed with the middle mouse button. If you do not have a
middle mouse button, use the Edit > Options menu item and then select a keyboard modifier
from the dialog box. Use these keyboard modifiers together with the left mouse button to draw
strokes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
Overview
Figure 3-16. Waveform Calculator with Button and Function Help Panels
The user interface of the Waveform Calculator includes a number of components, described in
the following sections.
1 - Chooser Panel
To show or hide the Chooser panel, click the button. The Chooser panel appears on the left-
hand side of the Waveform Calculator and has three tabbed panes:
• The Functions tab contains Built-In Functions and constants, and also any User-
Defined Functions that you have registered with the calculator. Double-clicking a
function name in the Functions tab adds it to the Shell panel. Double-clicking the
function will display a new Function panel (temporarily replacing the Button panel),
enabling you to enter the parameters for the function. Click OK to add the expression to
the Shell panel.
Tip
Some functions have dedicated dialog boxes that allow you to specify additional
options. If available, click the Advanced button in the Function panel to display the
dedicated dialog box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
• The Workspace tab contains the results generated after you press Enter (or click the
Eval button) to evaluate an expression. Results can be scalars, vectors, and waveforms.
If you right-click on an item, a popup menu enables you to copy or plot the item, or clear
all items.
• The History tab displays a list expressions that you have evaluated in the calculator
(when you are in INFIX mode). If you right-click on an item, a popup menu enables you
to copy or evaluate the item, or clear all items.
2 - Function Help
Display Waveform Calculator function help with the View > Function Help menu item or
toolbar button. The Waveform Calculator displays the description, syntax, and parameters for
the selected function.
3 - Shell Panel
When you select buttons on the calculator, edit function parameters, or drag and drop waveform
names, the Shell panel is updated. You can also edit the text directly. Once you have the desired
entries, press Enter (or click the Eval button). The results display in the Workspace tab of the
Choose panel and in the Shell panel.
Expressions may be entered using IEEE notation (for example, 5T, 3.2u), SPICE notation (for
example, 7.1MEG, 0.2N), or engineering notation (for example, 1.1e+3, 6e-2).
Table 3-29. Calculator Shell Key Binds
ENTER Evaluate expression
SHIFT + ENTER Evaluate expression and then display prompt with same
expression
SHIFT + CTRL +V Paste and keep line jump
MIDDLE MOUSE Paste and keep line jump
BUTTON
UP Browse up command history
DOWN Browse down command history
CTRL + L Clear terminal
CTRL + C Copy
CTRL + V Paste
CTRL + X Cut
CTRL + A Select all
HOME Go to the beginning of the expression
END Go to the end of the expression
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
Tip
See also “Waveform Calculator Shell Commands” on page 306.
4 - Button Panel
To show or hide the Button panel, click the button. There are functions located on the
buttons of the Waveform Calculator and also in the functions on the Functions tab one the
Chooser panel of the calculator. The Button panel does not include a dedicated button for every
function or operator. The Button panel changes based on the level you choose from the
dropdown list:
• Complex Buttons
• Jitter Buttons
• Logical Buttons
• Phase Noise Buttons
• RF Buttons
• Signal Processing Buttons
• Statistical Buttons
• Trigonometric Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
Use the Edit > Options menu item of the Waveform Calculator application window to control
the calculator settings.
Related Topics
Waveform Calculator
Waveform Calculator Dialog Boxes
bloc
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
EZwave GUI Overview
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 4
Add Waveforms
This section describes how to plot and manage different types of waveforms.
Waveform Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Starting EZwave and Loading a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Single Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Multiple Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Managing Waveform Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Rules when Plotting Analog and Digital Waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Modifying Axis Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Aligning Y-Axes with Different Scales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Creating Multiple Y-Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Changing Y-Axis Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Modifying Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Hiding Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Unhiding Hidden Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Modifying Waveform Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Modifying the Appearance of Row Titles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Specialized Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Plotting Complex-Valued Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Plotting wreal Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Plotting Multiple Bit Waveforms as a Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Displaying Bus Values as a String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Plotting Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Plotting Histograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Plotting CDFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Displaying Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Displaying Compound Waveforms as Single Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Merging Waveforms into a Compound Waveform Using an Index File . . . . . . . . . . . . . . 152
Digital Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Index File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Updating Waveform Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Configuring Automatic Reloading of Waveform Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Manually Updating Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Waveform Basics
Waveform Basics
You can plot and manage single or multiple waveforms.
Starting EZwave and Loading a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Single Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Plotting a Single Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Moving a Plotted Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Copying a Plotted Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Multiple Waveform Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Plotting Multiple Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Plotting Waveforms with the Same Name using Tandem Mode . . . . . . . . . . . . . . . . . . . . 124
Managing Database Groups for Tandem Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Plotting the Difference Between Two Waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Creating an XY Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Managing Waveform Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Grouping Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Adding a Waveform to a Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Removing a Waveform from a Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Creating an Empty Waveform Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Ungrouping Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Rules when Plotting Analog and Digital Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
2. Choose File > Open or click the Open toolbar icon, and select a database to load
into EZwave. It must be one of the supported file types, as listed in the topic “Supported
File Types” on page 45.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Single Waveform Plots
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Single Waveform Plots
Related Topics
Waveform List Panel
Waveform Name Popup Menu
Plotting Multiple Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
Note
When creating a bus using Plot as Bus and a conversion from analog to digital is
needed (at least one of the bits is analog), a default threshold is calculated as
(min_y + max_y)/2 from the first analog waveform that is not flat (min_y == max_y
== 0) by iterating from MSB to LSB. Alternatively, a single threshold, or two
thresholds, may be specified. Refer to the Conversion tab in “Transformation
Options” on page 488.
If an active graph window is open, the newly added waveforms are added in new rows at
the bottom of the window. Otherwise, the waveforms are added to a new graph window.
Related Topics
Waveform List Panel
Selected Waveforms Popup Menu
Transformation Options
Plotting Waveforms with the Same Name using Tandem Mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
Procedure
1. Choose View > Tandem Mode or click the Tandem Mode icon from the toolbar
to activate tandem mode.
2. Use one of the following methods to plot them:
• Double-click a waveform in the Waveform List.
• Drag a waveform onto the workspace or a graph window.
• Right-click on a folder, hierarchy or waveform, and choose one of the following
from the Popup Menu:
If you want to... Do the following:
Plot (when a single waveform is selected) Choose Plot
Plot all the waveforms together in the same Choose Plot (Overlaid)
row.
Plot all the waveforms separately in Choose Plot (Stacked)
different rows.
Plot all the waveforms in the database or Choose Plot All (Overlaid)
folder in the same row.
Plot the waveforms in the database or folder Choose Plot All (Stacked)
separately in different rows.
3. Optionally:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
Related Topics
Waveform List Panel
Selected Waveforms Popup Menu
Manually Updating Waveforms
Plotting Multiple Waveforms
Managing Database Groups for Tandem Mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
2. To add a database to a new group, select the database from the table and click the Group
button. A new group is created and the database is assigned to that group.
3. To add a database to an existing group, select the database from the table, choose the
required group from the Select Group dropdown menu and click the Add to button. The
database is assigned to the selected group.
4. To remove a database from a group, select the database from the table and click the
Ungroup button.
Tip
You can use the Database Search field to find databases. This is useful when many
databases are open.
5. Click OK to finalize the group-database associations and close the dialog box.
When Tandem Mode is activated, the database group number is displayed adjacent to
the each database in the Currently Open Databases list. Only databases in the same
group as the source waveform’s database are considered in tandem mode.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Multiple Waveform Plots
For more information, refer to “Plotting Waveforms with the Same Name using Tandem
Mode” on page 124.
Related Topics
Plotting Waveforms with the Same Name using Tandem Mode
Creating an XY Plot
You can plot a waveform as a function of another waveform.
Procedure
1. Plot the desired waveforms in the same graph row.
2. Right-click the waveform that is to be the x-axis and choose Set as X Axis from the
Waveform Popup Menu.
Results
The resulting XY plot waveform displays in a new graph window.
Related Topics
Waveform Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Managing Waveform Groups
Grouping Waveforms
You can organize waveforms by grouping them together within a graph window so they can be
manipulated together.
A group is shown as an expandable label in the graph window, with the waveforms it contains
collapsed, in other words hidden from view, beneath it. Modifying properties such as color or
line style of a group applies to all waveforms in the group of the appropriate type (analog,
digital or bus).
All waveforms with a compatible domain axis can be grouped, except complex waveforms.
Transformed complex waveforms can be grouped, however.
Groups can themselves be included in a group. Subgroups can be expanded and collapsed in the
graph window. Bus and record waveforms can also be expanded and collapsed within a group.
When compound waveforms are grouped, each element is treated as an independent waveform
within the group.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Managing Waveform Groups
By default, the group name is Group0. Subsequent groups are named Group1, Group2,
and so on. If you enter a name for the group, for example My_Group, then subsequent
groups are named My_Group0, My_Group1 and so on.
Once a group is created, the waveform labels appear as a hierarchical tree.
Note
When specifying a name for a new group, any existing group of the same name is
overwritten without warning.
3. Expand and collapse the tree to show and hide the waveforms within the group, by
clicking the + and - icons. Figure 4-1 shows an expanded waveform group.
Figure 4-1. Expanded Waveform Group
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Managing Waveform Groups
Procedure
Drag the waveform name from the waveform list, any window, or from within a group onto the
destination group’s label.
Note
When moving a plotted waveform in or out of a group, or from one group to another,
any measurements attached to it are kept in the group. However, multiple waveform
measurements such as Intersect or Add Delta are not kept when the related source
waveforms are moved into a group.
Results
The waveform is added to the destination from the group.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Rules when Plotting Analog and Digital Waveforms
Results
An empty waveform group is created.
Related Topics
add wave
Ungrouping Waveforms
Waveforms can be removed from a waveform group, and the group deleted.
Restrictions and Limitations
• After performing an ungroup action on grouped waveforms, although the group is
removed from the graph window, it is not removed from the database.
• There is no Tcl command to ungroup waveforms.
Procedure
Right-click the group and choose Ungroup Waveforms.
Note
It is possible to select multiple waveform groups and ungroup them in a single
action, as long as no non-grouped waveforms are selected at the time.
Related Topics
add wave
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Rules when Plotting Analog and Digital Waveforms
• When using drag and drop to plot or move multiple waveforms, digital waveforms are
plotted stacked in separate rows and analog waveforms are plotted overlaid in a single
row regardless of the order of selection. To avoid this default behavior, use the Selected
Waveforms Popup Menu to specify plotting overlaid or stacked.
Related Topics
Plotting Multiple Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Modifying Axis Settings
Procedure
1. In a graph window showing two or more y-axes, right-click the y-axis that is to be set as
the reference axis and choose Set As Reference Axis to open the Set Reference Y Axis
dialog box.
2. In the Reference Y Axis section, in the field labeled with the y-axis that is to be the
reference y-axis specify the value that the other axis will align to.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Creating Multiple Y-Axes
3. In the Reference Y Axis section, in the Spacing field specify the value for the spacing of
the reference axis.
4. In the Y Axis section, specify the alignment value and spacing for the non-reference
axis (or axes).
5. Click OK to apply the changes and close the dialog box.
Results
Figure 4-3 shows the same waveforms after realigning. In this example, the y-axes are realigned
to 0 and the spacing of axis Y2 is changed to 40.
Figure 4-3. Realigned Y-Axes
To reset the axes to their original scaling and alignment, right-click the reference axis, choose
Unset Reference Axis, and click the View All icon from the toolbar.
Related Topics
wave yaxis
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Changing Y-Axis Settings
Procedure
Use the following command to create a single row with two axes named Y1 and Y2:
The first axis is created by default, and is named Y1. A second axis is created and is
named Y2, according to the default naming convention for new axes, Y(n+1).
Related Topics
add wave
2. When a row contains multiple y-axes, any changes to the axis settings affect the first
axis in the row, Y1. To make changes to a different axis in the row, use the -axis
argument to specify it. For example, to set the scale of the axis Y2, located in the second
row, to log10, use:
wave yaxis -row 2 -axis Y2 -scale log10
Note
Plotting complex waveforms and using overlaid transformations will automatically
create multiple y-axes, as different types of results will use different units (for
example, db or phase).
The first axis, created by default, is named Y1. Subsequent axes are named according to
the default naming convention, Y(n+1).
Related Topics
add wave
wave yaxis
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Modifying Waveforms
Modifying Waveforms
You can modify existing waveforms in various ways once they are plotted in the graph window.
Hiding Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Unhiding Hidden Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Modifying Waveform Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Modifying the Appearance of Row Titles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Hiding Waveforms
When several waveforms are displayed in a graph window, you can temporarily hide some of
them from view to make the graph window easier to interpret.
Procedure
Select the waveform in the active graph window, right-click and choose Hide Waveform from
the popup menu.
Results
The waveform label is displayed in the active graph window but the waveform is hidden. The
label is dimmed indicating the hide condition. The Hide Waveform action differs from Edit >
Delete as the waveform is still within the window and available for later viewing.
Related Topics
Modifying Waveform Properties
Waveform Popup Menu
Results
The waveform is re-displayed in the graph window. The label is undimmed.
Related Topics
Modifying Waveform Properties
Waveform Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Modifying Waveform Properties
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Modifying the Appearance of Row Titles
Note
Once custom properties are applied to a row title, it will not be affected by any changes to
global row title settings.
Procedure
1. Add a row title to a waveform by right-clicking the waveform header, choosing Row
Title and specifying a label in the Row Title dialog box.
2. Right-click the row title to modify and choose Properties.
3. Edit the font or color, or choose to hide the title outline as required in the Row Title
Properties dialog box, then click OK to apply the change.
Note
Clicking the Default button resets the row title to the global default.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Specialized Plotting
Specialized Plotting
There are particular rules and procedures for plotting specialized kinds of waveforms and
specialized kinds of plots.
Plotting Complex-Valued Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Plotting wreal Waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Plotting Multiple Bit Waveforms as a Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Displaying Bus Values as a String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Plotting Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Plotting Histograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Plotting CDFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
You can control how complex-valued waveforms are displayed using the Transformation
Options.
Related Topics
Plotting a Single Waveform
Plotting Multiple Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting wreal Waveforms
Transformation Options
• Railroad Waveforms
Here wreal waveforms are displayed as a railroad waveform where the “X” and “Z”
states as displayed as colored circles along a timeline.
Figure 4-5. Railroad Waveform
You can control how wreal waveforms are displayed using the Waveform Options.
Related Topics
Specialized Plotting
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Displaying Bus Values as a String
3. Click the plus sign (+) next to the bus name, to show the individual digital waveforms.
Red squares indicate when there is an 'event' on a waveform but it does not change state.
Note
MSB to LSB order is determined through the order of selection before choosing Plot
as Bus. The first selected waveform is MSB and the last is LSB.
Note
When creating a bus using Plot as Bus and a conversion from analog to digital is
needed (at least one of the bits is analog), a default threshold is calculated as (min_y
+ max_y)/2 from the first analog waveform that is not flat (min_y == max_y) by
iterating from MSB to LSB. Alternatively, a single threshold, or two thresholds, may be
specified. Refer to the Conversion tab in “Transformation Options” on page 488.
Related Topics
Transformation Options
Prerequisites
There must be a file with a .tcl extension containing a Tcl command radix define specifying the
strings that are displayed in the place of specific numerical values in the bus. For example, a
radix named States might be defined as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting Assertions
12'b000000000000, IDLE
12'b111000000110, CTRL
12'b000100100110, WORK1
12'b110000110110, WORK2
Procedure
1. Open the radix definition .tcl file by choosing File > Open.
2. Select the required waveforms, right-click and choose Plot as Bus.
3. Right-click on the plotted bus and choose Radix from the Waveform Popup Menu.
4. Select the name of the radix defined in the Tcl file from the options available.
Related Topics
Working with a Bus
Tcl Scripting Support
Plotting Assertions
Describes the assertions you can display.
• VHDL-AMS assertions
• SPICE Safe Operating Area (SOA) assertions
• Condition Coverage for VHDL-AMS if-use and case-use.
These are displayed as a waveform group.
Note
Assertions and SOA are supported for display purposes only. They are not supported in
post-processing or waveform comparison.
Table 4-1 summarizes the graphic elements used in the graph window for assertions:
Table 4-1. Graphic Elements for Assertions
Graphic Element Meaning
Blue line Assertion is inactive
Green line Assertion is active
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting Assertions
For SPICE SOA assertions, a blue line means that the SOA check is off, or inactive. Green and
red lines indicate that the SOA checks are being made. Green means that the check is passing.
Red means it is failing.
The triangles, pointing either up or down, indicate if the target waveform is passing up into a
fail-or-pass region or down into a fail-or-pass region. Green indicates when the assertion is
becoming true, and red indicates when it is becoming false.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting Histograms
Tip
See also: Integration with Questa SIM Verification Methodology in the Questa ADMS
User’s Manual, .CHECKSOA command in the Eldo Reference Manual, Plotting Safe
Operating Area Limits in the Eldo User’s Manual.
Plotting Histograms
You can plot waveform data as a histogram, including a number of statistical measures such as
mean, the Gaussian curve matching the mean and standard deviation, and the lower and upper
bounds. The measures to display are user-defined, as is the number of bins. When plotting a
histogram, you can either accept the default histogram preferences and generate the histogram
in a single step, or you can configure each histogram as it is plotted.
There are two kinds of histogram:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting CDFs
Tip
You can configure the default appearance of histograms using the Histogram
Options.
Procedure
1. Right-click a waveform in the Waveform List Panel, and choose Plot. The waveform is
added to the graph window.
2. Right-click the waveform or waveform name and choose Plot Histogram. The
histogram is plotted, with measures displayed based on the histogram preferences set, or
the contents of the .wdb file, as applicable.
3. Once you have plotted a waveform, you can edit the options used to configure its
display—overriding the default preferences—by right-clicking a histogram and
selecting Histogram. The dialog box that opens offers the same options available in the
Histogram Plot Options, but any changes are only applied to the current histogram; the
global preferences are unchanged.
Tip
See also the Waveform Calculator Function histogram and Tcl command wave
histogram and also .HISTOGRAM in the Eldo Reference Manual.
Related Topics
histogram
wave histogram
Histogram Plot Options
Histogram Measures Options
Histogram Legend Options
Histogram Options
Plotting CDFs
You can plot waveform data as a CDF (Cumulative Density Function), including a number of
statistical measures such as mean, the Gaussian curve matching the mean and standard
deviation, and the lower and upper bounds. When plotting a CDF, you can either accept the
default CDF preferences and generate the CDF in a single step, or you can configure each CDF
as it is plotted.
There are two kinds of CDF:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting CDFs
3. Once you have plotted a waveform, you can edit the options used to configure its
display—overriding the default preferences—by right-clicking a CDF and selecting
CDF. The dialog box that opens offers the same options available in the CDF Plot
Options, but any changes are only applied to the current CDF; the global preferences are
unchanged.
Tip
See also the Waveform Calculator Function cdf and Tcl command wave cdf, and
also .CDF in the Eldo Reference Manual.
Related Topics
cdf
wave cdf
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Plotting CDFs
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Compound Waveforms
Compound Waveforms
A compound waveform is a group of waveforms containing results of several simulations for
the same node. They can be generated from multiple-run sweep analyses specified for example
by .STEP or .ALTER simulation commands. This section describes the tasks related to
compound waveforms.
Displaying Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Displaying Compound Waveforms as Single Elements . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Merging Waveforms into a Compound Waveform Using an Index File . . . . . . . . . . . . 152
Digital Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Index File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Procedure
1. Choose Edit > Options from the main menu to open the EZwave Display Preferences
Dialog Box.
2. Choose Multiple Run from the list on the left-hand side of the EZwave Display
Preferences dialog box. This displays Multiple Run Options.
3. Choose Display as Compound.
4. To display the names of each element, choose Expand Single Element Names.
5. To display the run parameters associated with each component waveform in the graph
windows and also in the Waveform List panel (Tree view), choose Show Single
Element Names With Run Parameters.
6. To display a single color for all waveforms from the same simulation run, check Color-
Code Each Single Element.
7. Click OK to accept the changes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Displaying Compound Waveforms as Single Elements
Results
When you plot a compound waveform, the Multiple Run preferences you have set are used. An
example is shown in Figure 4-11.
Figure 4-11. Expanded Compound Waveform Names With Run Parameters
Tip
You can click on the [+] or [-] symbol that appears to the left of the displayed compound
waveform name to individually expand or hide the element names.
Related Topics
EZwave Display Preferences Dialog Box
Multiple Run Options
Displaying Compound Waveforms as Single Elements
Procedure
1. Choose Edit > Options from the main menu to open the EZwave Display Preferences
Dialog Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Displaying Compound Waveforms as Single Elements
2. Choose Multiple Run from the list on the left-hand side of the EZwave Display
Preferences dialog box. This displays the Multiple Run Options.
3. Choose Display as Single Elements.
4. To display the run parameters associated with each component waveform in the graph
windows and also in the Waveform List panel (Tree view), choose Show Single
Element Names with Run Parameters.
5. To display a single color for all waveforms from the same simulation run, check Color-
Code Each Single Element.
6. Click OK to accept the changes.
Results
The elements that make up the compound waveform are displayed with different colors for each
element. If you chose to display the run parameters, they are displayed next to the waveform
names.
Figure 4-12. Compound Waveforms as Single Elements With Run Parameters
Note
When a multiple run is displayed as single elements, if a measurement is taken on a run, this
measurement will not be taken automatically for subsequent simulated runs. Moreover, if a
user display is set for a run, it is not applied to subsequent simulated runs.
Related Topics
EZwave Display Preferences Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Merging Waveforms into a Compound Waveform Using an Index File
Prerequisites
• You must have completed all simulation runs, and have access to the waveform database
files.
• You must have created an index file; see the Index File Format for full details.
• In order to inspect the parameters for each corner, the option Compound Waveform
Display must be set to Display as Compound in the Multiple Run Options.
Procedure
1. Choose File > Open, browse to the index file and click Open.
The waveform data from each file is merged into a compound waveform. The new
database is named “merge_” and suffixed with an incrementing number. The new
database is shown in the Waveform List panel.
Note
The new waveform database is created in an unsaved state.
2. Click the compound waveform database to view the waveforms, and then plot any/all as
required.
3. Right-click a waveform name and choose Parameter Table. The Parameter Table
Dialog Box opens, enabling you to view the parameters used to generate each corner.
Related Topics
dataset merge
Tcl Scripting Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Digital Compound Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Index File Format
Format
An Index file must conform to the following formatting and syntax rules:
• Each RUN statement must include spaces between the RUN keyword, run index,
database path, and parameter definitions.
• RUN statements are separated by carriage returns.
• To use a quotation mark (") or equals sign (=) in the database path or parameter name/
value, prefix it with the backslash character (\), as these two characters are used as
separators in the index file. If any special character, including a quotation mark or equals
sign with a backslash prefix, is used in the database path or parameter name/value, the
entire database path or parameter name/value pair should be enclosed between quotation
marks.
RUN <run_index> ["]<database_path>["] ["]<param_definition>["]
{["]<param_definition>["]}
Parameters
• run_index
Specifies the run order and is used as the waveform label to identify it within the compound
waveform data. Numeric.
• database_path
Specifies the path and filename to the waveform database containing the waveform data for
this run. This can be a Windows or Linux path. Database names cannot contain the
following characters: /\*?":<>|
• param_definition
Specifies a parameter name (string) and value (string or numeric) pair separated by the
equals (=) character and optionally followed by a unit definition in the following form:
UNIT=<unit_name>.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Index File Format
Note
FSDB files are not supported in index file (.wdbparam) format. You must convert
the files to WDB format (.wdb) before writing to .wdbparam format.
ffcv <file.fsdb> -jwdb <file.wdb>
Examples
v1.0
RUN 1 "extract_of_extract.wdb" VTH=10u UNIT=V
RUN 2 extract_of_extract_1.wdb VTH=0.05e3
RUN 3 extract_of_extract_2.wdb VTH=2
RUN 4 extract_of_extract_3.wdb VTH=0
RUN 5 extract_of_extract_4.wdb VTH=3
…
Related Topics
Merging Waveforms into a Compound Waveform Using an Index File
Utility to Convert a Waveform Database [Eldo Platform User's Manual]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Updating Waveform Data
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Configuring Automatic Reloading of Waveform Data
Related Topics
Manually Updating Waveforms
Plotting Waveforms with the Same Name using Tandem Mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Manually Updating Waveforms
Tip
You can enable tandem mode to automatically plot waveforms with the same
name from different databases. See “Plotting Waveforms with the Same Name
using Tandem Mode” on page 124.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Manually Updating Waveforms
Procedure
1. Open a database and plot one or more waveforms.
2. Open another database containing different results for the same simulation. Right-click
on this database in the Waveform List and choose Update Waveforms > More Options
(alternatively, press Alt-O).
Tip
You can update multiple databases in one step by holding down the Shift or Ctrl
keys when making selections from the Waveform List. Once all the required
databases are highlighted, right-click on the multiple selection and choose Update
Waveforms > More Options.
3. The Update Waveforms dialog box is displayed. Choose to either Replace the currently
plotted waveforms with the matching waveforms from the new database, or to Show
Existing & New Together, which will plot the new waveforms overlaid.
4. Choose the Update Target to define which waveforms to update:
• All Windows—Waveforms plotted in all open windows are updated.
• Active Window Only—Only the waveforms plotted in the currently active window
are updated.
• Plotted Waveforms—Only the waveforms added to the Plotted Waveforms List are
updated. To define specific waveforms in this list, do the following:
o Click Add Waveforms to select which of the currently plotted waveforms to add
to the Plotted Waveforms List.
o To remove a waveform from the list, select it and click Remove Selected.
o Use the Move Up and Move Down buttons to re-order the Plotted Waveforms
List. This is for organizational purposes only — the order of waveforms in the
list has no impact on the update.
5. Click OK to apply the update and close the dialog box. Waveforms from the newer
database are matched with those currently plotted in the target windows.
Figure 4-13 shows the results from multiple databases plotted overlaid, using the Show
Existing & New Together menu option.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Add Waveforms
Manually Updating Waveforms
Related Topics
Automatic Reload Options
Update Waveforms Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 5
Analysis
This section describes how to measure, analyze, and annotate data points or logic units that are
represented in the waveforms.
Working with Cursors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Adding the Base Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Changing the Base Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Adding Reference Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Adding Relative Reference Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Adding a Horizontal Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Copying Horizontal Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Moving Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Setting the Visibility of Cursor Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Working with Y-Level Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Using the Cursor Value Table with Compound Waveforms . . . . . . . . . . . . . . . . . . . . . . . 180
Changing the Visibility of Graph Window Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Using Pick Points to take Measurements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Taking Measurements with Pick Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Adding Delta Markers with Pick Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Using Text Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Adding Text Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Global Display Options for Text Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Using the Event Search Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Performing an Event Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Performing an Expression Event Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Working with Eye Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Creating an Eye Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Adding Additional Waveforms to Eye Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Editing an Eye Mask. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Eye Diagram Measurement Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Working with Smith Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Scattering Parameters (S-Parameters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Creating a Smith Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Impedance and Admittance Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Smith Chart and Polar Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Cursors in the Smith Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Circles in the Smith Chart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Changing the Visibility of Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Comparing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Working with Cursors
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Changing the Base Cursor
2. You can move the cursor to the required position by dragging it, or by using the Move
cursor buttons on the toolbar.
3. If you need more precision, use the snap feature to move the cursor into place. Right-
click the cursor and choose Snap to Data Points from the Vertical Cursors popup menu.
If necessary, zoom in tightly and drag the cursor to see the cursor snap to the closest
point.
Tip
Use the View All icon on the toolbar to see the entire waveform.
4. A label showing the current X value for the base cursor is displayed beneath the cursor,
flush with the x-axis. When you move the cursor, by dragging, the X value updates.
Figure 5-1. The Base Cursor
Results
Once this section is made, all delta-X measurements are updated to reflect the new base cursor,
and the previous base cursor becomes a regular cursor.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Reference Cursors
Related Topics
Adding Reference Cursors
Adding Y-Level Lines
Choosing How Delta-Y is Calculated
The first is the base cursor C1, and the second a reference cursor, C2.
2. With the new cursor in position, use the View All icon to see the entire waveform
with the two cursors.
3. Right-click on the reference cursor C2 and select Data Values > Show on Left from the
Vertical Cursors popup menu. This will flip the values to the other side, so the axis area
can be seen clearly.
4. Now add further cursors to the waveform. This cursor will appear as C3, C4, C5... and
so on.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Relative Reference Cursors
5. When a new cursor is added, it can be accessed from the Cursor menu. This can be
useful to quickly view a cursor that is not currently in the visible region of the active
graph window.
Procedure
1. Right-click on the waveform, select Add Cursor Relative to > and choose the required
cursor. Alternatively, select Cursor > Add Cursor Relative to > from the main menu.
2. Enter one or more X values separated by spaces in the Enter Relative X/Y Location(s)
field. These values define the location of new cursors, relative to the chosen cursor.
3. Select Lock Together When Dragging to specify that all cursors are locked together so
that when you move one cursor the others are dragged the same distance. This option is
equivalent to choosing Cursor > Lock Together When Dragging from the main menu.
4. Click Apply. The new cursors appear on the waveform.
Related Topics
Adding the Base Cursor
Adding Reference Cursors
Moving Cursors
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding a Horizontal Cursor
Procedure
1. Horizontal cursors may be added to graph windows using any of the following methods:
• Choose Cursor > Add Horizontal Cursor
• Use the keyboard shortcut F6.
• Right-click on a row, or the y-axis, and select Add Horizontal Cursor.
In this case, the horizontal cursor is created at the Y value point where the right-click
occurred.
• Use the wave addcursor Tcl command:
wave addcursor [-window window_name] -horizontal [-row row_index]
[-axis axis_name] [-name cursor_name]
2. When a horizontal cursor is added, the first crossing point with the waveform is shown,
with its measurement. When the cursor is dragged up and down, the Y value and the
value at the crossing point will update.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding a Horizontal Cursor
3. To change the number of crossing points that are displayed, right-click on the cursor,
select Data Values and select the waveform name. In the Data Values Dialog Box, use
Shift + click to add or remove ticks in the Show column to show or hide the crossing
points, as shown in Figure 5-4.
Figure 5-4. Show/Hide Crossing Points in the Data Values Dialog
4. You can move crossing points to a different location by selecting them with the left
mouse button and dragging them to a different place on the waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Copying Horizontal Cursors
Note
If you change the unit of a degree/radian/gradient y-axis to be different from the
Trigonometric Angle defined in Edit > Options > Waveform Calculator >
General, the horizontal cursor crossing values and position are incorrect. If you need
another Y unit type, be sure to align the trigonometric angle value accordingly.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Moving Cursors
Related Topics
Adding the Base Cursor
Adding Reference Cursors
Moving Cursors
Moving Cursors
You can move cursors by specifying a value, or by dragging and dropping a cursor to a new
location. The corresponding value will update accordingly.
Use the following procedure to move a cursor to a specific point on the waveform:
Procedure
1. Right-click on the cursor and select Move To. The Move Cursor dialog box displays.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Moving Cursors
2. Enter a new X or Y location (or locations, separated by spaces) in the Enter New X/Y
Location(s) field.
3. Select the unit of measurement from the pulldown menu. Choose from hertz or femto-,
pico-, nano-, micro-, milli-, kilo-, mega-, giga-, or terahertz.
4. If more than one cursor is added, the first entered becomes the active cursor.
5. Click OK and the cursor moves to the specified location.
Tip
Cursors can be locked together so that when you move one cursor, the other is
moved the same distance, relative to it. To lock cursors together, choose Cursor >
Lock Together When Dragging from the main menu.
Related Topics
Adding the Base Cursor
Adding Reference Cursors
Adding a Horizontal Cursor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Procedure
1. Drag the value flag (the box on the cursor that displays the waveform value at that point)
to the required location. If you move the cursor, the relative position of the value flag is
maintained (as much as possible within the confines of the plot window).
Tip
If a cursor has multiple flags (for example with overlaid plots), you can select and
move all of its flags at the same time. Hold down the <Ctrl> key and use the left
mouse button to select the required flags. Then drag one of the flags and the other
selected flags will also move.
2. To return the value flag to its default position, right-click on the cursor and choose Data
Values > Reset Location.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Procedure
1. Right-click the specific Value Flag (the box on the cursor that displays the waveform
value at that point) on the cursor you wish to hide.
2. Select Hide Value from the Cursor Value Popup Menu.
Note
Other Value Flags on different waveforms using the same cursor do not disappear.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting the Visibility of Cursor Values
Related Topics
Adding the Base Cursor
Adding Reference Cursors
Adding a Horizontal Cursor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Working with Y-Level Lines
3. To hide Y-level lines, right-click on the cursor and deselect Y-Level Lines.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Working with Y-Level Lines
The EZwave viewer can measure the delta-Y in the following ways:
• Cursor based
Measures the differences between Y-level lines on the same cursor. The delta-Y value of
the reference Y-level line is the difference between it and the base Y-level line on the
same cursor.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Cursor Value Table with Compound Waveforms
Related Topics
Adding the Base Cursor
Adding Reference Cursors
Adding a Horizontal Cursor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Changing the Visibility of Graph Window Elements
4. The Cursor Value Table displays the following information about individual elements of
a compound waveform.
• Index - A sequential number assigned to each element of the compound waveform.
The first element is assigned the number one. By default, the numbers are listed in
ascending order. To reverse this order, click the small triangle.
• Parameter - The parameter column shows the value of a parameter specified at
simulation time. To invert the order of this column, click the small triangle.
Related Topics
Cursor Value Popup Menu
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using Pick Points to take Measurements
Each graph window or workspace can have its own dedicated pick points. If you switch
between different graph windows or workspaces without closing the Pick Points dialog, the pick
point data for each updates accordingly.
Pick Point colors can be configured on the EZwave Display Preferences dialog box—Pick
Points Options (Fonts and Colors).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Taking Measurements with Pick Points
The Picked Points Values table contains information about the previous and current
picked values including the difference between them for each displayed axis.
Note
The difference between the “picked point” and “picked value” is, that the picked
point is attached to the waveform in the graph window, and is displayed as the
marker, but the picked value is the X/Y data coordinates of the original mouse-click
(which may not be necessarily on the waveform, but could be elsewhere in the
waveform area). Picked values are only visible in the Pick Points dialog and are not
displayed in the active wave window.
The Picked Points Waveforms table lists information about the most recently added pick
point on each waveform in the graph window.
By default, the maximum number of simultaneously visible pick points per plotted
waveform is 2. If you add a third pick point, the first pick point you created is removed
and the new one is added. You can change the maximum number of pick points on the
EZwave Display Preferences dialog—Pick Points Options.
4. Click the Expression column header in the Picked Points Waveforms list to assign an
expression to all waveforms in the list. See Table 8-80 on page 557 for details on the
expression calculations available. Choose “Expression” from the list to disable
expressions on all waveforms.
5. Click the or buttons to add vertical or horizontal cursors at the location of all
pick points in the active graph window. Alternatively, to add cursors to one or more
specific waveforms (with pick points) select them in the Picked Points Waveforms list,
right-click and choose Add Cursor(s) or Add Horizontal Cursor(s).
Tip
Mouse over a pick point in the graph window and use the Add Cursor keyboard
shortcuts F5 and F6 to add cursors at the position of the pick point. The cursors will
snap to the pick point.
6. Click the button to add a waveform-based text annotation at the position of each
pick point in the active graph window. The annotation text contains the x and y
coordinates of the pick point, and the slope, parameter and expression value (if present).
Alternatively, to add a text annotation to the most recently added pick point on a
waveform, right-click on the required waveform in the Picked Points Waveforms list,
and choose Add Text Annotation(s).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Taking Measurements with Pick Points
To edit the annotation text, right-click on the annotation and choose Edit. The
Waveform Annotation dialog that opens is pre-filled with:
X = %x
Y = %y
SlopeParam = %s
Param = %p
<expression_name> = %e
Where %x, %y, %s, %p and %e are placeholders for the corresponding values from the
Picked Points Waveforms list on the Pick Points dialog box.
7. Use the and buttons to add slopes and delta measurements between pick points.
See Adding Delta Markers with Pick Points.
Tip
You can also right-click on a pick point in the graph window, or on a waveform in
the Picked Points Waveforms list to access these functions.
8. Use the Delete button to remove all annotations, slope markers, cursors and delta
markers currently attached to existing pick points in the graph window. Pick point
markers themselves are not removed. This button cannot be used to remove annotations,
markers or cursors once their associated pick point has been removed, or if their
annotation, slope marker, cursor and delta marker were moved outside the picked point
marker area.
9. You can filter the Picked Points Waveforms list by entering a regular expression into the
Filter Names field. Only waveforms that match the specified term will be listed.
10. Right-click on a current or previous value in the Picked Values table and select Copy
Value(s) to Clipboard to copy the value for pasting elsewhere. If multiple cells are
selected, copied values will be pasted as a comma-separated list. Use the Send Value(s)
to Calc menu item to send it to the Waveform Calculator.
You can also right-click on an item in the Picked Points Waveforms list to access
functions to copy the waveform name and send it to the Waveform Calculator.
Note
All popup menu actions in the Picked Points Waveforms list are applied to the last
pick point of the selected waveform(s).
11. Click Save As to save the current Picked Points Waveforms list to .csv or .txt format.
12. Information can be cleared from the Picked Values table and the Picked Points
Waveforms list using the Clear Values and Clear Waveforms buttons, respectively. Use
the Clear All button to clear all listed values from both tables, and remove all pick
points from waveforms in the graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Delta Markers with Pick Points
13. To deactivate pick points mode, close the Pick Points dialog either by clicking Close, or
by pressing the Esc key. All pick points in all graph windows will be removed.
Examples
The waveform in Figure 5-11 has four pick points. The Add Delta button will add delta
markers between the 1st and 2nd, 2nd and 3rd, and the 3rd and 4th pick points.
Figure 5-11. Adding Deltas From the Pick Points Dialog Box
Related Topics
Pick Points Dialog
Pick Points Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Delta Markers with Pick Points
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using Text Annotations
A text annotation that is added to the graph window (not attached to a waveform) can be moved
freely within the window, and is not associated with any row.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Text Annotations
3. Enter the desired text for the annotation in the Fill Text field. You can also select here
whether to attach the text annotation to the waveform or the graph window.
When text annotations are attached to waveforms, an anchor symbol is shown at the
point where the anchor line from the text annotation box touches the waveform.If you
attach the annotation to a waveform, you can also choose Snap to waveform data to snap
to the nearest data point after a mouse drag and drop of the anchor. Click OK.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Text Annotations
By default, text annotations that are attached to waveforms use the same color setting as
the waveform.
4. Optionally, you can attribute custom font and color settings specific to a text annotation.
To do this whilst adding a new annotation: use the Font and Color and Appearance
tabs on the Add Annotation dialog box.
To do this for an existing annotation: right-click on the text annotation and select
Properties. The Annotation Properties Dialog Box opens, enabling you to make
changes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Global Display Options for Text Annotations
Note
Once custom properties are applied to a text annotation, it will not be affected by any
changes to global text annotation settings (those specified on the Text Annotation
Options (Fonts and Colors) and Text Annotation Options pages of the EZwave Display
Preferences dialog box).
Tip
You can right-click on an annotation to show the Annotation popup menu. From
here you can Edit the text, Delete the annotation, Delete All Annotations, Copy
Value to Clipboard, and edit the annotation Properties.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Global Display Options for Text Annotations
3. Use the Text Annotation Options to control visibility of text annotation elements, such
as the anchor point symbol or the anchor line.
4. Expand the Fonts and Colors list, and choose Text Annotation Options (Fonts and
Colors).
5. Select the required font, style and size from the dropdown boxes.
6. In the Waveform Annotation Color section, select Use Custom Color, and choose a
color.
The preview pane shows a sample of what the annotation will look like in the current
color scheme.
7. Click OK to apply the changes and close the dialog box.
8. All new text annotations will inherit these new settings. Existing text annotations will
not be affected. You can still apply custom settings for individual annotations, by right-
clicking on the annotation and selecting Properties.
Related Topics
Text Annotation Options (Fonts and Colors)
wave addannotation
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Event Search Tool
i. Check the Levels are Relative to the Topline and Baseline box to
automatically select the Top and Base line.
ii. Select the lower and upper percentages through the pulldown menu.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Performing an Expression Event Search
iii. To manually set the Top and Base lines, deselect the Levels are Relative to the
Topline and Baseline box and enter appropriate lower and upper values.
iv. Close the Search Event Settings dialog box and click on to show the lines
in the graph window.
• Falling Edge: Only falling edge occurrences. Opens the Search Event Settings
dialog box. Specify values as for Rising Edge.
• Waveform Value: Only waveform values. A tolerance needs to be specified when
searching for data points generated by an analog simulator.
5. Move the cursor along the specified waveform to search for the specified events by
clicking to go in the decreasing time value direction or to go in an
increasing time value direction.
6. To mark an event, in the Markers section of the Event Search Tool select the Add a
Marker icon . Right-click on the marker to rename it, move it, copy it to the
clipboard, or delete it, as desired.
7. Jump to a marker by selecting the marker name from the drop-down list or by using the
previous marker icon and next marker icon .
Related Topics
Event Search Tool Dialog Box
Performing an Expression Event Search
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Performing an Expression Event Search
• Using the Add selected waveform icon and enter the logical function names or
operators in the expression area.
5. Move the cursor along the specified waveform to search for the specified events by
clicking to go in the decreasing time value direction or to go in an
increasing time value direction.
6. To mark an event, in the Markers section of the Event Search Tool select the Add a
Marker icon . Right-click on the marker to rename it, move it, copy it to the
clipboard, or delete it, as desired.
7. Jump to a marker by selecting the marker name from the drop-down list or by using the
previous marker icon and next marker icon .
Related Topics
Event Search Tool Dialog Box
Waveform Calculator
Using the Event Search Tool
Performing an Event Search
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Working with Eye Diagrams
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating an Eye Diagram
Tip
It is sometimes not easy to setup the offset parameter. After you have set up the
eye diagram parameter and plotted the waveform, you can right-click on the
waveform at the desired location and choose Set Offset > Align Here or Set Offset
> Center Here from the popup menu. Align Here sets the X offset at this position,
that is, the eye becomes left and right aligned to this location. Center Here sets the
offset so that this location becomes the center of the eye, that is, the offset is set to
the Period/2.
• Minimum X value and Maximum X value — Defines the range of waveform data
used for generating the eye diagram.
Note
If the selected waveform is a compound waveform, all Measurements Setup and
Mask Setup options will be deselected. These may be reselected. Refer to the Eye
Parameters Calculation options accessed via Edit > Options > Multiple Run. This
provides options for calculating parameters and plotting.
Tip
You can enter expressions into any numeric fields. For example, to calculate the Eye
Period value of a waveform with frequency 1 MHz, enter the expression 1/(2*1meg)
into the Eye Period field. You can also incorporate a variable that you have calculated
using the Waveform Calculator. For example, use the Waveform Calculator to calculate
the variable freq_mean=mean(frequency(wf(…))). Then enter the expression
1/(2*freq_mean) into the Eye Period field.
4. The Display Measurements section reflects how the measurements are displayed and
updated on the selected source waveform:
• For C-Phy signal only, you can specify the X value and Y value where the
measurements are to be made.
• For NRZ signals only, select Apply Measurements to have the measurements
automatically updated and displayed as the values are modified in this dialog box.
This updates the values in the eye diagram as well as all the values in the Eye
Diagram Tool - Measurement Results Tab. Select Apply Inner/Outer to have the
inner or outer height or width displayed at the specified X or Y.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating an Eye Diagram
• For PAM3 and PAM4 signals only, specify the X value where the measurements are
to be made. Measurements for each of the three eyes are performed. Once
calculated, you can independently drag the measurements to different positions
along the X axis. You can also specify the Reference Amplitude Ratio. When set to
“Automatic”, toplines and baselines begin at 10% and increase in steps of 5% until
all points are either below the baseline and above the topline (the Measured Edge
Percentage reaches 100%).
5. For C-Phy and NRZ signals only, the Display Mask section relates to the mask
displayed with the eye diagram. The setup values include:
• Specification — Choose an industry standard mask from the dropdown list.
Select the Eye Mask icon to the right of the dropdown list to open a new Eye
Mask Dialog Box displaying the shape and values for the corresponding mask.
• Margin — Allows scaling of the eye mask. The X margin is the horizontal margin
and the Y margin is the vertical margin, the values entered representing a percentage
of the total displayed range.
Select the Automatic Fit checkbox for X and/or Y to make the mask fit to the
horizontal and/or vertical inner contours of the eye diagram respectively.
• Offset — Allows shifting of the eye mask. The X offset is the horizontal offset and
the Y offset is the vertical offset.
Select the Automatic Fit checkbox for X to automatically determine the horizontal
offset.
6. Click on the Eye Diagram Tool - Measurement Results Tab. This is where to view the
results of the eye diagram measurements, once calculated.
7. When you have the desired setup, click Apply. You can also press the keyboard Enter
key each time you change the a value, without closing the dialog box, as an alternative to
clicking Apply. The eye diagram is displayed in a new graph window. Click OK to
close the Eye Diagram Tool Dialog Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating an Eye Diagram
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating an Eye Diagram
When a NRZ eye diagram is displayed, right-click anywhere on the eye diagram and
choose Add Cursor to place a cursor enabling the exact values to be seen.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating an Eye Diagram
You can drag and drop the measurement arrows to see measurements at different
locations.
Right-click on a PAM 3 or PAM4 measure, and select Measurement Results to display
the inner height and inner width measures on the Measurement Results Dialog box.
Figure 5-19. Measurement Results Dialog Box - PAM4 Example
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Adding Additional Waveforms to Eye Diagrams
Simple Waveforms
The new waveform is plotted using the same offset, period and X range parameters, and the
same graphical measurements and masks are applied.
If a graph window contains several eye diagrams, new waveforms can be placed inside a
specific row, above or below all existing rows, or between rows.
When dropping a new waveform inside an existing row, the new eye diagram is plotted using
the same parameters as the occupying waveform.
When dropping a new waveform above, below or between existing rows, a new row is created
to contain the new eye diagram, which uses the same parameters as the first eye diagram in the
graph window.
You can drag and drop multiple waveforms simultaneously into the graph window. In this case,
the dragged waveforms are plotted in the same row.
Compound Waveforms
For compound waveforms, the options for calculating parameters and plotting are controlled by
the Eye Parameters Calculation options. These are accessed via Edit > Options > Multiple
Run.
Related Topics
Eye Diagram Measurement Calculations
Editing an Eye Mask
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Editing an Eye Mask
2. Click the Eye Mask icon . The Eye Mask Dialog Box opens, displaying the shape
and values for the corresponding mask.
3. To specify an alternative source eye mask, select a built in eye mask from the drop down
list or use the Open Folder icon to load a user defined eye mask from disk.
5. Enter a name for the new mask in the Create a New Eye Mask dialog box. Editing is
enabled and the grayed out Save and Delete buttons and Edit frame become available.
6. Edit the eye mask:
• Click on to make the handles available so that the mask can be dragged to form a
new shape.
• Click on to add new handles or delete existing ones. Click on an existing handle
to remove it. Click on an area without a handle to add one.
o Point Handles allow the mask to be dragged in any direction.
o Vertical Handles allow the mask to be dragged horizontally.
o Horizontal Handles allow the mask to be dragged vertically.
o Barycenter handles allow the mask to be moved as a whole. They do not alter the
high and low levels, which can be adjusted manually.
o The Coordinate Flags display the X and Y values that relate to the handles. The
X coordinate flags show a percentage of the eye diagram X range. The Y
coordinate flags show absolute values.
• Check X (Y) Symmetric to also modify the symmetric handles in the mask when a
handle is dragged, ensuring the mask remains symmetric. This is only possible in
masks with X (Y) symmetry. When unchecked, only the dragged handle is modified.
7. Click Save to save the new eye mask.
Related Topics
Creating an Eye Diagram
Eye Diagram Measurement Calculations
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
The Vertical Band is calculated as follows. Considering the Left Part (Xmin) and Right Part
(Xmax) of the eye crossing points, the midpoint of the vertical band is calculated as (Xmax-
Xmin)/2. The Vertical Band left width is then set to 10% less than the midpoint, and its right
width is set to 10% more than the midpoint.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Tip
See also “Eye Diagram Tool - Measurement Results Tab” on page 448 and the eye diagram
functions listed in the Statistical Functions table in Waveform Calculator “Function
Descriptions” on page 651.
Related Topics
Editing an Eye Mask
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
A PAM4 eye contains 3 eyes. They are identified by the levels they are in between: “Eye 0/1”
(bottom or lower eye), “Eye 1/2” (middle eye) and “Eye 2/3” (top or upper eye).
To compute measures on a PAM4 eye diagram, you have to provide an input X value (in the
eye-diagram X-range) specifying where to compute the sampling
• approximated level value are computed for each level, using a histogram made of values
of the eye at the given input X value
• the eye diagram is split horizontally in 4 parts, half-way between each approximated
level values
• the Level Value for each eye-split is then the mean of the eye Y value at the given input
X value
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
The Eye Inner Height is the distance at the given input X value between the upper point of the
level below and the lowest point of the level above.
The Eye Inner Width is the distance, measured half way of an inner height, of the right most
point on the left to the left most point on the right.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
• when the waveform rises from a low level to an upper one, the rise time is the time
between (lower level + delta) to (upper level - delta)
• when the waveform falls from a low level to a lower one, the fall time is the time
between (upper level - delta) to (lower level +delta)
• The delta is 10% of the level amplitude, i.e. (Level_2 - Level_0) * 0.1. The delta is NOT
fixed, for example, at 10% of the max level difference.
• Level 0 to Level 1, mean for transition 0-2, 0-3, 1-2, 1-3, 2-3 => 6 rise times).
The eye distortion (Ratio of Level Mismatch) and eye linearity are computed as follows:
Note
There is no RLM for PAM3 eyes.
where:
o AVupp = V3 - V2
o AVmid = V2 - V1
o AVlow = V1 - V0
Note
There is no AVmid for PAM3 eyes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Tip
See also “Eye Diagram Tool - Measurement Results Tab” on page 448and the eye diagram
functions listed in the Statistical Functions table in Waveform Calculator “Function
Descriptions” on page 651.
• cphytrigger
Creates first zero-crossing trigger waveform. Also used to compute UI jitter and
transition jitter.
• eyecphy
Constructs a self-triggered C-Phy eye diagram from three input waveforms.
• eyesetmask
Adds a mask to an eye diagram.
• eyewithtrigger
Constructs a triggered eye diagram from a waveform.
Trigger
The Waveform Calculator functions may be used to analyze and display C-Phy Eye Diagram
waveforms. Figure 5-26 shows an example where at least one differential line crosses zero at
each symbol transition. At most the three differential lines cross 0. The trigger for the eye
diagram is the first zero crossing at each symbol transition.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
• All zero crossings with time-delta less than the validity-threshold are discarded.
• In Figure 5-26, before 0.5ns: waveforms are around 0V, but zero crossings in this region
are not used to build the eye.
For each differential line individually:
• The minimum of these three minimum delta-times (one per differential lines), minus a
tolerance (default is 20%), is a transition-threshold.
All valid zero-crossings from the three lines are merged and sorted. The resulting triggers are:
• Zero crossings, from time min to time max, whose distance with previous zero crossing
is more than the transition-threshold. See Figure 5-27.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Figure 5-27. Differential Lines, Zero Level, and Trigger (Rising Edges)
Because the eye-diagram is right aligned, the time range of the crossing is:
• From one UIaverage before the first trigger; to display data before the first crossing.
• To the last trigger; there is no trigger after to anchor the remaining of the waveforms.
Jitter
Figure 5-28 shows the differential lines, UI jitter and transition jitter for a C-Phy waveform.
UI Jitter
The UI jitter is the jitter of the period of the trigger. For each time t(i) of the trigger rising edge:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Transition Jitter
Transition jitter is the delay, for a symbol transition, from the first zero-crossing to the last zero-
crossing. The transition jitter of a single zero crossing is always 0. The transition jitter is always
positive.
Eye Diagram
The C-Phy eye-diagram is made of the three differential lines, based on the trigger, right
aligned, and superposed. It is triggered by the first 0 crossing at each transition, as shown in
Figure 5-29.
The domain range (X-axis) is right-aligned with the trigger: all data are negative for a right-
aligned eye.
General triggered eye diagrams can be left aligned or center aligned. C-Phy eye diagrams are
always right-aligned. Figure 5-30. shows an example of C-Phy eye diagram (right aligned) with
left-aligned eye diagrams made from the same differential lines and C-Phy trigger.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
Figure 5-30. C-Phy Eye Diagram and Triggered Eyes with Other Alignments
Eye Mask
A mask on a C-Phy eye diagram is always right-aligned. Example masks are show in Table 5-3:
Table 5-3. C-Phy Eye Mask
Diamond Shape Hexagon Shape
{MASK_FILE} {MASK_FILE}
{VERSION = 2.0} {VERSION = 2.0}
The above masks have Y values min and max at -1 and 1. These example masks require the
automatic Y fit option.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Eye Diagram Measurement Calculations
You can also build your own eye-masks based on industry standards.
Note
A CPhy.mask file may be loaded using menu Tools > Eye Diagram with Eye Type set to
“NRZ”, select Apply Mask, click on the Eye Mask icon to open the Eye Mask Dialog
Box. Then use the Open Folder icon to load a CPhy.mask file from disk.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Working with Smith Charts
Γ = (Z - ZO) / (Z + ZO)
z = Z / ZO = (R + jX) / ZO = r + jx
Γ = (z - 1) / (z + 1)
With a Smith Chart, you can plot impedance values using curves and then read reflection-
coefficient values from the grid.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Creating a Smith Chart
Procedure
1. Right-click on the row containing the Smith Chart to open the Row Popup Menu.
2. Choose Smith Chart > Impedance or Smith Chart > Admittance or Smith Chart >
Both.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Impedance and Admittance Displays
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Impedance and Admittance Displays
3. Ordinarily, the Smith Chart displays only positive real values. If, however, values of
S11- or S22-parameter waveforms extend beyond the reaches of this display, the Smith
Chart is automatically extended to display values outside this range. The maximum
negative real values are:
• -0.8 for the left part of the chart
• -1.2 for the right part of the chart
4. The maximum imaginary values are:
• 0.2 for the top part of the chart
• -0.2 for the bottom part of the chart
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Smith Chart and Polar Displays
Related Topics
Working with Smith Charts
Smith Chart and Polar Displays
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Cursors in the Smith Chart
Related Topics
Working with Smith Charts
Impedance and Admittance Displays
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Cursors in the Smith Chart
2. Drag the cursor along the path of any curve to determine the impedance at that point.
Change the data value to take into account the characteristic impedance. The F
(frequency) and Z values are displayed. The S parameters can be displayed by selecting
the appropriate option from the Data Values dialog box.
Note
You can automatically snap the cursor to the nearest data point. Choose Edit >
Options and select RF from the EZwave Preferences list and then check Snap to
Data.
3. Use the following procedure to change the data value and select which values to display:
4. Add a cursor to a Smith Chart.
5. Right-click on the value flag.
6. Choose Data Values > Set from the Cursor Value Popup Menu.
Figure 5-37. Setting Data Values
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Circles in the Smith Chart
Note
If more than one waveform is displayed on a Smith Chart, dragging the cursor along
one wave causes the cursor to move along the others, as well.
Related Topics
Working with Smith Charts
Scattering Parameters (S-Parameters)
Impedance and Admittance Displays
Procedure
1. Right click on a Smith Chart circle plot or circle plot name in a graph window.
2. From the Waveform Popup Menu, select the Circle Visibility menu item.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Circles in the Smith Chart
Results
Figure 5-39. Circle Visibility Table
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Changing the Visibility of Elements
The Circle Visibility Table displays the following information about individual elements of a
circle plot.
• Index - A sequential number assigned to each element of the circle plot. The first
element is assigned the number one. By default, the numbers are listed in ascending
order. To reverse this order, click the small triangle.
• Frequency - The frequency column shows the frequency value of the element. To invert
the order of this column, click the small triangle.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Changing the Visibility of Elements
Related Topics
Working with Smith Charts
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Comparing Waveforms
Comparing Waveforms
The EZwave Waveform Compare Tool enables waveforms from a reference and a new
simulation to be compared. It can report the set of differences graphically or in report files.
This tool can be accessed through the graphical user interface or through a set of Tcl commands
(see “Waveform Comparison With Tcl Examples” on page 1144).
To watch a tutorial that shows you how to use the Waveform Compare Tool, using an example
that compares the results of periodic steady state analysis with time-domain analysis results, see
the video:
This section describes the following tasks relating to waveform comparison and the waveform
comparison algorithm:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Support for Different Types of Waveform
• Digital buses are compared directly providing they have the same number of bits. If this
is not the case, EZwave’s behavior cannot be guaranteed.
• Analog buses and records are exploded and bits compared individually. Bits are
matched by index rather than by name. If the number of bits differs between the test and
the reference object, bits are compared until the smaller number is reached. An error
message is then displayed.
• Compound waveforms are exploded and elements compared individually. Elements are
matched by index rather than by name. If the number of elements differs between the
test and the reference waveform, elements are compared until the smaller number is
reached. An error message is then displayed.
Note
Assertions, SOA and complex waveforms are not supported in the Waveform
Comparison Tool.
Related Topics
Using the Waveform Compare Wizard
Manually Comparing Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Waveform Compare Wizard
Note
The waveform compare tool automatically applies a set of default settings to the
comparison. To change these defaults refer to “Setting Comparison Options” on page 244.
To watch a tutorial that shows you how to use the Waveform Compare Tool, using an example
that compares the results of periodic steady state analysis with time-domain analysis results, see
the video:
Note
For details on error messages that may be encountered during a waveform comparison, see
“Troubleshooting Waveform Comparison” on page 1191.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Waveform Compare Wizard
Procedure
Tip
The Waveform Compare Wizard dialog box can only open .wdb files. For other
database file formats such as .wlf, first open the required databases by selecting File
> Open from the EZwave main menu. You can then choose an opened database from
the dropdown list using the Waveform Compare Wizard dialog box, as described below.
1. From the EZwave main menu, select Tools > Waveform Campare > Comparison
Wizard. This opens the first page of the Waveform Compare Wizard.
2. Specify the reference dataset in the Choose Reference Dataset From List or Disk field.
Use the dropdown list to choose from recently opened databases, or click the folder icon
to use a file browser to select the reference database.
3. Specify the test dataset in the Choose Test Dataset From List or Disk field.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Waveform Compare Wizard
By default, the current open database is used as the test dataset (indicated by the Use
Current Database (database_name) option). Specify a different database if required.
Click Next to move on to the Comparison Method page of the Waveform Compare
Wizard.
4. Select from the following three comparison methods:
• Compare All Waveforms
All available waveforms in the test dataset are compared against the same
waveforms in the reference dataset. Select this option and click Next to begin the
comparison.
The results of the waveform comparison are displayed in the graph window.
Waveforms that contain differences from the reference waveform are marked by a
red X by their name and those difference portions of the waveform are highlighted.
Figure 5-42. Waveform Comparison Results
Note
For databases loaded from .fsdb files, only loaded waveforms are displayed
in the Waveform Compare By Waveform > Add Waveform dialog box.
Loaded waveforms are waveforms that have been displayed once or waveforms
located at a hierarchy level that has been selected once in the Waveform List
Panel. Refer to “Loading .fsdb and .tr0 Files” on page 1186.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Using the Waveform Compare Wizard
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Manually Comparing Waveforms
Note
For details on error messages that may be encountered during a waveform comparison, see
“Troubleshooting Waveform Comparison” on page 1191.
Starting a Comparison
You can manually compare waveforms using the Waveform Compare Tool.
Use the following procedure to begin a manual waveform comparison:
Procedure
Tip
The Select Datasets dialog box can only open .wdb files. For other database file
formats such as .wlf, first open the required databases by selecting File > Open from
the EZwave main menu. You can then choose an opened database from the dropdown
list using the Select Datasets dialog box, as described below.
1. Choose Tools > Waveform Compare > Start Comparison. This opens the Select
Datasets dialog box.
2. Select the reference dataset in the Choose Reference Dataset From List or Disk field.
Use the dropdown list to choose from recently opened databases, or click the folder icon
to use a file browser to select the reference database.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Manually Comparing Waveforms
3. Select the test dataset in the Choose Test Dataset From List or Disk field. By default,
the currently open database is used as the test dataset (indicated by the Use Current
Database (database_name) option). To specify a different database than the current
one, use the dropdown list or the file browser to choose the test database.
4. Click OK to close the Select Datasets dialog box.
Related Topics
Selecting Waveforms for Comparison
Setting Comparison Options
Troubleshooting Waveform Comparison
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Manually Comparing Waveforms
Compare by Waveforms
You can specify which waveforms are used for the comparison.
Procedure
1. Choose Tools > Waveform Compare > Add > Compare by
Waveforms. This opens the Select Waveforms Dialog Box.
2. Click Add on the Add Waveforms From Reference Database side of the window. This
opens the Add Waveforms dialog box.
3. In the Add Waveforms dialog box, select one or more waveforms.
4. Click OK. The selected waveforms are added to the Reference side of the Waveform
Compare Tool.
5. By default, the “Take Corresponding Waveforms in Test Database” option is selected,
indicating that the Waveform Compare Tool will search for waveforms in the test
dataset whose names match the specified reference waveforms.
To compare waveforms with different names, uncheck “Take Corresponding
Waveforms in Test Database”, and add test waveforms in the same way reference
waveforms were added.
When comparing waveforms with different names, the first waveform defined in the list
of reference waveforms is compared with the first waveform defined in the list of test
waveforms, and so on, regardless of their names.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Manually Comparing Waveforms
Compare by Hierarchy
You can specify which waveforms are used for the comparison by hierarchy.
Procedure
1. Choose Tools > Waveform Compare > Add > Compare by Hierarchy. This opens
the Select Hierarchy Dialog Box.
2. Select the reference waveform hierarchy from the EZwave waveform list.
3. In the Reference Hierarchy Level field, click the Add Selected Hierarchy icon.
This populates the field with the selected waveform hierarchy.
4. By default, the same hierarchy level name is searched in the test database for the
comparison. If you want to specify a different hierarchy level for comparison, select
“Specify a different name for test Hierarchy Level”. You can then choose the test
hierarchy level for comparison.
5. In the “Compare Waveforms of Type” area, select the types of waveforms to include in
the comparison and whether to search the hierarchies recursively.
6. Click OK to close the Select Hierarchy Dialog Box.
Running a Comparison
Once you have specified the waveforms you want for comparison, you can run the comparison.
Procedure
1. Select Tools > Waveform Compare > Run Comparison.
2. You can continue to add waveforms and run comparisons until you select
Tools > Waveform Compare > End Comparison.
Related Topics
Select Hierarchy Dialog Box
Select Waveforms Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Viewing Waveform Comparison Results
You can also generate a comparison report. See Waveform Comparison Reports.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Viewing Waveform Comparison Results
Related Topics
Displaying the Tolerance Tube for Analog Comparisons
In the waveform comparison results, you can display the tolerance tube by right-clicking on one
of the waveform names in the graph window that contains the comparison results and selecting
Display Tolerance Tube (Figure 5-45).
In Figure 5-46, the green waveform is the reference waveform. The two blue “waveforms”
represent the tolerance tube. When the yellow result waveform goes “outside” of this tube is
where it is “different” from the reference waveform, given the tolerances.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Viewing Waveform Comparison Results
Related Topics
Analog Waveform Comparison Algorithm
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Waveform Comparison Reports
Example
The following is an example of a digital to digital comparison report:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Waveform Comparison Reports
Related Topics
Viewing Waveform Comparison Results
Waveform Comparison Reports
Example
The following is an example of an analog to analog comparison report:
Total differences = 1
Diff number 1, From time 9.329983e-5 s to time 1.198995e-4 s.
Maximum difference at time 9.329983e-5 s : deltaY = 1.172866e-4 A
<REF>I(vv1) = -1.498311e-4
<RES>I(vv1) = -3.254448e-5
Related Topics
Viewing Waveform Comparison Results
Waveform Comparison Reports
Description
The comparison differences that are possible are:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Viewing and Saving Comparison Rules
Example
The following is an example of a spectral comparison report:
Procedure
1. To view and save the comparison rules for a session, start a waveform comparison
session, either manually (see “Manually Comparing Waveforms” on page 233) or with
the Waveform Compare Wizard (see “Using the Waveform Compare Wizard” on
page 228).
2. Make your waveform comparison rules.
3. Before you end the comparison, select Tools > Waveform Compare > Rules > Show.
The file that contains the current rules for the waveform comparison is displayed.
4. To save the comparison rules to a Tcl file, select Tools > Waveform Compare > Rules
> Save to open the Save Comparison Rules dialog box.
5. Navigate to the directory where you want to save the rules Tcl file, give the file a name,
and click Save.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Saving a Comparison Session
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
5. When making comparisons you can choose how the results are treated. Select from the
following Plot Options:
• Automatically Add Comparison to Wave Window — This option adds the
comparison results to the current wave window, including both correct (waveforms
with no differences) and erroneous (waveforms with differences) waveforms.
• Automatically Add Comparisons With Errors to Wave Window — This option
adds only comparison results that contain errors (waveforms with differences) to the
current wave window.
• Do Not Plot Results of Comparison — This option does not add the comparison
results to the current wave window.
6. You can sort the comparison results. Click the Sort By checkbox and choose from the
following options:
• First Difference — This option finds the first time when any signal in one run
begins to differ from the corresponding signal in another run, and plots the signals in
sorted order.
• Maximum Difference — This option finds the first time when any signal in one run
differs most from the corresponding signal in another run, and plots the signals in
sorted order.
• Maximum Spectrum Difference — This option finds the frequency when any
signal in one run differs the most from the corresponding signal in another run, after
phase shift, and plots the signals in sorted order.
• Plot Top Results — This option specifies the number of top results to be plotted.
Default is 8.
• Annotate Result Waveforms With Sorting Parameter — If checked, the sorting
parameter value will be plotted as annotation (or other marker, for example delta)
over the plotted comparison results (waveforms).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
The three methods for comparing digital waveforms are described in this section:
Continuous Comparison
The Waveform Compare Tool uses the Continuous Comparison method by Default. In this
method, test signals are compared to reference signals at each transition (for digital-digital
comparisons) or at each simulated data point (for analog-analog and mixed signal comparisons)
of the reference waveform.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Comparison Methods
tab.
2. Select Continuous Comparison.
3. Optionally:
Sampled Comparison
Sampled comparison allows you to define either a Frequency or a Period to use for the
comparison session. A comparison between a reference and a test waveform is made for each
point sampled.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
Procedure
1. Choose Tools > Waveform Compare > Options and select the Comparison Methods
tab.
2. Select Sampled Comparison.
3. Enter either a Frequency or a Period to use for the comparison session.
4. Optionally:
Clocked Comparison
In the Clocked Comparison method, you define a clock to use as a trigger waveform for the
comparison. Signals are compared only at, or just after, an edge on some signal.
In this mode, you define one or more clocks. The test signal is compared to a reference signal
and both are sampled relative to the defined clock. The clock can be defined as the rising or
falling edge (or either edge) of a particular signal plus a user-specified delay. The design need
not have any events occurring at the specified clock time.
The clocked comparison settings here will also apply to analog-analog and analog-digital
(mixed) comparisons.
When you define the clock, it can also apply to an analog waveform. The edges, rising or
falling, are automatically calculated using functions available in the EZwave Measurement
Tool.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Comparison Methods
tab.
2. Select Clocked Comparison.
3. Select a waveform from the dropdown list or use the Use the Add Selected Waveform
icon to add the currently selected waveform to the list.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
4. Click Clocks to open the Clocks dialog box. This dialog box lists all the clocks you’ve
defined.
5. Click Add to open the Add Clock Dialog Box. If you want to modify a clock you’ve
previously added, select it from the list of clocks and click Modify.
6. Specify a name for this clock definition in the Clock Name field.
7. If you want to set the Delay Signal Offset, enter a value in the field. By default, this is 0.
8. In the Based on Waveform field, select the waveform whose edges are to be used as the
strobe trigger.
9. In the Compare Strobe Edge field, select which edge to use in the clocked comparison.
By default, only the rising edge is used.
10. Click OK to close the Add Clocks dialog box.
11. Click OK to close the Clocks dialog box.
12. Optionally:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
Analog Comparison
The analog comparison options enable you to specify the X and Y tolerances, or use the default
tolerances.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Tolerances tab.
2. Enter percentage or numerical values for X Tolerance and Y Tolerance. Alternatively,
select Use Automatic X Tolerance or Use Automatic Y Tolerance, the Waveform
Compare Tool uses the following formulas to calculate the tolerances:
• X Tolerance
The minimum of ((x_max - x_min)/number_of_points) or (0.01 . (x_max - x_min))
• Y Tolerance
0.01 . (y_max - y_min)
3. Optionally, you can also filter differences by specifying a minimum delta X value. This
is usually time - differences are ignored if they have a shorter duration than the specified
value. Enter a value in the By Minimum Delta X field.
Results
The analog-analog comparison is based on waveform data points provided by the simulator, for
both the reference and the test waveform.
When you choose to specify the tolerances, you can use percentage or numerical values. If you
specify a percentage value (for example, 0.1%), it defines a tolerance value relative to the
minimum and maximum of the waveform (in this example, 0.1% of (x_max – x_min) or 0.1%
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
of (y_max – y_min)). If you instead specify a numerical tolerance value (for example, 0.1), it
defines an absolute tolerance to be used around the X or Y values.
In Figure 5-47, the blue waveform represents the reference waveform, and the green waveform
represents the test waveform. The magenta “waveforms” are the virtual tubes that represent the
tolerances.
For details on how the waveform compare algorithm uses tolerances, see “Analog Waveform
Comparison Algorithm” on page 253.
Figure 5-47. Waveform Compare Showing Tolerance
Digital Comparison
The digital-digital waveform comparison options enable you to specify the leading and trailing
edge tolerances.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Tolerances tab.
2. The Digital Comparison option contains the following settings:
• Leading Tolerance
Here you can specify a leading edge tolerance. This specifies the maximum time a
test signal edge is allowed to lead a reference edge in an asynchronous comparison
of digital signals. Defaults is 0.
• Trailing Tolerance
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
Here you can specify a trailing edge tolerance. This specifies the maximum time a
test signal edge is allowed to trail a reference edge in an asynchronous comparison
of digital signals. Defaults is 0.
Mixed Comparison
You can specify leading and trailing edge tolerances for mixed signal comparison.
When comparing mixed-signal waveforms, the Waveform Compare Tool must first convert the
analog waveform into a digital waveform (refer to Analog to Digital Conversion for conversion
options). Then it applies a digital-digital comparison (the comparison function is based on the
least accurate waveform). Refer to Analog to Digital Conversion.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Tolerances tab.
2. The Mixed Comparison option contains the following settings:
• Leading Tolerance
Here you can specify a leading edge tolerance. This specifies the maximum time a
test signal edge is allowed to lead a reference edge in an asynchronous comparison
of digital signals. Defaults is 0.
• Trailing Tolerance
Here you can specify a trailing edge tolerance. This specifies the maximum time a
test signal edge is allowed to trail a reference edge in an asynchronous comparison
of digital signals. Defaults is 0.
Spectral Comparison
You can specify Frequency Tolerance, Amplitude Tolerance and Noise Floor for spectral
comparison.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Tolerances tab.
Note
The Comparison Methods tab options do not affect spectral comparison.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Setting Comparison Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analog Waveform Comparison Algorithm
Digital Conversion
You can specify the VHDL and Verilog signal value matching rules.
Procedure
1. Choose Tools > Waveform Compare > Options and select the Conversions tab on the
Comparison Options dialog box. Refer to the “Conversions Tab” on page 424.
2. Specify VHDL and Verilog signal value matching rules in VHDL Matching and Verilog
Matching areas. The D in these matching options represent the ‘-’ “don’t care” std_logic
value.
Tip
For more information on the VHDL and Verilog matching options, refer to the
Mapping Data Types section of the Questa SIM User’s Manual (if the host
application installs this manual).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analog Waveform Comparison Algorithm
Using the default or defined X tolerances (see “Analog Comparison” on page 249), the
algorithm calculates (X – Xtol) and (X + Xtol). These values are used with the X value to
deduce (x, y) corresponding data points to the reference waveform.
At each (x, y) data point, the algorithm calculates (Y – Ytol) and (Y + Ytol). These values are
used to deduce the maximum and minimum Y values.
These calculations form the tolerance area (the red rectangle in Figure 5-48). During
comparison, the result waveform is checked to see if it lies in the tolerance area at the original X
data point.
The tolerances define a virtual “tube” around the reference waveform. The Waveform Compare
Tool checks to see if the test waveform is “inside” the tube, and reports a difference if the test
waveform is outside the tube. In Figure 5-49, the blue reference waveform is “surrounded” by
two magenta waveforms that represent the tolerance tube. The green result waveform is only
highlighted (red vertical highlight) at the area where it is “outside” the tube.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
wreal Waveform Comparison
The “difference” highlight is calculated from the first data point found outside of the tube to the
last data point found outside of the tube (Figure 5-50).
Outside of the ‘X’ tolerance, a strict ‘Y value’ comparison is applied, meaning that ‘X’ must
match ‘X’ and the ‘Y value’ must match the ‘Y value’.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Waveform Parameters to Generate Pivot Waveforms
The display of the tolerance tube is similar to that used for the “real” waveform, except when
the ‘X’ or ‘Z’ state is reached. The tolerance tube is increased to infinity here to enable ‘X’ and
‘Z’ values to match any others.
Figure 5-51 shows the tolerance tube increased to infinity when a ‘Z’ state is encountered in the
reference waveform.
However, when an ‘X’ state is encountered in the result waveform in Figure 5-51, the tolerance
tube does not increase to infinity. Values are matched within the ‘X’ tolerance range.
Note
In the comparison report, the location of the ‘X’ and ‘Z’ state is indicated instead of the
location of the ‘Y value’ maximum difference.
Note
This comparison will produce different results to Questa SIM. In Questa SIM, the digital
comparison algorithm (digital comparison with default tolerance of 0) applies to wreal
waveforms. In Questa ADMS the tolerance is considered around the X domain for ‘X’ and ‘Z’
states, and elsewhere the ‘real’ waveforms comparison algorithm (analog comparison with dX
and dY tolerance) applies.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Waveform Parameters to Generate Pivot Waveforms
waveform’s parameter values, or to the y values of a different compound waveform, and then
plot. You can also filter (exclude) individual parameter values and group parameters by color.
Restrictions and Limitations
• Only compound waveforms may be selected to use as the y-axis of new pivot
waveforms.
Procedure
1. Open the required waveform database and expand the set of waveforms in the
Waveform List Panel.
a. Choose Tools > Parameter Analyzer from the main menu to open the Parameter
Analyzer Tool Dialog Box.
b. Drag and drop the required waveform(s) into the Waveform List area. Alternatively
use Add Selected Waveform icon to add the currently selected waveform(s).
Tip
You can also right-click on a compound waveform in the Waveform List Panel
and choose Plot versus > Parameter Analyzer to open the Parameter Analyzer
Tool dialog box populated with the selected source waveform.
c. Select the y-axis checkbox adjacent to one or more waveforms in the Waveform List
from which you want to create new pivot waveforms.
d. Choose the parameter or waveform (y values) that you want to use as the new x-axis
from the X-Axis dropdown menu.
e. In the Display Options area, choose whether you want to plot the resultant pivot
waveforms Stacked or Overlaid, and whether you want the plot results in a New
Window.
f. Click Apply or OK to create the pivot waveform.
2. (Optional) To set up filters to exclude parameter values from the pivot waveforms:
a. Click on the Advanced tab of the Parameter Analyzer Tool and then click New to
open the Filters Setup Dialog Box dialog box.
b. Choose a Parameter from the menu. Select one or more values from the Values to
Hide list. When you have finished selecting values, click OK. The parameter name
and excluded values are added to the Add Filter list.
c. Repeat the steps above if you want to add another parameter name and values to the
Add Filters list.
d. If you want to change any of the filter values, select a row in the Run Filters table
and click Edit or click Delete to remove the selected row from the Run Filters table.
e. Click Apply or OK to create the pivot waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
The main purpose of the current analysis is to help you understand where and when the current
consumption is inside a large circuit, or which part of a circuit is consuming more than a
specified threshold, or which subcircuits are consuming what current. You can analyze the
current without having to resimulate, everything is manipulated in the Current Analysis dialog
box and you perform your debugging tasks accordingly there.This analysis provides an
effective way to report current consumption. For designs operating on battery supplies, leakage
issues are important. Advanced process nodes tend to make these problems worse. The power
supply voltages tend to decrease, and the leakage currents tend to increase exponentially at each
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
new node. This means the monitoring of current variables (that relate directly to power) is as
important, if not more, than the monitoring of voltages.
When a simulation has been run with current analysis requested, current waveforms are saved in
the waveform database in folders named CURRENT_<analysis_type> depending upon the
types of analyses requested during simulation. You can plot waveforms from these folders as
normal.
Note
See also .CURRENT_ANALYSIS in the Eldo Reference Manual.
A Tutorial—Using Current Analysis is in the Eldo User’s Manual. A video is available that
shows the tasks described in this tutorial.
Prerequisites
You must have requested a current analysis during simulation with Eldo, by including the
.CURRENT_ANALYSIS SPICE command in your netlist or command file. Refer to
“.CURRENT_ANALYSIS” in the Eldo Reference Manual.
Procedure
1. Open a waveform database containing results from a current analysis.
2. Expand the required set of current analysis results in the Waveform List Panel, right-
click on the folder at the required level of hierarchy and choose Current Analysis to
open the Current Analysis Dialog Box.
3. Optionally, you can specify values for X Start and X Stop for the analysis, or specify one
or two cursors, to only list results that occur within a specified time range or at a point.
Tip
You can specify the EZwave analysis range using the Eldo command
.CURRENT_ANALYSIS, parameters TSTART and TSTOP. The X Start and X
Stop values are then automatically set as the analysis range on the dialog box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
4. Click Analyze. The Current Analysis table is populated with the current results from the
design. You can click to expand all of the results.
5. Click the button to choose which results to display in the table. You can click on a
column heading to sort the results in ascending or descending order. You can expand the
Hierarchy by clicking on the + symbol adjacent to a Subckt, Port or Net item.
Tip
You can specify a list of columns that are displayed in the table, using the Eldo
command .CURRENT_ANALYSIS parameter MEAS_TYPE.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
6. To filter the table Hierarchy column, you can do any of the following:
• Select Thresholds on, choose a column from the adjacent dropdown menu, specify
Lower, Upper, or Lower and Upper, current thresholds and click .
7. To highlight all connected ports for a device, right-click on an item in the Hierarchy
column in the Current Analysis table and choose Connected To from the popup menu.
The item is then highlighted in red and its connected ports are highlighted in yellow. Use
the left and right arrow buttons to move between highlighted items.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
Tip
To identify the source of any unexpectedly high current consumption, review the
average current results in the list, select the item of interest in the hierarchy and
choose Connected To from the popup menu. Repeat until you have drilled down the
hierarchy sufficiently to identify the offending item(s).
You can also right-click on an item in the Hierarchy column in the Current Analysis list
and choose Step In to open the corresponding instance and select the port and expand it,
or Step Out to highlight the parent subcircuit (or the top level).
8. If you want to see the results for a single subcircuit, right-click on a subcircuit in the
table and select See in Subckt View. Alternatively, to see a simplified view showing
results for all subcircuits, click on the Subckt View tab. In the subcircuit view, the
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Current Consumption
Tip
To make investigating current leakage issues easier, you can open as many Current
Analysis dialog boxes as you need, either on the same, or different, databases. This
allows you, for example, to compare results before and after making design changes.
Related Topics
Current Analysis Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Power Consumption
When a simulation has been run with power analysis requested, power waveforms are saved in
the waveform database in folders named POWER_<analysis_type> depending upon the types
of analyses requested during simulation. You can plot waveforms from these folders as normal.
Prerequisites
You must have requested a power analysis during simulation with Eldo or Questa ADMS, by
including the .POWER_ANALYSIS Spice command in your netlist or command file.
Procedure
1. Open a waveform database containing results from a power analysis.
2. Expand the required set of power analysis results in the Waveform List Panel, right-
click on the folder at the required level of hierarchy and choose Power Analysis to open
the Power Analysis Dialog Box.
3. Click Analyze. The tree list is populated with the power waveform results from the
design. Each result shows the power consumption in the Power column.
4. If the results are numerous and difficult to view, you can filter them such that you see
only the results of interest.
• Use the depth control to limit the analysis to the specified number of levels from the
top down. Results coming from parts of the circuit located at a deeper level of
hierarchy will not be listed.
• Define a minimum and/or maximum power consumption threshold for the listed
results. Results with power consumption values below or above these thresholds will
not be listed.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Power Consumption
• Define lower and upper time bounds of the analysis, to only list results that occur
within the specified time range.
5. The Power Analysis dialog box is an independent window and may be minimized,
maximized and iconified. You can also show or hide the Analysis section using the
checkbox, to free more space to display the Power Analysis table.
Note
The Eldo simulator, working in conjunction with EZwave, provides a (inst=)
parameter to specify subcircuits in the .POWER_ANALYSIS spice command.
Power analysis is then only applied to the specified subcircuits. If this parameter is used,
some of the hierarchies in the resulting POWER_<analysis_type> folder may be empty
(when they are located on a path to a specified instance). The Power Analysis dialog box
will show a “-” symbol instead of a value for the power, to indicate when a subcircuit
has not been analyzed by Eldo.
Tip
See also .POWER_ANALYSIS in the Eldo Reference Manual and Tutorial—Using
Power Analysis for Static Leakage Analysis of a PLL Circuit in the Eldo User’s
Manual.
Related Topics
Power Analysis Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Analysis
Analyzing Power Consumption
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 6
Post-Processing
This section describes how to use EZwave to process and transform data after simulation.
Working with a Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Creating a Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Editing Bus Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Transforming Analog Waveforms to Digital. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Transforming Digital Waveforms to Analog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Bus and Bit Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Bus Transformation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Bit Transformation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Measurement Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Taking a Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
DC Hysteresis Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Eye Diagram Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Frequency Domain Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
General Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Statistical Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Time Domain Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Waveform Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Using Expressions in the Waveform Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Waveform Calculator Shell Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Using Buttons in the Waveform Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Using Built-In Functions in the Waveform Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Using and Editing User-Defined Functions in the Waveform Calculator . . . . . . . . . . . . . 310
Creating a Tcl Script from the Waveform Calculator History . . . . . . . . . . . . . . . . . . . . . . 312
Updating User-Defined Function Help Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Using the Measurement Tool Functions in the Waveform Calculator . . . . . . . . . . . . . . . . 317
Built-In Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Calculator Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Jitter Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Using the Jitter Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Jitter Measurement Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Using the Extract Outputs from Database Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Signal Processing Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Fast Fourier Transform (FFT) Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Inverse Fast Fourier Transform (IFFT) Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Spectrum Measurement Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Working with a Bus
Creating a Bus
You can create your own bus from selected digital waveforms (bits).
Procedure
1. Select the bits that you want to add to the bus, either from the active graph window or
from the Waveform List Panel. Use Shift-click or Ctrl-click to select multiple
waveforms.
Note
For databases loaded from .fsdb files, only loaded waveforms are displayed in the
Waveform List panel. Waveforms are loaded when they are displayed for the first
time or when they are located at hierarchy level. The Waveform List panel will only
display waveforms that have already been loaded. Refer to “Loading .fsdb and .tr0
Files” on page 1186.
2. Choose Tools > Create Bus to open the Create Bus Dialog Box, which enables you to
edit the contents of the bus.
3. EZwave will identify the longest prefix common to all bits of the bus, and propose it as
the default bus name, shown in the Name field. You can rename the bus by clicking in
the text window and entering the desired bus name.
If no common prefix can be found, the default bus name is Bus1. Subsequent buses with
no common prefix, are named Bus2, Bus 3,... Bus<n>.
4. Click on the dropdown list next to Radix and select the required radix: One’s
Complement, Two's Complement, Signed Magnitude, Binary, Hexadecimal, Octal,
Unsigned Decimal, Ascii, Fixed Point, Great Code to Decimal, or To Gray Code.
5. The Bits in Bus window lists all of the selected waveform names. The waveform
selected first is used as the Most Significant Bit (MSB) of the bus, and the waveform
selected last is used as the Least Significant Bit (LSB).
EZwave will attempt to identify the Most Significant Bit (MSB) and the Least
Significant Bit (LSB) indexes of each bit, and add a range (MSB:LSB) between bus
index delimiters at the end of the common bus name prefix. Bus index delimiters can be
specified on the Data Format Options page of the EZwave Display Preferences Dialog
Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Editing Bus Contents
6. If the bus is an analog or hybrid bus, the analog signals are automatically transformed to
digital.
If Auto-Update Threshold is selected the threshold calculation is automatically
updated when the bit order is modified. This option is enabled by default.
Use Single Threshold or Two Thresholds to digitize the input waveform(s).
Click in the text windows of the Transformation Setup field and change the default to
desired threshold values.
7. Click OK to apply or click Cancel to abort bus creation.
Note
For databases loaded from .fsdb files, only loaded waveforms are displayed in the
Create Bus > Add Bits to Bus dialog box. Waveforms are loaded when they are
displayed for the first time or when they are located at hierarchy level. Refer to
“Loading .fsdb and .tr0 Files” on page 1186.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Transforming Digital Waveforms to Analog
Procedure
1. Select the waveform in the active graph window and right-click and select Analog to
Digital from the Waveform Popup Menu. The Analog to Digital Conversion Dialog Box
displays.
2. Enter a name for the new waveform in the Digitized Waveform(s) field and changing the
default name.
3. Choose whether to plot the digitized waveform Stacked in a new row or Overlaid with
the original waveform, or clear the Plot Result Waveform(s) if you do not want to plot
the digitized waveform in the active graph window.
4. Set the required threshold(s) in the Transformation Setup fields, to define how the
waveform is digitized.
5. Click OK to perform the transformation.
Procedure
1. Select the digital signal or bus in the active graph window and right-click to display the
Waveform Popup Menu.
2. Select Digital to Analog from the popup menu. The Digital to Analog Dialog Box
displays. Depending on whether you have selected an individual signal or signals, a bus,
or both, the dialog box may include a section for Bus Transformation Setup, Bit
Transformation Setup, or both.
3. In the Name text window, change the default name to a desired waveform name. If
multiple waveforms are selected, the Name text window is dimmed out and the default
names are used.
4. Select whether to plot the resulting waveform Stacked in a new Graph Row or Overlaid
with the original waveform, or if you do not want to plot the resulting waveform to the
active graph window, clear the Plot Result Waveform(s) box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Bus and Bit Transformations
Procedure
1. Specify the Radix by using the dropdown menu and selecting one of the following
values: Two's Complement (signed), Binary, Hexadecimal, Octal, Unsigned
Decimal, (all unsigned), or Ascii.
2. Specify the Value by entering an addition value and then a multiplication value. If the
bus value is one of the standard logic states, then the analog value is the same as the
previous analog value, or 0.0 in the case of the initial value.
3. Select either Do Not Interpolate or Interpolate.
If you select Do Not Interpolate, specify if you want to Use Commutation Time and
enter the desired time. This is the time necessary to switch from the previous bus value
to the new bus value.
4. Click OK to perform the transformation, or click Cancel to abort and close the dialog
box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Bit Transformation Setup
Procedure
1. Each digital value has a default real (analog) assigned. To use a different value, enter the
corresponding analog value as a numeric figure or engineering value. The possible
digital values are Forcing Zero, Forcing One, Weak Zero, Weak One, Forcing
Unknown, Weak Unknown, High Impedance, Uninitialized, and Do not care. Values
that have been used previously in a session are automatically remembered for future
transformations.
2. Under Commutation Time Values, enter the Rise Time (the necessary time to go from
'0' to '1') and Fall Time (the necessary time to go from '1' to '0').
3. Click OK to perform the transformation, or click Cancel to abort and close the dialog
box.
For bit transformations, this process is only implemented for “standard logic”
waveforms and other digital types that can be internally converted to standard logic
waveforms (bit, Boolean, and Verilog logic).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Measurement Tool
Measurement Tool
The Measurement Tool can be used to take a wide variety of measurements of the elements of a
compound waveform.
The Measurement Tool can be used for the following:
Taking a Measurement
You can make various measurements using the Measurement Tool.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select a measurement category and type from the Measurement dropdown lists.
3. Select one or more waveform elements or waveform labels in the active graph window.
Click on the Add Selected Waveforms icon to add the selected waveforms or
elements to the Waveform List. Use Shift-click or Ctrl-click to select multiple
waveforms, or use the Delete key to remove them.
Tip
If you do not want the Measurement Tool Source Waveform(s) list to be
automatically populated with currently selected waveforms, choose Edit > Options
to open the EZwave Display Preferences dialog box, choose General from the EZwave
Preferences list on the left, and uncheck “Use Automatic Waveform Selection for
Measurement Tool”.
Note
The measurements Delay, Intersect and Slope Intersect can only be applied to a
single waveform at any one time.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
DC Hysteresis Measurements
Setup section. Refer below to the specific section on the selected measurement for
details on these settings.
Where the value Automatic is specified for an option in the Measurement Setup section,
a parameter is applied individually to each waveform. If a value is entered instead, this
value is applied to all waveforms.
5. Some measurement types allow you to specify how the results should be displayed in the
Measurement Results section (This section is not available for all measurements.):
a. Where available, specify either to Annotate Waveform(s) with Measurement Results
or Plot New Waveform of “<measurement type>” vs <parameter>.
If there is more than one parameter to choose from, a dropdown list is available for
specifying the required parameter. When more than one waveform has been selected
for the measurement, only parameters common to all waveforms are available in the
list.
6. To apply the measurement to the Entire Waveform, Visible X Region, or Between Two
Cursors, click the Apply Measurement to: dropdown list and make a selection.
Note
You cannot use horizontal cursors to define parts of a waveform for use with the
Measurement Tool.
DC Hysteresis Measurements
You can perform measurements of DC hysteresis width, and lower and upper threshold, using
the Measurement Tool.
These are:
Table 6-1. DC Hysteresis Measurements
DC Hyst. Left Thres. The left crossing value.
DC Hyst. Right Thres. The right crossing value.
DC Hysteresis Width The difference between the left and right thresholds.
To access: Select DC Hysteresis from the left dropdown list, and select DC Hyst. Left Thres.,
DC Hyst. Right Thres. or DC Hysteresis Width from the right dropdown list in the
Measurement Tool.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
DC Hysteresis Measurements
Prerequisites
• A .wdb file containing the result of a DC Hysteresis computed by Eldo, using “.DC ...
HYST” keywords.
Tip
See “.DC” in the Eldo Reference Manual.
• The Y level of interest, where the thresholds and width are computed.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box.
2. Select DC Hysteresis from the left dropdown list.
3. Select either DC Hyst. Left Thres., DC Hyst. Right Thres. or DC Hysteresis Width
from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• Specify the Y-axis to use if multiple different Y-axes are present in the graph
window.
• Specify a Y Level or use the default value. The default value is automatically
calculated with (baseline+topline)/2. Click on the preview button to display the
Topline level on the specified waveform.
Results
The waveforms are annotated with the hysteresis values.
Right-click on the measurement annotation and select Measurement Results. The Measurement
Results dialog box is displayed.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
DC Hysteresis Measurements
Click on a column name to sort the column. Click on a row to show or hide the corresponding
annotation. Ctrl-click to select several rows. The Y-level is the value set in the Measurement
Tool when not set to <Automatic>, or the individual computed value.
Examples
Example waveform annotations are shown below:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
DC Hysteresis Measurements
For a compound waveform, EZwave displays two waveforms results: the min and max of the
desired measurement (width, left or right threshold).
In the above example, the min and max are plotted above the whole compound waveform, to
highlight these waveforms.
For a compound waveform, you can plot a new waveform, selecting a simulation parameter as
the X-axis.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Eye Diagram Measurements
The Eye Width is calculated as the difference between the Cross Eye + 3 stdev and the Cross
Eye - 3 stdev.
Refer to “Eye Diagram Measurement Calculations” on page 203 for details on all measurements
relating to the eye diagram.
Tip
A dedicated Eye Diagram Tool is available in EZwave that offers additional functionality.
Refer to “Working with Eye Diagrams” on page 195.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Eye Diagram from the left dropdown list.
3. Select Eye Height, Eye Height at X, Eye Width or Eye Width at Y from the right
dropdown list in the Measurement Tool.
4. The measurements require specific information in the Measurement Setup section of the
Measurement Tool Dialog Box:
Select one or more of the available measurements:
• Eye Height
• Eye Width
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Eye Diagram Measurements
• X - specify eye width at X (for PAM4 signals, check the Source is PAM box)
• Y - specify eye width at Y
5. Click Apply. The measurement is plotted. You can drag the measurement to display the
results at other positions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Frequency Domain Measurements
Bandpass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Gain Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Phase Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Bandpass
This measurement finds and displays the bandwidth, the lower band edge, upper band edge,
center frequency and quality factor, and the level at which the measurement is made for a
bandpass-shaped waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Frequency Domain from the left dropdown list.
3. Select Bandpass from the right dropdown list in the Measurement Tool.
4. This measurement requires the following specific information in the Measurement Setup
section of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated. Click the Preview button to display the Topline level on the
specified waveform.
• Specify an Offset value to be applied relative to the Topline value. The Offset is
always in dB, and you must also include a sign, minus(-) or plus(+), along with the
specified level.
Results
The measurement level, either “Topline - Offset” or “Topline + Offset”, is used to determine the
following bandpass measurement:
• Lower band cutoff frequency (F-low): the frequency that the frequency response falls
crossing the measurement level before the maximum point.
• Higher band cutoff frequency (F-high): the frequency that the frequency response falls
crossing the measurement level after the maximum point.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Frequency Domain Measurements
Gain Margin
This measurement finds and displays the gain margin in decibels (dB) and the associated
crossover frequencies of a complex waveform. The gain margin is defined as the difference
between the gain of the measured waveform and 0 dB (unity gain) at the frequency where the
phase shift is -180 degrees (Phase Crossover Frequency). The frequency that gives a gain of 0
dB is the Gain Crossover Frequency.
The gain margin is found by first finding the X value (X will most likely be frequency but it
does not have to be) at which the phase is -180 degrees. The difference between 1.0 (or 0 dB)
and the gain at that frequency is the gain margin. Interpolation between data points is used to
find the exact crossing points with the margin values.
The gain margin is the amount of gain increase required to make the loop gain unity at the
frequency where the phase angle is -180 degrees. In other words, the gain margin is 1/g if g is
the gain at the -180 degrees phase frequency. The frequency at which the phase is -180 degrees
is called the Phase Crossover Frequency.
It is generally found that gain margins of 3 dB or more combined with phase margins between
30 and 60 degrees result in a reasonable trade-off between bandwidth and stability.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Frequency Domain from the left dropdown list.
3. Select Gain Margin from the right dropdown list in the Measurement Tool.
This measurement requires no specific information in the Measurement Setup section of
the Measurement Tool Dialog Box.
Phase Margin
This measurement finds and displays the phase margin of a complex waveform in degrees or
radians. The phase margin is defined as the difference in phase between the measured waveform
and -180 degrees at the point corresponding to the frequency that gives us a gain of 0 dB (the
Gain Crossover Frequency). The frequency where the phase shift is -180 degrees is the Phase
Crossover Frequency.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Frequency Domain Measurements
The phase margin is found by first finding the X value (X will most likely be frequency but it
does not have to be) at which the magnitude is 1.0 (or 0 dB). The difference between the phase
of the response and -180 degrees when the loop gain is 1.0 is phase margin. Interpolation
between data points is used to find the exact crossing points with the margin values.
The frequency at which the magnitude is 1.0 is called the Unity-Gain Frequency or Crossover
Frequency.
It is generally found that gain margins of 3 dB or more combined with phase margins between
30 and 60 degrees result in a reasonable trade-off between bandwidth and stability.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Frequency Domain from the left dropdown list.
3. Select Phase Margin from the right dropdown list in the Measurement Tool.
This measurement requires no specific information in the Measurement Setup section
of the Measurement Tool Dialog Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
General Measurements
You can perform a number of general measurements using the Measurement Tool.
These are:
Table 6-2. General Measurements
Average Phase Margin Y Level Crossing Intersect
Local Max Local Min Maximum Minimum
Peak to Peak Values Slope Slope Intersect YVal
Average
This measurement finds and displays the average value of the specified waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Average from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• You can select Average, Peak to Peak, Minimum, Maximum, or any combination as
desired measurement types in the Measurement Setup area.
Results
The average value of a waveform is calculated as follows:
Figure 6-9. Calculation of the Average Value of a Waveform
where W represents the waveform, and Xmin and Xmax are the beginning and the end points for
the waveform.
Y Level Crossing
This measurement finds and displays the intersection points between a waveform and a
reference Y level. The level is determined as Y = <value>.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Crossing from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Y Level or use the default value. The default value is automatically
calculated with (baseline+topline)/2. Click on the preview button to display the
Topline level on the specified waveform.
• Specify a Slope Trigger. Select from Positive and Negative, Positive Only, or
Negative Only.
Intersect
This measurement finds and displays the intersection points between two waveforms.
Interpolation between data points is used to find the exact intersection points between the two
waveforms. The result could be either X data or (X, Y) data.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Intersect from the right dropdown list in the Measurement Tool.
This measurement requires two waveforms to be selected, and the following specific
information in the Measurement Setup and Measurement Results sections of the
Measurement Tool Dialog Box:
• For Waveform (#1), click to specify the Slope Type - Either Positive or Negative
Slope, Positive Slope, or Negative Slope.
• For Reference Waveform (#2), specify the Slope Relationship. Click on the
dropdown list next to Slope Relationship and select between Non-Inverting and
Inverting.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Intersect” vs “Time”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Local Max
This measurement finds and displays the local maxima of the waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Local Max from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Results section of the Measurement Tool Dialog Box:
• Select Annotate Waveform(s) with Measurement Results to display the local
maximum for the specified region.
Or:
• Select Plot New Waveform of “Local Max” vs “Time” to create a new waveform
in the active graph window that shows how the local maximum changes with time.
Local Min
This measurement finds and displays the local minima of the waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Local Min from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Results section of the Measurement Tool Dialog Box:
• Select Annotate Waveform(s) with Measurement Results to display the local
maximum for the specified region.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
Or:
• Select Plot New Waveform of “Local Min” vs “Time” to create a new waveform in
the active graph window that shows how the local maximum changes with time.
Maximum
This measurement finds and displays the maximum value of the waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Maximum from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• In addition to the Maximum measurement, you can select additional measurement
types in the Measurement Setup area.
Minimum
This measurement finds and displays the minimum value of the waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Minimum from the right dropdown list in the Measurement Tool.
4. This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• In addition to the Minimum measurement, you can select additional measurement
types in the Measurement Setup area.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Peak to Peak from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• In addition to the Maximum measurement, you can select additional measurement
types in the Measurement Setup area.
Slope
This measurement finds and displays the slope value of the waveform at a specified X value.
For frequency domain waveforms, this measurement can be displayed as a value per decade or a
value per octave.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Slope from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• Provide an absolute value as the X value and the measurement returns the Slope
value at that coordinate.
You may utilize the cursor to input the X value: move the mouse pointer close to the
active cursor, right-click to display the Cursor Popup Menus, and select Copy X to
Clipboard from the popup menu. Click in the text window of X in the Measurement
Setup field, right-click to display the popup menu and select Paste to enter the X
value.
• Click to specify the Slope Option. This field is visible only in the Frequency
Domain category. You may choose to display the Slope measurement result
normally (None), display the Slope per decade (Decade), or display the Slope per
octave (Octave).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
General Measurements
Slope Intersect
This measurement finds and displays the slope intersect of two waveforms at specified X
values.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Slope Intersect from the right dropdown list in the Measurement Tool.
This measurement requires two waveforms to be selected and the following specific
information in the Measurement Setup section of the Measurement Tool Dialog Box:
• For each waveform, provide an absolute value as the X value and the measurement
returns the slope value at that coordinate and the slope intersect value between the
two slopes.
You may utilize the cursor to input the X value: move the mouse pointer close to the
active cursor, right-click to display the Cursor Popup Menus, and select Copy X to
Clipboard from the popup menu. Click in the text window of X in the Measurement
Setup field, right-click to display the popup menu and select Paste to enter the X
value.
• Once applied, markers on each of the specified waveforms show the slopes at the
selected points, and a marker for the slope intersect shows where the two tangent
lines to the selected points intersect.
• To view the slopes and slope intersects at other points along the curves, click on a
slope marker and drag it along the waveform. The displayed slope measurement,
tangent lines, and slope intersect measurement change according to the new position
along the waveform.
Related Topics
slopeintersect
YVal
This measurement finds the Y value(s) at a given X coordinate of a waveform.
For single waveforms, this measurement places a marker at the specified X coordinate that
indicates its Y value.
For compound waveforms, you can also plot the results of the Y-value measurements against a
swept parameter or index.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Statistical Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select General from the left dropdown list.
3. Select Yval from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• Provide an absolute value as the X value, and the measurement returns the Y
value(s) at that coordinate.
Utilize the cursor to input the X value: move the mouse pointer close to the active
cursor, right-click to display the Cursor Popup Menus, and select Copy X to
Clipboard from the popup menu. Click in the text window of X in the Measurement
Setup field, right-click to display the popup menu and select Paste to enter the X
value.
• The following options are available when applying the measurement to a compound
waveform:
a. To add a marker that displays the Y value of the waveform at the specified X
coordinate, select Annotate Waveform(s) with Measurement Results.
b. To plot the Y values against a swept parameter, select the name of the parameter
from the dropdown list next to Plot New Waveform of “Y” vs. When you click
Apply, this will display the results in a new graph window with the parameter values
along the x-axis and the Y values along the Y-Axis.
c. To plot the Y values against the index of the swept parameters, select Index from the
dropdown list next to Plot New Waveform of “Y” vs. When you click Apply, this
will display the results in a new graph window with the parameter index along the x-
axis and the Y values along the Y-Axis.
Statistical Measurements
You can perform a number of statistical measurements using the Measurement Tool.
These are:
Table 6-3. Statistical Measurements
Maximum Mean Mean + 3 Std Dev Mean - 3 Std Dev
Minimum RMS RMS AC RMS Accurate
RMS Noise RMS Tran Standard Deviation
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Statistical Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Measurement from the left dropdown list.
3. Select either Maximum, Mean, Mean +3 Std Dev, Mean -3 Std Dev, Minimum, Rms,
Rms AC, RMS Accurate, Rms Noise, Rms Tran, or Standard Dev from the right
dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup section of the Measurement Tool Dialog Box:
• Select one or more desired measurement types in the Measurement Setup area.
Results
The mean value of a waveform is calculated as follows:
Figure 6-10. Mean Value of a Waveform Calculation
where N is the number of data points, and Wj represents the individual data points of the
waveform.
The RMS value of a waveform v is calculated as follows:
Figure 6-11. The RMS AC Calculation:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Duty Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Falltime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Overshoot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Pulse Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Risetime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Settle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Slew Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Undershoot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Delay
This measurement finds and displays the delay between the edges on one or two waveforms
relative to default (automatically calculated) or user-specified topline and baseline levels for
both the measured waveform and the reference waveform.
The delay is calculated as the difference in time between two edges on one or two waveforms.
These two waveforms used for the measurement do not have to be the same waveform type. For
analog waveforms, the delay can be measured at any percentage level relative to the Topline
level and Baseline level of either waveform. For example, to measure the delay from the 50%
level of one waveform to the 90% level of the other waveform. The analog waveforms can be
assumed to be voltage waveforms only.
It is assumed that the rising or falling edge on the reference waveform (#2) causes the
corresponding (rising or falling) edge on the measured waveform (#1) so that the reference edge
occurs prior to the measured edge.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Delay from the right dropdown list in the Measurement Tool.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
This measurement requires two waveforms to be selected and the following specific
information in the Measurement Setup and Measurement Results sections of the
Measurement Tool Dialog Box:
• For Waveform (#1):
a. Specify a Topline value or use the default value. The default value is automatically
calculated.
b. Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the preview button to display the topline or baseline level on the
waveform.
c. Click on the dropdown list next to Delay Level to make your selection of percentage
relative to the Topline and Baseline value.
d. Click to specify the Edge Trigger that the measurement starts from: Either Rising or
Falling Edge (depending on which comes first in the specified measurement
window), Rising Edge, or Falling Edge.
• For Reference Waveform (#2):
a. Specify a reference Topline value or use the default value. The default value is
automatically calculated.
b. Specify a reference Baseline value or use the default value. The default value is
automatically calculated.
c. Click on the dropdown list next to Delay Level to make your selection of percentage
relative to the Topline and Baseline value of reference waveform.
d. The measurement may starts on the reference waveform at the previous edge with
the same polarity (Non-Inverting) as the measured waveform (#1) or the opposite
polarity (Inverting). Click on the dropdown list next to Edge Relationship and make
your selection accordingly.
e. Select Find the Closest Reference Edge to display the reference edge nearest to the
measured edge.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Delay” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Duty Cycle
This measurement finds and displays the duty cycle of a periodic waveform relative to default
(automatic calculated) or user-specified topline and baseline levels. The duty cycle of the
periodic waveform is the ratio of the “high” portion of the waveform to the length of the period.
The high portion of a cycle is the duration of the positive pulse measured at the middle level.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Duty Cycle from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the preview button to display the topline or baseline level on the
specified waveform.
• Click to specify the Edge Trigger that the measurement starts from: Either Rising or
Falling Edge (depending on which comes first in the specified measurement
window), Rising Edge, or Falling Edge.
• To present the multiple measurement results, check either Annotate Waveform with
Result Marker(s) or Plot New Waveform of “Duty Cycle” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Falltime
This measurement finds and displays the falltime between specified upper and lower levels of a
waveform. The falltime is calculated as the difference in time when the waveform falls from the
upper level to the lower level.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Falltime from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement Setup
and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the preview button to display the Topline or Baseline level on the
specified waveform.
• Click on the dropdown lists next to Lower / Upper to make your selection of
percentage relative to the Topline and Baseline value of the specified waveform. The
left dropdown list specifies the Lower level and the right dropdown list specifies the
Upper level, while the following Levels are Relative to the Topline and Baseline
remains checked.
• Clear Levels are Relative to the Topline and Baseline if you want to specify
absolute values as the Lower and Upper levels.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Falltime” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Frequency
This measurement finds and displays the frequency of a periodic waveform relative to default or
specified topline and baseline levels.
The frequency is calculated as the reciprocal of the period (refer to “Period” on page 297).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Frequency from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement Setup
and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the Preview button to display the Topline or Baseline level on the
waveform.
• Click to specify the Edge Trigger that the measurement starts from: Either Rising or
Falling Edge (depending on which comes first in the specified measurement
window), Rising Edge, or Falling Edge.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Frequency” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Overshoot
This measurement finds and displays the overshoot value of a waveform. The overshoot value is
calculated as the difference between the maximum point and the topline level of the waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Overshoot from the right dropdown list in the Measurement Tool.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Tip
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
Note
Overshoot uses the topline or baseline so that there is just one single measure per
upper or lower state. This is to avoid many measures in situations where, for
example, the waveform is ringing before reaching its steady state.
Period
This measurement finds and displays the period of a periodic waveform relative to default or
specified topline and baseline levels.
The period is calculated as the difference in time between two consecutive edges of the
waveform of the same polarity (rising edge to rising edge or falling edge to falling edge).
For analog waveforms, the period is always measured from the middle level of one edge to the
middle level of the next edge of the same polarity. The waveform shape is not necessarily
square.
For digital waveforms, the period is measured from the beginning X value of one edge to the
beginning X value of the next edge of the same polarity.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Period from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
• Click to specify the Edge Trigger that the measurement starts from: Either Rising or
Falling Edge (depending on which comes first in the specified measurement
window), Rising Edge, or Falling Edge.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Period” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Pulse Width
This measurement finds and displays the pulse width of a waveform relative to default or
specified topline and baseline levels.
The pulse width, for a “positive” pulse, is the difference in time between the middle level of a
rising edge and the middle level of the next falling edge on the waveform. For a “negative”
pulse, the pulse is the time difference between the middle level of a falling edge and the middle
level of the next rising edge.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Pulse Width from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement
Setup and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
• Click to specify the Pulse Type from Either Positive or Negative Pulse, Positive
Pulse, or Negative Pulse.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Pulse Width” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Risetime
This measurement finds and displays the risetime between selected upper/lower levels of a
waveform.
The risetime is the difference in time when the waveform rises from the lower level to the upper
level.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
3. Select Risetime from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement Setup
and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Tip
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
• Click on the dropdown lists next to Lower / Upper to make your selection of
percentage relative to the Topline and Baseline value of the specified waveform. The
left dropdown list specifies the Lower level and the right dropdown list specifies the
Upper level, while the following Levels are Relative to the Topline and Baseline
remains checked.
• Clear Levels are Relative to the Topline and Baseline if you want to specify absolute
values as the Lower and Upper levels.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Risetime” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Results
Window.
Settle Time
This measurement finds and displays the settle time of a waveform with respect to default or
specified steady state level and a specified tolerance.
The size of settle band is specified as the tolerance level on either side of steady state level. The
settle time is the last time point that the waveform crosses the settle band, either the positive
level or the negative level of tolerance, from out of bound to inner bound.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Slew Rate
This measurement finds and displays the slew rate of the waveform. The slew rate is the
difference between the upper and lower levels of the waveform divided by the risetime of the
rising edge (or the falltime of the falling edge).
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Slew Rate from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement Setup
and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
Tip
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
• Click on the dropdown lists next to Lower / Upper to make your selection of
percentage relative to the Topline and Baseline value of the specified waveform. The
left dropdown list specifies the Lower level and the right dropdown list specifies the
Upper level, while the following Levels are Relative to the Topline and Baseline
remains checked.
• Clear Levels are Relative to the Topline and Baseline if you want to specify the
Lower and Upper levels as absolute values.
• Click to specify the Edge Trigger that the measurement starts from: Either Rising or
Falling Edge (depending on which comes first in the specified measurement
window), Rising Edge, or Falling Edge.
• To present the multiple measurement results, check either Annotate Waveform(s)
with Result Marker(s) or Plot New Waveform of “Slew Rate” vs “Time”.
To view the other measurement results after the measurement is performed, select
the displayed result marker, right-click the mouse to display the popup menu, and
select Measurement Results from the menu to display the Measurement Result
Window.
Undershoot
This measurement finds and displays the undershoot value of a waveform. The undershoot
value is calculated as the difference between the minimum point and the baseline level of the
waveform.
Procedure
1. Choose Tools > Measurement Tool to open the Measurement Tool Dialog Box, or
right-click on an element or the waveform name in the active graph window.
2. Select Time Domain from the left dropdown list.
3. Select Undershoot from the right dropdown list in the Measurement Tool.
This measurement requires the following specific information in the Measurement Setup
and Measurement Results sections of the Measurement Tool Dialog Box:
• Specify the Y Axis to use if multiple different Y axes are present in the graph
window.
• Specify a Topline value or use the default value. The default value is automatically
calculated.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Time Domain Measurements
• Specify a Baseline value or use the default value. The default value is automatically
calculated.
Note
Click the Preview button to display the Topline or Baseline level on the
specified waveform.
Note
Undershoot uses the baseline or topline so that there is just one single measure
per lower or upper state. This is to avoid many measures in situations where, for
example, the waveform is ringing before reaching its steady state.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Waveform Calculator
Waveform Calculator
The Waveform Calculator enables you to post-process waveforms for advanced analyses or
debugging. The Calculator has a comprehensive graphical interface.
To watch a tutorial that shows you how to use the Waveform Calculator Tcl scripts to calculate
phase noise for a PLL, see the video:
Restriction
wreal waveforms, assertions, and Safe Operating Area assertions are not supported in the
Waveform Calculator.
Note
The Waveform Calculator supports either IEEE notation (the default) or SPICE notation.
You can choose which notation to use. Refer to “Waveform Calculator General Options” on
page 529.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using Expressions in the Waveform Calculator
Prerequisites
• Refer to “Waveform Calculator GUI” on page 113.
Procedure
1. Open the Waveform Calculator application window with the calculator button from
the toolbar or select Tools > Waveform Calculator.
2. Add entries to the Shell panel of the calculator using one of the following methods:
• operations using the buttons (refer to “Using Buttons in the Waveform Calculator”
on page 307)
• functions using the built-in functions (refer to “Using Built-In Functions in the
Waveform Calculator” on page 309)
• functions using user-defined functions (refer to “Using and Editing User-Defined
Functions in the Waveform Calculator” on page 310)
• functions from the Measurement Tool (refer to “Using the Measurement Tool
Functions in the Waveform Calculator” on page 317).
Tip
To view function help, click . You can also use the following command in the
shell window:
help [syntax|description|desc|parameters|params] <functionname>
3. Once you have the desired entries, press Enter (or click the Eval button). The results are
displayed in the Workspace tab of the Chooser panel (along with an automatically
generated Alias) and also in the Shell panel.
You can use a previous result in a new calculation; right-click on a result in the
Workspace tab and select Copy Alias or Copy Value and then Paste this into a new
expression.
4. If the results include a waveform, click the plot icon to plot the resulting waveform
in the waveform viewer display. You need to save any resulting waveforms. (Refer to
“Saving Post-Processed Waveforms” for more information).
5. (Optional) If you want to store an expression as a Tcl file for later use, click the Store
button. This opens the Create Script dialog box. Refer to Creating a Tcl Script from the
Waveform Calculator History for more information on how to use this dialog box. You
can open expressions previously stored in a Tcl file using the Recall button. Restored
expressions are listed in the History tab of the Chooser panel.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Waveform Calculator Shell Commands
6. (Optional) You can copy or evaluate any expression listed in the History tab of the
Chooser panel. Right-click on an expression in the History tab and select Copy or
Evaluate.
help
help [syntax|description|desc|parameters|params|return] <functionname>
Displays the help of a function in the shell. Use the options to limit the displayed information
for the function to either Syntax, Description, Parameters or Return. For example:
doc
doc <functionname>
search
search [all|syntax|name|title|description|desc|parameters|params|return]
<string>
Searches the function help documentation. Use the options to limit the search to any
combination of function fields. For example:
Note
The all option does not return the parameters (to reduce the size of the results). To return
everything including the parameters, use all|params.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using Buttons in the Waveform Calculator
Tip
To display the function help for one of the search results, hold down the Ctrl key, mouse
over the function name to highlight it and click the left mouse button.
history
history
Displays all entered expressions, and a number associated with each expression.
history N
Tip
To recall an expression from the history, enter !N where N is the number of the expression.
clear
Clears the calculator shell panel.
clear history
Clears the user history.
clear workspace
Clears the user workspace.
clear all
Clears the calculator shell, history and workspace.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using Buttons in the Waveform Calculator
2. If the Button panel is not shown, click the button. Select the function category from
the dropdown list. The Button panel changes based on the level you choose from the
dropdown list:
• Complex Buttons
• Jitter Buttons
• Logic Buttons
• Phase Noise Buttons
• RF Buttons
• Signal Processing Buttons
• Statistical Buttons
• Trigonometric Buttons
Tip
The Button panel does not include a button for every function or operator. If a button
is not available for a particular function, double-click the function from the
Functions list of the Chooser panel. Refer to “Using Built-In Functions in the
Waveform Calculator” on page 309.
3. Click on a button in the Button panel. One of the following actions occurs, depending on
the particular button:
• A dialog box is displayed, specifically designed for the function, with an associated
Help button. Complete the required fields and click OK to evaluate the function.
• The function appears in the Shell panel. Place the cursor in between the parentheses
of the function and enter the required parameter(s). To specify a waveform, do one
of the following:
Right-Click Method
o Select the waveform or waveform label in the active graph window.
o Right-click to display the Waveform Popup Menu. From the Waveform popup
menu, select Copy.
o Place the cursor in between the parentheses of the function in the Shell panel,
right-click to display the popup menu, and select Paste to add the waveform
name in between the parentheses of the function.
Drag and Drop Method
o Select the waveform label in the active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using Built-In Functions in the Waveform Calculator
o Hold the left mouse button down, drag the label between the parentheses of the
function in the Shell panel, and release the mouse button.
Tip
If you hold down Ctrl, move the cursor over a function name in the Shell panel
until it is highlighted and click the left mouse button, a panel appears showing
the parameters for the selected function for easy data entry.
Press Enter (or click the Eval button) to evaluate the function.
Tip
If you press Enter to perform a search, the search is added to the search history list.
Click on the icon to access the search history. The history maintains up to ten
entries. Select the Clear History option to reset the history.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using and Editing User-Defined Functions in the Waveform Calculator
3. Double-click on a function from the Functions list of the Chooser panel. The Button
panel (if visible) is replaced by a panel showing the parameters for the selected function
for easy data entry.
Tip
The default values for each of the parameter are shown in the fields as gray text.
Where a parameter has several pre-defined values, a dropdown menu listing the
available options is displayed to the right of the field.
Note
Some functions have a dedicated dialog box that provides additional options tailored
specifically to the function. In this case a button, Advanced, is visible. Click
Advanced, complete the required fields, and then click OK.
4. Complete the required fields and click OK to add the command into the Shell panel.
You can also edit the function parameters directly in the Shell panel. Press Enter (or
click the Eval button) to evaluate the function.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using and Editing User-Defined Functions in the Waveform Calculator
The waveform calculator lists these functions under User-Defined Functions in the Functions
list of the Chooser panel.
Tip
It is possible to load user-defined functions automatically. See the Load User Extension
Files at Startup option in “Waveform Calculator General Options”.
Note
Some example Tcl scripts that provide equivalent functions to legacy AFS WaveCrave
CalcPAD scripts are available in the EZwave examples directory. Refer to “Waveform
Calculator Example Tcl Scripts” on page 1154.
To watch a tutorial that shows you how to use the Waveform Calculator Tcl scripts to calculate
phase noise for a PLL, see the video:
Procedure
1. Open the Waveform Calculator dialog box with the Calculator button from the
toolbar or select Tools > Waveform Calculator.
2. On the Waveform Calculator dialog box choose File > Open Custom File Function. A
browser window displays.
3. Select the desired Tcl file. The waveform calculator lists the function under User-
Defined Functions in the Functions list.
4. Use the user-defined function in the same manner as a built-in function. Refer to “Using
Built-In Functions in the Waveform Calculator” on page 309.
5. To search for a specific function, type the first few letters of the function you are looking
for into the Search text field. The function lists automatically expand to display any
functions that match your typing.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Creating a Tcl Script from the Waveform Calculator History
Tip
If you press Enter to perform a search, the search is added to the search history list.
Click on the icon to access the search history. The history maintains up to ten
entries. Select the Clear History option to reset the history.
6. You can view or edit a user-defined function. Right-click on the function and select Edit
to access the TCL File Viewer. Refer to the “Tcl File Viewer Dialog Box” on page 632.
7. You can right-click on a user-defined function and select Edit In System Editor if you
want to use a third-party editor tool (Linux only), specified using the AMS_EDITOR
system variable.
8. You can right-click on a user-defined function and select Update UDF Help to open the
Update UDF Help dialog box to add help documentation to the function. Refer to
“Updating User-Defined Function Help Documentation” on page 314.
Tip
To load a subset of the available expressions, select the required expressions in the
History tab, right click and select Create Script.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Creating a Tcl Script from the Waveform Calculator History
2. (Optional) You can choose the expressions to use in the script by selecting them in the
Save column of the table. Use the Select all expressions checkbox to select or deselect
all of the listed expressions.
3. (Optional) Click the Add explicit return checkbox and select the required return value
from the dropdown menu. A line to return the specified value is added to the script, and
shown in the Export Preview panel.
4. (Optional) To make the database name generic, select Set generic database name from
the Use template dropdown menu. The database name associated with each waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Updating User-Defined Function Help Documentation
is replaced by “sim” and the script may then be used with any database that contains the
same waveform names.
5. (Optional) To make the script generic, select Set waveforms as parameters from the
Use template dropdown menu.
6. (Optional) To be able to run the script on a series of databases, select Generate
database loop from the Use template dropdown menu. The script is modified and a
loop is inserted into the code to run the script on a list of databases. The default list
contains the names of all databases used in the selected expressions.
7. (Optional) Click the Documentation checkbox and specify the Proc help text (a short
description) and a (longer) Description for the Tcl Script. You can also document the
return value; choose the type from the Return dropdown menu (for example waveform,
double) and enter a description for the return value. If you have selected Set waveforms
as parameters from the Use template dropdown menu, the parameters appear in the
Parameter column of the table, where you can also edit their names. The Default value
column of the table initially lists the default waveforms assigned to each parameter, but
may be edited. You can also add a description for each parameter in the Help column.
The details are added to the script in the Export Preview panel.
Tip
When you subsequently reload this script, using File > Open Custom Function File
or the Recall button, it appears in the User-Defined Functions section of the
Functions list and the documentation you have entered is visible when you view the
Function Help .
8. In the Proc name field, enter the name for the procedure.
Tip
If you do not want the procedure to appear in the Waveform Calculator tree, prefix
the procedure name with two underscores “__”.
9. In the File path field, specify a path and filename for the new script. Alternatively, click
to open the Save Script dialog box. Browse to the required path and enter a File
Name, and then click Save to create the new file. If you update the script, click the Save
Script button on the Create Script dialog box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Updating User-Defined Function Help Documentation
Procedure
1. On the Waveform Calculator dialog box, right-click on the required user-defined
function in the Functions list, and select Update UDF Help.
The Update UDF Help dialog box opens, with the script displayed in the Export Preview
panel.
Figure 6-16. Update UDF Help Dialog Box
2. Specify the Proc help text (a short description) and a (longer) Description for the user-
defined function. You can also document the return value; choose the type from the
Return dropdown menu (for example waveform, double) and enter a Description for the
return value. The details are added to the script in the Export Preview panel.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Updating User-Defined Function Help Documentation
3. (Optional) Specify a Name, Type (using the dropdown menu), Default value,
Description and Possible values for each of the parameters listed in the Parameters
dropdown menu. The details are added to the script in the Export Preview panel.
4. Click Save Updated UDF to save the help documentation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
Note
wreal waveforms and assertions are not supported in the waveform calculator.
Note
All of the parameters have a corresponding field text entry, pulldown list, check box, or
radio button in the Measurement Tool Dialog Box.
Examples
The following are examples:
risetime(wf("<tutorial/Time-Domain_Results>v_middle"))
If only the waveform name is specified in the function, the application uses all the default
parameters.
risetime(wf("<tutorial/Time-Domain_Results>v_middle"), baseline=0,
topline=5.0)
All the default parameters are used except those that are specified. The parameters can be in any
order, and the reference levels can be either percentages or values.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
risetime(wf("<tutorial/Time-Domain_Results>v_middle"), "Automatic", 0,
10%, 50%, 90%, "Begin", "End", "WF", "parameter_name")
A complete list of parameter values are specified. Without the parameter identifier specified, all
the parameters have to be in the right sequence.
Description
The Measurement Tool functions are:
• average
average(wf, x_start = "Begin", x_end = "End",
option = "Value")
• bandpass
bandpass(wf, topline = "Automatic", offset = -3,
x_start = "Begin", x_end = "End", option = "Value")
• crossing
crossing(wf, ylevel = "Automatic",
slopetrigger = "Either",
x_start = "Begin", x_end = "End", option = "WF",
param = "parameter_name")
• dchysteresis
dchysteresis(wf, ylevel = "Automatic",
measure = "Width | Left | Right",
x_start = "Begin", x_end = "End",
option = "WF | VALUE | ANNOTATION",
param = "parameter_name")
• delay
delay(wf1, wf2, topline1 = "Automatic", baseline1 = "Automatic",
dlev1 = "50%", topline2 = "Automatic", baseline2 = "Automatic",
dlev2 = "50%", edgetrigger="Either", inverting = 0, closestedge = 0,
x_start = "Begin", x_end = "End", option = "WF",
param = "parameter_name")
• duty cycle
dutycycle(wf, topline = "Automatic", baseline = "Automatic",
edgetrigger="Either", x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
• eye height
eyeheight(wf)
• eye height at X
eyeheightatx(wf, x_value, {"inner"|"outer"})
• eye width
eyewidth(wf)
• eye width at Y
eyewidthaty(wf, y_value, {"inner"|"outer"})
• fall time
falltime(wf, topline = "Automatic", baseline = "Automatic",
low = "10%", mid = "50%", up = "90%", x_start = "Begin",
x_end = "End", option = "WF", param = "parameter_name",
fall = "all")
• frequency
frequency(wf, topline = "Automatic", baseline = "Automatic",
edgetrigger="Either", x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• gain margin
gainmargin(wf, option = "Value")
• intersection
intersection(wf1, wf2, slopetrigger = "Either", inverting = 0,
x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• local max
localmax(wf, x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• local min
localmin(wf, x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• maximum
max(wf, x_value="no", x_start = "Begin", x_end = "End",
option = "Value")
• mean
mean(wf, x_start = "Begin", x_end = "End", option = "Value")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
• minimum
min(wf, x_value="no", x_start = "Begin", x_end = "End",
option = "Value")
• overshoot
overshoot(wf, topline = "Automatic", baseline = "Automatic",
x_start = "Begin", x_end = "End", option = "WF",
param = "parameter_name", overshoot = "all")
• peak to peak
peaktopeak(wf, x_start = "Begin", x_end ="End", x_value = "no",
option = "Value")
• period
period(wf, topline = "Automatic", baseline = "Automatic",
edgetrigger="Either", x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• phase margin
phasemargin(wf, option = "Value")
• pulse width
pulsewidth(wf, topline = "Automatic", baseline = "Automatic",
pulsetype="Either", x_start = "Begin", x_end = "End",
option = "WF", param = "parameter_name")
• rise time
risetime(wf, topline = "Automatic", baseline = "Automatic",
low = "10%", mid = "50%", up = "90%", x_start = "Begin",
x_end = "End", option = "WF", param = "parameter_name",
rise = "all")
• rms
rms(wf, x_start = "Begin", x_end = "End", option = "Value")
• rms ac
rms_ac(wf, x_start = "Begin", x_end = "End", option = "Value")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
• rms noise
rms_noise(wf, x_start = "Begin", x_end = "End", option = "Value")
• rms tran
rms_tran(wf, x_start = "Begin", x_end = "End", option = "Value")
• settle time
settletime(wf, steadystate = "Automatic", tolerance = "5%",
x_start = "Begin", x_end = "End", option = "Value")
• slew rate
slewrate(wf, topline = "Automatic", baseline = "Automatic",
low = "10%", mid = "50%", up = "90%", edgetrigger="Either",
x_start = "Begin", x_end = "End", option = "WF",
param = "parameter_name", slewrate = "all")
• slope
slope(wf, x, slopetype = "None", option = "Value")
• slope intersect
slopeintersect(wf1, wf2, x1, x2, option = "Value")
• standard deviation
stddev(wf, x_start = "Begin", x_end = "End", option = "Value")
• undershoot
undershoot(wf, topline = "Automatic", baseline = "Automatic",
x_start = "Begin", x_end = "End", option = "WF",
param = "parameter_name", undershoot = "all")
• y value
yval(wf, x1, option = "Value")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
Note
If the occurrence of the result is anything other than “all” (refer to “Choosing the
Occurrence of the Result” on page 323), option=“VALUE” is forced.
• param
(Optional) Used with option=“WF”. Specifies the simulation parameter to be used to
generate the result waveform.
For compound waveforms the parameters can be seen in the Parameter Table.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Measurement Tool Functions in the Waveform Calculator
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Built-In Functions
The Waveform Calculator contains a number of built-in functions.
The built-in functions are briefly summarized in the following sections. See the Appendix
Waveform Calculator Functions for more details on the functions.
In the Waveform Calculator, select the Functions tab of the Chooser panel to view the available
built-in functions.
Tip
To view detailed information directly in the Waveform Calculator about each function,
including the syntax and parameters, choose View > Function Help.
The following categories are available from the dropdown list in the Waveform Calculator:
Complex Functions
The Waveform Calculator contains a number of built-in complex functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Jitter Functions
The Waveform Calculator contains a number of built-in jitter functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Logic Functions
The Waveform Calculator contains a number of built-in logic functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Mathematical Functions
The Waveform Calculator contains a number of built-in mathematical functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Measurement Functions
The Waveform Calculator contains a number of built-in measurement functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Miscellaneous Functions
The Waveform Calculator contains a number of built-in miscellaneous functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
RF Functions
The Waveform Calculator contains a number of built-in RF functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Statistical Functions
The Waveform Calculator contains a number of built-in statistical functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Trigonometric Functions
The Waveform Calculator contains a number of built-in trigonometric functions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Built-In Functions
Special Functions
The Waveform Calculator contains a number of special functions.
Note
Waveform Calculator Special functions do not appear in the Waveform Calculator
Functions list but may be used for scripting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Calculator Buttons
You can use the dropdown list in the Waveform Calculator toolbar to select different types of
calculator buttons to display.
Listed in the following tables are the categories available and their associated buttons. These
categories are available from the dropdown list in the Waveform Calculator:
Complex Buttons
The Complex dropdown list item changes the Waveform Calculator buttons to functions and
operators for complex number operations/calculations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Jitter Buttons
The Jitter dropdown list item changes the Waveform Calculator buttons to functions and
operators for jitter calculations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Logical Buttons
The Logic dropdown list item changes the Waveform Calculator buttons to functions and
operators for logic number operations/calculations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Long-term Jitter Opens the Jitter Tool Dialog Box with the Phase Noise
Jitter option set to Long-term Jitter.
x%y Returns the modulus of a waveform. The mod of a
waveform is calculated as “x % y” is the remainder of
the division x/y for integers x and y.
Period Jitter Opens the Jitter Tool Dialog Box with the Phase Noise
Jitter option set to Period Jitter.
Plot Plots the last result waveform to the active graph
window. The button is active only if the expression
result is a waveform.
Recall Enables you to restore the results of a set of expressions
saved to a Tcl file with the Store command.
Store Enables you to save a set of selected expressions in a
Tcl file that can be recalled later.
sqr() Returns the squared scalar or waveform. The square of
the waveform is calculated as x2 = x * x
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
RF Buttons
The RF dropdown list item changes the Waveform Calculator buttons to functions and
operators for RF operations/calculations.
evmber() Opens the Error Vector Magnitude and Bit Error Rate
Dialog Box. Calculates error vector magnitude and bit
error ratio from a set of constellation diagrams.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Statistical Buttons
The Statistical dropdown list item changes the Waveform Calculator buttons to functions and
operators for statistical number operations/calculations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Trigonometric Buttons
The Trigonometric dropdown list item changes the Waveform Calculator buttons to functions
and operators for trigonometric operations/calculations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Calculator Buttons
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Tool
Jitter Tool
The Jitter Tool enables you to analyze clock jitter between any digital and analog target signal
with respect to a reference period or frequency, or to calculate phase noise jitter.
The jitter calculation is represented either as a waveform, which shows the jitter evaluation in
time, or as a single value. In addition, you can optionally plot a jitter histogram and the
following jitter statistics: max, min, mean, standard deviation, and peak-to-peak.
The tool supports the analysis of periodic signals having the sufficient number of cycles
necessary for high jitter calculation precision. In this context, “cycle” refers to one complete
oscillation of a repeating waveform, and “period” refers to the time taken for one complete
cycle of a repeating waveform.
Jitter can be measured against the rising, falling, or both edges of a reference signal. Time
domain waveforms are the targeted waveforms.
Tip
If a jitter result waveform with the given name is already plotted in the active graph
window and you leave the output waveform name unchanged, the jitter result
waveform will be updated accordingly to the jitter setup options when you click Apply
or OK.
5. Select the Source Waveform(s) to analyze. You drag waveforms from the active graph
window into the Waveform List area, or you can select them and click the Add Selected
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Jitter Tool
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
The following Time-Domain and Phase Noise measurement types are available:
• Case 1. Reference period is not set—calculation of the difference between the actual and
average periods of the source waveform:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
• Case 2. Reference period is set—calculation of the difference between the actual source
and reference periods:
where:
The Period Jitter RMS value is displayed over the resulting waveform.
• Case 1:
• Case 2:
where:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
Note
The standard deviation measurement is different from the jitter RMS value
measurement (although these values can be very close) as the standard deviation
measurement is applied to the jitter result waveform, which already represents the delta
values between periods. The period jitter RMS value is calculated using the period
values (and not the deltas between periods) of the source waveform, and the reference
period, if present.
where:
• is the ith difference (delta) between the periods, which is equal to the (see
formulas above)
• is the Period Jitter of the Kth cycle (see above for formula)
• i is the index of the Period Jitter value for the current cycle.
Figure 6-17. Example of the Period Jitter Waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
Figure 6-18. Example of the Period Jitter Waveform with Applied Statistical
Measurements
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
• Case 1. Reference period is not set—calculation of the difference between the actual and
average half-periods of the source waveform:
• Case 2. Reference period is set—calculation of the difference between the actual source
and reference waveform half-periods:
where:
The Half-Period Jitter RMS value is displayed over the resulting waveform.
• Case 1:
• Case 2:
where:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
where:
• is the ith difference (delta) between the half-periods, which is equal to the
(see formulas above)
• is the Half-period Jitter of the Kth cycle (see above for formula)
• i is the index of the Half-period Jitter value for the current cycle.
• Reference frequency is not set—calculation of the difference between the actual and
average frequencies of the source waveform:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
where:
The Frequency Jitter RMS value is displayed over the result waveform.
• Case 1:
• Case 2:
where:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
where:
• DFi is the ith difference (delta) between frequencies, which is equal to (see
formulas above)
• is the Frequency Jitter value for the Kth cycle (see above for the formula)
• K is the current waveform cycle index, which participates in the calculation:
• i is the index of the Frequency Jitter value for the current cycle.
where:
• is the N-cycle Jitter for the Kth adjacent N-cycle samples pair
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
• K is the current N-cycle sample pair index, which participates in the calculation:
The cycle-to-cycle jitter RMS value is displayed over the result waveform.
where:
where:
• ΔNCi is the ith difference (delta) between the duration of the adjacent N-cycle samples,
which is equal to the (see formulas above)
• is the N-cycle Jitter of the Kth adjacent N-cycle samples pair (see above for
formula)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
• K is the current N-cycle sample pair index, which participates in the calculation:
• i is the index of the N-cycle Jitter value for the current N-cycle samples pair.
where:
• N_period jitter RMSN is the N-period Jitter RMS value for the N number of cycles in the
sample
• N is the current number of cycles in the N-cycle sample
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
where:
The TIE Jitter RMS value is displayed over the result waveform.
where:
• TIE jitter RMS is the Time Interval Error Jitter RMS value
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Jitter Measurement Types
where:
• DTIEi is the ith difference between edges, which is equal to (see formulas
above)
• is the average difference between edges (the average TIE jitter value)
• N is the total number of the calculated differences between edges (the total number of
TIE jitter values)
• is the TIE jitter for the Kth edge (see above for the formula)
• K is the index of the edge, which participates in the TIE jitter calculation:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Extract Outputs from Database Tool
Prerequisites
• You must have a database file containing the results of the simulation upon which you
want to run the extract.
• You must have a netlist (.cir/.ckt) file containing the .extract or .meas statements to
apply to the simulation results.
Procedure
1. Choose Tools > Extract The Extract Outputs From Database Dialog Box opens.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Using the Extract Outputs from Database Tool
2. Specify the database upon which to perform the extract. Either select an open database
by clicking the down-arrow to the right of the Select Source Database field, or click the
open icon ( ) and browse to the database file.
3. The Select Netlist field defaults to the netlist with the same name as the database file in
the same directory. If you want to run the extract with a different netlist, either edit the
path or browse to the file.
4. The AEX Output File defaults to <netlist_name>.aex. If you want to specify a
different file to which to write the values from the new extract run, either edit the path or
browse to the file.
5. By default, waveforms are not generated from the extracted values. To generate them,
select the Extract Waveforms option. The Output Wdb File field defaults to a new
.wdb file named according to the original simulation filename suffixed with _extract, but
this can be overridden.
6. If required, specify any arguments to pass to Eldo in the Eldo Extra Arguments field.
7. Click Run. The simulation runs, with the progress displayed in the transcript window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Signal Processing Functions
• The input waveforms must be the same. In the Eldo simulator, you can display the
waveform it uses for the FFT calculation by setting display_input = 1 in the .optfour
command.
• The same set of parameters and options must be used for both FFT calculations.
Procedure
1. Open the Fast Fourier Transform Tool Dialog Box by one of the following methods:
• Choose Tools > FFT
or
• Access the Fast Fourier Transform Tool Dialog Box through the Waveform
Calculator:
i. Click on the Waveform Calculator icon, or select it from the Tools menu.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Fast Fourier Transform (FFT) Function
Tip
You can perform an FFT on a complex waveforms. This is useful when the negative
and positive frequency responses are not symmetrical and hence they need be taken
into account individually. This can happen when designing data converters for example.
3. In the Parameter Setup area, choose one of the FFT input parameters that you want to be
calculated automatically using the Input Method dropdown list. Then specify the
remaining input parameters. These parameters give information about the sampling of
the input data and the range of the input signal which is used for the computation. Click
the Default button to restore the default values.
The range of the input signal can be modified using the following input parameters:
• Start/Stop Time — specify the start and stop times for the computation
• Points /Frequency — specify the number of sampling points and the sampling
frequency for the computation.
Note
The parameters above satisfy the following equation:
((Points-1)/ Frequency) = Stop Time - Start Time
If the number of points is set to a factor of 2n (n = 2, 3, ...), the FFT computation is more
efficient.
Tip
You can enter expressions into any numeric fields. For example, to convert a 1µs
period to a frequency, enter the expression 1/1u into the Sampling Frequency field.
• Select one of the following options for FFT setup. The default global value can be
set via the Window Shape option in the Waveform Calculation Options:
o Symmetric - Standard FFT setup.
For Symmetric windows, the input parameters satisfy the following equation:
((points-1)/frequency) = stop_time - start_time
o Periodic - FFT setup is enhanced for spectral analysis of periodic signals.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Inverse Fast Fourier Transform (IFFT) Function
For Periodic windows, the input parameters satisfy the following equation:
((points)/frequency) = stop_time - start_time
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the
Periodic option, unless EZwave’s FFT is executed on an FFT_INPUT
waveform. In this case, Eldo has already considered the periodicity of the input
signal.
4. For additional settings, refer to the Fast Fourier Transform Tool Dialog Box section for
a full description of the settings. The following are some of the settings:
• Improve FFT Results — Select Normalize Results to divide all real and imaginary
parts of the result by (Number of Points)/2, except for the first point, which is
divided by Number of Points.
• Windowing — Select the windowing type to specify the method for computing the
sampled data. Select the windowing method from the dropdown list. The default
option is Rectangular. Certain windowing methods require additional input, enter
the appropriate value in the box. Refer to “Windowing Transforms” on page 385 for
details on the options available.
• Sampling — Use Data Points should be selected as default if the input data has
equidistant Time Steps; otherwise Uniform Sampling should be selected.
• Data Padding — Select Pad with Zeros to enable padding with zeros.
5. (Optional) Select File > Save Configuration at the top of the Fast Fourier Transform
Tool dialog box if you want to save the FFT configuration. All parameter of the FFT
Tool GUI are saved, except the source waveform and the output waveform names. You
can subsequently load a saved FFT configuration by selecting File > Open
Configuration.
6. Click Apply. If problems in the computation occur, a relevant error or warning message
is displayed. The transformation is calculated based on the specified parameters and a
new graph window is opened and the results are graphed.
Tip
If you opened the Fast Fourier Transform Dialog Box by using the Waveform
Calculator fft button and no results are displayed, click the Eval button and then the
Plot button.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Inverse Fast Fourier Transform (IFFT) Function
Procedure
1. To perform an Inverse Fast Fourier Transform:
2. Invoke the Waveform Calculator by doing the following:
a. Click on the Waveform Calculator icon, or select it from the Tools menu.
b. Select Signal Processing from the dropdown list.
c. Click the IFFT button on the calculator keypad to open the Inverse Fast Fourier
Transform Dialog Box. This has similar input parameters options as used on the Fast
Fourier Transform Tool Dialog Box.
3. Specify a source wave in the Source Waveform field. Select a wave from an open graph
window and use the Add Selected Waveforms icon to add it to the drop down list.
Use the Clear Waveform List icon to remove all waveforms from the list.
The Parameter Setup controls are populated with a default set of parameters. These
parameters reflect the sampling of the input data and the range of the input signal which
is used for the computation.
4. In the Parameter Setup area, choose one of the IFFT input parameters that you want to
be calculated automatically using the Input Method dropdown list. Then specify the
remaining input parameters. These parameters give information about the sampling of
the input data and the range of the input signal which is used for the computation. Click
the Default button to restore the default values.
The range of the input signal can be modified using the following input parameters:
• Start/Stop Freq. — specify the start and stop frequencies for the computation
• Points /Time — specify the number of sampling points and the sampling time for the
computation.
Note
An IFFT analysis always creates results with an even number of points. Be aware
that when calculating results in conjunction with an FFT analysis, an even number of
points with the FFT must also be used if the following condition is to be fulfilled: IFFT
(FFT(signal)) = signal
5. Click the Improve IFFT Results checkbox to display optional controls to set the
sampling method:
• Use Data Points should be used if the input data has equidistant Time Steps;
otherwise, use Uniform Sampling. Select Cubic Spline to compute interpolated
points using the Cubic Spline method rather than using linear interpolation.
• Data Padding — Select Pad with Zeros to pad the input data with zeros, before or
after the input data set
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Spectrum Measurement Function
6. Click Apply. If problems in the computation occur, a relevant error or warning message
is displayed.
7. Return to the Waveform Calculator to evaluate and plot the results of the transformation.
a. Click the Eval button. The transformation will now be calculated based on the
specified parameters.
8. Click the Plot button to plot the results. A new graph window is opened and the results
are graphed.
i. Click on the Waveform Calculator icon, or select it from the Tools menu.
3. In the FFT Setup area, choose one of the FFT input parameters that you want to be
calculated automatically using the Input Method dropdown list. Then specify the
remaining input parameters. These parameters give information about the sampling of
the input data and the range of the input signal which is used for the computation. Click
the Default button to restore the default values.
The range of the input signal can be modified using the following input parameters:
• Start/Stop Time — specify the start and stop times for the computation
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Spectrum Measurement Function
• Points /Frequency — specify the number of sampling points and the sampling
frequency for the computation.
Note
The parameters above satisfy the following equation:
((Points-1)/ Frequency) = Stop Time - Start Time
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Spectrum Measurement Function
Tip
If the input is a compound waveform, a new entry is created in the Measurement
Results tab for each waveform contained in the compound.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Autocorrelation Function and Power Spectral Density
Correlogram Method
This method uses the FFT directly to compute estimates of the autocorrelation function Rxx(n)
Nauto lags, where 2 x Nauto is the size of the transform used.
For this, the program divides the sampled input data set into K = (Nbpts + Nauto) / (Nauto + 1)
sections and the FFT routine (2 x (Nauto -1) points) is performed once on each section with the
appropriate input data. The autocorrelation result is then computed by performing an Inverse
FFT (2 x (Nauto -1) points) after accumulating the partial results.
At this point, a spectral estimate with any desired degree of frequency resolution can be
obtained by augmenting the just computed R(n) or the first Ncorr ≤ Nauto values with zeros and
performing a single FFT (2 x (Npsd - 1) points).
In order to avoid the undesired effects of truncating data records in the PSD result, it is possible
to apply different kinds of smoothing windows on the autocorrelation result.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Convolution Function
Periodogram Method
This method uses a sliding FFT to compute estimates of the PSD directly rather than estimating
an autocorrelation function as in the Correlation method.
The given sequence X(m), m=0, ..., Nbpts – 1 is first decomposed into subsequences Xr(m) of
length Nsect with overlapping D = Nsect/2. Each of them is shifted by the arithmetic mean of all
the data.1
On each section, a window is then applied and the PSD is computed (FFT with 2 x (Nauto – 1)
points) as a weighted sum of their periodograms (= | XW r(k)|2 energy_of_window).
The inverse FFT (2 x (Nauto – 1) points) is now used to estimate the autocorrelation function
from the PSD result.
If the user wishes to have more values for the PSD result than computed by default, an
additional FFT (2 x (Npsd – 1) points) is executed on a sequence, generated by the first Ncorr
autocorrelation values and a suitable number of zeros.
Convolution Function
The convolution function calculates the discrete linear convolution between two data sets.
1. The subtraction of xmean is implemented in order that the autocorrelation result is centered around y = 0.
This useful when using non-rectangular waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Convolution Function
For two finite data sequences, x(n), n = 0, … , N – 1 and h(n), n = 0, … , M – 1, the discrete
linear convolution x (n) · h (n) is defined as follows:
For signals x(n), h(n) which are periodic with period N, the discrete FFT of their periodic
convolution is equal to the multiplication of the separate FFT results. This relation is called the
Discrete Convolution Theorem. Using zero padding of x(n) and h(n) to make circular
convolution yields the same result as linear convolution. The following method can then be
applied for computing the linear convolutions of two finite data sequences:
x(n), n = 0, … , N – 1 and
h(n), n = 0, … , M – 1.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Harmonic Distortion Function
The THD of a signal is the ratio of the sum of the powers of all harmonic frequencies above the
fundamental frequency to the power of the fundamental frequency. This value is expressed in
dB.
The harmonics inside the interval [Fmin, Fmax] are computed as follows:
where:
where the sum is computed over all multiples (equal or greater than 2) of the fundamental
frequency in the specified band. If these values are not identical to the sampled data values, then
they are computed by interpolation.
Note
Each harmonic frequency is a multiple of the fundamental frequency. Only those harmonic
frequencies above the fundamental frequency and inside the [fmin, fmax] interval are used
for the THD computation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Window Shapes
Note
Only a complex waveform or a waveform representing a Gain is accepted as a valid source
waveform.
Tip
See also snr and Signal to Noise Ratio Dialog Box.
In digital signal analysis, it is often of interest to compute, for a signal composed of the sum of
noisy sinusoids, the following relationship:
where:
The calculation takes into account harmonics (default is 6, signal + 5 harmonics). You can also
control the sampling frequency of the source waveform to manage harmonic folding and
aliasing (default is none).
Window Shapes
Two window shapes, Symmetric and Periodic, are available,
• Symmetric
The default.
For symmetric windows, the input parameters satisfy the following equation:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Windowing Transforms
• Periodic
Setup is enhanced for spectral analysis of periodic signals.
For periodic windows, the input parameters satisfy the following equation
You can control the default window shape setting for FFT windows and functions using the
Waveform Calculation Options.
Windowing Transforms
In order to estimate the power density spectrum of a random signal, only a finite part of the
signal is used in practice even if the signal is of infinite duration. In order to reduce the
undesirable effects of truncating the data records (leakage), it is convenient to apply different
types of windows that gradually taper the data near the ends of the record, thereby avoiding the
abrupt truncation of a rectangular window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Windowing Transforms
For a record consisting of N points indexed from 0 to N - 1, EZwave works with the following
equations:
• Bartlett Window
• Blackman Window
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Windowing Transforms
• Blackman-Harris Window
• Dolph-Chebyshev Window
where:
• Hamming Window
• Hanning Window
Note
The second half of the Hanning window, M ≤ i ≤ N where M = N/2 for even N and M =
(N+1)/2 for odd N, is obtained by flipping the first half around M.
Symmetric window shapes are preferred when using a Hanning window in FIR filter design.
Periodic window shapes are preferred when using a Hanning window in spectral analysis. This
is because the Discrete Fourier Transform assumes periodic extension of the input vector. A
periodic Hanning window is obtained by constructing a symmetric window and removing the
last sample.
• Kaiser Window
Where:
ß=Constant which specifies a frequency trade-off between the peak height of the side lobe
ripples and the width of energy in the main lobe.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Post-Processing
Windowing Transforms
• Klein Window
When:
and
Note
w(i) has a minimum amplitude moment and minimizes the truncation error in high
resolution computations.
• Parzen Window
• Rectangular Window
• Welch Window
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 7
Save and Output Data
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Saving and Restoring Graph Windows
Note
New waveforms computed from the Measurement Tool or using measurement
functions from the Waveform Calculator are not currently stored in the TCL or SWD
formats.
Note
If you have configured your save options to not display this dialog box, the graph
window is saved according to the options you have configured.
4. In the text area, type the name you want for the saved window, using .swd as the
extension, or click on the open folder icon to browse for the file you want to save. If the
save file already exists, select Overwrite existing file.
5. Click Save to save the database and close the dialog box.
6. The system will save the file and also write a new Mentor Graphics database (.wdb) file
with the same name as the .swd file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Restoring Graph Windows
7. Do this for each window that you wish to save, issuing a new name for each window, or
save all open windows at once.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Printing Graph Windows
You can print the contents of a single graph window, all visible graph windows, or all
open graph windows by performing the following:
2. If you want to print a single graph window, make that graph window the active one.
3. Choose File > Print. This brings up the Print dialog box.
4. Select the options for your print job.
5. Click Page Setup to set other options for the print job. On the Page Setup dialog box
you can choose to include the database title, and information such as Time and Date
(selecting Show Actual Values in Graph Window replaces the Time and Date with
actual values). You can also include your User Name and the Machine Name if required.
These will be displayed on all windows. You can select a color scheme for the print (the
Documentation option is optimized for color printing or exporting). Click OK to close
the Page Setup dialog box.
6. Click OK on the Print dialog box to print the graph windows.
Note
If you are having difficulty using /usr/sbin/lpc to print from a Linux system, refer to
“Linux Printing Issues” on page 1178.
Note
You can print to PDF by choosing PDF Writer in the Printer field. See “Exporting
Graph Windows” on page 393 for more instructions.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Exporting Graph Windows
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Using a Different PDF Driver
Procedure
1. Choose File > Print.
2. From the Print dialog box, select PDF Writer from the Printer menu.
3. Edit the Command field.
Figure 7-1. Editing the Command: Field
• %PSfile
This parameter specifies the temporary .ps file.
• %PDFfile
This parameter specifies the destination .pdf file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Exporting Graph Windows as an Image
5. In the options field, select the resolution for the output file. You can select Screen,
Printer Low, Printer High or Custom. For Custom, you can specify the required width
and, if Lock aspect ratio is unchecked, the height of the image. Additionally, for JPEG
images, you can select the image quality by using the slider bar or by entering the
percentage into the text field.
6. Select whether you want to export only the Active Window or All Visible Windows. If
you are choosing to export all visible windows, the windows must be tiled and visible.
7. Click Page Setup to set other options for the image output. On the Page Setup dialog
box you can choose to include the database title, and information such as Time and Date
(selecting Show Actual Values in Graph Window replaces the Time and Date with
actual values). You can also include your User Name and the Machine Name if required.
These will be displayed on all windows. You can select a color scheme for the image
(the Documentation option is optimized for color printing or exporting). Click OK to
close the Page Setup dialog box.
8. Click Export to export to an image file and close the Export Image dialog box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Saving a Waveform Database
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Save File Types
Procedure
1. Right-click on the waveform you want to save and select Rename.
2. Enter the desired name of the waveform.
3. Right-click on the calc folder and select Save As.
4. Navigate to the desired location and enter the file name.
5. Specify the file type as either MGC Database (*.wdb), SPICE PWL (*.sti), text file
(*.txt) or comma separated values (*.csv), and GZipped compression (.gz) if required.
Note
When compressing a saved file in GZipped format the original file is not removed.
This can be removed manually to reduce the amount of disk space required.
• Text (.txt)
A text-format database save file includes X and Y values for each point in the waveform
separated by tabs, spaces, commas, or a user-chosen delimiter selected from the Save
Data Options. You can also select the precision of the saved values from this dialog box.
• Comma-Separated Values (.csv)
A comma-delimited database save file contains value pairs separated by commas. It can
be useful for viewing your results in a program such as a spreadsheet. The .csv file
contains the X and Y values for each point in the waveform, as well as the simulation
data (date, title, and so on) and, in the case of multiple-run simulations, the run
parameters.
• SPICE PWL (.sti)
A SPICE PWL database save file contains value pairs separated by spaces and enclosed
in parentheses. A leading plus sign (+) in a line indicates a continuation of the previous
line. This file type can be used in Eldo simulation as a stimulus. For more information
about the PWL format, refer to the Eldo User’s Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Saving Multiple Databases
Note
When saving a database as a SPICE PWL file (.sti), only waveforms that contain
voltage or current sources are saved. If a database contains waveforms with neither
voltage or current sources, those waveforms are ignored.
Procedure
1. Right-click the Waveform List panel to activate the Waveform List Popup Menu.
2. Select the Save All Databases menu item. The item opens the Save Databases dialog
box.
The Save Databases dialog box lists all currently unsaved databases or modified
databases in the Waveform List panel.
3. Click the checkboxes to select the databases you wish to save. The Wdb Name column
shows the current name of the database. The status column displays the status of
Unsaved, Saving or Saved.
4. Use the Save As text box to enter the new name for the database. If the file already
exists, you must confirm the desire to overwrite the database. If you do not wish to be
warned about existing databases of the same name, check the Overwrite if File Exists
checkbox in the lower left corner of the dialog box.
5. Click OK to apply the settings and close the dialog box, or click Cancel to close the
dialog box without saving any databases.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Recovering Database Files
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Recovering from Incomplete Simulations
Arguments
• info_file
The simulator information file.
• save_path
The path to the required save location for the file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Recovering Incomplete Savefiles
To recover the incomplete savefile in this case, use the following command format:
ezwave -recovery file_recovery_part1 file_recovery_part2 output_file
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Outputting a JWDB as an ASCII File
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Converting a JWDB to an ASCII File (Batch Mode)
Arguments
• -i
Specifies the input JWDB file name.
• -o
Specifies the output ASCII file name. If the output file is not specified, the new file name is
the same as the input file name but with the .wdb extension changed to .txt.
• -do
Specifies the post-processing Tcl script name.
• -precision
Specifies the level of precision. value should be between 1 and 16, inclusively. This
argument also accepts full as the value, setting it to the full 16 digits.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Save and Output Data
Converting a JWDB to an ASCII File (Batch Mode)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Chapter 8
Dialog Box and Field Reference
This section provides detailed descriptions of the EZwave windows and dialog boxes.
Add Clock Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Analog to Digital Conversion Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Annotation Properties Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Axis Properties Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
Comparison Options Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
General Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Comparison Methods Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Tolerances Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Conversions Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Create Bus Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Current Analysis Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Data Values Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Digital to Analog Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Edit Digital Transformation Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Event Search Tool Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Eye Diagram Tool Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Eye Diagram Tool - Settings Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Eye Diagram Tool - Measurement Results Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Eye Mask Dialog Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Extract Outputs From Database Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
EZwave Display Preference Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
EZwave Display Preferences Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Automatic Reload Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Cursor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Data Format Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Foreign Databases Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
General Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Grid Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Layout Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Look and Feel Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Mouse Pointer Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Multiple Run Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Pick Points Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
RF Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Add Clock Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Analog to Digital Conversion Dialog Box
Objects
Table 8-2. Analog to Digital Conversion Dialog Box Contents
Field Description
Digitized Waveform(s)
Name The name of the input analog waveform
Plot Option Controls how to display the digital waveform:
• Stacked
Plots the resulting digital waveform in a new row, at the end of
the graph window.
• Overlaid
Plots the resulting digital waveform in the same graph as the
input waveform (in the same row).
Plot Result Waveform(s) Plots the resulting digital waveform using the plot option specified.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Analog to Digital Conversion Dialog Box
Usage Notes
The default values for threshold in each case (80%, 50% and 20%) are not customizable.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Annotation Properties Dialog Box
Objects
Table 8-3. Annotation Properties Dialog Box - Font and Color Tab Contents
Field Description
Font Specifies the font to use for the current text annotation.
Font Size Specifies the point size of the font to use for the current text
annotation.
Font Style Specifies the style of the font to use for the current text annotation,
from Plain, Bold, Italic and Bold/Italic.
Color Opens a Color Selection dialog box to choose the color to use for the
current text annotation. Click OK to accept the color and return to
the dialog box. This control is not available when the Monochrome
theme is active.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Annotation Properties Dialog Box
Table 8-3. Annotation Properties Dialog Box - Font and Color Tab Contents
Field Description
Preview Displays a sample of what the text will look like with the current
selections.
Waveform Annotation Controls the default color of text annotations:
Color • Use Waveform Color
Uses the same color as the waveform. Available only for
annotations that are attached to waveforms.
• Use Custom Color
Text annotations will use the custom color defined on this dialog
box.
Default Restores the font and color of the current text annotation to the
default settings.
• The Annotation Properties - Appearance dialog box is shown below:
Figure 8-3. Annotation Properties Dialog Box - Appearance Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Annotation Properties Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Axis Properties Dialog Box
Objects
Table 8-5. Axis Properties Dialog Box Contents
Field Description
Axis Range
Auto Range Specifies that the axis show all of the data.
Min/Max Specifies the exact minimum and maximum values to be viewed on
the axis. Available when Auto Range is not checked.
Axis Title
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Axis Properties Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Comparison Options Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options Tab
Objects
Table 8-6. Comparison Options Dialog Box - General Options Tab Contents
Field Description
Comparison Limit Count
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options Tab
Table 8-6. Comparison Options Dialog Box - General Options Tab Contents
Field Description
Total Limit Specifies the maximum number of differences allowed before the
comparison terminates.
Per Signal Limit Specifies the maximum number of differences per signal allowed
before the comparison terminates.
Domain Selection
Use Start If you want to begin the comparison from a point other than the start
(time or frequency) of the selected waves, select this option and enter
a new value at which to begin, in the data unit specified in the Data
Format Options.
Use Stop If you want to end the comparison from a point other than the end
(time or frequency) of the selected waves, select this option and enter
a new value at which to finish, in the data unit specified in the Data
Format Options.
Delay Definition
Use Reference Delay If you want to specify a delay to shift all added waveforms from the
reference dataset, select this option and enter the delay time in the
field.
Use Test Delay If you want to specify a delay to shift all added waveforms from the
test dataset, select this option and enter the delay time into the field.
Plot Options
Automatically Add Adds the comparison results to the current wave window, including
Comparison to Wave both correct (waveforms with no differences) and erroneous
Window (waveforms with differences) waveforms.
Automatically Add Adds only comparison results that contain errors (waveforms with
Comparison With Errors differences) to the current wave window.
to Wave Window
Do Not Plot Results of This option does not add the comparison results to the current wave
Comparison window.
Sort Results
Sort By Click to enable the sort options described below.
First Difference This option finds the first time when any signal in one run begins to
differ from the corresponding signal in another run, and plots the
signals in sorted order starting from the highest difference.
Maximum Difference This option finds the first time when any signal in one run differs
most from the corresponding signal in another run, and plots the
signals in sorted order starting from the highest difference.
Plot Top Results This option specifies the number of top results to be plotted.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options Tab
Table 8-6. Comparison Options Dialog Box - General Options Tab Contents
Field Description
Annotate Result If checked, the sorting parameter value will be plotted as annotation
Waveforms With (or other marker, for example delta) over the plotted comparison
Sorting Parameter results (waveforms).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Comparison Methods Tab
Objects
Table 8-7. Comparison Options Dialog Box - Comparison Methods Tab
Contents
Field Description
Comparison Options
Continuous Comparison Specifies that test signals are compared to reference signals at each
transition of the reference. The default option.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Comparison Methods Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Tolerances Tab
Tolerances Tab
To access: Choose Tools > Waveform Compare > Options from the main menu to display the
Comparison Options dialog box, and click the Tolerances tab.
Used to specify tolerances for analog, digital, mixed-signal and spectral waveform comparison.
Figure 8-7. Comparison Options Dialog Box - Tolerances Tab
Objects
Table 8-8. Comparison Options Dialog Box - Tolerances Tab Contents
Field Description
Analog Comparison
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Tolerances Tab
Table 8-8. Comparison Options Dialog Box - Tolerances Tab Contents (cont.)
Field Description
Use Automatic X Specifies that an automatic tolerance is used for the X tolerance.
Tolerance
Use Automatic Y Specifies that an automatic tolerances is used for the Y tolerance.
Tolerance
X Tolerance Specifies the X tolerance. Available if Use Automatic X Tolerance is
not selected.
Y Tolerance Specifies the Y tolerance. Available if Use Automatic Y Tolerance is
not selected.
Filter Differences Specifies the minimum delta X tolerance (usually time). Ignores
differences that are less than the specified value. Default = 0.
Digital Comparison
Leading Tolerance Specifies the maximum time a test signal edge is allowed to lead a
reference edge in an asynchronous comparison of digital signals.
Default = 0.
Trailing Tolerance Specifies the maximum time a test signal edge is allowed to trail a
reference edge in an asynchronous comparison of digital signals.
Default = 0.
Mixed Comparison
Leading Tolerance Specifies the maximum time a test signal edge is allowed to lead a
reference edge in an asynchronous comparison of both digital and
analog signals. Default = 0.
Trailing Tolerance Specifies the maximum time a test signal edge is allowed to trail a
reference edge in an asynchronous comparison of digital and analog
signals. Default = 0.
Spectral Comparison
Frequency Tolerance Specifies the frequency tolerance. Default = 0.
Amplitude Tolerance Specifies the amplitude tolerance. Default = 0.
Use Noise Floor Specifies that the noise floor level is considered in the comparison.
Noise Floor Specifies the noise floor level. If the Use Noise Floor option is
enabled, errors that occur below the specified noise floor amplitude
are ignored in the comparison.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Conversions Tab
Conversions Tab
To access: Choose Tools > Waveform Compare > Options from the main menu to display the
Comparison Options dialog box, and click the Conversions tab.
Used to specify options for analog and mixed-signal comparisons, including settings for signal
value matching rules.
Figure 8-8. Comparison Options Dialog Box - Conversions Tab
Objects
Table 8-9. Comparison Options Dialog Box - Conversions Tab Contents
Field Description
Digital Conversion
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Conversions Tab
Table 8-9. Comparison Options Dialog Box - Conversions Tab Contents (cont.)
Field Description
VHDL Matching Specifies the VHDL signal value matching rules. For more
information on these options, refer to the Mapping Data Types
section of the Questa SIM User’s Manual.
Verilog Matching Specifies the Verilog signal value matching rules. For more
information on these options, refer to the Mapping Data Types
section of the Questa SIM User’s Manual.
Note: The Ignore Strength checkbox is not currently
implemented, and has no effect.
Analog to Digital Conversion Options
Use Automatic Specifies that automatic thresholds are used. Available options are:
Thresholds • Single Threshold — Specifies a single threshold. The text
window specifies the desired threshold value if Use Automatic
Thresholds is not selected.
• Two Thresholds — Specifies a low and high threshold. The text
windows specify the desired threshold values if Use Automatic
Thresholds is not selected.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Create Bus Dialog Box
Objects
Table 8-10. Create Bus Dialog Box Contents
Field Description
Bus Options
Name The name of the bus. This field is populated with a proposed name,
deduced from the longest prefix common to all bits of the bus.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Create Bus Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Current Analysis Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Current Analysis Dialog Box
Objects
Table 8-11. Current Analysis Dialog Box Contents
Field Description
Select Top Level Design Limits the results to those listed below the selected Top
Level Design.
Run Id For compound waveforms, specify the run.
Analysis Range
Entire X Axis Specifies the entire input waveform range to be analyzed.
X Start Specifies the start of the range for the input waveform to be
analyzed. Results outside of this range will not be listed.
X End Specifies the end of the range for the input waveform to be
analyzed. Results outside of this range will not be listed.
Between Cursors Specifies the range between two cursors to analyze the input
waveform. You can drag either cursor to dynamically
analyze results for different ranges.
At Cursor Specifies a single point to analyze the input waveform. You
can drag the cursor to dynamically analyze results at
different points.
History Stack
Name Displays the full hierarchical path to the port.
Avg Displays the default measure performed on the port on the
current time window.
Current Analysis
Thresholds on If checked, filters the Hierarchy column using current
Avg | RMS | Max | Min | Integ | thresholds on the value of the waveform in the range given
Sum | Peak to Peak by the Lower and/or Upper values.
Lower Specifies a minimum current value. Results below the
specified threshold will not be listed.
Upper Specifies a maximum current value. Results above the
specified threshold will not be listed.
Filter Specifies the text used to filter the Hierarchy column.
Click to clear the filter.
Click to apply the filter.
Analysing Choose the results to analyze (Detailed View tab only).
Saves the results as a .csv file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Current Analysis Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Current Analysis Dialog Box
Usage Notes
Provides an interactive display of results from current analyses, requested by the SPICE
command .CURRENT_ANALYSIS in Eldo. Refer to “.CURRENT_ANALYSIS” in the Eldo
Reference Manual.
A Tutorial—Using Current Analysis is in the Eldo User’s Manual. A video is available that
shows the tasks described in this tutorial.
Related Topics
Analyzing Current Consumption
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Data Values Dialog Box
Objects
Table 8-12. Data Values Dialog Box Contents
Field Description
Waveform The name of the currently selected waveform.
Measurement The index ID of the currently selected crossing point.
Measurement Levels Specifies whether to show or hide the Y value of the currently
selected crossing point.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Data Values Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Digital to Analog Dialog Box
Objects
Table 8-13. Digital to Analog Dialog Box Contents
Field Description
Resulting Analog Waveform(s)
Name The name of the input digital waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Digital to Analog Dialog Box
Usage Notes
In some cases, expressions are used to define the default value in the Analog Values field. For
example:
• If the default value is the expression <value_of_0>, then the analog value is the same
value as that specified for Forcing Zero: '0'.
• If the default value is the expression <'U' or previous value> then the analog value is
the value of U (Uninitialized) if it is the first event (the first point of the waveform; the
waveform starts with a 'Z' or a '-') otherwise it keeps the previous value.
You can only alter the value in the Analog Values field, if the value you enter is a double value
(with or without suffix) for example, 1, or 1M. If you try to use an expression value, for
example <value_of_0>, when that expression is not already the default setting for that field,
then it will not be accepted, and the default value for that field is used. Table 8-14 lists the
digital values and their default analog values.
Table 8-14. Bit Transformation Digital and Analog Default Values
Digital Value Text Value Default Analog Value
Forcing Zero 0 0.0
Forcing One 1 5.0
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Digital to Analog Dialog Box
Table 8-14. Bit Transformation Digital and Analog Default Values (cont.)
Digital Value Text Value Default Analog Value
Weak Zero L <value of ‘0’>
Weak One H <value of ‘1’>
Forcing Unknown X <(‘0’ + ‘1’)/2>
Weak Unknown W <(‘L’ + ‘H’)/2>
High Impedance Z <‘U’ or previous value>
Uninitialized U 0.0
Do not care - <‘U’ or previous value>
Note
The value for Forcing Zero: '0' must be less than the value for Forcing One: '1'.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Edit Digital Transformation Dialog Box
Objects
Table 8-15. Edit Digital Transformation Dialog Box Contents
Field Description
Transformation Definition
Transformation Name Specifies a name for the transformation.
Source Type Specifies the type of the source. The options available in the
dropdown list depend on the enumerated types that exist in the
loaded database.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Edit Digital Transformation Dialog Box
Usage Notes
A Destination Value must be selected for each Source Value in the Bit Transformation
Setup table.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Event Search Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Event Search Tool Dialog Box
Objects
Table 8-16. Event Search Tool Dialog Box Contents
Field Description
Event Specifies a name for the event
Basic Event Setup
Select a Waveform Specifies the source waveform. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform
List icon removes all waveforms in the list.
Specifies the type of event from:
• Any Event — Moves from one event to the previous or next.
• Rising Edge — Moves from one rising edge to the previous or
next rising edge. Click the Rising Edge icon to open the Search
Event Settings dialog box.
• Falling Edge — Moves from one falling edge to the previous or
next rising edge. Click the Rising Edge icon to open the Search
Event Settings dialog box.
• Waveform Value— Moves from one event to the previous or
next.
Y= +/- Specify a tolerance when searching for data points generated by an
analog simulator Only available when Waveform Value is selected.
Expression Setup
Logic Expression Specifies an Expression Event search. The expression can be entered
by using either the Waveform Calculator button or the Add selected
Waveform icon . Refer to “Performing an Expression Event
Search” on page 193.
Σεαρχη
Move the cursor along the specified waveform by clicking the arrow
buttons.
The Previous Marker and Next Marker buttons jump to
previous and next markers respectively.
Markers
Jump to a marker Specifies a marker to jump to.
The Add a Marker icon specifies an event to mark.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Figure 8-16. Eye Diagram Tool Dialog Box - Settings Tab for NRZ Eye Type
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Figure 8-17. Eye Diagram Tool Dialog Box - Settings Tab for PAM3 and PAM4
Eye Types
Objects
Table 8-17. Eye Diagram Tool Dialog Box - Settings Tab Contents
Field Description
Eye Source
Eye Type Specifies the eye type, either C-Phy, NRZ, PAM3 or PAM4. The
fields on the dialog box change depending on the setting.
Source Waveform Specifies the source waveform for NRZ, PAM3 and PAM4. For
C-Phy you must specify exactly 3 source waveforms in order (first
waveform is C(A,B).
The Add Selected Waveform icon adds the currently selected
waveform. The Clear Waveform List icon removes all
waveforms in the list.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Table 8-17. Eye Diagram Tool Dialog Box - Settings Tab Contents (cont.)
Field Description
Parameters Setup
Eye Period Specifies the eye period. The eye diagram is generated by overlaying
a semi-periodical waveform signal on an interval in X (usually a time
interval). The interval is defined as the eye period. A default Eye
Period is calculated based on the source waveform period divided by
2.
Offset Specifies the offset value. Allows shifting of the eye as the open part
of the eye is not always at the center of the axes.
Period Tolerance For C-Phy eye type only. Specifies the tolerance on the period used to
detect transition.
Minimum X and Specifies the range of waveform data used for generating the eye
Maximum X diagram.
Calculate Calculates the Offset, Minimum X, and Maximum X using the Eye
Period value and automatically populates the fields.
Display Measurements
Apply Measurements Specifies that the measurements are automatically updated as you
modify the values in this dialog box. This updates the appropriate
values in the eye diagram as well as all the values in the Eye Diagram
Tool - Measurement Results Tab. Checked by default, the
measurements are computed when the eye diagram is created.
Apply and Height at X Specifies an inner or outer height to display at a specific X. Use the
drop down box to determine inner or outer and specify the desired X.
Unchecked by default.
Apply and Width at Y Specifies an inner or outer width to display at a specific Y. Use the
drop down box to determine inner or outer and specify the desired Y.
Unchecked by default.
Apply Measurement at For PAM3, PAM4 and C-Phy signals only. Specify the X value
X where the measurements are to be made.
Apply Measurement at For C-Phy signals only. Specify the Y value where the measurements
Y are to be made.
Reference Amplitude For PAM3 and PAM4 signals only. When set to “Automatic”,
Ratio toplines and baselines begin at 10% and increase in steps of 5% until
all points are either below the baseline and above the topline (the
Measured Edge Percentage reaches 100%). Valid values are
“Automatic”, a double value between 0.0 and 1.0, or a number
followed by % (e.g. “20%”). Default value is “Automatic” (at least
10%, increasing by 5%).
Display Mask
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Table 8-17. Eye Diagram Tool Dialog Box - Settings Tab Contents (cont.)
Field Description
Specifications Specifies an industry standard mask is to be applied.
When Display Mask is checked, specifies a mask from:
• USB2.0-High_Speed_TX
• USB2.0-High_Speed_RX
• PCIE_TX_transition
• PCIE_TX_de-emphasis
• PCIE_RX
• SAS_3Gb_RX
• SAS_1.5Gb_RX
• FC-100DF/SE_RX_beta
• FC-100DF/SE_RX_delta
• FC-100DF/SE_RX_gamma
• FC-100DF/SE_TX_beta
• FC-100DF/SE_TX_delta
• FC-100DF/SE_TX_gamma
• FC-200DF/SE_RX_delta
• FC-200DF/SE_RX_gamma
• FC-200DF/SE_TX_delta
• FC-200DF/SE_TX_gamma
• SATA1_RX
• SATA1_TX
• XAUI-Xilinx-rcvr
• Diamond Shape
• Key Shape
• T Shape
• Trapezoid Shape
• DDR2
• QDRII
The Eye Mask icon opens the Eye Mask Dialog Box.
Margin Specifies scaling of the eye mask. The X margin is the horizontal
margin and the Y margin is the vertical margin. The values entered
representing a percentage of the total displayed range.
The Automatic Fit options specify that the mask is to be fitted to the
horizontal (X) and/or vertical (Y) inner contours of the eye diagram.
When selected, a homothecy is applied in the X and/or Y direction
until one side of the inner contour is reached.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Settings Tab
Table 8-17. Eye Diagram Tool Dialog Box - Settings Tab Contents (cont.)
Field Description
Offset Specifies the offset value. Allows shifting of the eye mask. The X
offset is the horizontal offset.
Usage Notes
Refer to “Working with Eye Diagrams” on page 195.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Measurement Results Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Measurement Results Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Measurement Results Tab
Figure 8-20. Eye Diagram Tool Dialog Box - Measurement Results Tab for PAM4
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Measurement Results Tab
Figure 8-21. Eye Diagram Tool Dialog Box - Measurement Results Tab for C-
Phy
For the PAM3 and PAM4 results, the first row (at “X”) result is the measurement setup value,
entered by user in Measurements Setup section of the Eye Diagram Tool - Settings Tab.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Tool - Measurement Results Tab
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Mask Dialog Box
Objects
Table 8-18. Eye Mask Dialog Box Contents
Field Description
Mask Library Specifies the source eye mask. Select a built in eye mask from the drop
down list or alternatively use the Open Folder icon to load a user
defined eye mask from disk.
The Edit New Mask icon enables editing of the mask. Once editing
is enabled, the grayed out Save and Delete buttons will become
available.
Edit
When activated indicates that the mask is in “edit” mode and the
handles are available for dragging the mask to form a new shape.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Mask Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Extract Outputs From Database Dialog Box
Objects
Table 8-19. Extract Outputs From Database Dialog Box Contents
Field Description
Select Source Database Specify the database upon which to run the .extract command. Either
type the path into the field or click the folder icon to browse to the
database file. The down-arrow button offers a list of recent and open
database files. Upon selecting a database, if a netlist or .aex file are
found in that directory with the same name as the database file, they
are selected in the following fields.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Extract Outputs From Database Dialog Box
Table 8-19. Extract Outputs From Database Dialog Box Contents (cont.)
Field Description
Select Netlist By default, this displays the path to a netlist with the same name as
the database file selected above, but you can specify a different netlist
to use. Either type the path into the field, or click the folder icon to
browse to the netlist.
AEX Output File By default, this is set to an .aex file with the same name as the
database file selected above, but you can specify a different .aex file
if required.
Note: Extracted scalar values are only written to the file if the
AEX option is specified for the .extract command.
Extract Waveforms With this option enabled, waveforms are generated for the extracted
values, and stored in the database file you specify in the Output Wdb
File field.
Eldo Extra Arguments Enter any arguments you want to pass to Eldo.
Transcript This pane displays the output transcript from the simulation. The
Undock option enables you to separate the transcript pane from the
dialog box. Select Undock option to split the panes; clear the option
on the Transcript dialog box to re-dock.
Run Click to start the simulation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
EZwave Display Preference Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
EZwave Display Preference Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
EZwave Display Preferences Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
EZwave Display Preferences Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Automatic Reload Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Automatic Reload Options
Usage Notes
The database will be renamed from file.wdb to file_sim1.wdb, file_sim2.wdb, and so on, with the
current simulation always retaining its name. With each simulation the _sim# is increased by
one.
Caution
This functionality only occurs if EZwave is displaying a simulation result when a simulation
is rerun. If this is not the case, previous results are automatically overwritten.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cursor Options
Cursor Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Cursors from the EZwave Preferences list on the left.
Used to specify cursor display properties.
Objects
Table 8-26. EZwave Display Preferences - Cursor Optionss
Field Description
Cursor Tab:
Cursor Precision
Number of Digits of Specifies the degree of precision in value flags attached to cursors.
Precision Select from 1 to 9 digits of precision.
Auto-Adjust Values for Specifies whether cursor values are automatically adjusted to show
Cursors the most significant numbers, regardless of axis scale. For example,
0.000005183 is displayed as 5.183e-6.
Cursor Y Units
Show Y Units of Cursor Specifies whether units are displayed with the values listed in the
Value cursor flag.
Show Parameters Specifies whether parameters and their values are listed in the cursor
flag.
Cursor Data Values
Show/Hide Dynamically Specifies whether, when a waveform is selected, to show and hide
Cursor Values Based on cursor values for that waveform. Whether it is shown or hidden is
Waveform Selection specified by right-clicking on the cursor and choosing Data Values
> Show Selected Mode, or Data Values > Hide Selected Mode.
Append/Remove Specifies whether, when a waveform is selected, to add and remove
Dynamically Cursor that waveform from the set of cursor values shown at a particular
Values Based on cursor. Whether it is added or removed is specified by right-clicking
Waveform Selection on the cursor and choosing Data Values > Append Selected Mode,
or Data Values > Remove Selected Mode.
Show Only Cursor Specifies whether to show only the values of selected waveforms
Values Of Selected when a new cursor is added. The values for other waveforms are
Waveforms While hidden.
Creating Cursor
Cursor X/Y Level Lines
X/Y Level Lines Specifies whether X and Y level lines are displayed.
Displayed by Default
Cursor Area
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cursor Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Data Format Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Data Format Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Foreign Databases Options
Field Description
Foreign Databases
Load Scalars Specifies that Scalars (parameters or measurements) are
loaded.
Display Measures in Specifies that Measures are displayed in the Waveform List.
Waveform List
PSF Info Files
Load Info Files Specifies that PSF .info files are loaded from output
directories.
Note: Loading .info files may require considerable time
and memory.
Note: The designParamVal.info file is always loaded in
EZwave.
Identify Info Files: When Load Info Files is checked:
-By File Extension - all PSF files ending in .info are loaded in EZwave
-By analysisType Field in File or
- all PSF files with analysisType field set to info are loaded in
EZwave.
Detect DC Hysteresis Enables or disables the DC Hysteresis detection. When
Waveforms disabled, data points are sorted.
Nutmeg Files
Standardize X-Axis Specifies how the x-axis is handled.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options
General Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose General from the EZwave Display Preferences list on
the left.
Used to set options related to opening files, updating waveforms, and exiting the EZwave
viewer.
Objects
Table 8-28. EZwave Display Preferences - General Options
Field Description
General Options
Overlay by ordinate data With this option selected, waveforms are overlaid using a
type separate row for each different y-axis data type. With this option
unchecked, all waveforms are plotted overlaid in a single row
with multiple y-axes as required. Refer to Overlay Window
Waveforms in the Row Popup Menu and Axis Popup Menu.
Show Grid Lines in Newly Specifies whether graph windows display grid lines by default
Opened Windows when opened.
Show Zero-Level Lines in Specifies whether zero-level lines are turned on by default when
Newly Opened Windows new graph windows are opened.
Show List of Recent The Clear List button clears the MRU information from
Databases in File Menu memory. When turned off, the MRU information is kept in
memory, but not displayed.
Activate Undo/Redo Specifies whether the Undo and Redo functions from the Edit
menu are available.
Use AMS Results Browser to With this option selected, scalar results of extracts are displayed
open AEX Files in the AMS Results Browser (see the AMS Results Browser
User’s Manual for information). With this option not selected, or
for users on Windows, the scalar results are shown in EZwave.
Use Automatic Waveform With this option unchecked, selected waveforms are not
Selection for Measurement automatically added to the Source Waveform(s) list on the
Tool Measurement Tool dialog box.
Use Source Waveform With this option selected, the source waveform color, point style,
Properties for Measurement line width, and style are used to plot the result waveforms.
Tool New Waveforms
Allow Filename Editing in With this option unchecked, filenames cannot be edited in the
File Browser File Browser.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
General Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Grid Options
Grid Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Grid from the EZwave Display Preferences list on the
left.
Used to set the appearance and behavior of the grid in graph windows, overriding the automatic
settings. The Default button returns the Grid Spacing option to Automatic, and returns all
manually entered values to their default values.
Note
These options only apply for linear axis scales; they have no effect on logarithmic axes.
Objects
Table 8-29. EZwave Display Preferences - Grid Options
Field Description
Grid Spacing
Automatic Graph windows use the default system grid behaviors.
User Defined Graph windows use he settings entered on this dialog box.
Grid Units
Pixels Enabled by default. The grid is drawn based on the following two
values, measured in pixels from the graph origin:
• Grid Offset—defines the distance from the origin to the first grid
line. Must be a positive value.
• Grid Period—defines the distance between adjacent grid lines.
Must be a positive value.
Pixels Predefined Axis The grid is drawn based on values specified for the unit type the axis
Data Units represents. The grid offers each data type configured in the Axis
Data Units grid of the Data Format Options, and for each type, you
can specify the following values:
• Grid Offset—defines the distance from the origin to the first grid
line. Must be a positive value.
• Grid Period—defines the distance between adjacent grid lines.
Must be a positive value.
Axes Minimum Grid Spacing
X Axis Specifies the minimum distance between adjacent grid lines for the
x-axis. Default is 25. Must be a positive value.
Y Axis Specifies the minimum distance between adjacent grid lines for the
y-axis. Default is 25. Must be a positive value.
Grid Anchor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Grid Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Layout Options
Layout Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Layout from the EZwave Display Preferences list on
the left.
Use this dialog box to specify layout options for the graph window.
Objects
Table 8-30. EZwave Display Preferences - Layout Options
Field Description
X-Axis
Above Waveforms Specifies that the x-axis is displayed above the waveforms.
Below Waveforms Specifies that the x-axis is displayed below the waveforms. Default.
Waveform Names
Left of Waveforms Specifies that waveform name labels are displayed on the left of the
waveform.
Right of Waveforms Specifies that waveform name labels are displayed on the right of the
waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Look and Feel Options
Usage Notes
After changing the look and feel, you need to restart EZwave to apply the new theme.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Mouse Pointer Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Multiple Run Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Multiple Run Options
Usage Notes
When a multiple run is displayed as a compound waveform, any measurements made, for
example using the Waveform Calculator, are done using the entire set of runs that make up the
compound waveform.
• If a measurement is taken on a run, this measurement will not be taken automatically for
subsequent simulated runs.
• If a user display is set for a run, it is not applied to subsequent simulated runs.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Options
• Cross (default)
• Rounded Cross
• Dot
Follow Waveform(s) When enabled, the mouse pointer is attached to the waveform
nearest to it, and can only be moved around in the graph
window in the selected mode: Snap to Data Points or
Interpolate.
When not enabled, the mouse pointer can be moved freely
within the row. Pick points will be placed at the closest point
(real or interpolated) on the waveform(s) in the row, starting
with the waveform nearest to the position of the mouse-click.
Snap to Data Points The pick pointer is attached to the current closest waveform in
the waveform row. It can be moved only to the position on the
waveform, where a data point is present. Pick points are placed
on the waveform(s) at the data point closest to the mouse-click
position. This is the default setting.
If multiple waveforms are present in the same row, one pick
point will be placed on each waveform in the row at the closest
to the mouse-click position data point, starting from the nearest
waveform to the mouse-click position.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
RF Options
RF Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose RF from the EZwave Display Preferences list on the
left.
Use this dialog box to specify RF settings for the waveform display.
Objects
Table 8-35. EZwave Display Preferences - RF Options
Field Description
Smith Chart
Plot Sxx-Parameters in a Specifies that S11 and S22 (scattering) parameters will
Smith Chart automatically be displayed in a Smith Chart. Enabled by default.
Always consider Specifies that waveforms in the Smith Chart are displayed as the
waveforms as Sxx- normalized impedance of a Sxx parameter. Otherwise, waveforms
parameters are not considered as Sxx parameters and input waveforms are
simply displayed in the Smith Chart plane. Enabled by default.
Smith Chart Type Specifies the default Smith Chart type as Impedance, Admittance,
or Impedance and Admittance (both grids overlaid on a single
chart).
Smith Chart Cursors
Snap to Data Specifies that the cursor automatically snaps to the nearest data
point on a Smith Chart.
Impedance / Admittance Specifies the display as normalized (default) or to use the
Display characteristic impedance.
Stability / Noise Circles
Hide Stability / Noise Specifies that circles are hidden by default.
Circles
Polar Chart
Plot Sxy-Parameters in a Specifies that S12 and S21 (scattering) parameters are displayed in
Polar Chart a polar display of a Smith Chart. Enabled by default.
Polar Chart The complex-valued waveform is plotted.
Polar Chart Display Specifies the polar chart to be displayed in degrees (default) or
radians.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Row Options
Row Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Row from the EZwave Display Preferences list on the
left.
Use this dialog box to specify row height and position settings for the waveform display.
Objects
Table 8-36. EZwave Display Preferences - Row Options
Field Description
Row Height
Analog Row Height Specifies the height for the analog rows as one of the following:
• Automatic — Specifies that the row height is determined
based on the content of the row. Specify the Minimum Size for
a row in pixels.
• Fixed — Specifies that the rows are set at a fixed height.
Specify the fixed Size in pixels.
Digital Row Height Specifies the height of digital rows in pixels.
Space Between Rows
Minimize Space Between Specifies that the distance between rows is reduced. This causes
Rows the rows to be more closely spaced to increase the number of rows
visible at one time. By default, this is turned off.
Y Axis Range
Ignore Questa ADMS Specifies that uninitialized Questa ADMS values are ignored
Uninitialized Values when calculating the y-axis range for plots.
Row Title Appearance
Hide Row Title Outline Controls the visibility of the text box around the row title.
Usage Notes
Tip
You can force EZwave to use the Minimum Size analog row height set on the Row Options
dialog box for all plotted waveforms. Choose View > Min Row Height Plot Mode before
plotting. This option is also available on the Toolbar, and is useful if you need to fit a large
number of waveforms in the display.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Row Options
Note
These uninitialized values are only ignored when calculating the y-axis range of plots. They
will still exist in the waveform data (adding a cursor at the location will display the value) as
it may be useful to know that there are uninitialized values in the waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save Data Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save Data Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save Window Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Text Annotation Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Transformation Options
Transformation Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Transformations from the EZwave Display
Preferences list on the left.
Use this dialog box to specify the transformations that are applied when waveforms are
plotted.The options on this dialog box are organized on two tabs, Transformations and
Conversion.
Objects
Table 8-40. EZwave Display Preferences - Transformations - Transformations
Tab
Field Description
Supported Complex Waveform Transformations
dB The magnitude of each point of the complex-valued waveform
calculated in decibels (20 * log (waveform))
Magnitude The square root of (re2 + im2) for each point of the complex-valued
waveform.
Real The real component of each point in the complex-valued waveform.
Imaginary The imaginary component of each point in the complex-valued
waveform.
Phase The phase of each point in the complex-valued waveform. All phase
angles are between -180 degrees and 180 degrees (-PI radians and PI
radians).
Continuous Phase The phase of each point in the complex-valued waveform, including
(Cphase) an accumulated phase angle from the previous points. As this
transformation does not include a phase discontinuity at the 180
degree boundaries, unlike the Phase transformation, this
transformation is useful when analyzing waveforms with more than +/
- 180 degrees of phase shift.
Complex Plane The complex-valued waveform of a collection of complex numbers
(z=a+ib, where i is the imaginary number) plotted as a curve (not
necessarily monotonic) of the unique points (a,b) in the complex
plane.
Smith Chart The complex-valued waveform is plotted on a Smith Chart.
Polar Chart The complex-valued waveform is plotted in a polar display of a Smith
Chart. See “Smith Chart and Polar Displays” on page 220.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Transformation Options
Apply This option controls how expressions VX(a,b) and IX(a,b) are
Transformation computed in AC analysis. X stands for DB (magnitude, in decibels),
Before “Plot M (magnitude), P (phase) or GD (group delay).
Difference” • Selected (Default)—VX(a,b) or IX(a,b) are computed from the
complex value v(a)-v(b) or from i(a)-i(b). For example, VDB(1,2)
is computed as DB(V(1)-V(2)).
• Unselected (Default in -compat mode)—VX(a,b) or IX(a,b) are
computed from the complex value VX(a,0)-VX(b,0) or from
IX(a,0)-IX(b,0). For example, VDB(1,2) is computed as VDB(1)-
VDB(2).
Supported Digital Waveform Transformations
New Click to add a new digital waveform transformation. This invokes the
Edit Digital Transformation dialog box. Enter the transformation
name, source type, and destination type in this dialog box.
Edit Select a transformation and click to change the transformation details.
This invokes the Edit Digital Transformation dialog box.
Delete Select a transformation and click to remove that transformation.
Usage Notes
The Apply By Default checkboxes specify one or more transformations that are automatically
applied when a complex-valued waveform is plotted.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Transformation Options
You can also apply the transformation directly by right-clicking a waveform and choosing a
transformation from the Transformations menu item.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Options
Waveform Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Waveform from the EZwave Display Preferences list
on the left.
Use this dialog box to specify how analog and wreal waveforms are displayed in EZwave graph
windows.
Objects
Table 8-42. EZwave Display Preferences - Waveform Options
Field Description
Analog Waveforms
Extend last analog Specifies that the last data point is extended to infinity. Extending
waveform data point would cause the last data point in the result waveform to extend
to infinity horizontally to infinity (as well as the reference waveform).
Limit the Number of Reduces the number of data points drawn on the screen, in order to
drawn Data Point speed up drawing time when there are a large number of points.
symbols Although not all of the points are drawn, those that are visible are all
real data points.
Wreal Waveforms
Display as Step Displays wreal waveforms as “step” waveforms, similar to real
Waveforms waveforms. With “step” waveforms the ‘X’ and ‘Z’ states are
displayed as colored rectangles. The default.
Display as Railroad Displays wreal waveforms as “railroad” waveforms.
Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Compare Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform List Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Workspace Options
Workspace Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then choose Workspace from the EZwave Display Preferences list
on the left. Or, right-click in your workspace to display the Workspace Popup Menu and
choose Options.
Use this dialog box to specify options relating to your workspace.
Objects
Table 8-45. EZwave Display Preferences - Workspace Options
Field Description
Workspace Options
Allow Multiple Specifies whether multiple workspaces can be created. When turned
Workspaces off, the Workspace Popup Menu will not show the New menu item
and the Workspace tab area is removed.
Hide Icons for Specifies whether minimized graph windows appear as icons on the
Minimized Windows workspace. When turned off, minimized windows don't appear
anywhere on the workspace and you will not be able to double-click
the icon to restore the window. Click the window name in the
Window menu or the Graph Window button on the workspace
taskbar in order to restore it.
Hide Taskbars Specifies whether the workspace taskbar is visible. If the taskbar is
not visible, you can activate windows either by clicking directly on
them, or by clicking the window name in the Window menu.
Show Close Workspace Specifies whether the workspace tabs have a close (X) button. You
Tab Button can also delete a tab by right-clicking on the tab and selecting Delete.
Location for Tabs Specifies the location of the workspace selection tabs. Select the
desired location from the dropdown list.
Workspace Background
Solid Color The workspace area will be a solid color.
Tiled Image The workspace area will be a tiled image.
Select Used to specify the color or image to use for the workspace area.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Plot Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Plot Options
Table 8-46. EZwave Display Preferences - CDF Plot Options Dialog Box
Contents (cont.)
Field Description
Plot PDF (when Plots the integral of the PDF (potential density function) associated
available in file) to the input waveform. This functionality is available in .wdb files
generated by an Eldo Monte Carlo simulation.
CDF is a Step When selected, the CDF is plotted as a step waveform.
Waveform
Plot Confidence Bounds When selected, the plots upper and lower confidence bounds, if
(when available in file) these have been computed by Eldo.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Measures Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Measures Options
Table 8-47. EZwave Display Preferences - CDF Measures Options Dialog Box
Contents (cont.)
Field Description
Lower-Bound/Upper- When either option is selected, a vertical line is drawn, which can be
Bound repositioned in the same way as cursors.
Depending on the two settings, the bound location is:
• As defined in the .wdb file, when Predefined Position (when
available in file) is selected. It is available in .wdb files generated
by an Eldo Monte Carlo simulation.
• At a user-defined location, if User Defined Position is selected,
and the previous option Predefined Position (…) is not selected,
above, or the bound value is not stored in the file.
The user defined position is relative to mean + <value> * stddev
(as N-sigma, but <value> is a real number, not an integer).
Usage Notes
You can edit a plotted CDF, in which case the User Defined Position value is an absolute value,
not a relative one.
When both Lower and Upper Bound are displayed, only the Upper Bound legend displays the
yield value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Legend Options
For example:
Mean= @(mean)
All available measures can be added using the Shortcut Buttons. The
variable @(name) adds the waveform name to the legend. The large
field at the bottom of the dialog box displays a preview of how the
legend will be laid out, using placeholder values.
Shortcut Buttons
Average Adds the average to the Stat Legend text.
Cp Adds the process capability to the Stat Legend text, which is equal
to:
(upper_bound – lower_bound) / (^6* stddev)
This measure requires that the lower and upper bound are plotted,
otherwise it is <undefined>.
CpK Adds the process capability, assuming that it is not centered. It is
equal to:
Min(upper_bound – mean) / (3*stddev),(mean – lower_bound) / (3*
stddev)
This measure requires that the lower or upper bound is plotted,
otherwise it is <undefined>.
Kurtosis Adds the skewness value to the Stat Legend text. This option is
available only when the value is available in the wdb file.
Name Adds the name of the input waveform to the Stat Legend text,
without database or hierarchy names.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
CDF Legend Options
Table 8-48. EZwave Display Preferences - CDF Legend Options Dialog Box
Contents (cont.)
Field Description
Max Adds the maximum value to the Stat Legend text.
Mean Adds the mean value to the Stat Legend text.
Median Adds the median value to the Stat Legend text.
Min Adds the minimum value to the Stat Legend text.
Nominal Adds the nominal value to the Stat Legend text, when available in the
waveform database file, otherwise it is <undefined>.
Relative Std. Dev. Adds the relative standard deviation to the Stat Legend text, which is
equal to:
• stddev if mean is zero
• stddev/mean if stddev is not zero
Size Adds the number of points of the input waveform to the Stat Legend
text.
Skewness Adds the skewness value to the Stat Legend text. This option is
available only when the value is available in the wdb file.
Std. Dev. Adds the standard deviation to the Stat Legend text.
@ Adds the @ symbol to the Stat Legend text.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Axis Title Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Axis Values Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Axis Values (Smith Chart) Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Calculator Entry Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cursor/Marker Options
Cursor/Marker Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then expand the Fonts and Colors folder on the left side, and
choose Cursor/Marker.
Use this dialog to modify the fonts and colors of cursors and markers.
Objects
Table 8-53. EZwave Display Preferences - Cursor/Marker Options
Field Description
Font Controls the font of the values in cursors and markers.
Font Size Controls the size of the font of values in cursor and markers.
Font Style Controls the style of cursors and markers.
Y Values Controls the display color of the Y values associated with cursors and
markers. Click the colored box to open the Color Selection dialog box
and make a new color selection.
X Values Controls the display color of the X values associated with cursors and
markers. Click the colored box to open the Color Selection dialog box
and make a new color selection.
Preview Displays a sample of what the text will look like with the current
selections.
Active Cursor
Cursor Style Choose a line style from the dropdown list for the active cursor.
Cursor Width Choose a line width from the dropdown list for the active cursor.
Horizontal Cursor Controls the color of horizontal cursor lines. Click the colored box to
open the Color Selection dialog box and make a new color selection.
Vertical Cursor Controls the color of vertical cursor lines. Click the colored box to open
the Color Selection dialog box and make a new color selection.
Cursor
Cursor Style Choose a cursor line style from the dropdown list.
Cursor Width Choose a cursor line width from the dropdown list.
Horizontal Cursor Controls the color of horizontal cursor lines. Click the colored box to
open the Color Selection dialog box and make a new color selection.
Vertical Cursor Controls the color of vertical cursor lines. Click the colored box to open
the Color Selection dialog box and make a new color selection.
Marker Line Controls the color of marker lines. Click the colored box to open the
Color Selection dialog box and make a new color selection.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cursor/Marker Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Mask Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Grid Options (Fonts and Colors)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Header Text Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Options
Histogram Options
To access: Choose Edit > Options from the main menu to open the EZwave Display
Preferences Dialog Box, then expand the Fonts and Colors folder on the left side, and
choose Histogram.
Use this dialog to modify the fill properties of histograms.
Objects
Table 8-57. EZwave Display Preferences - Histogram Options
Field Description
Pattern fill Specifies that histogram bars use a pattern fill. This is the default setting.
Transparent Specifies that the histogram bars be transparent, useful for large numbers
of histograms. Overlapping histograms are shaded to improve
visualization of the distribution.
No fill Specifies that the histogram bars are not filled with any pattern. This is
useful when running the EZwave viewer over a network.
Full Specifies that the histogram bars are filled with solid color.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Measurement Annotation Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Options (Fonts and Colors)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Row Title Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Text Annotation Options (Fonts and Colors)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Colors Options
Usage Notes
In EZwave, the color scheme may be monochrome, or a black or white background. By default
the color palette size setting for analog objects is shared between white and black backgrounds.
Colors are set when the black color scheme is active. When the white scheme is activated, an
option to disable this sharing is visible. Digital object colors can always be different between
each scheme.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Display Options
Usage Notes
Caution
The use of a waveform Line Width other than 1 pixel and/or a Line Style other than a plain
line may significantly reduce the waveform display performance.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Name Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Name Options
Table 8-64. Fonts and Colors - Waveform Name Dialog Box Contents (cont.)
Field Description
Database Name Specifies how the database name is displayed from one of
the following:
• Always Show Database Name.
• Show Name If Two or More Databases. Calculated
(<calc>) databases are not included in the count of
databases.
• Always Hide Database Name. Default.
• Show Database Name in Tandem Mode. Database
names are always displayed in Tandem mode,
irrespective of the three settings above. Default.
Default Restores the font and color of waveform names to the
default settings.
Usage Notes
Some of these settings can also be defined using the Waveform Names Display Dialog Box
which can be accessed through the menu item Format > Waveform Names Display.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Selection Options
Usage Notes
Use the Highlight column within the Parameter Table to highlight waveforms.
If the Color Option is left unchecked and the Line Width is set to Automatic for either
Waveform Selection or Waveform Highlight, the selection or highlight will not be
differentiable from other waveforms the graph.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Window Background Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Zero-Level Line Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Plot Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Plot Options
Table 8-68. EZwave Display Preferences - Histogram Plot Options Dialog Box
Contents (cont.)
Field Description
Multiply Data so that When selected, the Y-values of the input waveform are decreased
Standard-Deviation by the mean() of these values, and then divided by the standard-
Equals 1 deviation. So the displayed mean equals 0, and the displayed
standard-deviation equals 1.0. This option is available only if “Shift
Data so that Mean Equals 0” is selected, above.
Companion Waveforms
Plot Gaussian When selected, the Gaussian distribution is plotted based on the
Distribution mean and standard-deviation of the input waveform. The range for
this distribution is between mean +/- N*stddev, with the following
constraints:
• N is the smallest integer so that the Y min() and max() of the
input waveform are in the range
• N is greater than or equal to 4
• N is lesser than or equal to 20
Plot PDF (when Plots the PDF (potential density function) associated to the input
available in file) waveform. This functionality is available in .wdb files generated by
an Eldo Monte Carlo.
Plot CDF Plots the CDF (cumulative density function) of the input waveform.
CDF is a Step When selected, the CDF is plotted as a step waveform.
Waveform
Fit Histogram Area When selected, the histogram is displayed with only one y-axis. The
(PDF, Gaussian) and y-axis bounds are derived from the histogram Y-min (0) and Y-max.
Height (CDF) The PDF and Gaussian distribution are multiplied by the area of the
histogram (area fit). The CDF display is multiplied by the Y-max of
the histogram so that is has the same height as the histogram (height
fit). When unchecked, a second y-axis is displayed for Gaussian
distribution, PDF and CDF.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Measures Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Measures Options
Usage Notes
You can edit a plotted histogram, in which case the User Defined Position value is an absolute
value, not a relative one.
When both Lower and Upper Bound are displayed, only the Upper Bound legend displays the
yield value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Legend Options
For example:
Mean= @(mean)
All available measures can be added using the Shortcut Buttons. The
variable @(name) adds the waveform name to the legend. The large field
at the bottom of the dialog box displays a preview of how the legend will
be laid out, using placeholder values.
Shortcut Buttons
Average Adds the average to the Stat Legend text.
Cp Adds the process capability to the Stat Legend text, which is equal to:
(upper_bound – lower_bound) / (^6* stddev)
This measure requires that the lower and upper bound are plotted,
otherwise it is <undefined>.
CpK Adds the process capability, assuming that it is not centered. It is equal to:
Min(upper_bound – mean) / (3*stddev),(mean – lower_bound) /
(3* stddev)
This measure requires that the lower or upper bound is plotted, otherwise
it is <undefined>.
Kurtosis Adds the skewness value to the Stat Legend text. This option is available
only when the value is available in the wdb file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Legend Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Calculation Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Calculator General Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Calculator General Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Calculator View Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Filter Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Filter Dialog Box
Objects
Table 8-74. Filter Dialog Box Contents
Field Description
Parameter Displays the parameter to filter on.
List Selects the List filter option.
Select Items in List Select the required parameter value(s) from this list and click OK to
filter the runs to be displayed on the Parameter Table Dialog Box.
Show All/Hide All You can show all runs or hide all runs for this parameter.
Condition Selects the Condition filter option.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Filter Dialog Box
Usage Notes
When you click OK on the Filter Dialog Box:
• runs in the Parameter Table are filtered out if they do not match the filter:
o the corresponding table rows are hidden
o compound items are hidden in the graph area.
• runs in the Parameter Table are filtered in if they match the filter:
o the corresponding table rows are visible
o if the Automatically Show Filtered Results option is selected, compound items
become visible in the graph area.
Related Topics
Parameter Table Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Find Tool Dialog Box
Objects
Table 8-75. Find Tool Dialog Box Contents
Field Description
Find in Specifies where to search. Choose from:
• Plotted Waveforms
• Structure List
• Waveform List
• List View
If the Structure View is disabled, the Structure List and Waveform List
items are replaced by Tree View.
Find Used to specify the search string. Wildcards are allowed in the
expression: asterisk (*) to match any number of characters; and the
question mark (?), to match a single character.
Exclude Specifies named waveforms to exclude from the search. Wildcards are
allowed in the expression: asterisk (*) to match any number of
characters; and the question mark (?) to match a single character.
Direction Specifies the direction of search when searching any of the list views.
The default is down.
Exact Specifies that the search will only return waveforms that match the
search string exactly.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Find Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Jitter Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Jitter Tool Dialog Box
Objects
Table 8-76. Jitter Tool Dialog Box Contents
Field Description
Jitter Selection Specifies the type of jitter analysis to perform. The options available in
the dialog box change based on the jitter type selected.
Output Waveform Specifies a name for the resulting jitter waveform. The default name is
<jitter_type>_jitter. If a jitter result waveform with the given name is
already plotted in the active graph window and you leave the output
waveform name unchanged in this field, the jitter result waveform will
be updated according to the jitter setup options when you click Apply or
OK.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Jitter Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Jitter Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Jitter Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Measurement Tool Dialog Box
Objects
Table 8-77. Measurement Tool Dialog Box Contents
Field Description
Measurement Specifies the measurement category and type.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Measurement Tool Dialog Box
Usage Notes
The measurements Delay, Intersect and Slope Intersect can only be applied to a single
waveform at any one time.
Where the value Automatic is specified for a field in the Measurement Setup section, a
parameter is applied individually to each waveform. If a value is entered instead, this value is
applied to all waveforms.
You cannot use horizontal cursors to define parts of a waveform for use with the Measurement
Tool.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Analyzer Dialog Boxes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Analyzer Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Analyzer Tool Dialog Box
Objects
Object Description
Plot Setup Tab
Source Waveforms:
Waveform List The Add Selected Waveform icon adds
the currently selected waveforms to the
Waveform List. The Clear Waveform List
icon removes all waveforms in the list. The
Delete icon removes the adjacent
waveform from the list.
The checkboxes to the left of each waveform
specify whether it will be used as the y-axis
when a new pivot waveform is generated (in
the calc database). Only compound waveforms
can be selected for the y-axis.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Analyzer Tool Dialog Box
Object Description
X-Axis Choose a waveform or parameters to be used
as the new x-axis for the selected source
waveform(s).
Display Options:
Stacked Plots all the waveforms separately in different
rows.
Overlaid Plots all the waveforms together in the same
row.
New Window Specifies that the waveforms are plotted in a
new window, rather than the current active
window.
Advanced Tab
Run Filters:
New Opens the Filters Setup Dialog Box, used to
add new filter parameter names and one or
more values to be excluded.
Edit Opens the Filters Setup Dialog Box, used to
edit the selected filter parameter and value(s).
Delete Deletes the selected filter parameter and
value(s).
Color Group:
Group Parameters Selects a parameter from the list of all the
parameters for the current waveform.
Waveforms are colored depending on the
selected parameter value. All waveforms that
share the same value are displayed with same
color. See also the -colorgroup parameter of
the add wave command.
Usage Notes
Refer to “Analyzing Waveform Parameters to Generate Pivot Waveforms” on page 256.
Related Topics
Filters Setup Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Filters Setup Dialog Box
Objects
Object Description
Parameter Choose the required sweep variable from
which to exclude sweep points. Alternatively,
choose Tag to exclude nested sweep points by
reference to the run ID or tag number.
Values to Hide Choose parameter values to hide.
Usage Notes
Refer to “Analyzing Waveform Parameters to Generate Pivot Waveforms” on page 256 and
“Parameter Analyzer Tool Dialog Box” on page 546.
Related Topics
Parameter Analyzer Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Table Dialog Box
Tip
If you right-click on a database or folder that contains multiple runs and choose Run Filter
from the popup menu, you can use the Parameter Table Dialog Box to select which runs are
to be shown, highlighted or grouped before you plot them. The icon for the database or
folder changes to indicate that a filter is currently applied.
Objects
Table 8-78. Parameter Table Dialog Box Contents
Field Description
Waveform Dropdown menu selects the compound waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Table Dialog Box
Usage Notes
Show and Highlight
You can choose whether to retain the selected Show or Highlight settings options after a
compound waveform File > Reload (or Ctrl+R) operation. Choose
Edit > Options > Automatic Reload and set the Keep Parameter Table Show/Highlight Filters
option.
If you add TEMP to the Color Group, then waveforms Wf_1, Wf_2 and Wf_3 will use color1
and waveforms Wf_4, Wf_5 and Wf_6 will use color2.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Parameter Table Dialog Box
If you add TEMP and PCX to the Color Group, then the waveforms will all have different
colors since there are no waveforms that have the same TEMP and PCX values. However, if
there is also the following waveform run:
Related Topics
Filter Dialog Box
Automatic Reload Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
Objects
Table 8-79. Pick Points Dialog Box Contents
Field Description
Picked Values
Mouse Position Shows the X and Y coordinates of the current mouse pointer
position in the waveform row.
Axis The axis label. This is dependent upon the waveform type:
• X or Y for standard waveforms
• Real, Imag for smith charts, polar charts or other complex
waveforms.
Previous The X or Y coordinate of the previous mouse-click.
Current The X or Y coordinate of the last mouse-click.
Difference The difference between the current and previous values for
each axis.
Clear Values Clears all listed values from the Picked Values table.
Picked Points Waveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
Add Text Annotation Adds a text annotation to the waveform at the position of each
pick point in the current active graph window. The annotation
text contains the x and y coordinates of the pick point, and the
slope, parameter and expression values (if present). See
“Using Text Annotations” on page 187.
Adds the slope marker to all pick point coordinates on all
Draw Slope
waveforms in the current active graph window. See “Slope”
on page 288.
Add Cursor(s) Adds a vertical cursor at the x coordinate of the pick points on
all waveforms in the current active graph window.
Adds a horizontal cursor at the y coordinate of the pick points
Add Horizontal Cursor(s)
on all waveforms in the current active graph window.
Adds a delta marker between all pick points on all
Add Delta
waveform(s) in the order they were created.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
Usage Notes
Only the last picked point for each waveform in the waveform row(s) will be present in the
Picked Points Waveforms list.
The information in the Pick Points dialog will reflect only the picked points of the currently
active graph window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
When a waveform is hidden, it is disabled in the Pick Points dialog box. Any existing pick
points on this waveform are also disabled, and new pick points cannot be added.
If an automatic reload occurs, all existing picked points placed on waveforms which need to be
reloaded will be removed. If “Keep N” mode is selected in the EZwave Display Preferences -
Automatic Reload Options, any pick points placed on the “kept” waveforms will not be
removed. If you choose File > Reload, all existing pick points are removed in all cases.
Table 8-80 lists the available expressions and their methods of calculation. In the calculation
method, wf is the waveform from the Pick Points Waveforms list for which the expression value
needs to be calculated, and x and y are the x and y coordinates of the last pick point of given
waveform.
Table 8-80. Expression Calculations
Expression Calculation Method
sin sin(y)
cos cos (y)
tan tan(y)
sinh sinh(y)
cosh cosh(y)
tanh tanh(y)
asin asin(y)
acos acos(y)
atan atan(y)
asinh asinh(y)
acosh acosh(y)
atanh atanh(y)
abs abs(y)
drv yval(drv(wf), x)
exp exp(y)
frexp frexp(y)
ln ln(y)
log log(y)
modf modf(y)
pow10 yval(pow10(wf), x)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Pick Points Dialog
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Analysis Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Analysis Dialog Box
Objects
Table 8-81. Power Analysis Dialog Box Contents
Field Description
Select Top Level Design Limits the results to those listed below the selected Top
Level Design.
Run Id For compound waveforms, specify the run.
Analysis
Set Hierarchical Depth Limits the analysis to the specified number of levels from the
top down. Results coming from parts of the circuit located at
a deeper level of hierarchy will not be listed.
Reference Column Name Specifies the reference column name in the Power Table on
which you can specify power thresholds and color scaling.
Choose from Min, Max, Avg, Sum, and Integ.
Analysis Range
Entire X Axis Specifies the entire input waveform range to be analyzed.
X Start Specifies the start of the range for the input waveform to be
analyzed. Results outside of this range will not be listed.
X End Specifies the end of the range for the input waveform to be
analyzed. Results outside of this range will not be listed.
At Cursor Specifies a single point to analyze the input waveforms. You
can drag the cursor to dynamically analyze results at
different points.
Power Table
Use Thresholds on Min | Max | If checked, specifies using thresholds on the value of the
Avg | Sum | Integ waveform in the range given by Lower and Upper.
Lower Specifies a minimum power consumption value. Results
below the specified threshold will not be listed.
Upper Specifies a maximum power consumption value. Results
above the specified threshold will not be listed.
Filter Names Used to filter the list of results to those matching the
specified term.
Filter Used to filter the list of results to those matching the
specified term.
Save As Saves the result of the analysis to a text or CSV file.
Copy to Clipboard Copies the results to the clipboard.
Color Scaling
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Analysis Dialog Box
Usage Notes
• Provides an interactive display of results from power analyses, requested by the SPICE
command .POWER_ANALYSIS in Eldo or Questa ADMS.
• In the Power Table, you can filter table entries on particular Type or Mode values by
right-clicking on the Type or Mode column heading to open a popup menu, and
checking the values you want to show. If there are more than ten different values, a
More item becomes available. Clicking on this opens the Power Analysis Selection
dialog box showing the full set of selectable values for that field.
Tip
See also Tutorial—Using Power Analysis for Static Leakage Analysis of a PLL Circuit in
the Eldo User’s Manual and .POWER_ANALYSIS in the Eldo Reference Manual.
Related Topics
Analyzing Power Consumption
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save As Dialog Box
Objects
Table 8-82. Save As Dialog Box Contents
Field Description
Location
File Name Specifies he name of the file to save. Type the name, including the
extension, or click to browse for a path name and filename.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save As Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save As Dialog Box
Usage Notes
• For details on customizing the Save As options, refer to“Save Data Options” on
page 484.
• When saving a database as a SPICE PWL file (.sti), only waveforms that contain voltage
or current sources are saved. If a database contains waveforms with neither voltage or
current sources, those waveforms are ignored.
• When compressing a saved file in gzipped format the original file is not removed. This
can be removed manually to reduce the amount of disk space required.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Save Windows Dialog Box
Usage Notes
If the window is saved as a TCL script, or a SWD script without the related database, the path to
the database (.wdb file) within the script may be written as an absolute path, a path relative to
the environment variable AMS_EZDO_ROOT or a path relative to the saved script, depending
on the Save As Paths settings in Save Data Options.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Select Hierarchy Dialog Box
Objects
Table 8-84. Select Hierarchy Dialog Box Contents
Field Description
Reference Hierarchy Level
Select a Hierarchy Specifies the reference design hierarchy for waveform comparison.
Select the hierarchy from the reference database in the upper part of
the Waveform List, and click the Add Selected Hierarchies icon .
Test Hierarchy Level
Specify a different Specifies a test hierarchy with a different name to the reference
name for the test hierarchy. Unchecked by default.
hierarchy level
Select a Hierarchy Specifies the test design hierarchy for waveform comparison. Select
the hierarchy from the reference database in the upper part of the
Waveform List, and click the Add Selected Hierarchies icon .
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Select Hierarchy Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Select Waveforms Dialog Box
Objects
Table 8-85. Select Waveforms Dialog Box Contents
Field Description
Add Waveforms Specifies the waveforms from the reference database to compare. The
from Reference reference waveforms to compare are listed on the left. Use the Add,
Database Remove and Re-order buttons to modify this list. The order of the list
only matters if the Take Corresponding Waveforms in Test
Database options is unchecked.
Add Waveforms Specifies the waveforms from the test database to compare. The white
from Test Database area on the left contains the list of test waveforms to compare.
Available if Take Corresponding Waveforms in Test Database is
unchecked. Use the Add, Remove and Re-order buttons to modify this
list.
Take Corresponding Specifies that waveforms with the same name are compared from the
Waveforms in Test reference and test databases. Enabled by default.
Database
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Shortcuts Manager Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Shortcuts Manager Dialog Box
Objects
Table 8-86. Shortcuts Manager Dialog Box Contents
Field Description
Scheme
Scheme dropdown menu Selects an available keyboard scheme.
Load Imports a *.ezkey keyboard schema file.
Apply and Save Applies the changes and exports the keyboard schema to a
*.ezkey file.
Actions
Filter Actions Specifies the text used to filter the Action column in the
Actions table.
Click to clear the filter.
By Category dropdown menu Filters the Category column in the Actions table.
By Context dropdown menu Filters the Context column in the Actions table.
Actions table Displays the Action, its Category and Context, and the
associated Key Stroke together with a Description. Click on
a column name to sort the table by that column.
Unbind Selection Removes the associated key stroke from the action selected
on the Actions table.
Restore Selected To Last Saved Reverts the selected Action table row to the last saved value
Show Empty Key Strokes When checked, filters the Actions table to show only those
actions that do not have an associated key stroke.
Edit
Key Stroke Specifies the keyboard shortcut for the action. For example,
to use Ctrl+S for an action, click in the Key Stroke field, hold
down the Ctrl key and press S. Then click the Update
button.
Description Specifies the keyboard shortcut description for the action.
Click the Update button to set.
Issues
Issues table Displays the Action, its Context, and the associated Key
Stroke for any actions where there are issues that need to be
resolved. For example conflicts with the same shortcuts used
for actions in the same context. Click on a row in the table
and correct the issue in the Edit pane.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Shortcuts Manager Dialog Box
Related Topics
Configuring Keyboard Shortcuts
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Update Waveforms Dialog Box
Objects
Table 8-87. Update Waveforms Dialog Box Contents
Field Description
Show Existing & New Updated waveforms are shown overlaid over the previous result.
Together
Replace The existing plotted waveforms are replaced with the new result.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Update Waveforms Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Names Display Dialog Box
Objects
Table 8-88. Waveform Names Display Dialog Box Contents
Field Description
Waveform Names Display
Waveform Hierarchy Specifies the hierarchy display as one of the following:
• Full Hierarchy — Specifies that the full hierarchy is displayed.
Default.
• No Hierarchy (Leaf Name Only) — Specifies that only the leaf
name is displayed.
• Display N Levels — The specified number of levels is displayed.
Justify Value Specifies how the waveform name is justified when displayed: Left
(Default) or Right.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Names Display Dialog Box
Usage Notes
These settings can also be defined as EZwave display preferences. Choose Edit > Options from
the main menu to open the EZwave Display Preferences Dialog Box, then expand the Fonts and
Colors folder on the left side, and choose Waveform Name.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (For Analog Waveforms)
Objects
Table 8-89. Appearance Tab for Analog Waveforms Contents
Field Description
Appearance Tab (Analog Waveform Properties when multiple waveforms are selected)
Waveform Name Specifies a unique name for the waveform. The user-defined name
will appear in the display and on the tooltip display. Use the Default
button to reset the waveform name to the full name derived from the
database.
Color Specifies the color of the waveform. Select a color from this
dropdown list. Default is Automatic. For compound waveforms,
select Match Run to use a single color for all waveforms from the
same simulation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (For Analog Waveforms)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (For Analog Waveforms)
Usage Notes
Changing any of the visual effects (line color, width, style or datapoint symbol) in this tab
affects all of the selected waveforms. Select Automatic to preserve the settings for each
individual waveform. Only the modified properties will apply to all selected waveforms.
If you change the line color, it only applies to that individual display of the wave. Further
displays will revert to the default color.
Since color is used to differentiate some states having the same shape, this can result in the loss
of visual information in the waveform. This can be addressed by using a cursor to access the
value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (For Analog Waveforms)
When you use either the Black Background, White Background or Monochrome color scheme
(chose Format > Color Scheme), any changes you make to the visual effects using the
Waveform Properties dialog box will apply to all three color schemes. However, a separate set
of visual effects is applied when using the Documentation color scheme, allowing you to use
different settings for documentation purposes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (Digital Waveforms)
Objects
Table 8-90. Appearance Tab for Digital Waveform Contents
Field Description
Appearance Tab (Digital Waveform Properties when multiple waveforms are selected)
Waveform Name Specifies a unique name for the waveform. The user-defined name
will appear in the display and on the tooltip display. Use the Default
button to reset the waveform name to the full name derived from the
database.
Automatic Color Specifies the color of the waveform will be set automatically.
Color Specifies the color of the waveform. Select a color from this
dropdown list.
Parameters Tab (Not available when multiple waveforms are selected)
Creation Date The date that the waveform was created.
Creation Time The time that the waveform was created.
Radix Waveform Properties (Available when multiple digital buses are selected)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Properties Dialog (Digital Waveforms)
Usage Notes
Changing any of the visual effects in this tab affects all of the selected waveforms. Select
Automatic to preserve the settings for each individual waveform. Only the modified properties
will apply to all selected waveforms.
If the line color is changed, it only applies to that individual display of the wave. Waveforms
added subsequently will use the default color.
Since color is used to differentiate some states having the same shape, this can result in the loss
of visual information in the waveform. This can be addressed by using a cursor to access the
value or by reverting to the Automatic Color setting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Waveform Calculator Dialog Boxes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Auto Correlation Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Auto Correlation Dialog Box
Objects
Table 8-91. Auto Correlation Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Auto Correlation Name Specifies the name for the AF output waveform.
Computation Method Specifies the method for calculating the PSD:
• Correlogram Method
• Periodogram Method
Refer to “Autocorrelation Function and Power Spectral Density” on
page 380 for more information about these options.
Parameter Setup
Input Method Specifies one of the following:
• Calculate Time Start
• Calculate Time Stop
• Calculate Points
• Calculate Sampling Freq.
Start /Stop Time Specifies the start and stop times for the signal.
Points / Frequency Specifies the number of sampling points and the sampling frequency.
The number of sampling points for the FFT results is (Number of
Points)/2.
FFT computations are performed only on those signals having
Number of Points set to a factor of 2n (n = 2, 3, ...). If this is not so,
then a slower DFT computation is executed.
Number of Points by Specifies the number of points for the output waveform.
Section
Number of Points for Specifies the number of points in the AF result (Nauto).
Auto Correlation Result
Number of Auto Specifies the number of autocorrelation points used for the PSD
Correlation Points computation.
Symmetric / Periodic Specifies the window shape as one of the following:
• Symmetric — Standard setup. The default.
• Periodic — Setup is enhanced for spectral analysis of periodic
signals.
For more information see “Window Shapes” on page 384
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Auto Correlation Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Chirp Transform Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Chirp Transform Dialog Box
Objects
Table 8-92. Chirp Transform Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name for the result waveform.
Parameter Setup
Input Method Specifies one of the following:
• Calculate Time Start
• Calculate Time Stop
• Calculate Points
• Calculate Sampling Freq.
Start /Stop Time Specifies the start and stop times for the signal.
Points / Frequency Specifies the number of sampling points and the sampling frequency.
The number of sampling points for the FFT results is (Number of
Points)/2.
FFT computations are performed only on those signals having
Number of Points set to a factor of 2n (n = 2, 3, ...). If this is not so,
then a slower DFT computation is executed.
Click to set the default Chirp Transform setup parameters.
Number of Points for Specifies the number of points for the output waveform.
Result
Symmetric / Periodic Specifies the window shape as one of the following:
• Symmetric — Standard FFT setup. The default.
• Periodic — Setup is enhanced for spectral analysis of periodic
signals.
Refer to “Window Shapes” on page 384 for more details about these
options.
Improving Chirp Results
Ref. Frequency Adjusts results around the y-axis so that the point for the specified
reference frequency is 0.0.
Frequency Min / Max (Optional) Specifies the start and end frequencies used to display the
Chirp results. Defaults are “Begin” and “End”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Chirp Transform Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Chirp Transform Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Constellation Diagram Dialog Box
Objects
Table 8-93. Constellation Diagram Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Parameter Setup
Delay Specifies the initial time delay before the first sampling is taken. This
is used as an offset in order to sample each symbol at the center of
each digital data duration.
Symbol Period Specifies the sampling period for the calculation. This value must be
deduced from the circuit.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Constellation Diagram Dialog Box
Usage Notes
The source waveform must be a complex-valued transient waveform. If you have only real-part
and imaginary-part (or gain and phase) waveforms, you can reconstruct the complex-valued
waveform using the complex function in the Waveform Calculator.
Each scattered dot on a constellation diagram represents a unique symbol, and each symbol
represents unique digital data bits. Digital data is parsed into data lengths that encode the
symbol waveform. The period between two consecutive symbols can be deduced from the
circuit or can be measured from the transient symbol waveform. The Symbol Period is used as a
sampling period for generating the constellation diagram.
An inappropriate Delay or Symbol Period selection will result in a bad constellation diagram.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Convolution Dialog Box
Objects
Table 8-94. Convolution Dialog Box Contents
Field Description
Source Waveform(s) Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name of the output waveform.
Parameter Setup
Sampling Frequency Specifies the sampling frequency of the input datasets.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Convolution Dialog Box
Usage Notes
All of the data points in the source waveforms must be equidistant. To create a uniformly-
sampled waveform data set, use the windowing function in the Waveform Calculator and select
the Uniform Sampling option. Refer to “Windowing Transform Dialog Box” on page 636 for
details.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cross Correlation Dialog Box
Objects
Table 8-95. Cross Correlation Dialog Box Contents
Field Description
Source Waveform(s) Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name of the output waveform.
Parameter Setup
Sampling Frequency Specifies the sampling frequency of the input datasets.
Number of Points of the Specifies the number of points used in the first input waveform.
First Input Waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Cross Correlation Dialog Box
Usage Notes
All of the data points in the source waveforms must be equidistant. To create a uniformly-
sampled waveform data set, use the windowing function in the Waveform Calculator and select
the Uniform Sampling option. Refer to “Windowing Transform Dialog Box” on page 636 for
details.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Error Vector Magnitude and Bit Error Rate Dialog Box
Figure 8-50. Error Vector Magnitude and Bit Error Rate Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Error Vector Magnitude and Bit Error Rate Dialog Box
Objects
Table 8-96. Error Vector Magnitude and Bit Error Rate Dialog Box Contents
Field Description
Ref / Mod Specifies the source waveforms. Ref must be the constellation
diagram of a reference signal. Mod must be the constellation diagram
of a modulated signal. The Add Selected Waveform icon adds
the currently selected waveform. The Clear Waveform List icon
removes all waveforms in the list.
Output
Phase Error (in degrees) Specifies the phase error output variable.
Magnitude Error Name Specifies the magnitude error output variable.
Error Vector Magnitude Specifies the error vector magnitude output variable.
Name
Bit Error Rate MPSK Specifies the name of the BER MPSK (M-ary Quadrature Amplitude
Name Modulation)-modulated output signal. Only available if Use Bit Error
Rate MPSK Param is selected.
Bit Error Rate MQAM Specifies the name of the BER MQAM (M-ary Phase Shift Keying)-
Name modulated output signal. Only available if Use Bit Error Rate MQAM
Param is selected.
Parameter Setup
Use Bit Error Rate Specifies that the BER for an MPSK (M-ary Quadrature Amplitude
MPSK Param Modulation)-modulated signal is estimated. Enter the M Param.
Use Bit Error Rate Specifies that the BER for an MQAM (M-ary Phase Shift Keying)-
MQAM Param modulated signal is estimated. Enter the M Param.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Dialog Box
Objects
Table 8-97. Eye Diagram Dialog Box Contents
Field Description
Source Waveform Specifies the source waveform. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform Specifies the source waveform.
Parameters Setup
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Eye Diagram Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Fast Fourier Transform Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Fast Fourier Transform Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Fast Fourier Transform Tool Dialog Box
Objects
Table 8-98. Fast Fourier Transform Tool Dialog Box Contents
Field Description
File menu Select File > Open Configuration to load a FFT configuration.
Select File > Save Configuration to save a FFT configuration. All
parameter of the FFT Tool GUI are saved, except the source
waveform and the output waveform names, with file extension
*.ez_cfg.
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name of the output waveform.
Parameter Setup
Input Method Specifies one of the following:
• Calculate Time Start
• Calculate Time Stop
• Calculate Points
• Calculate Sampling Freq.
Start /Stop Time Specifies the start and stop times for the signal.
Points / Frequency Specifies the number of sampling points and the sampling frequency.
The number of sampling points for the FFT results is (Points)/2.
If Points is set to a factor of 2n (n = 2, 3, ...), the FFT computation is
more efficient.
Click to set the default FFT setup parameters.
Symmetric / Periodic Specifies the window shape as one of the following:
• Symmetric — Standard FFT setup. The default.
• Periodic — Setup is enhanced for spectral analysis of periodic
signals.
Refer to “Window Shapes” on page 384 for more details about these
options.
Improve FFT Results
Ref. Frequency Adjusts results around the y-axis so that the point for the specified
reference frequency is 0.0.
Frequency Min / Max (Optional) Specifies the start and end frequencies used to display the
FFT results. Defaults are “Begin” and “End”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Fast Fourier Transform Tool Dialog Box
Table 8-98. Fast Fourier Transform Tool Dialog Box Contents (cont.)
Field Description
Normalize Results Specifies that all results are divided by (Number of Points)/2, except
for the first point, which is divided by Number of Points.
Windowing Specifies a windowing transform to apply to the signal from:
• Bartlett
• Blackman
• Blackman-Harris
• Dolph-Chebyshev
• Hamming
• Hanning
• Kaiser
• Klein
• Parzen
• Rectangular
• Welch
Refer to “Windowing Transforms” on page 385 for more details
about these options.
Sampling Specifies the sampling method as one of the following:
• Use Data Points — Select if the input data has equidistant Time
Steps. The default.
• Cubic Spline — Interpolated points are computed using the Cubic
Spline method rather than linear interpolation.
• Uniform Sampling — Select otherwise.
Pad with Zeros Select to enable data padding with zeros.
Noise and Distortion Measurements
Display SNR, SNDR, Specifies SNR, SNDR (alias for SINAD), SFDR, ENOB, and THD
SFDR, ENOB, THD are displayed in the FFT graph area. Applies to non-compound
waveforms only.
Signal Frequencies (Optional) Specifies a comma-separated list of frequencies to be
considered as signal for the noise and distortion calculations.
Frequencies can be selected outside of Minimum Frequency and
Maximum Frequency. Example:
75e6, 200Meg
Number of Harmonics (Optional) Specifies the number of harmonics of the signal to be
considered. Default value is 6 (signal + 5 harmonics).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Fast Fourier Transform Tool Dialog Box
Table 8-98. Fast Fourier Transform Tool Dialog Box Contents (cont.)
Field Description
Bin Size Specifies the number of points to take into account around the
fundamental signal. For example:
• with Bin Size = 0, only the fundamental is taken into account
• with Bin Size = 1, the frequencies taken into account correspond
to the first point to the left and right for the found fundamental
and each of its associated harmonics.
The default value depends on the Windowing transform selected.
Plot FFT
Unit Specifies that the following plot options are enabled:
• dB — Specifies result waveform displayed in dB.
• Phase — Specifies result waveform for the phase displayed in
degrees.
• Magnitude — Specifies result waveform for the absolute
magnitude of the input waveform displayed.
• Real — Displays the real part of the result waveform.
• Imaginary — Displays the imaginary part of the result waveform.
Plot as Specifies the drawing mode as one of the following:
• Spectral — Specifies the “spectral” drawing mode. The default.
• Continuous — Specifies the “continuous” drawing mode.
Scale Specify the plot scale as either:
• Linear
• Log
Usage Notes
In order to estimate the power density spectrum of a random signal, only a finite part of the
signal is used in practice even if the signal is of infinite duration. In order to reduce the
undesirable effects of truncating the data records (leakage), it is convenient to apply different
types of Windowing that gradually taper the data near the ends of the record, thereby avoiding
the abrupt truncation of a rectangular window.
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic option, unless
EZwave’s FFT is executed on an FFT_INPUT waveform. In this case, Eldo has already
considered the periodicity of the input signal.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonic Distortion Dialog Box
Note
Refer to “Harmonic Distortion Function” on page 383 for details on how the harmonic
distortion function computes the harmonics and the total harmonic distortion (THD) of the
input waveform signal.
Objects
Table 8-99. Harmonic Distortion Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonic Distortion Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonics Meter Dialog Box
Objects
Table 8-100. Harmonics Meter Dialog Box Contents
Field Description
Select Hierarchy
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonics Meter Dialog Box
Usage Notes
The maximum Fourier frequency is calculated for each input waveform. These values are then
sorted from highest to lowest and the waveforms plotted in this order. Figure 8-55 shows an
example plot of one of the waveforms and its annotations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonics Meter Dialog Box
A second plot is generated at the same time, showing the Harmonics Meter frequency values
sorted from highest to lowest (index), as shown in Figure 8-56.
A Harmonics Meter report is also produced, as shown in Figure 8-57, which provides advice
and guidelines on settings in order to obtain or improve the results of the harmonics meter
analysis.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Harmonics Meter Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Dialog Box
Objects
Table 8-101. Histogram Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Parameter Setup
Number of Bins Specifies the number of waveform divisions (resolution) to use. The
default is 10.
Minimum X Value Specifies the X value at the lower bound of a window interval.
Maximum X Value Specifies the X value at the upper bound of a window interval.
Gather Values outside Restricts the histogram width to (mean +-SIGBIN* standard
Sigmas” deviation) and specifies the value of SIGBIN, which is equivalent to
the SPICE Eldo SIGBIN parameter.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Histogram Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Inverse Fast Fourier Transform Dialog Box
Objects
Table 8-102. Inverse Fast Fourier Transform Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name of the output waveform.
Parameter Setup
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Inverse Fast Fourier Transform Dialog Box
Table 8-102. Inverse Fast Fourier Transform Dialog Box Contents (cont.)
Field Description
Input Method Specifies one of the following:
• Calculate Start Frequency
• Calculate Stop Frequency
• Calculate Points
• Calculate Time Sampling
Start /Stop Frequency Specifies the start and stop frequencies for the signal.
Points / Time Specifies the number of sampling points and the sampling time.
Click to set the default IFFT setup parameters.
Normalized Input Specifies that all real and imaginary parts of the result are divided by
(Number of Points)/2 except for the first point, which is divided by
Number of Points.
Improve IFFT Results
Sampling Specifies the sampling method as one of the following:
• Use Data Points — Select if the input data has equidistant time
steps. The default.
• Cubic Spline — interpolated points are computed using the Cubic
Spline method rather than linear interpolation.
• Uniform Sampling — Select otherwise.
Pad with Zeros Specifies that padding with zeros is allowed.
Usage Notes
An IFFT analysis always creates results with an even number of points. This means that when
calculating results in conjunction with an FFT analysis, an even number of points with the FFT
must also be used if the following condition is to be fulfilled:
IFFT(FFT(signal)) = signal
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Phase Noise Dialog Box
Objects
Table 8-103. Phase Noise Dialog Box Contents
Field Description
Source Waveforms Specifies the Nominal and Rms source waveforms. The Add
Selected Waveform icon adds the currently selected waveform.
The Clear Waveform List icon removes all waveforms in the list.
Output
Waveform Name Specifies the name of the output waveform. The result waveform has
a frequency domain waveform and a dBc range.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Phase Noise Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Spectral Density Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Spectral Density Dialog Box
Objects
Table 8-104. Power Spectral Density Dialog Box Contents
Field Description
Source Waveform Specifies the source waveforms. The Add Selected Waveform
icon adds the currently selected waveform. The Clear
Waveform List icon removes all waveforms in the list.
Output Waveform
Power Spectral Density Specifies the name for the PSD output waveform.
Name
Computation Method Specifies the method for calculating the PSD:
• Correlogram Method
• Periodogram Method
Refer to “Autocorrelation Function and Power Spectral Density”
on page 380 for more information about these options.
Parameter Setup
Input Method Specifies one of the following:
• Calculate Time Start
• Calculate Time Stop
• Calculate Points
• Calculate Sampling Freq.
Start /Stop Time Specifies the start and stop times for the signal.
Points / Frequency Specifies the number of sampling points and the sampling
frequency.
The number of sampling points for the FFT results is (Number of
Points)/2.
FFT computations are performed only on those signals having
Number of Points set to a factor of 2n (n = 2, 3, ...). If this is not so,
then a slower DFT computation is executed.
Number of Points by Specifies the number of points for the output waveform.
Section
Number of Points for Auto Specifies the number of points in the AF result (Nauto).
Correlation Result
Number of Auto Specifies the number of autocorrelation points used for the PSD
Correlation Points computation.
Number of Points for PSD Specifies the number of points for the PSD result.
Result
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Spectral Density Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Power Spectral Density Dialog Box
Usage Notes
This dialog box accesses two different but related functions: calculating the autocorrelation
function (AF) of a signal waveform, and calculating the power spectral density (PSD) of a
signal waveform. The AF is an average measure of its time domain properties; as such, it can be
especially relevant when the signal is random.
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
PSS Residue Dialog Box
Objects
Table 8-105. PSS Residue Dialog Box Contents
Field Description
Select Hierarchy
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
PSS Residue Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Signal to Noise Ratio Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Signal to Noise Ratio Dialog Box
Objects
Table 8-106. Signal to Noise Dialog Box Contents
Field Description
Source Waveform
Select Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. The Clear Waveform List
icon removes all waveforms in the list.
Parameter Setup
Functions: Select one or more of the functions to be processed.
snr sndr enob sfdr
Minimum Frequency Specifies the minimum frequency to be used in the calculation.
Maximum Frequency Specifies the minimum frequency to be used in the calculation.
Number of Harmonics Number of harmonics of the signal to be considered. Default is 6
Sampling Frequency Sampling frequency of the source waveform. Used to manage
harmonic folding and aliasing. Default is none.
Bin Size (Optional) Specifies the bin size for the signal to noise measurement,
that is, the number of points to take into account around the
fundamental signal. For example:
• with bin = 0, only the fundamental is taken into account
• with bin = 1, the frequencies taken into account correspond to the
first point to the left and right of the found fundamental and each
of its associated harmonics.
Frequency List
Pick Points Specifies that frequencies are added to the list by clicking on the
waveform.
Pick from Cursors Adds the frequencies at the cursors on the specified waveform to the
list.
Pick All Frequencies These dropdown lists specify a pair of cursors to use as boundaries
Between Cursors for picking frequencies.
Pick Populates the frequency list with the frequencies between the two
specified cursors.You can also enter the frequencies manually.
Usage Notes
Only a complex waveform or a waveform representing a Gain is accepted as a valid source
waveform.
If no minimum and maximum frequencies are specified, the computation is applied over the
entire waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Signal to Noise Ratio Dialog Box
The minimum and maximum frequency boundaries do not limit your ability to pick frequencies
outside of those boundaries in the Frequency List.
Related Topics
Waveform Calculator
Waveform Calculator GUI
snr
sndr
enob
sfdr
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Objects
Table 8-107. Spectrum Measurement Tool Dialog Box Contents
Field Description
File menu Select File > Open Configuration to load a Spectrum Measurement
(or FFT) configuration. Select File > Save Configuration to save a
Spectrum Measurement configuration. All parameter of the Spectrum
Measurement Tool GUI are saved, except the source waveform and
the output waveform names, with file extension *.ez_cfg.
Source Waveform(s)
Waveform List Specifies the source waveform(s). The Add Selected Waveform icon
adds the currently selected waveforms. The Clear Waveform
List icon removes all waveforms in the list. The Delete icon
removes the specified waveform from the list.
FFT Setup
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Spectrum Measurement Tool Dialog Box
Related Topics
Spectrum Measurement Function
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Tcl File Viewer Dialog Box
Objects
Table 8-108. Tcl File Viewer Dialog Box Contents
Field Description
Text window Displays the Tcl function. You can edit the text in this window.
Status Message Displays status messages.
Reload File Reloads the current user-defined function.
Skip Skips the last error.
Skip All Skips all errors.
Continue Continues running the user-defined function, from the last error.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Tcl File Viewer Dialog Box
Usage Notes
You can drag waveform names from the Waveform List into the TCL File Viewer the same way
as you can when using the Waveform Calculator. The waveform name and path appears in the
text, as shown in the example below:
wf("<tutorial/Time-Domain_Results>v_load")
You can add documentation information that then appears automatically in the Waveform
Calculator Help pane, as shown highlighted in the code example:
If the user-defined function has some predefined values for a particular parameter, these can be
specified and subsequently selected from a dropdown menu on the Waveform Calculator dialog
box. Add a line for each of the parameters listing the possible values, as follows:
$PARAMNAME.POSSIBLE_VALUES = Value1,Value2,...,ValueN
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Top Noise Dialog Box
Objects
Table 8-109. Top Noise Dialog Box Contents
Field Description
Select Hierarchy
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Top Noise Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
topnoise
dataset topnoise
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Windowing Transform Dialog Box
Objects
Table 8-110. Windowing Transform Dialog Box Contents
Field Description
Select Waveform Specifies the source waveforms. The Add Selected Waveform icon
adds the currently selected waveform. TheClear Waveform List
icon removes all waveforms in the list.
Output Waveform
Name Specifies the name of the output waveform
Parameter Setup
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Windowing Transform Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Dialog Box and Field Reference
Windowing Transform Dialog Box
Related Topics
Waveform Calculator
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Appendix A
Eldo Simulation
The Eldo simulator outputs waveform data that can be displayed by EZwave. This section
covers the different scenarios where EZwave works with the Eldo Simulator.
Run Eldo With EZwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Complete Eldo Simulation and View Simulation Data Later . . . . . . . . . . . . . . . . . . . . . 640
Manual Status Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
Marching Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
Joint Waveform Database Read API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
AMS Results Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
This command invokes the Eldo simulator and directs it to run a complete simulation
and output the data to a file.
The simulator regularly saves incremental data to the disk (by default, each 100Mbs
of data). This enables you to run very large simulations without consuming too much
memory.
• Use the -noisaving option to disable incremental saves inside the Eldo simulator.
• Use a pre-defined configuration:
eldo test.cir -ezwave -wdb_config config.swd &
2. The simulator requests that EZwave display waveforms as defined in the config.swd file
(this is an EZwave Save Window file) instead of the .PLOT statements defined in the
netlist test.cir. If some post-processed waveforms were stored through config.swd, they
are automatically re-computed with new simulation data.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Eldo Simulation
Complete Eldo Simulation and View Simulation Data Later
3. When the simulation is completed, the simulator exits and EZwave remains until you
exit the program.
This command invokes the Eldo simulator and directs it to run a complete simulation
and output the data to a file.
Alternatively, if you want to reuse the JWDB server launched by Eldo for other Eldo
simulations, use the -jwdb_servermode option as in the following example:
eldo test.cir -jwdb_servermode
This option specifies that the JWDB server launched by Eldo can be re-used by other
simulations. Useful data is stored in a file pointed to by the environment variable
AMS_WDBSERVER_INFO, which by default is located in $HOME/.ezwave/
jwdbserver.info. To modify the default:
• Set the environment variable AMS_USE_ENV:
setenv AMS_USE_ENV 1
Note
JWDB Server mode can also be specified in the eldo.ini file.
In this mode, the JWDB server will exit after the time specified by the environment
variable AMS_WDBSERVER_TIMEOUT (if Eldo is not using it). Its default value is
60 minutes. To modify this value:
• Set the environment variable, AMS_USE_ENV:
setenv AMS_USE_ENV 1
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Eldo Simulation
Manual Status Update
Note
For this release, the following limitations apply for this scenario:
Output in JWDB format: Invoke the Eldo Simulator and run a complete simulation as
in the following example:
eldo test.cir &
Then invoke EZwave and use the File > Open option to open the .wdb file generated by
the simulation.
2. To update the data in the EZwave viewer, click the Update Waveform Data button in the
EZwave toolbar. This updates displayed waveforms with new simulation data.
Note
For this release, the following limitation applies for this scenario:
If jwdb_servermode is set (from the command line or in the eldo.ini file) when an Eldo
simulation is invoked, the simulation output data cannot be accessed until after the
simulation completes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Eldo Simulation
Marching Update
Marching Update
Waveform data can be collected from a running simulation at a pre-defined set interval. This
interval is set in EZwave and is run simultaneously with the Eldo Simulator. This automates the
process of updating waveform data viewed in EZwave.
Procedure
1. Invoke Eldo Simulator using one of the following methods:
Command line invocation: Invoke with EZwave with the following command:
eldo test.cir -ezwave &
Output in JWDB format: Invoke the Eldo Simulator and run a complete simulation as
in the following example:
eldo test.cir &
Then invoke EZwave and use the File > Open option to open the .wdb file generated by
the simulation.
2. In EZwave, select Edit > Options to invoke the EZwave Display Preferences Dialog
Box and click General to view the General Options page.
3. In the Marching Waveforms section, set the update interval by either of the following
options:
• Automatically Update Displayed Waveforms Every X time interval: The time
interval can be by second, minute, or hour.
• Automatically Update Displayed Waveforms Every X% of Simulation: This
updates based on the percentage completion of the simulation.
Be careful not to set too small of an interval. Setting a short interval increase the number
of updates and then the amount of resources globally used to update the waveform data
viewed in EZwave.
Note
For this release, the following limitation applies for this scenario:
If jwdb_servermode is set (from command line or in the eldo.ini file) when an Eldo
simulation is invoked, the simulation output data cannot be accessed until after the
simulation completes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Eldo Simulation
AMS Results Browser
This Read API is documented in the Joint Waveform Database Read API Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Eldo Simulation
AMS Results Browser
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Appendix B
Waveform Calculator Functions
Detailed descriptions of all the built-in functions available in the Waveform Calculator are
listed alphabetically in this section.
Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
Function Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
abs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
absolutejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655
absolutejitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657
acos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658
acosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659
acot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660
acoth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661
add. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662
allandeviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664
asin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665
asinh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666
atan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
atan2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668
atanh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
atod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
autocor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
avg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
baseline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
calcvartype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
cdf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
ceil. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
chirp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
complex. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
compress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
concat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
conjugate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
constellationdiagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
continuous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688
convolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
cosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
cot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693
coth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cphase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
cphytrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696
crosscorrelation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
crossing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
cycle2cyclejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
cycletocyclejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
cycletocyclejitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
datatodig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
datatowf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
dchysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
db . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
db10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
deg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
derive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
drv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
dtoa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
dtoaonbit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716
dutycycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718
enob. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720
evmber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
exp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
eye . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
eyeamplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
eyecphy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
eyecrossingamplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
eyedelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730
eyediagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
eyefalltime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
eyeheight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734
eyeheightatx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
eyejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
eyemeasures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
eyerisetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
eyesetmask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
eyesnr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
eyewidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
eyewidthaty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
eyewithtrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745
falltime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
fft. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
firstdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752
floor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754
fmod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frequencyjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758
frexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
gaussiandistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
gendecade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762
genlinear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 763
genoctave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
getelementat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
gmargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766
gptocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767
halfperiodjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768
harmonicdistortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
harmonics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
harmonicsmeter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
hdist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
histogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
hypot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
idb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
idb10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
ifft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778
iipx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
imag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
integ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
intersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784
join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
larger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788
ldexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789
length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
lesser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
ln . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
localmax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
localmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797
longtermjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798
mag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 801
maxdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 802
maxspectrumdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 804
min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 806
modf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807
mptocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 808
nand. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 809
noisetosignaldbc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 810
noisetrantophasenoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811
nor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 812
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
oipx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813
period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814
periodjitter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 816
periodjitterbyintegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818
phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819
phasenoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820
phnoisebydlm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821
phnoisebymixer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
phmargin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 824
pivot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825
plotjitterconfidenceinterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826
pow10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 827
psd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828
pssresidue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831
pulsewidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 832
rad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 834
real . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835
reglin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
relation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 837
removepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
risetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
ritocomplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
rms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
rms_ac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
rms_accurate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
rms_noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
rms_tran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
rol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847
ror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
round . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850
samplelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
samplepsd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
setAngleUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856
setNotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
setTemperatureUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
settlingtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
sfdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860
shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862
shiftedmaxdiff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863
sin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865
sinad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
sinh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869
sla . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
slewrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
slope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
slopeintersect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
sndr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
snr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
sorty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 879
spectrummeasurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880
sphibyjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883
sphifilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
sqr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
sqrt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 887
sra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
stddev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
tan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 891
tanh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892
thd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 893
tiejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 895
timeabsolutejitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 897
timelongtermjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899
timeperiodjitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 901
timestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 903
todchysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 904
topline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 905
topnoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 906
trunc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 907
var . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
wf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
wftoascii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911
wftodata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912
windavg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914
windowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 915
xcompress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917
xdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
xnor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919
xofmax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
xofmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
xup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 922
xval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 923
xwave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 924
xytowf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
yval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
Syntax Conventions
Syntax Conventions
The following conventions are used in the Usage sections of the detailed function descriptions
for Required, Required Replace and Optional Replace.
• Required — Function names are bolded and must be typed exactly as shown.
• Required Replace — Required argument place holders are in bold italics. You must
replace these arguments with a value or string. For example,
abs(wf)
indicates that you must replace the required argument wf with a value.
• [Optional Replace] — Optional argument place holders are surrounded by square
brackets [ ] and in italics. When using these optional arguments, you must replace them
with a value or a string. For example,
acos(wf[, x_start, x_end])
indicates that if you want, you can supply start and end values for x by replacing x_start
and x_end with values.
Note
The square brackets [ ] around optional arguments may be omitted in some Usage
lines of the function descriptions to improve clarity. In these cases, multiple Usage
lines are listed to show the different combinations of optional arguments.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
Function Descriptions
Function Descriptions
All of the functions are available in the Functions list on the Waveform Calculator, and some of
them also appear as buttons in the calculator when the appropriate category is selected from the
dropdown list in the calculator.
Refer to Waveform Calculator for details.
Tip
Some example Tcl scripts are provided as User-Defined Functions for the Waveform
Calculator. Refer to “Waveform Calculator Example Tcl Scripts” on page 1154.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
Function Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
Function Descriptions
Note
Special functions do not appear in the Waveform Calculator Functions list but may be used
for scripting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
abs
abs
Waveform Calculator Mathematical function.
Returns the absolute value of the waveform.
Usage
abs(wf)
Arguments
• wf
(Required) Specifies the input waveform name.
Return Values
Waveform. The absolute value of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
absolutejitter
absolutejitter
Waveform Calculator Phase Noise function.
Returns the absolute jitter value. Applied to SST Noise Analysis results.
Usage
absolutejitter(wf, f0[, f_start, f_stop, sampling_nb_points])
Arguments
• wf
(Required) Specifies the name on the input waveform on which the absolute jitter is
calculated.
• f0
(Required) Specifies the fundamental frequency of SST noise analysis. Default value is
“Automatic”.
Note
If f0 is stored in the database by the Eldo RF simulator, this argument becomes
optional.
• f_start
(Optional) Specifies the x value at the beginning of the interval for the absolute jitter
calculation. Default value is “Begin”.
• f_stop
(Optional) Specifies the x value at the end of the interval for the absolute jitter calculation.
Default value is “End”.
• sampling_nb_points
(Optional) Defines whether sampling is applied to the source waveform and specifies the
number of sampling points. Default value is “Automatic”, for which 100 sampling points
are considered.
Return Values
Double. The absolute jitter value of the input waveform.
Description
In forced circuits, jitter is considered as a random stationary process and its variance can be
obtained from the phase noise spectrum. Absolute or synchronous jitter corresponds to the jitter
(average rms value) with respect to an ideal (jitter-free) reference source.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
absolutejitter
Note
The calculation is designed for input waveforms SPHI, DB(SPHI), SPHI_SSB,
DB(SPHI_SSB), Lf and DB(PHNOISE), but not restricted to this list.
Examples
absolutejitter(wf1)
# This will calculate the absolute jitter for waveform wf1 with an
# automatically detected fundamental frequency that has been stored in
# the database by the Eldo RF simulator. The calculation will use
# the entire waveform. There will be 100 sampling points - the default.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
absolutejitterbyintegration
absolutejitterbyintegration
Waveform Calculator Phase Noise function.
Calculates the rms absolute jitter by Sphi integration.
Usage
absolutejitterbyintegration(wf, fund[, fstart, fstop ])
Arguments
• wf
(Required) Specifies the two-sided Sphi density waveform (in dB rad2/Hz vs frequency in
Hz) as computed using, for example, sphibyjitter. Only the positive side of Sphi is used.
• fund
(Required) Specifies the fundamental frequency.
• fstart
(Optional) Specifies the lower frequency limit in integration. Default is “Begin”.
• fstop
(Optional) Specifies the upper frequency limit in integration. Default is “End”.
Return Values
Double. The absolute jitter by Sphi integration of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
acos
acos
Waveform Calculator Trigonometric function.
Computes the principal value of the arccosine.
Usage
acos(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The arccosine of the input waveform.
Description
Computes the principal value of the arccosine of wf. The input value should be in the range of
[-1, 1].
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
acosh
acosh
Waveform Calculator Trigonometric function.
Computes the hyperbolic arccosine of the waveform.
Usage
acosh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic arccosine of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
acot
acot
Waveform Calculator Trigonometric function.
Computes and returns the arccotangent of the waveform.
Usage
acot(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The arccotangent of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
acoth
acoth
Waveform Calculator Trigonometric function.
Computes and returns the hyperbolic arccotangent of the waveform.
Usage
acoth(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic arccotangent of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
add
add
Waveform Calculator Miscellaneous function.
Adds two overlapping waveforms, retaining non-overlapping parts.
Usage
add(wf1, wf2)
add(wf1[, x_start1, x_end1], wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. The summation of two waveforms.
Description
Data points in non-overlapping regions are unchanged in value. Input waveforms must overlap.
Examples
Figure B-1 shows example results when using the add and join commands.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
add
Related Topics
join
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
allandeviation
allandeviation
Waveform Calculator Phase Noise function.
Returns an Allan Deviation vs. Time waveform from SST Noise Analysis results.
Usage
allandeviation(wf, f0[, f_start, f_stop, sampling_nb_points, compute_variance])
Arguments
• wf
(Required) Specifies the name on the input waveform on which the Allan Deviation is
calculated.
• f0
(Required) Specifies the fundamental frequency of SST noise analysis. Default value is
“Automatic”.
Note
If f0 is stored in the database by the Eldo RF simulator, this argument becomes
optional.
• f_start
(Optional) Specifies the x value at the beginning of the interval for the Allan Deviation
calculation. Default value is “Begin”.
• f_stop
(Optional) Specifies the x value at the end of the interval for the Allan Deviation
calculation. Default value is “End”.
• sampling_nb_points
(Optional) Defines whether sampling is applied to the source waveform and specifies the
number of sampling points. Default value is “Automatic”, for which 100 sampling points
are considered.
• compute_variance
(Optional) When set to “true”, calculates Allan Variance rather than Allan Deviation.
Default value is “false”, which calculates Allan Deviation.
Return Values
Waveform. The Allan Deviation vs. Time for the input waveform.
Description
Can be applied to SST noise analysis results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
asin
asin
Waveform Calculator Trigonometric function.
Computes the principal value of the arcsine of the waveform.
Usage
asin(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The arcsine of the input waveform.
Description
Computes the principal value of the arcsine of wf. The input value should be in the range of
[-1, 1].
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
asinh
asinh
Waveform Calculator Trigonometric function.
Computes the hyperbolic arcsine of the waveform.
Usage
asinh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic arcsine of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
atan
atan
Waveform Calculator Trigonometric function.
Computes the principal value of the arctangent of the waveform.
Usage
atan(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The arctangent of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
atan2
atan2
Waveform Calculator Trigonometric function.
Computes and returns the principal value of the arctangent of y/x.
Usage
atan2(y, x)
Arguments
• y
(Required) Specifies the numerator of the input.
• x
(Required) Specifies the denominator of the input.
Return Values
Double. The arctangent of the input numbers.
Description
Computes the principal value of the arctangent of y/x, using the signs of both arguments to
determine the quadrant of the return value.
Upon successful completion, returns the arctangent of y/x in the range [-180, 180] degrees. If
both arguments are 0.0, 0.0 is returned.
Note
This function only accepts scalar numbers as input parameters.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
atanh
atanh
Waveform Calculator Trigonometric function.
Computes the hyperbolic arctangent of the waveform.
Usage
atanh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic arctangent of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
atod
atod
Waveform Calculator Miscellaneous function.
Transforms an analog waveform (or analog bus) to a digital waveform.
Usage
atod(wf[, threshold1, threshold2])
Arguments
• wf
(Required) Specifies the input waveform name.
• threshold1
(Optional) Specifies the threshold or low threshold.
• threshold2
(Optional) Specifies the high threshold.
Return Values
Waveform. The converted waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
autocor
autocor
Waveform Calculator Signal Processing function.
Computes the auto-correlation of the input waveform.
Usage
autocor(wf[, t_start, t_stop, fs, points, sampling, padding, normalized, windowType, alpha,
nsect, nauto, ncorr, computationMethod, f_ref, f_min, f_max, samplingEpsilon,
windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points-1)/fs) = t_stop - t_start
For periodic windows, the parameters above satisfy the following equation:
((points)/fs) = t_stop - t_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default), “Interpolation” or “Spline”.
• padding
(Optional) Activates data padding to pad the input data with zeros, before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left” or
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
• normalized
(Optional) Specifies whether you want to take an average on the raw data to reduce noise
and smooth the frequency domain waveform. Specify 1 to turn this on, or 0 to not modify
the raw data from calculation. Default is 0.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
autocor
• windowType
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular” (the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note
For Hanning, symmetric window shapes are preferred when using a Hanning
window in FIR filter design.
Periodic window shapes are preferred when using a Hanning window in spectral
analysis. This is because the Discrete Fourier Transform assumes periodic extension of
the input vector. A periodic Hanning window is obtained by constructing a symmetric
window and removing the last sample.
• alpha
(Optional) Specifies the alpha or beta value that is required by Hanning, Kaiser, and Dolph
Chebyshev windows. Default is “Default”.
• nsect
(Optional) Specifies the number of points by section. Default is “Automatic”.
• nauto
(Optional) Specifies the number of points for auto-correlation results. Default is
“Automatic”.
• ncorr
(Optional) Specifies the number of auto-correlation points used for power spectral density
computation. Default is “Automatic”.
• computationMethod
(Optional) Specifies the computation method. Legal values are: “PERIODO” (the default)
and “CORRELO”.
• f_ref
(Optional) Adjusts the results around the y-axis so that the point for the specified frequency
is 0.0. Default is “Automatic”.
• f_min
(Optional) Specifies the starting frequency used inside the power spectral density result
window. Default is “Automatic”.
• f_max
(Optional) Specifies the last frequency used inside the power spectral density result
window. Default is “Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
autocor
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs. Default is “Default”.
• windowShape
(Optional) Specifies the shape of the window. Legal values are “Symmetric” for standard
FFT setup or “Periodic” for enhancing FFT setup for spectral analysis of periodic signals.
Defaults to the global setting in the Waveform Calculation Options. Default is “Default”.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic
option, unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case,
Eldo has already considered the periodicity of the input signal.
Return Values
Waveform. The auto-correlation of the input waveform.
Description
Computes the auto-correlation of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
avg
avg
Waveform Calculator Statistical function.
Returns the average value of a waveform.
Usage
avg(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The average of the input waveform.
• both x_start and x_end are greater than the maximum value of the domain of wf, or
• both x_start and x_end are less than the minimum value of the domain of wf.
Description
The average value of a waveform is computed as follows:
If x_end is greater than the maximum value of the domain of wf, and x_start is less than the
maximum value, x_end is automatically adjusted to the maximum value of the domain of wf.
If x_start is less than the minimum value of the domain of wf, and x_end is greater than the
minimum value, x_start is automatically adjusted to the minimum value of the domain of wf.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
bandwidth
bandwidth
Waveform Calculator Measurement function.
Returns the bandwidth of the input waveform based on the calculation of its topline.
Usage
topline(wf[, db, mode, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• db
(Optional) Specifies the threshold value below the baseline (in dB) for the bandwidth
calculation. Default is 3.0.
• mode
(Optional) Specifies the bandwidth mode. Allowed values are: “low” (low pass filter),
“band” (bandpass filter), or “high” (high-pass filter). Default is “band”.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The bandwidth of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
baseline
baseline
Waveform Calculator Measurement function.
Returns the baseline of the input waveform based on the calculation of histograms.
Usage
baseline(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. The baseline of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
calcvartype
calcvartype
Waveform Calculator Miscellaneous function.
Returns the type of a Waveform Calculator variable.
Usage
calcvartype(name)
Arguments
• name
(Required) Specifies a variable name, entered between double quotes (“ ”).
Return Values
Integer. Returns the variable type:
• 2 - variable is a waveform
• 1 - variable is a scalar
• 0 - variable does not exist.
Description
Checks whether a specified variable exists in the Waveform Calculator calc folder or workspace
and, if it exists, determines whether the variable is a waveform or a scalar.
Examples
calcvartype("variable_a")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cdf
cdf
Creates a CDF (cumulative density function) from a source waveform.
Usage
cdf(wf[, shape])
Arguments
• wf
(Required) Specifies the input waveform name.
• shape
(Optional) Legal values are “continuous” (the default) and “step”. Using “step” specifies the
CDF is plotted as a step waveform.
Description
Creates a CDF from a source waveform.
If wf is histogram data, the computed CDF is based on the input data of the histogram, if
available, not on the histogram values. The number of points used is the number of points in the
histogram input data and not the number of bins in the histogram.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ceil
ceil
Waveform Calculator Mathematical function.
Computes the smallest integral value not less than each data point of the waveform.
Usage
ceil(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A waveform containing the ceiling values of the input waveform.
Description
Computes the smallest integral value not less than each data point of wf. Upon successful
completion, each returned value is expressed as a type double.
Related Topics
trunc
round
floor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
chirp
chirp
Waveform Calculator Signal Processing function.
Computes the Chirp Transform of the input waveform.
Usage
chirp(wf[, t_start, t_stop, fs, points, sampling, padding, windowType, alpha, res_nb_points,
f_ref, f_min, f_max, samplingEpsilon, windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points)/fs) = t_stop - t_start
For periodic windows, the parameters above satisfy the following equation:
((points - 1)/fs) = t_stop - t_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default), “Interpolation” or “Spline”.
• padding
(Optional) Activates data padding to pad the input data with zeros before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left” or
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
• windowType
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular” (the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
chirp
• alpha
(Optional) Specifies the alpha or beta value that is required by Hanning, Kaiser, and Dolph
Chebyshev windows.
• res_nb_points
(Optional) Specifies the number of points of the result waveform. Default is “Automatic”.
• f_ref
(Optional) Adjusts the results around the y-axis so that the point for the specified frequency
is 0.0. Default is “Automatic”.
• f_min
(Optional) Specifies the starting frequency used inside the chirp result window. Default is
“Automatic”.
• f_max
(Optional) Specifies the last frequency used inside the chirp result window. Default is
“Automatic”.
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value. Defaults to the global setting in the
“Waveform Calculation Options” on page 528.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs.
• windowShape
(Optional) Specifies the shape of the window. Legal values are “Symmetric” for standard
FFT setup or “Periodic” for enhancing FFT setup for spectral analysis of periodic signals.
Defaults to the global setting in the “Waveform Calculation Options” on page 528.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic
option, unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case,
Eldo has already considered the periodicity of the input signal.
Return Values
Waveform. The Chirp Transform of the input waveform.
Description
The DFT of a signal can be computed in a very efficient manner using the FFT. Equivalently,
this corresponds to computation of samples of the Z-Transform of a finite-length sequence
taken at equally spaced points around the unit circle. The most efficient algorithm used for
computing the DFT in the Z domain is the Chirp Z-Transform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
chirp
All input and output parameters can be selected in the same way as for the FFT option.
Note
A normalization is achieved by dividing all the data by: (points)/2.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
complex
complex
Waveform Calculator Complex function.
Constructs a complex waveform from two input waveforms.
Usage
complex(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. The complex waveform from two input waveforms.
Description
Constructs a complex waveform from two input waveforms. The input waveforms can be one of
the following:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
compress
compress
Waveform Calculator RF function.
Extracts the y-axis value of the waveform at the point where the difference between the actual
value of the waveform and the linear extrapolation of the waveform based on the computed
slope value becomes greater than val.
Usage
compress(wf, val[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• val
(Required) Specifies the compress value.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/array. The y-axis value corresponding to the compressed input waveform.
Description
Extracts the y-axis value of the waveform at the point where the difference between the actual
value of the waveform and the linear extrapolation of the waveform based on the computed
slope value becomes greater than val.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
concat
concat
Waveform Calculator Miscellaneous function.
Computes the concatenation of two waveforms, extending the first waveform by appending the
second.
Usage
concat(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. The concatenated waveforms.
Description
This command computes the concatenation of two waveforms, extending the first waveform by
appending the second. The first data point of the second waveform overlays the last data point
of the first waveform. The x-axis units of both waveforms must be identical.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
conjugate
conjugate
Waveform Calculator Complex function.
Constructs the conjugate of the source complex waveform.
Usage
conjugate(wf)
Arguments
• wf
(Required) Specifies the input waveform name.
Return Values
Waveform. The conjugate of the input complex waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
constellationdiagram
constellationdiagram
Waveform Calculator RF function.
Computes the constellation diagram of the complex input waveform.
Usage
constellationdiagram(wf, period, delay)
Arguments
• wf
(Required) Specifies the input waveform name.
• period
(Required) The Symbol Period can be deduced from the circuit. It is used as a sampling
period for the calculation.
• delay
(Required) Specifies the calculation start time. By default, this is set to 0.
Return Values
Waveform. The constellation diagram of the input waveform.
Description
Computes the constellation diagram of the complex input waveform. The constellation diagram
is a sampled view of a trajectory diagram.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
continuous
continuous
Waveform Calculator Miscellaneous function.
Converts any analog waveform to a continuous analog waveform.
Usage
continuous(wf)
Arguments
• wf
(Required) Specifies the input waveform.
Return Values
Waveform. The input waveform as a continuous waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
convolution
convolution
Waveform Calculator Signal Processing function.
Computes the convolution of the two input waveforms.
Usage
convolution(wf1, wf2[, points1, points2, fs, samplingEpsilon])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• points1
(Optional) Specifies the number of points of the first input waveform. Default is
“Automatic”.
• points2
(Optional) Specifies the number of points of the second input waveform. Default is
“Automatic”.
• fs
(Optional) Specifies the frequency of the signal. Default is “Automatic”.
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value. Default is 10-6.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs.
Return Values
The convolution of the two input waveforms.
Description
Computes the convolution of the two input waveforms. For two finite data sequences
x(n),n=0,...,N-1 and h(n),n=0,...,M-1 the discrete convolution is defined as follows:
For signals x(n), h(n) that are periodic with period N, the discrete FFT of their periodic
convolution is equal to the multiplication of the separate FFT results. This relation is called the
Discrete Convolution Theorem. Using zero padding of x(n) and h(n) to make circular
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
convolution
convolution yield the same result as linear convolution, the following method can then be
applied for computing the linear convolutions of two finite data sequences x(n),n=0,...,N-1 and
h(n),n=0,...,M-1:
1. Zero Padding
x'(n) = x(n) n=0,...,N-1
x'(n) = 0 n=N,...,N+M-1
h'(n) = h(n) n=0,...,M-1
h'(n) = 0 n=M,...,N+M-1
2. Multiply FFT's of x'(n) and h'(n)
x'(n)->X'(k) FFT
h'(n)->H'(k) FFT
Multiplication:
X'(k).H'(k)=Y'(k)
3. Inverse FFT
Y'(k)->y(n)=x(n)*h(n) IFFT
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cos
cos
Waveform Calculator Trigonometric function.
Computes the cosine of the waveform.
Usage
cos(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The cosine of the input waveform.
Description
Computes the cosine of wf, by default measured in degrees.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cosh
cosh
Waveform Calculator Trigonometric function.
Computes the hyperbolic cosine of the waveform.
Usage
cosh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic cosine of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cot
cot
Waveform Calculator Trigonometric function.
Computes and returns the cotangent.
Usage
cot(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The cotangent of the input waveform.
Description
Computes and returns the cotangent of wf. Cotangent is defined as the reciprocal of the tangent;
that is, cot(wf)=1/tan(wf).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
coth
coth
Waveform Calculator Trigonometric function.
Computes and returns the hyperbolic cotangent.
Usage
coth(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic cotangent of the input waveform.
Description
Computes and returns the hyperbolic cotangent of wf. Hyperbolic cotangent is defined as the
reciprocal of the hyperbolic tangent; that is, coth(wf)=1/tanh(wf).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cphase
cphase
Waveform Calculator Complex function.
Returns the phase of the input complex waveform in radians or degrees.
Usage
cphase(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The cphase of the input complex waveform.
Description
Returns the phase of the input complex waveform with unlimited bounds. In radians or degrees,
according to the option set in Edit > Options > Axis Data Units > Phase.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cphytrigger
cphytrigger
Waveform Calculator Statistical function.
Creates first zero-crossing trigger waveform for C-Phi. Also used to compute UI jitter and
transition jitter.
Tip
Used in conjunction with eyecphy function.
Usage
cphytrigger(wf1, wf2, wf3, ui, tolerance, computation, input, x_start, x_end)
Arguments
• wf1
(Required) Specifies the input waveform name for V(A)-V(B) (or V(A), see input
parameter).
• wf2
(Required) Specifies the input waveform name for V(B)-V(C) (or V(B), see input
parameter).
• wf3
(Required) Specifies the input waveform name for V(C)-V(A) (or V(C), see input
parameter).
• ui
(Optional) Specifies the minimum Unit Interval for the trigger. Default is “Automatic”.
• tolerance
(Optional) Specifies the tolerance on ui to detect transition. Valid values are “Automatic”, a
double value between 0.0 and 1.0, or a number followed by “%” (e.g. “20%”).
The transition threshold = (1 - tolerance/100) × ui.
Default is “Automatic” (20%).
• computation
(Optional) Specifies the type of calculation:
o “trigger” creates a trigger waveform.
o “uijitter” creates a UI jitter waveform.
o “transitionjitter” creates a transition jitter waveform.
Default is “trigger”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cphytrigger
• input
(Optional) Specifies the type of input:
o “differentials” specifies waveforms are differential lines, wf1 is V(A)-V(B), wf2 is
V(B)-V(C), and wf3 is V(C)-V(A).
o “lines” specifies waveforms are lines, wf1 is V(A), wf2 is V(B), and wf3 is V(C).
Default is “differentials”.
• x_start
(Optional) Start time of the input waveforms. Default is “Begin”.
• x_end
(Optional) Stop time of the input waveforms. Default is “End”.
Return Values
Waveform. Returns a trigger waveform, or a UI jitter waveform, or a transition jitter waveform,
according to the setting of the computation parameter.
The trigger waveform is the waveform used to trigger the C-Phy eye, which is right aligned to
the trigger. Only rising edges are considered as triggering events, falling edges are at time of
previous edge + UI. The UI jitter waveform is the variation of the UI, that is, current_period –
average_period.The transition jitter waveform is the time for the input differential signals to
cross the 0 level line. This equals 0 when there is a single cross.
Related Topics
C-Phy Eye Calculation
eye
eyecphy
eyesetmask
eyewithtrigger
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
crosscorrelation
crosscorrelation
Waveform Calculator Signal Processing function.
Computes the cross-correlation of the two input waveforms.
Usage
crosscorrelation(wf1, wf2[, points1, points2, fs])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• points1
(Optional) Specifies the number of points of the first input waveform. Default is
“Automatic”.
• points2
(Optional) Specifies the number of points of the second input waveform. Default is
“Automatic”.
• fs
(Optional) Specifies the frequency of the signal. Default is “Automatic”.
Return Values
Waveform. The cross-correlation of the two input waveforms.
Description
For two finite data sequences x(n),n=0,...,N-1 and y(n),n=0,...,M-1 the discrete cross-correlation
is defined as follows:
the cross-correlation can be computed by performing a Convolution on x(n) and y(-n), the time-
reversed version of y(n).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
crossing
crossing
Waveform Calculator Measurement function.
Measures the crossing of a waveform relative to default (automatically calculated) or user-
specified Y level.
Usage
crossing(wf)
crossing(wf, ylevel, slopetrigger)
crossing(wf, ylevel, slopetrigger, x_start, x_end)
crossing(wf, ylevel, slopetrigger, x_start, x_end, option)
crossing(wf, ylevel, slopetrigger, x_start, x_end, option, param)
Arguments
• wf
(Required) Specifies the input waveform name.
• ylevel
(Optional) Specifies the y value that sets the threshold of the signal. Specify “Automatic” to
have this value computed.
• slopetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
• param
(Optional) Specifies the simulation parameter to be used to generate the result waveform
when option = “WF”. Default is “CROSSINGX”.
Return Values
Waveform. The crossing of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cycle2cyclejitter
cycle2cyclejitter
Waveform Calculator Time-Domain Jitter function.
Computes the variation in time of the difference between the duration of two adjacent N-cycle
samples over part of, or the whole waveform.
Usage
cycle2cyclejitter(wf[, t_start, t_ stop, edgetrigger, nbcycles, single_threshold, topline. baseline,
threshold])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value.
• edgetrigger
(Optional) Defines the waveform edge(s) that are taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”.
• nbcycles
(Optional) Specifies the maximum number of waveform cycles in the time interval which
will participate in the jitter calculation. Possible values are an integer value or “Default” (1).
• single_threshold
(Optional) If “True”, the single threshold will be used (topline/baseline values are ignored).
If “False”, topline/baseline will be used. Used for source waveform period calculation.
Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source signal, used for
period calculation. Default is “Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source signal, used for
period calculation. Default is “Automatic”.
• threshold
(Optional) Specifies the y value that sets a single threshold for the source signal, used for
period calculation. Default is “Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cycle2cyclejitter
Return Values
Waveform. The N-cycle jitter waveform of the input waveform.
Description
N-cycle jitter can be described as the variation in time of the difference between the duration of
two adjacent N-cycle samples (each sample consists of a selected number of adjacent cycles)
over the whole, or part of, the waveform.
For N=1, N-cycle jitter equals the cycle-to-cycle jitter. This type of jitter is calculated only on
the source waveform. C2C helps to evaluate the instantaneous and very short-term signal
stability.
The jitter RMS value horizontal marker is displayed over the result waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cycletocyclejitter
cycletocyclejitter
Waveform Calculator Phase Noise function.
Returns the cycle-to-cycle jitter, applied to SST Noise Analysis results.
Usage
cycletocyclejitter(wf, f0[, x_start, x_end, sampling_nb_points, nbcycles] )
Arguments
• wf
(Required) Specifies the name of the input waveform on which the cycle-to-cycle jitter is
calculated.
• f0
(Required) Specifies the Fundamental Frequency of SST Noise Analysis. Default is
“Automatic”.
• x_start
(Optional) Specifies the X (frequency) value at the start of the jitter analysis interval.
Default is “Begin”.
• x_end
(Optional) Specifies the X (frequency) value at the end of the jitter analysis interval. Default
is “End”.
• sampling_nb_points
(Optional) Defines whether sampling is applied to the source waveform and specifies the
number of sampling points. Default value is “Automatic”, for which 100 sampling points
are considered.
• nbcycles
(Optional) Specifies the maximum number of waveform cycles which will participate in the
jitter calculation. Possible value is an integer value. Default is “Default”, corresponding to 1
cycle.
Return Values
Double. The cycle-to-cycle jitter value of the input waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
cycletocyclejitterbyintegration
cycletocyclejitterbyintegration
Waveform Calculator Phase Noise function.
Calculates rms cycle-to-cycle or adjacent k-period jitter by Sphi integration.
Usage
cycletocyclejitterbyintegration(wf, fund[, fstart, fstop, k ])
Arguments
• wf
(Required) Specifies the two-sided Sphi density waveform (in dB rad2/Hz vs frequency in
Hz) as computed using, for example, sphibyjitter. Only the positive side of Sphi is used.
• fund
(Required) Specifies the fundamental frequency.
• fstart
(Optional) Specifies the lower frequency limit in integration. Default is “Begin”.
• fstop
(Optional) Specifies the upper frequency limit in integration. Default is “End”.
• k
(Optional) Specifies the number of accumulated cycles. Default is 1.
Return Values
Double. The rms cycle-to-cycle or adjacent k-period jitter by Sphi integration of the input
waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
datatodig
datatodig
Waveform Calculator Miscellaneous function.
Creates a digital waveform based on one or two arrays of data events.
Usage
datatodig(array_of_datapoints)
datatodig(array_of_x, array_of_y)
Arguments
• array_of_datapoints
(Required) Specifies the input array of points. For example, [[x0, y0], …, [xn, yn]].
• array_of_x
(Required) Specifies the input array of x values. For example, [x0, x1, …, xn].
• array_of_y
(Required) Specifies the input array of y transition states. For example, [y0, y1, …, yn].
Return Values
Waveform. A new digital waveform from one or two arrays of data events.
Description
If one array is specified, it must contain data points wrapped between square brackets ( [ ] ). The
first element defines the x value, and the second one defines the y value. Elements are separated
by a comma. For example, [[x0, y0], [x1, y1], …, [xn, yn]].
If two arrays are specified, the first array contains the x values, and the second array contains the
y values. For example, [x0, x1, …, xn], [y0, y1, …, yn].
The y values represent digital states. There are two representations supported for the states; the
IEEE 1164 Standard Logic states:
{“Hi0”, “Hi1”, “HiX”, “HiZ”, “St0”, “St1”, “StL”, “StH”, "StZ", "StX", "Sm0", "Sm1", "SmL",
"SmH", "SmZ","SmX", "Su0", "Su1", "SuL", "SuH", "SuZ", "SuX", "Me0", "Me1", "MeL",
"MeH", "MeZ", "MeX", "We0", "We1", "WeL", "WeH", "WeZ", "WeX", "Pu0", "Pu1", "PuL",
"PuH","PuZ", "PuX", "La0", "La1", "LaL", "LaH", "LaZ", "LaX"}.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
datatodig
Note
State entries are case-sensitive and must be in quotes. Mixing state types is not permitted
and any invalid or unrecognized state is silently dropped.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
datatowf
datatowf
Waveform Calculator Miscellaneous function.
Creates an analog waveform based on one or two arrays of data points.
Usage
datatowf(array_of_datapoints)
datatowf(array_of_x, array_of_y)
Arguments
• array_of_datapoints
(Required) Specifies the input array of points. For example, [[x0, y0], …, [xn, yn]].
• array_of_x
(Required) Specifies the input array of x values. For example, [x0, x1, …, xn].
• array_of_y
(Required) Specifies the input array of y values. For example, [y0, y1, …, yn].
Return Values
Waveform. A new waveform with the specified input array(s).
Description
If one array is specified, it must contain data points wrapped between square brackets ( [ ] ). The
first element defines the x value, and the second one defines the y value. Elements are separated
by a comma. For example, [[x0, y0], [x1, y1], …, [xn, yn]].
If two arrays are specified, the first array contains the x values, and the second array contains the
y values. For example, [x0, x1, …, xn], [y0, y1, …, yn].
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dchysteresis
dchysteresis
Waveform Calculator Miscellaneous function.
Measures the thresholds and width of a DC Hysteresis waveform relative to a default, or
specified, Y-level.
Usage
dchysteresis(wf)
dchysteresis(wf, ylevel)
dchysteresis(wf, ylevel, measure)
dchysteresis(wf, ylevel, measure, x_start, x_end, option)
dchysteresis(wf, ylevel, measure, x_start, x_end, option, param)
Arguments
• wf
(Required) Specifies the input waveform name.
• ylevel
(Optional) Specifies the y level at which the signal is measured. Specify “Automatic” to
have this value computed (as the middle of the top and base lines).
• measure
(Optional) Specify “Width” (default) to compute the hysteresis width. Specify “Left” or
“Right” to compute the thresholds.
• x_start
(Optional) Specifies the x value (run number) at the beginning of an interval. Default is
“Begin”.
• x_end
(Optional) Specifies the x value (run number) at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform, and “ANNOTATION” indicates the input waveform plot will be annotated
with results.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”.
Return Values
Waveform. The thresholds and the width of the DC Hysteresis input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
db
db
Waveform Calculator Complex function.
Converts the magnitude data of the input waveform to decibels.
Usage
db(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The magnitude data of the input waveform in dB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
db10
db10
Waveform Calculator Complex function.
Converts the magnitude data of the input waveform to decibels (log base 10).
Usage
db10(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The scaled input waveform.
Description
Converts the magnitude data of the input waveform to decibels using the following equation:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
deg
deg
Waveform Calculator Signal Processing function.
Converts the trigonometric angle of a waveform to degrees.
Usage
deg(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. A waveform corresponding to the converted input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
delay
delay
Waveform Calculator Measurement function.
Measures the delay between edges of a source waveform and a reference waveform.
Usage
delay(wf1, wf2, topline1, baseline1, dlev1, topline2, baseline2, dlev2, count1, count2,
edgetrigger, inverting, closestedge, x_start, x_end, option, param)
Arguments
• wf1
(Required) Specifies the source waveform name.
• wf2
(Required) Specifies the reference waveform name.
• topline1
(Optional) Specifies the y value that sets the high threshold for the source waveform.
Specify “Automatic” to have this value computed. Default is “Automatic”.
• baseline1
(Optional) Specifies the y value that sets the low threshold for the source waveform. Specify
“Automatic” to have this value computed. Default is “Automatic”.
• dlev1
(Optional) Specifies the percentage relative to the topline and baseline values for the source
waveform. Default is “50%”.
• topline2
(Optional) Specifies the y value that sets the high threshold for the reference waveform.
Specify “Automatic” to have this value computed. Default is “Automatic”.
• baseline2
(Optional) Specifies the y value that sets the low threshold for the reference waveform.
Specify “Automatic” to have this value computed. Default is “Automatic”.
• dlev2
(Optional) Specifies the percentage relative to the topline and baseline values for the
reference waveform. Default is “50%”.
• count1
(Optional) Specifies the starting edge to consider on the source waveform. Default is “All”.
• count2
(Optional) Specifies the starting edge to consider on the reference waveform. Default is
“All”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
delay
• edgetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• inverting
(Optional) If set to 0, starts on the reference waveform at the previous edge with the same
polarity (non-inverting) as the source waveform. If set to 1, starts on the reference waveform
at the previous edge with the opposite polarity (inverting) as the source waveform. Default
is 0.
• closestedge
(Optional) If set to 1, finds the closest reference edge to display the reference edge nearest to
the measured edge. Default is 0.
• x_start
(Optional) Specifies the start time for the calculation. Default is “Begin”.
• x_end
(Optional) Specifies the stop time for the calculation. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results. Default is “WF”.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “index”.
Return Values
Returns the delay between edges of the source waveform and a reference waveform. Returns a
waveform if option is set to “WF”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
derive
derive
Waveform Calculator Mathematical function.
Computes the derivative of the input waveform at the single point x_val.
Usage
derive(wf, x_val)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_val
(Required) Specifies the X value of the derivative point.
Return Values
Waveform. The derivative at the specified X value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
drv
drv
Waveform Calculator Mathematical function.
Computes the derivative of the input waveform.
Usage
drv(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The derivative of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dtoa
dtoa
Waveform Calculator Miscellaneous function.
Constructs an analog waveform from a digital bus.
Usage
dtoa(wf, coeff_add, coeff_mul, Tcom)
dtoa(wf, coeff_add, coeff_mul, useInterpolate, useTcom, Tcom, radix)
Arguments
• wf
(Required) Specifies the input waveform name.
• coeff_add
(Required) Specifies the additive coefficient in the calculation of the analog values.
• coeff_mul
(Required) Specifies the multiplicative coefficient in the calculation of the analog values.
• useInterpolate
(Optional) Specifies whether to use the interpolation algorithm.
• useTcom
(Optional) Specifies whether to use the commutation time in non-interpolate mode.
• Tcom
(Optional) The commutation time.
• radix
(Optional) Specifies the radix in which to interpret the bus values.
Return Values
Waveform. The converted waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dtoaonbit
dtoaonbit
Waveform Calculator Miscellaneous function.
Constructs an analog waveform on bits.
Usage
dtoaonbit(wf)
dtoaonbit(wf, s_0, s_1,w_0,
w_1, s_u, w_u, h_z, u, m, rise, fall)
Arguments
The arguments below define the analog value used when matching a digital state:
• wf
(Required) Specifies the input bit name.
• s_0
(Optional) '0' Forcing 0 (default 0.0, “Automatic”).
• s_1
(Optional) '1' Forcing 1 (default 5.0, “Automatic”).
• w_0
(Optional) 'L' Weak 0 (default same value as '0', “Automatic”).
• w_1
(Optional) 'H' Weak 1 (default same value as '1', “Automatic”).
• s_u
(Optional) 'X' Forcing Unknown (default ('0'+'1')/2, “Automatic”).
• w_u
(Optional) 'W' Weak Unknown (default ('L'+'H')/2, “Automatic”).
• h_z
(Optional) 'Z' High Impedance (default 'U' or previous value, “Automatic”).
• u
(Optional) 'U' Uninitialized (default 0.0, “Automatic”).
• m
(Optional) '-' Do not care (default 'U' or previous value, “Automatic”).
• rise
(Optional) Commutation Rise Time (default 2e-9, “Automatic”).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dtoaonbit
• fall
(Optional) Commutation Fall Time (default 2e-9, “Automatic”).
Return Values
Waveform. The analog waveform corresponding to the digital bit.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dutycycle
dutycycle
Waveform Calculator Measurement function.
Measures the duty cycle of a periodic waveform relative to default (automatically calculated) or
user-specified topline and baseline levels.
Usage
dutycycle(wf)
dutycycle(wf, topline, baseline)
dutycycle(wf, topline, baseline, edgetrigger)
dutycycle(wf, topline, baseline, edgetrigger, x_start, x_end)
dutycycle(wf, topline, baseline, edgetrigger, x_start, x_end, option)
dutycycle(wf, topline, baseline, edgetrigger, x_start, x_end, option, param)
dutycycle(wf, topline, baseline, edgetrigger, x_start, x_end, option, param, threshold)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of the signal. Specify
“Automatic” to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of the signal. Specify
“Automatic” to have this value computed.
• edgetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
dutycycle
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• threshold
(Optional) Specifies the y value that sets the threshold of the signal. Specify “Automatic” to
have this value computed: mean(wf). Default is “None”.
Note
"topline/baseline" and "threshold" parameters cannot be used simultaneously: use
either "topline/baseline" or "threshold".
Return Values
Waveform. The duty cycle of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
enob
enob
Waveform Calculator Signal Processing function.
Computes the effective number of bits for the source waveform.
Usage
enob(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal. Frequencies from
f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
“Default” is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are
considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is “None”, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The effective number of bits of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
enob
Description
Computes the effective number of bits, a conversion of the SINAD result. This calculation is
given by the following:
where:
Examples
enob(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6)
= 9.792966993387555
Related Topics
Signal to Noise Ratio Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
evmber
evmber
Waveform Calculator RF function.
Computes the Error Vector Magnitude and Bit Error Rate of the two input constellation
diagrams.
Usage
evmber(wf1, wf2)
evmber(wf1, wf2, mpsk)
evmber(wf1, wf2, mqam)
evmber(wf1, wf2, mpsk, mqam)
Arguments
• wf1
(Required) Specifies the first constellation diagram name.
• wf2
(Required) Specifies the second constellation diagram name.
• mpsk
(Optional) Defines the number of ideal states of the reference constellation diagram. The
default is 0.
• mqam
(Optional) Defines the number of ideal states of the reference constellation diagram. The
default is 0.
Return Values
Array. The Error Vector Magnitude and Bit Error Rate.
Description
Computes the Error Vector Magnitude and Bit Error Rate of the two input constellation
diagrams. The Error Vector Magnitude and Bit Error Rate can be computed from a constellation
diagram of a modulated signal and a constellation diagram of a reference signal.
For MPSK and MQUAM, the M parameter specified is the number of ideal states of the
reference constellation diagram as specified in the definition of the modulated source in the
netlist.
Note
Phase Error, Magnitude Error, and Error Vector Magnitude values are displayed as
percentages.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
exp
exp
Waveform Calculator Mathematical function.
Computes the value of ewf.
Usage
exp(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The scaled input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eye
eye
Waveform Calculator Statistical function.
Constructs an eye diagram from the input waveform.
Note
Replaces the deprecated eyediagram command.
Usage
eye(wf, period, offset, x_start, x_end, mask_name, mask_x_offset, mask_y_offset,
mask_x_margin, mask_y_margin, fit_option)
Arguments
• wf
(Required) Specifies the input waveform name.
• period
(Optional) Specifies the period for the eye diagram. Default is “Automatic”.
• offset
(Optional) Specifies the offset for the eye diagram. Default is “Automatic”.
• x_start
(Optional) Start time of the input waveform. Default is “Begin”.
• x_end
(Optional) Stop time of the input waveform. Default is “End”.
• mask_name
(Optional) Specifies the name of the mask. Default is “None”.
• mask_x_offset
(Optional) Specifies the x-offset of the mask. Default is “0”.
• mask_y_offset
(Optional) Specifies the y-offset of the mask. Default is “0”.
• mask_x_margin
(Optional) Specifies the x-margin of the mask. Default is “0”.
• mask_y_margin
(Optional) Specifies the y-margin of the mask. Default is “0”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eye
• fit_option
(Optional) Specifies the mask margin and offset fitting. fitOption is a binary OR one of the
following:
o 0: no automatic fit
o 1: automatic fit for x-margin
o 2: automatic fit for y-margin
o 3: automatic fit for margin only
o 4: automatic fit for x-offset
Default is “0”.
Return Values
The eye diagram corresponding to the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyeamplitude
eyeamplitude
Waveform Calculator Statistical function.
Returns the amplitude of an eye diagram.
Usage
eyeamplitude(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The amplitude of the input eye diagram.
Description
Computes the difference between the High Level value and the Low Level value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyecphy
eyecphy
Waveform Calculator Statistical function.
Constructs a self-triggered C-Phy eye diagram from three input waveforms.
Tip
Used in conjunction with cphytrigger function.
Usage
eyecphy(wf1, wf2, wf3, ui, tolerance, input, x_start, x_end)
Arguments
• wf1
(Required) Specifies the input waveform name for V(A)-V(B) (or V(A), see input
parameter).
• wf2
(Required) Specifies the input waveform name for V(B)-V(C) (or V(B), see input
parameter).
• wf3
(Required) Specifies the input waveform name for V(C)-V(A) (or V(C), see input
parameter).
• ui
(Optional) Specifies the minimum Unit Interval for the trigger. Default is “Automatic”.
• tolerance
(Optional) Specifies the tolerance on ui to detect transition.
Transition threshold = (1 - tolerance/100) * ui.
Default is “Automatic” (20%).
• input
(Optional) Specifies the type of input:
o “differentials” specifies waveforms are differential lines, wf1 is V(A)-V(B), wf2 is
V(B)-V(C), and wf3 is V(C)-V(A).
o “lines” specifies waveforms are lines, wf1 is V(A), wf2 is V(B), and wf3 is V(C).
Default is “differentials”.
• x_start
(Optional) Start time of the input waveform windows. Default is “Begin”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyecphy
• x_end
(Optional) Finish time of the input waveform windows. Default is “End”.
Return Values
Waveform. Returns the C-Phy eye diagram corresponding to the three input waveforms. The
eye is right-aligned.
Related Topics
C-Phy Eye Calculation
cphytrigger
eye
eyesetmask
eyewithtrigger
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyecrossingamplitude
eyecrossingamplitude
Waveform Calculator Statistical function.
Returns the amplitude level at which the eye crossings occur on an eye diagram.
Usage
eyecrossingamplitude(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The amplitude level at which the eye crossings occur on an eye diagram.
Description
Computes the mean value of the vertical histogram at the eye crossing.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyedelay
eyedelay
Waveform Calculator Statistical function.
Returns the delay of an eye diagram.
Usage
eyedelay(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The delay of an eye diagram
Description
Computes the distance from the midpoint of the eye to the time origin, measured in seconds.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyediagram
eyediagram
Waveform Calculator Statistical function.
Constructs an eye diagram of the input waveform.
Note
This command is deprecated. It is replaced with the eye command.
Usage
eyediagram(wf)
eyediagram(wf, period)
eyediagram(wf, period, offset, x_start, x_end)
eyediagram(wf, period, offset, x_start, x_end, maskName, maskXOffset, maskYOffset,
maskXMargin, maskYMargin, fitOption)
eyediagram(wf, period, offset, x_start, x_end, xform, maskName, maskXOffset, maskYOffset,
maskXMargin, maskYMargin, fitOption)
Arguments
• wf
(Required) Specifies the input waveform name.
• period
(Optional) Specifies the period of the eye diagram.
• offset
(Optional) Specifies the offset of the eye diagram.
• x_start
(Optional) Specifies the start time of the input waveform.
• x_stop
(Optional) Specifies the stop time of the input waveform.
• xform
Always "", should be ignored.
• maskName
The name of the mask.
• maskXOffset
The mask X offset.
• maskYOffset
The mask Y offset.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyediagram
• maskXMargin
The mask X margin.
• maskYMargin
The mask Y margin.
• fitOption
Mask margin and offset fitting. fitOption is a binary OR of the following:
o 0x1: automatic fit for X margin
o 0x2: automatic fit for Y margin
o 0x4: automatic fit for X offset
=> 3 stands for automatic fit for margin only ; 0 stands for no automatic fit at all.
Return Values
Waveform. The eye diagram corresponding to the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyefalltime
eyefalltime
Waveform Calculator Statistical function.
Returns the falltime of an eye diagram.
Usage
eyefalltime(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The falltime of an eye diagram.
Description
Computes the mean time between the high and low threshold values, calculated from 10% to
90% of the eye amplitude.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyeheight
eyeheight
Waveform Calculator Statistical function.
Returns the height of an eye diagram.
Usage
eyeheight(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The height of an eye diagram.
Description
Computes the difference between the High Level -3stdev and the Low Level +3stdev on an eye
diagram waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyeheightatx
eyeheightatx
Waveform Calculator Statistical function.
Returns the eye height at X.
Usage
eyeheightatx(wf, x, mode)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
• x
(Required) Specifies the X coordinate of the eye diagram at which the eye height is to be
computed.
• mode
(Required) Specifies the mode as either “Inner”, Outer” or “PAM4”.
Return Values
Double. The eye height at the specified X value.
Description
Computes the inner or outer height of an eye diagram at a specified X coordinate. For a PAM4
signal, it returns a list of three inner heights, from top eye to bottom eye.
Examples
To get the inner height at half the Unit Interval for a C-Phy eye waveform (cphyeye), use:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyejitter
eyejitter
Waveform Calculator Statistical function.
Returns the jitter of an eye diagram.
Usage
eyejitter(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The jitter of an eye diagram.
Description
Computes the width of the eye crossing points.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyemeasures
eyemeasures
Waveform Calculator Statistical function.
Returns a set of named measures with their values for an eye diagram.
Usage
eyemeasures(wf, x, y, type, amplitude_ratio)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
• x
(Optional) Specifies the X coordinate of the eye diagram where to compute the inner/outer
or PAM4 height. Default is “None” for type = “NRZ”. Default is C-Phy eye average Unit
Interval (UI) divided by -4 for type = “CPHY”. Required for type = “PAM4”.
• y
(Optional) Specifies the Y coordinate of the eye diagram where to compute the inner/outer
width. Default is “None” for type = “NRZ”. Default is 0 for type = “CPGY”. Must be
“None” for type = “PAM4”.
• type
(Optional) Specifies the eye computation mode. Either “NRZ” (2 levels), “CPHY”
(superimposed eyes) or “PAM4” (4 levels). Default is “NRZ”.
When type is “NRZ”:
o The X parameter is used to compute at the same time the inner and outer height at
the given x.
o The Y parameter is used to compute at the same time the inner and outer width at the
given y.
When type is “CPHY”:
o The default value for the X parameter is the C-Phy eye average Unit Interval divided
by -4. This is a quarter of the eye UI, and negative because the C-Phy eye is right
aligned. All eye points have negative X values.
o The default value for the Y parameter is 0. This is where the zero crossing is
computed.
When type is “PAM 4”:
o The X parameter is mandatory, and used to compute all the PAM4 measures.
o The Y parameter should not be set.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyemeasures
• amplitude_ratio
(Optional) Used when type is “PAM4”. When set to “Automatic”, toplines and baselines
begin at 10% and increase in steps of 5% until all points are either below the baseline and
above the topline (the Measured Edge Percentage reaches 100%). Valid values are
“Automatic”, a double value between 0.0 and 1.0, or a number followed by “%” (e.g.
“20%”). Default value is “Automatic” (at least 10%, increasing by 5%).
Return Values
Array. Returns a list of pairs of named measures with their values on the input eye diagram.
Examples
To get the inner width and height of a C-Phy eye waveform (cphy_eye), use:
eyemeasures(cphy_eye, type="cphy")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyerisetime
eyerisetime
Waveform Calculator Statistical function.
Returns the risetime of an eye diagram.
Usage
eyerisetime(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The risetime of the input eye diagram.
Description
Computes the mean time between the low and high threshold values, calculated from 10% to
90% of the eye amplitude.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyesetmask
eyesetmask
Waveform Calculator Statistical function.
Adds a mask to an eye diagram waveform.
Usage
eyesetmask(wf, mask_name, mask_x_offset, mask_y_offset, mask_x_margin, mask_y_margin,
fit_option, period)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
• mask_name
(Optional) Specifies the name of the mask. When set to “none”, removes the mask from the
eye diagram. Default is “none”.
• mask_x_offset
(Optional) Specifies the x-offset of the mask. Default is “0”.
• mask_y_offset
(Optional) Specifies the y-offset of the mask. Default is “0”.
• mask_x_margin
(Optional) Specifies the x-margin of the mask. Default is “0”.
• mask_y_margin
(Optional) Specifies the y-margin of the mask. Default is “0”.
• fit_option
(Optional) Specifies the mask margin and offset fitting. fitOption is a binary OR one of the
following:
o 0: no automatic fit
o 1: automatic fit for x-margin
o 2: automatic fit for y-margin
o 3: automatic fit for margin only
o 4: automatic fit for x-offset
Default is “0”.
• period
(Optional) Specifies the period of the eye diagram. Default is “Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyesetmask
Return Values
Returns nothing. Modifies the mask in the input eye waveform.
Related Topics
C-Phy Eye Calculation
cphytrigger
eye
eyecphy
eyewithtrigger
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyesnr
eyesnr
Waveform Calculator Statistical function.
Returns the SNR of an eye diagram.
Usage
eyesnr(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The SNR of the input eye diagram.
Description
Computes (High Level - Low Level) / (High Level stdev + Low Level stdev).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyewidth
eyewidth
Waveform Calculator Statistical function.
Returns the width of an eye diagram.
Usage
eyewidth(wf)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
Return Values
Double. The width of the input eye diagram.
Description
Computes the difference between the Cross Eye -3stdev and the Cross Eye +3stdev on an eye
diagram waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyewidthaty
eyewidthaty
Waveform Calculator Statistical function.
Returns the eye width at Y.
Usage
eyewidthaty(wf, y, mode)
Arguments
• wf
(Required) Specifies the input eye diagram waveform name.
• y
(Required) Specifies the Y coordinate of the eye diagram at which the eye width is to be
computed.
• mode
(Required) Specifies the mode as either “Inner” or Outer”.
Return Values
Double. The eye width of the input eye diagram at the specified Y value.
Description
Computes the inner or outer width of an eye diagram at a specified Y coordinate.
Examples
To get the inner width at level 0 of a C-Phy eye waveform (cphyeye), use:
eyewidthaty(cphyeye, 0, "inner")
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyewithtrigger
eyewithtrigger
Waveform Calculator Statistical function.
Constructs a triggered eye diagram from a waveform.
Usage
eyewithtrigger(wf, trigger, edgetrigger, ratio, x_start, x_end)
Arguments
• wf
(Required) Specifies the input source waveform name.
• trigger
(Required) Specifies the input trigger waveform name.
• edgetrigger
(Optional) Specifies the edge used to trigger. Value can be “risingEdge”, “fallingEdge”,
“Either” (same as the first edge kind: rising or falling) or “Both” (means rising and falling
edges). Default is “either”.
• ratio
(Optional) Specifies the alignment ratio, between 0.0and 1.0:
o 0.0: left-aligned
o 0.5: centered
o 1.0: right-aligned
Default is “0.5”.
• x_start
(Optional) Start time of the input waveform window. Default is “Begin”.
• x_end
(Optional) Stop time of the input waveform window. Default is “End”.
Return Values
Waveform. Creates a triggered eye diagram from the input waveforms.
Related Topics
C-Phy Eye Calculation
cphytrigger
eye
eyecphy
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
eyewithtrigger
eyesetmask
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
falltime
falltime
Waveform Calculator Measurement function.
Measures the difference in time from when the waveform falls from the upper level to the lower
level.
Usage
falltime(wf)
falltime(wf, topline, baseline)
falltime(wf, topline, baseline, low, mid, up)
falltime(wf, topline, baseline, low, mid, up, x_start, x_end)
falltime(wf, topline, baseline, low, mid, up, x_start, x_end, option)
falltime(wf, topline, baseline, low, mid, up, x_start, x_end, option, param)
falltime(wf, topline, baseline, low, mid, up, x_start, x_end, option, param, fall)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of a signal. Specify “Automatic”
to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of a signal. Specify “Automatic”
to have this value computed.
• low
(Optional) Specifies the percentage of the low threshold. This can range from 0% to mid. By
default, this is set to 10%. This parameter is a string (for example, “10%”).
• mid
(Optional) Specifies the percentage that sets the limit range for the low and up values. By
default, this is set to 50%. This parameter is a string (for example, “50%”).
• up
(Optional) Specifies the percentage of the high threshold. This can range from mid to 100%.
By default, this is set to 90%. This parameter is a string (for example, “90%”).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
falltime
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. Legal values are: “WF” for waveform (default),
“VALUE” for numerical value or array of numerical values and “ANNOTATION” for
plotting your input waveform with the result annotated on it.
Note
If fall is anything other than “all”, option = “VALUE” is forced.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• fall
(Optional) Specifies the occurrence of the result that the measurement will return. For
compound waveforms it applies to each element individually. Legal values are:
o “first” — Specifies the first occurrence of the result.
o “all” — Specifies all occurrences of the result. Default.
o “last” — Specifies the last occurrence of the result.
o n or “n” — Specifies the nth occurrence of the result.
Return Values
Waveform. The difference in time from when the input waveform falls from the upper level to
the lower level.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
fft
fft
Waveform Calculator Signal Processing function.
Uses the Fast Fourier Transform (FFT) method for calculating the Discrete Fourier Transform
(DFT) used to determine the frequency content of analog or complex waveforms encountered in
circuit simulation.
Usage
fft(wf[, t_start, t_stop, fs, points, sampling, padding, normalized, windowType, alpha, f_ref,
f_min, f_max, samplingEpsilon, windowShape, config_file])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points-1)/fs) = t_stop - t_start
For periodic windows, the parameters above satisfy the following equation:
((points)/fs) = t_stop - t_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default), “Interpolation” or “Spline”.
• padding
(Optional) Activates data padding to pad the input data with zeros, before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left” or
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
fft
• normalized
(Optional) When enabled, an average is taken on the raw data to reduce noise and smooth
the frequency domain waveform. Specify 1 to turn this on, or 0 to use the raw data from the
calculation unmodified. Default is 1.
• windowType
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular” (the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note
For Hanning, symmetric window shapes are preferred when using a Hanning
window in FIR filter design.
Periodic window shapes are preferred when using a Hanning window in spectral
analysis. This is because the Discrete Fourier Transform assumes periodic extension of
the input vector. A periodic Hanning window is obtained by constructing a symmetric
window and removing the last sample.
• alpha
(Optional) Specifies the alpha (or beta) value that is required by Hanning, Dolph Chebyshev
and Kaiser windows.
o Hanning : [0;1], default 0.5
o Dolph Chebyshev : [0:20], default 3.0
o Kaiser : [0:20], default 10.056.
• f_ref
(Optional) Adjusts the results around the y-axis so that the point for the specified frequency
is 0.0. Default is “Automatic”.
• f_min
(Optional) Specifies the starting frequency used inside the fast fourier transform result
window. Default is “Automatic”.
• f_max
(Optional) Specifies the last frequency used inside the fast fourier transform result window.
Default is “Automatic”.
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, this option specifies that the input
waveform data point (Y value) is to be used rather than the exact interpolated value when
the X data of the input waveform is close to the computed X value.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs. Default is 1´10-6.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
fft
• windowShape
(Optional) Specifies the shape of the window. Legal values are “Symmetric” for standard
FFT setup or “Periodic” for enhancing FFT setup for spectral analysis of periodic signals.
Defaults to the global setting in the “Waveform Calculation Options” on page 528.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic
option, unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case,
Eldo has already considered the periodicity of the input signal.
• config_file
(Optional) Specifies a configuration file that contains input parameters. A configuration file
may be generated by entering parameters on the Fast Fourier Transform Tool Dialog Box
and then selecting File > Save Configuration. When specified, only the source waveform is
mandatory, and any other parameters specified in the function are overridden by those in the
configuration file.
Return Values
Waveform. The Fourier Transform of the input waveform.
Description
The Discrete Fourier Transform (DFT) is used to determine the frequency content of analog or
complex signals encountered in circuit simulation, which deals with sequences of time values.
The fft() function uses the Fast Fourier Transform (FFT) method for calculating the DFT.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
firstdiff
firstdiff
Waveform Calculator Miscellaneous function.
Finds the first time when any signal in one run begins to differ from the corresponding signal in
another run, and plots ntop signals in sorted order.
Usage
firstdiff(wf1, wf2, [x_start, x_end, reltol, abstol, ntop, depth, plot]
Arguments
• wf1
(Required) Specifies any continuous waveform signal in one run.
• wf2
(Required) Specifies any continuous waveform signal in another run.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• reltol
(Optional) Specifies the relative tolerance. By default, this is set to 1e-2 but you can specify
your own value if required.
• abstol
(Optional) Specifies the absolute tolerance. By default, this is set to 1e-5 but you can specify
your own value if required.
• ntop
(Optional) Specifies the number of top results to return and plot. Default is 8.
• depth
(Optional) Specifies the hierarchy depth used to search the waveforms. Recursive search by
default.
• plot
(Optional) 1 (default) plots the first spectrum difference results. 0 does not plot results.
Return Values
Array. The first difference value for the given input waveforms, in the format:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
firstdiff
Related Topics
maxdiff
maxspectrumdiff
shiftedmaxdiff
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
floor
floor
Waveform Calculator Mathematical function.
Computes the largest integral value not greater than each data point of the waveform.
Usage
floor(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A waveform containing the floor values of the input waveform.
Description
Computes the largest integral value not greater than each data point of wf. Upon successful
completion, each returned value is expressed as a type double.
Related Topics
trunc
round
ceil
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
fmod
fmod
Waveform Calculator Mathematical function.
Computes the floating-point remainder of dividing x by y.
Usage
fmod(x, y)
Arguments
• x
(Required) Specifies the numerator of the input.
• y
(Required) Specifies the denominator of the input.
Return Values
Double. The floating point remainder.
Description
Computes the remainder of dividing x by y. It returns x - (n * y), where n is the quotient of x / y,
rounded to the greatest integer less than or equal to x / y.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frequency
frequency
Waveform Calculator Measurement function.
Measures the frequency of a periodic waveform relative to default (automatically calculated) or
user-specified topline and baseline levels.
Usage
frequency(wf)
frequency(wf, topline, baseline)
frequency(wf, topline, baseline, edgetrigger)
frequency(wf, topline, baseline, edgetrigger, x_start, x_end)
frequency(wf, topline, baseline, edgetrigger, x_start, x_end, option)
frequency(wf, topline, baseline, edgetrigger, x_start, x_end, option, param)
frequency(wf, topline, baseline, edgetrigger, x_start, x_end, option, param, threshold)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of the signal. Specify
“Automatic” to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of the signal. Specify
“Automatic” to have this value computed.
• edgetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frequency
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• threshold
(Optional) Specifies the y value that sets the threshold of the signal. Specify “Automatic” to
have this value computed: mean(wf). Default is “None”.
Note
"topline/baseline" and "threshold" parameters cannot be used simultaneously: use
either "topline/baseline" or "threshold".
Return Values
Waveform. The frequency of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frequencyjitter
frequencyjitter
Waveform Calculator Time-Domain Jitter function.
Computes the variation in time of the frequency of the source waveform relative to its average
frequency or to the reference waveform (or ideal clock) frequency over part of, or the whole
waveform.
Usage
frequencyjitter(wf[, ref, t_start, t_ stop, edgetrigger, nbcycles, single_threshold, topline,
baseline, threshold])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• ref
(Optional) Specifies a reference period. Default is “Automatic”.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Rising”.
• nbcycles
(Optional) Specifies the maximum number of waveform cycles in the N-cycle sample,
which will participate in the jitter calculation. Possible values are an integer value or
“Automatic”. Default is “Default” (1).
• single_threshold
(Optional) If “True”, the single threshold will be used (topline/baseline values are ignored).
If “False”, topline/baseline will be used. Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source waveform. Default
is “Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source waveform. Default
is “Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frequencyjitter
• threshold
(Optional) Specifies the y value that sets a single threshold for the source waveform. Default
is “Automatic”.
Return Values
Waveform. The frequency jitter waveform for the input waveform(s).
Description
Frequency jitter is the variation in time of the frequency of the source waveform relative to its
average frequency or to the reference waveform (or ideal clock) frequency over part of, or the
whole waveform. This type of jitter helps to evaluate the short- and long-term signal stability.
Frequency jitter is calculated as the difference between the actual cycle frequency values of the
source and reference waveforms. If the reference waveform is not set, the difference is
calculated between the actual and average n-cycle frequency of the source waveform.
The jitter RMS value horizontal marker is displayed over the result waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
frexp
frexp
Waveform Calculator Mathematical function.
Extracts the mantissa and exponent from a double-precision number.
Usage
frexp(x)
Arguments
• x
(Required) Specifies the floating-point number to be decomposed.
Return Values
Array. The mantissa and exponent values of the input number.
Description
Extracts the mantissa and exponent from a double-precision number by breaking the
floating-point x into a normalized fraction and an integral power of 2.
Note
This function only accepts a scalar number as the input parameter.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
gaussiandistribution
gaussiandistribution
This function creates a Gaussian distribution.
Usage
gaussiandistribution(wf)
gaussiandistribution(mean, stddev)
Arguments
• wf
(Required) Specifies an input waveform from which the Gaussian distribution is created,
based on its mean() and stddev(). Min and max X values are mean+- N*stddev, with N the
smallest positive integer so that min and max are inside this range, with the additional
constraint that N is greater than or equal to 4, and smaller than or equal to 20.
If this parameter is not specified, you must specify values for both mean and stddv.
• mean
(Required) Specifies the mean. Specifying the mean along with the stddev creates a
Gaussian distribution in the range of 4-sigma (mean +- 4*stddev).
• stddev
(Required) Specifies the standard deviation.
Description
Creates a Gaussian distribution.
If wf is histogram data, the mean and stddev are calculated from the input data of the histogram,
if available, not on the histogram values.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
gendecade
gendecade
Waveform Calculator Miscellaneous function.
Returns a list that contains numbers sweeping from start_value to stop_value with number of
points per decade value equal to points_decade.
Usage
gendecade(start_value, stop_value, points_decade)
Arguments
• start_value
(Required) Specifies the start value.
• stop_value
(Required) Specifies the stop value.
• points_decade
(Required) Specifies the number of points per decade.
Return Values
Array. The list of generated numbers.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
genlinear
genlinear
Waveform Calculator Miscellaneous function.
Returns a list that contains numbers sweeping from start_value to stop_value with a step equal
to step_value.
Usage
genlinear(start_value, stop_value, step_value)
Arguments
• start_value
(Required) Specifies the start value.
• stop_value
(Required) Specifies the stop value.
• step_value
(Required) Specifies the step value.
Return Values
Array. The list of generated numbers.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
genoctave
genoctave
Waveform Calculator Miscellaneous function.
Returns a list that contains numbers sweeping from start_value to stop_value with number of
points per decade value equal to points_octave.
Usage
genoctave(start_value, stop_value, points_octave)
Arguments
• start_value
(Required) Specifies the start value.
• stop_value
(Required) Specifies the stop value.
• points_octave
(Required) Specifies the number of points per octave.
Return Values
Array. The list of generated numbers.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
getelementat
getelementat
Waveform Calculator Miscellaneous function.
Returns the element at a given index in a bus or compound waveform.
Usage
getelementat(wf, index)
Arguments
• wf
(Required) Specifies a bus or compound waveform.
• index
(Required) Specifies the index of the element.
Return Values
Waveform. The waveform at the given index.
Related Topics
length
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
gmargin
gmargin
Waveform Calculator Miscellaneous function.
Computes the difference between the gain of the input waveform and 0 dB (unity gain) at the
frequency where the phase shift is -180 degrees (the Phase Crossover Frequency).
Usage
gmargin(wf)
gmargin(wf_db, wf_ph)
Arguments
• wf
(Required) Specifies the input waveform name. If the input waveform is specified using
wf_db and wf_ph, this argument is not required.
• wf_db
(Required) Specifies the gain (dB) of the input waveform when used with wf_ph. If the
input waveform is specified with wf, this argument is not required.
• wf_ph
(Required) Specifies the phase of the input waveform when used with wf_db. If the input
waveform is specified with wf, this argument is not required.
Return Values
Double. The difference between the gain of the input waveform and 0dB.
Description
Computes the difference between the gain of the input waveform and 0 dB (unity gain) at the
frequency where the phase shift is -180 degrees (the Phase Crossover Frequency). The input wf
can be also be described by a gain (dB) waveform wf_db and a phase waveform wf_ph. This
result is in dB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
gptocomplex
gptocomplex
Waveform Calculator Complex function.
Constructs a complex waveform from a waveform of gain in decibels and a waveform of phase
in radians.
Usage
gptocomplex(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first (gain) input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second (phase) input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. A complex waveform combining the two input waveforms as gain and phase.
Description
Constructs a complex waveform from a waveform of gain in decibels (wf1) and a waveform of
phase in radians (wf2).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
halfperiodjitter
halfperiodjitter
Waveform Calculator Time-Domain Jitter function.
Computes the variation in time of the half-period of a source waveform relative to its average
half-period, or to a reference half-period, over part of, or the whole waveform.
Usage
halfperiodjitter(wf[, ref, dutycycle, t_start, t_ stop, edgetrigger, single_threshold, topline,
baseline, threshold])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• ref
(Optional) Specifies the reference period. Default is “Automatic”.
• dutycycle
(Optional) Specifies the duty cycle used for the half-period calculation. When “Automatic”
is specified, the duty cycle is calculated for each cycle period of the waveform using the
automatic topline and baseline parameters. Default value is 0.5.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Rising”.
• single_threshold
(Optional) If “True”, the single threshold will be used (topline/baseline values are ignored).
If “False”, topline/baseline will be used. Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source signal. Default is
“Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source signal. Default is
“Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
halfperiodjitter
• threshold
(Optional) Specifies the y value that sets a single threshold for the source signal. Default is
“Automatic”.
Return Values
Waveform. The half-period jitter waveform for the input waveform(s).
Description
Calculates the variation in time of the half-period of a source waveform relative to its average
half-period, or to a reference waveform (or ideal clock) half-period, over part of, or the whole
waveform. This type of jitter helps to evaluate the short- and long-term signal stability.
Half-period jitter is the period multiplied by the duty cycle. It is calculated as the difference
between the actual cycle-half-period values of the source and reference waveforms. If the
reference period is not set, the difference is calculated between the actual and average cycle
half-period of the source waveform.
The jitter RMS value horizontal marker is displayed over the result waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
harmonicdistortion
harmonicdistortion
Waveform Calculator Signal Processing function.
Computes the harmonic distortion of the input waveform.
Usage
harmonicdistortion(wf[, f_fund, f_min, f_max, displayTHDoption])
Arguments
• wf
(Required) Specifies the input waveform name.
• f_fund
(Optional) Specifies the fundamental frequency. Default is “Automatic”.
• f_min
(Optional) Specifies the minimum frequency of the input waveform. Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency of the input waveform. Default is “End”.
• displayTHDoption
(Optional) Specifies the option for displaying the total harmonic distortion between
“PERCENTAGE” (the default) and “DB”.
Return Values
Waveform. The harmonic distortion of the input waveform.
Description
Computes the harmonic distortion of the input waveform. This function is computed by using
the gain of the FFT result. That means that the input waveform can be either a complex
waveform or a waveform representing a gain.
f_min and f_max specifies the frequency band that should be taken for the computation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
harmonics
harmonics
Waveform Calculator Signal Processing function.
Computes the harmonic distortion of the input waveform.
Usage
harmonics(wf[, f_fund, f_min, f_max])
Arguments
• wf
(Required) Specifies the input waveform name.
• f_fund
(Optional) Specifies the fundamental frequency. Default is “Automatic”.
• f_min
(Optional) Specifies the minimum frequency of the input waveform. Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency of the input waveform. Default is “End”.
Return Values
Waveform. The harmonic distortion of the input waveform.
Description
This function is computed by using the gain of the FFT result. That means that the input
waveform can be either a complex waveform or a waveform representing a gain.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
harmonicsmeter
harmonicsmeter
Waveform Calculator RF function.
Returns the maximum Fourier frequency value for the specified waveform.
Tip
The harmonicsmeter() function returns a scalar value but does not plot any results. To
calculate and plot signals in sorted order of maximum Fourier frequency, use the Harmonics
Meter Dialog Box accessed from the Waveform Calculator harmonicsmeter button.
Usage
harmonicsmeter(wf, fund, nharm, reltol, abstol)
Arguments
• wf
(Required) Specifies the input waveform name. Signal must be a periodic waveform.
• fund
(Optional) Specifies the fundamental frequency. Default is “Automatic”, where the entire
interval is the fundamental period.
• nharm
(Optional) Specifies the number of harmonics in the Fourier analysis. Default is 500.
• reltol
(Optional) Specifies the relative tolerance in finding the upper Fourier frequency limit.
Default is 1e-3.
• abstol
(Optional) Specifies the absolute tolerance in finding the upper Fourier frequency limit.
Default is 1e-3.
Return Values
Double. The maximum Fourier frequency of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
hdist
hdist
Waveform Calculator Signal Processing function.
Computes the Total Harmonic Distortion of the input waveform.
Usage
hdist(wf[, f_fund, f_min, f_max, displayTHDoption])
Arguments
• wf
(Required) Specifies the input waveform name.
• f_fund
(Optional) Specifies the fundamental frequency. Default is “Automatic”.
• f_min
(Optional) Specifies the minimum frequency of the input waveform. Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency of the input waveform. Default is “End”.
• displayTHDoption
(Optional) Specifies the option for displaying the total harmonic distortion between
“PERCENTAGE” (the default) and “DB”.
Return Values
Double. The Total Harmonic Distortion value of the input waveform
Description
This function is computed by using the gain of the FFT result. That means that the input
waveform can be either a complex waveform or a waveform representing a gain.
f_min and f_max specifies the frequency band that should be taken for the computation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
histogram
histogram
Waveform Calculator Statistical function.
Creates a histogram of the input waveform showing the magnitude probability density
distribution of the waveform.
Usage
histogram(wf, nb_bins, x_start, x_end, sampling, normalized)
Arguments
• wf
(Required) Specifies the input waveform name.
The histogram function can also accept a list of values as the source. For example, you can
create a histogram from the result of the thd() function, using:
histogram(thd(wf, fund))
• nb_bins
(Optional) Specifies the number of bins. Specify a plain integer or double value to set the
number of bins explicitly. Specify “scott” to use Scott’s formula to define the bins. Specify
“sturge” to use Sturge’s rule to define the bins. Specify “sqrt” to use square root of the
number of data points to define the bins. Default is 10.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Specify an integer or double
value to set the value explicitly. Specify “Begin” to use the start of the data. The default is
“Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. x_end. Specify an integer or
double value to set the value explicitly. Specify “End” to use the start of the data. The
default is “End”.
• sampling
(Optional) Specifies whether or not to use sampling. Specify 0 or “No Sampling” to create
the histogram based on the data points of the input waveform. Specify 1 to first sample the
waveform equidistantly and then create the histogram based on the sampled data. The
default is “No Sampling”.
• normalized
(Optional) Specify 0 to use the raw data from the calculation unmodified. Specify 1 to
divide each bin value by the total number of points. Default is 1.
Return Values
Waveform. The histogram of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
hypot
hypot
Waveform Calculator Mathematical function.
Computes the length of the hypotenuse of a right angle triangle using the formula sqrt (x2+y2).
Usage
hypot(x, y)
Arguments
• x
(Required) Specifies the x value.
• y
(Required) Specifies the y value.
Return Values
Double. The resulting value of sqrt (x2+y2).
Description
Euclidean distance function.
Note
This function only accepts a scalar number as the input parameter.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
idb
idb
Waveform Calculator Complex function.
Performs the inverse decibel function. It converts the input waveform from dB using the
following conversion: 10(v/20).
Usage
idb(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The converted input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
idb10
idb10
Waveform Calculator Complex function.
Performs the inverse decibel function. It converts the input waveform from dB using the
following conversion: 10(v/10).
Usage
idb10(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The converted input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ifft
ifft
Waveform Calculator Signal Processing function.
Computes the inverse Fast Fourier Transform of the input waveform.
Usage
ifft(wf[, f_start, f_stop, ts, points, sampling, padding, normalized, samplingEpsilon,
windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• f_start
(Optional) Specifies the start frequency of the signal. Default is “Begin”.
• f_stop
(Optional) Specifies the stop frequency of the signal. Default is “End”.
• ts
(Optional) Specifies the sampling time of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points)/ts) = f_stop - f_start
For periodic windows, the parameters above satisfy the following equation:
((points - 1)/ts) = f_stop - f_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default), “Interpolation” or “Spline”.
• padding
(Optional) Activates data padding to pad the input data with zeros, before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left”, and
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
• normalized
(Optional) When enabled, an average is taken on the raw data to reduce noise and smooth
the frequency domain waveform. Specify 1 to turn this on, or 0 to use the raw data from the
calculation unmodified. Default is 1.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ifft
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value. Default is 1e-6.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs.
• windowShape
(Optional) Specifies the shape of the window. Legal values are “Symmetric” for standard
FFT setup or “Periodic” for enhancing FFT setup for spectral analysis of periodic signals.
Defaults to the global setting in the “Waveform Calculation Options” on page 528.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic option,
unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case, Eldo has
already considered the periodicity of the input signal.
Return Values
Waveform. The inverse Fast Fourier Transform of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
iipx
iipx
Waveform Calculator RF function.
Returns the input-referred intercept point of order x from the value of the circuit input and
output levels.
Usage
iipx(wave_in, wave_out, freq_1, freq_2[, x_start, x_end])
Arguments
• wave_in
(Required) Specifies the first input waveform name.
• wave_out
(Required) Specifies the second input waveform name.
• freq_1
(Required) Specifies the first input frequency.
• freq_2
(Required) Specifies the second input frequency.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double. The input-referred intercept point.
Description
Returns the input referred intercept point of order x from the value of the circuit input and
output: wave_in and wave_out, respectively. wave_in and wave_out must be in dB or dBm. The
intercept order is directly calculated from the intermodulation of freq_1 and freq_2. If the input
waveform type is complex, the waveforms are automatically converted in dB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
imag
imag
Waveform Calculator Complex function.
Returns the imaginary part of the input complex waveform.
Usage
imag(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The imaginary part of the input complex waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
integ
integ
Waveform Calculator Mathematical function.
Returns the definite integral value with upper and lower limits of a waveform.
Usage
integ(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/array. The integral value of the waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
integral
integral
Waveform Calculator Mathematical function.
Computes the indefinite integral (also known as the anti-derivative) of the input waveform.
Usage
integral(wf)
integral(wf, y0)
integral(wf, y0, x_start, x_end)
integral(wf, yReal0, yImag0)
integral(wf, yReal0, yImag0, x_start, x_end)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• y0
(Optional) Specifies the integration constant. If this is not specified, the default is 0.
• yReal0
(Optional) Specifies the real part of the integration constant, if wf is a complex waveform.
• yImag0
(Optional) Specifies the imaginary part of the integration constant, if wf is a complex
waveform.
Return Values
Waveform. The indefinite integral of the input waveform.
Description
Computes the indefinite integral (also known as the anti-derivative) of the input waveform.
Upon successful completion, returns a waveform of the indefinite integral of the input. If no
integration constant is specified, it is automatically set to 0.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
intersect
intersect
Waveform Calculator Miscellaneous function.
Returns an array with all of the intersection points of two input waveforms.
Usage
intersect(wf1, wf2)
intersect(wf1, wf2, with_x)
intersect(wf1, wf2, x_start, x_end)
intersect(wf1, wf2, x_start, x_end, with_x)
intersect(wf1, wf2, slope_wf1, slope_wf2)
intersect(wf1, wf2, slope_wf1, slope_wf2, x_start, x_end)
intersect(wf1, wf2, slope_wf1, slope_wf2, x_start, x_end, with_x)
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• with_x
(Optional) Specifies whether the corresponding x value is returned. Use 1 or 0 as follows:
o 1 — Both the y value and the corresponding x value are returned.
o 0 — Only the y value is returned.
• x_start
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end
(Optional) Specifies the x value at the end of an interval on wf1.
• slope_wf1
(Optional) Specifies the slope of wf1 as follows:
o “neg” — Include only intersects where wf1 is negative.
o “pos” — Include only intersects where wf1 is positive.
o “either” — Include all wf1 intersects, regardless of slope.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
intersect
• slope_wf2
(Optional) Specifies the slope of wf2 as follows:
o “neg” — Include only intersects where wf2 is negative.
o “pos” — Include only intersects where wf2 is positive.
o “either” — Include all wf2 intersects, regardless of slope.
Return Values
Double/array. The intersection point of the two input waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
join
join
Waveform Calculator Miscellaneous function.
Joins two non-overlapping waveforms together into a single waveform.
Usage
join(wf1, wf2)
join(wf1[, x_start1, x_end1], wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. A waveform representing the two joined waveforms.
Description
Connects the last point of wf1 to the first point of wf2. No shifting in x takes place. Input
waveforms must not overlap.
Examples
Figure B-2 shows example results when using the add and join commands.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
join
Related Topics
add
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
larger
larger
Waveform Calculator Statistical function.
Creates a new waveform based on the larger of two data points at any given time of the two
input waveforms.
Usage
larger(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. The larger of the two input waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ldexp
ldexp
Waveform Calculator Mathematical function.
Computes the load exponent of a floating-point number.
Usage
ldexp(x, y)
Arguments
• x
(Required) Specifies the x value.
• y
(Required) Specifies the y value.
Return Values
Double. The resulting value of x * 2y.
Description
Computes the load exponent of a floating-point number using the formula x * 2y. Upon
successful completion, returns a double representing the value x multiplied by 2 raised to the
power y.
Note
This function only accepts scalar numbers as input parameters.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
length
length
Waveform Calculator Miscellaneous function.
Returns the number of elements of a given bus or compound waveform.
Usage
length(wf)
Arguments
• wf
(Required) Specifies a bus or compound waveform.
Return Values
Integer. The number of elements of a given bus or compound waveform.
Related Topics
getelementat
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
lesser
lesser
Waveform Calculator Statistical function.
Creates a new waveform based on the lesser of two data points at any given time of the two
input waveforms.
Usage
lesser(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. The lesser of the two input waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ln
ln
Waveform Calculator Mathematical function.
Computes the natural logarithm of the input argument waveform.
Usage
ln(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The scaled input waveform.
Description
Computes the natural logarithm of the input argument wf. The value of wf must be positive.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
localmax
localmax
Waveform Calculator Measurement function.
Finds the local maxima of a waveform.
Usage
localmax(wf)
localmax(wf, x_start, x_end)
localmax(wf, x_start, x_end, option)
localmax(wf, x_start, x_end, option, param)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”, either “resultX” or “Xunit”. Default is “resultX”.
Return Values
Waveform. The local maxima of a waveform. The default output type is a waveform, but this
can be changed using the option argument.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
localmax
Examples
localmax(wf("<tutorial/Time-Domain_Results>v_load"), x_start=0,
x_end="END", option="ANNOTATION")
Related Topics
localmin
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
localmin
localmin
Waveform Calculator Measurement function.
Finds the local minima of a waveform.
Usage
localmin(wf)
localmin(wf, x_start, x_end)
localmin(wf, x_start, x_end, option)
localmin(wf, x_start, x_end, option, param)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”, either “resultX” or “Xunit”. Default is “resultX”.
Return Values
Waveform. The local minima of a waveform. The default output type is a waveform, but this
can be changed using the option argument.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
localmin
Examples
localmin(wf("<tutorial/Time-Domain_Results>v_load"), x_start=0,
x_end="END", option="ANNOTATION")
Related Topics
localmax
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
log
log
Waveform Calculator Mathematical function.
Computes the base 10 logarithm of the input waveform.
Usage
log(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The scaled input waveform.
Description
Computes the base 10 logarithm of the input wf. The value of wf must be positive.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
longtermjitter
longtermjitter
Waveform Calculator Phase Noise function.
Returns the long term jitter waveform.
Usage
longtermjitter(wf, f0[, x_start, x_end, sampling_nb_points])
Arguments
• wf
(Required) Specifies the name on the input waveform on which the long term jitter is
calculated.
• f0
(Required) Specifies the Fundamental Frequency of SST Noise Analysis. Default value is
“Automatic”.
Note
If f0 is stored in the database by the Eldo RF simulator, this argument becomes
optional.
• x_start
(Optional) Specifies the x value at the beginning of the interval for the long term jitter
calculation. Default value is “Begin”.
• x_end
(Optional) Specifies the x value at the end of the interval for the long term jitter calculation.
Default value is “End”.
• sampling_nb_points
(Optional) Defines whether sampling is applied to the source ce waveform and specifies the
number of sampling points. Default value is “Automatic”, for which 100 sampling points
are considered.
Return Values
Waveform. The long term jitter waveform.
Description
Calculates and returns the long term jitter waveform as follows:
corresponds to the waveform representing the long term jitter for forced circuits.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
longtermjitter
Note
The calculation is designed for input waveforms SPHI, DB(SPHI), SPHI_SSB,
DB(SPHI_SSB), Lf and DB(PHNOISE), but not restricted to this list.
It is recommended that the waveform is sampled around 100 points (ten points per decade) prior
to running the long term jitter calculation to ensure that the calculation does not take too long to
run.
Examples
longtermjitter(wf1)
# This will calculate the long term jitter for waveform wf1 with an
# automatically detected fundamental frequency that has been stored in
# the database by the Eldo RF simulator. The calculation will use
# the entire waveform. There will be 100 sampling points - the default.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
mag
mag
Waveform Calculator Complex function.
Returns the absolute magnitude of the input complex waveform.
Usage
mag(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. Returns the absolute magnitude of the input complex waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
max
max
Waveform Calculator Statistical function.
This function returns the maximum value of a waveform.
Usage
max(wf)
max(wf, x_start, x_end, x_value)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• x_value
(Optional) Specifies whether to return the x value along with the y value. Specify 0 to return
only the maximum y value; specify 1 to return both the maximum y and the corresponding x
value at the maximum. Default is “no” (0).
Return Values
Double. The maximum value of the input waveform.
Description
If the input waveform is complex, it returns the largest magnitude of its elements.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
maxdiff
maxdiff
Waveform Calculator Miscellaneous function.
Finds the time or the frequency when any signal in one run differs the most from the
corresponding signal in another run, and plots ntop signals in sorted order.
Usage
maxdiff(wf1, wf2, [func, x_start, x_end, reltol, abstol, ntop, depth, plot]
Arguments
• wf1
(Required) Specifies any continuous waveform signal in one run.
• wf2
(Required) Specifies any continuous waveform signal in another run.
• func
(Optional) Specifies the waveform function. Specify one of:
o default (check value)
o slope (check slope)
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• reltol
(Optional) Specifies the relative tolerance. By default, this is set to 1e-3 but you can specify
your own value if required.
• abstol
(Optional) Specifies the absolute tolerance. By default, this is set to 1e-6 but you can specify
your own value if required.
• ntop
(Optional) Specifies the number of top results to return and plot. Default is 8.
• depth
(Optional) Specifies the hierarchy depth used to search the waveforms. Recursive search by
default.
• plot
(Optional) 1 (default) plots the maximum difference results. 0 does not plot results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
maxdiff
Return Values
Array. The maximum difference value for the given input waveforms, in the format:
Related Topics
firstdiff
maxspectrumdiff
shiftedmaxdiff
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
maxspectrumdiff
maxspectrumdiff
Waveform Calculator Miscellaneous function.
Finds the frequency when any signal in one run differs the most from the corresponding signal
in another run, after phase shift, and plots ntop signals in sorted order.
Usage
maxspectrumdiff(wf1, wf2, [phase, f_start, f_end, reltol, abstol, ntop, depth, plot]
Arguments
• wf1
(Required) Specifies any pss spectrum signal with large fundamental amplitude, in one run.
• wf2
(Required) Specifies the same pss spectrum signal, in another run.
• phase
(Optional) Default is “Automatic”, which phase shifts the fundamental of the second
specified signal to match that of the first. Specify 0 for no phase shift.
• f_start
(Optional) Specifies the f value at the beginning of an interval. Default is “Begin”.
• f_end
(Optional) Specifies the f value at the end of an interval. Default is “End”.
• reltol
(Optional) Specifies the relative tolerance. By default, this is set to 1e-3 but you can specify
your own value if required.
• abstol
(Optional) Specifies the absolute tolerance. By default, this is set to 1e-6 but you can specify
your own value if required.
• ntop
(Optional) Specifies the number of top results to return and plot. Default is 8.
• depth
(Optional) Specifies the hierarchy depth used to search the waveforms. Recursive search by
default.
• plot
(Optional) 1 (default). Plots the maximum spectrum difference results. 0 does not plot
results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
maxspectrumdiff
Return Values
Array. The maximum spectrum difference value for the given input waveforms, in the format:
Related Topics
firstdiff
maxdiff
shiftedmaxdiff
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
min
min
Waveform Calculator Statistical function.
This function returns the minimum value of a waveform.
Usage
min(wf)
min(wf, x_start, x_end, x_value)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• x_value
(Optional) Specifies whether to return the x value along with the y value. Specify 0 to return
only the minimum y value; specify 1 to return both the minimum y and the corresponding x
value at the minimum. Default is “no” (0).
Return Values
Double. The minimum value of the input waveform.
Description
If the input waveform is complex, it returns the smallest magnitude of its elements.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
modf
modf
Waveform Calculator Mathematical function.
Breaks a floating-point number into integral and fractional parts.
Usage
modf(x)
Arguments
• x
(Required) Specifies the floating-point number to be decomposed.
Return Values
Array. The decomposed input number.
Description
Breaks the argument x into integral and fractional parts, each having the same sign as the
argument. The integral part is returned as a type double.
Note
This function only accepts a scalar number as input parameter.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
mptocomplex
mptocomplex
Waveform Calculator Complex function.
Constructs a complex waveform from a waveform of magnitude and a waveform of phase.
Usage
mptocomplex(wf1, [x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first (magnitude) input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second (phase) input waveform name.
• x_start2
(Optional) Specifies the x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. A complex waveform combining the two input waveforms as magnitude and phase.
Description
Constructs a complex waveform from a waveform of magnitude (wf1) and a waveform of phase
in radians (wf2).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
nand
nand
Waveform Calculator Logic function.
Applies the NAND function to two input waveforms whose data types are either bit or boolean.
Usage
nand(wf1, wf2)
Arguments
• wf1
(Required) Specifies the first input digital waveform name.
• wf2
(Required) Specifies the second input digital waveform name.
Return Values
Waveform. The resulting NAND waveform between the two input waveforms.
Description
Applies the NAND function to two input waveforms whose data types are either bit or boolean.
The results of the function are described in the following table:
Table B-13. NAND Truth Table
wf1 wf2 NAND (wf1, wf2)
F F T
F T T
T F T
T T F
In the table, T represents TRUE for boolean waveforms, and 1 for bit waveforms. F represents
FALSE for boolean waveforms, and 0 for bit waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
noisetosignaldbc
noisetosignaldbc
Waveform Calculator RF function.
Calculates the ratio of noise to signal amplitude, in dBc/Hz.
Usage
noisetosignaldbc(noise, amplitude)
Arguments
• noise
Noise voltage or current per sqrt(Hz) waveform.
• amplitude
Amplitude of sinusoidal signal.
Return Values
Waveform. The ratio of noise to signal for the input waveform.
Examples
In the waveform calculator, evaluate:
noise=psd(wf("<tutorial/Time-Domain_Results>v_load"))
and then:
noisetosignaldbc(noise,5.0)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
noisetrantophasenoise
noisetrantophasenoise
Waveform Calculator RF function.
Computes the Phase Noise Spectrum (Power Spectral Density) of a periodic (noisy) transient
waveform.
Usage
noisetrantophasenoise(wf[, t_start, t_stop, f_ref])
Arguments
• wf
(Required) Specifies the input waveform name. The waveform must be the result of a
transient noise analysis. All waveforms in the NOISETRAN directory that are not RMS
waveforms may be used.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• f_ref
(Optional) Specifies the fundamental frequency. If not specified, this is computed
automatically from the average period. Default is “Automatic”.
Return Values
Waveform. The Phase Noise Spectrum of the input waveform.
Description
To provide smoother results, the function iterates several times using small intervals of the input
waveform. The interval size is 10% of the t_start to t_stop range, or larger when several periods
are available.
First, this function computes the average period (or average carrier frequency), then it computes
the timing and phase jitter with respect to this average period. When the fundamental frequency
is provided, the average period is calculated as 1/f_ref. Finally, the Phase Noise Spectrum is
calculated from the Power Spectral Density of the extracted jitter.
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
nor
nor
Waveform Calculator Logic function.
Applies the NOR function to two input waveforms whose data types are either bit or boolean.
Usage
nor(wf1, wf2)
Arguments
• wf1
(Required) Specifies the first input digital waveform name.
• wf2
(Required) Specifies the second input digital waveform name.
Return Values
Waveform. The resulting NOR waveform between the two input waveforms.
Description
Applies the NOR function to two input waveforms whose data types are either bit or boolean.
The results of the function are described in the following table:
Table B-14. NOR Truth Table
wf1 wf2 nor (wf1, wf2)
F F T
F T F
T F F
T T F
In the table, T represents TRUE for boolean waveforms, and 1 for bit waveforms. F represents
FALSE for boolean waveforms, and 0 for bit waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
oipx
oipx
Waveform Calculator RF function.
Returns the output-referred intercept point of order x from the value of the circuit output
waveform.
Usage
oipx(wf, freq_1, freq_2[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• freq_1
(Required) Specifies the first input frequency.
• freq_2
(Required) Specifies the second input frequency.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double. The output-referred intercept point.
Description
Returns the output-referred intercept point of order x from the value of the circuit output
waveform, which must be in dB or dBm. The intercept order is directly calculated from the
intermodulation of freq_1 and freq_2. If the input waveform type is complex, the waveform is
automatically converted in dB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
period
period
Waveform Calculator Measurement function.
Measures the period of a periodic waveform relative to default (automatically calculated) or
user-specified topline and baseline levels.
Usage
period(wf)
period(wf, topline, baseline)
period(wf, topline, baseline, edgetrigger)
period(wf, topline, baseline, edgetrigger, x_start, x_end)
period(wf, topline, baseline, edgetrigger, x_start, x_end, option)
period(wf, topline, baseline, edgetrigger, x_start, x_end, option, param)
period(wf, topline, baseline, edgetrigger, x_start, x_end, option, param, threshold)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of the signal. Specify
“Automatic” to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of the signal. Specify
“Automatic” to have this value computed.
• edgetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
period
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• threshold
(Optional) Specifies the y value that sets the threshold of the signal. Specify Automatic to
have this value computed: mean(wf). Default is “None”.
Note
"topline/baseline" and "threshold" parameters cannot be used simultaneously: use
either "topline/baseline" or "threshold".
Return Values
Waveform. The period of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
periodjitter
periodjitter
Waveform Calculator Phase Noise function.
Returns the period jitter value.
Usage
periodjitter(wf, f0[, x_start, x_end, sampling_nb_points, nbcycles])
Arguments
• wf
(Required) Specifies the name on the input waveform on which the period jitter is
calculated.
• f0
(Required) Specifies the fundamental frequency of SST noise analysis. Default value is
“Automatic”.
Note
If f0 is stored in the database by the Eldo RF simulator, this argument becomes
optional.
• x_start
(Optional) Specifies the x value at the beginning of the interval for the period jitter
calculation. Default value is “Begin”.
• x_end
(Optional) Specifies the x value at the end of the interval for the period jitter calculation.
Default value is “End”.
• sampling_nb_points
(Optional) Defines whether sampling is applied to the source ce waveform and specifies the
number of sampling points. Default value is “Automatic”, for which 100 sampling points
are considered.
• nbcycles
(Optional) (Optional) Specifies the maximum number of waveform cycles which will
participate in the jitter calculation. Possible value is an integer value. Default is “Default”,
corresponding to 1 cycle.
Return Values
Double. The period jitter value of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
periodjitter
Description
Period jitter is calculated as follows:
Note
The calculation is designed for input waveforms SPHI, DB(SPHI), SPHI_SSB,
DB(SPHI_SSB), Lf and DB(PHNOISE), but not restricted to this list.
Examples
periodjitter(wf1)
# This will calculate the period jitter for waveform wf1 with an
# automatically detected fundamental frequency that has been stored in
# the database by the Eldo RF simulator. The calculation will use
# the entire waveform. There will be 100 sampling points - the default.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
periodjitterbyintegration
periodjitterbyintegration
Waveform Calculator Phase Noise function.
Calculates the RMS k-period jitter by Sphi integration.
Usage
periodjitterbyintegration(wf, fund[, fstart, fstop, k ])
Arguments
• wf
(Required) Specifies the two-sided Sphi density waveform (in dB rad2/Hz vs frequency in
Hz) as computed using, for example, sphibyjitter. Only the positive side of Sphi is used.
• fund
(Required) Specifies the fundamental frequency.
• fstart
(Optional) Specifies the lower frequency limit in integration. Default is “Begin”.
• fstop
(Optional) Specifies the upper frequency limit in integration. Default is “End”.
• k
(Optional) Specifies the number of accumulated cycles. Default is 1.
Return Values
Double. The RMS k-period jitter by Sphi integration of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phase
phase
Waveform Calculator Complex function.
This function returns the phase of the input complex waveform.
Usage
phase(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The phase of the input complex waveform.
Description
Returns the phase of the input complex waveform limited to [-pi, pi] in radians, or limited to
[-180, 180] in degrees, according to the option set on the Data Format Options page of the
EZwave Display Preferences Dialog Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phasenoise
phasenoise
Waveform Calculator RF function.
Computes the phase noise of a transient analysis.
Usage
phasenoise(wf1, wf2[, t_0, f_min, f_max])
Arguments
• wf1
(Required) Specifies the name of a waveform that is the result of a transient analysis of an
oscillator.
• wf2
(Required) Specifies the name of a waveform that contains RMS values of the noise
corresponding to wf1.
• t_0
(Optional) Specifies the start time. Default is “Begin” (the first x value of the transient
signal).
• f_min
(Optional) Specifies the frequency minimum. Default is “Begin”.
• f_max
(Optional) Specifies the frequency maximum. If not specified, the default value is the
derivative signal divided by two. Default is “End”.
Return Values
Waveform. The phase noise of the input transient analysis.
Description
The first waveform (wf1) must be the result of a transient analysis of an oscillator, and the
second waveform (wf2) must be RMS values of the noise corresponding to the first waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phnoisebydlm
phnoisebydlm
Waveform Calculator Phase Noise function.
Computes the phase noise in dBc/Hz by delay line measurement, where the oscillation
waveform is delayed and mixed with itself. This measurement is useful with circuits like free-
running oscillators, which have a fundamental frequency that is stable and varies randomly at
the specified value. Harmonic distortion of the waveform reduces the accuracy of this
measurement.
Usage
phnoisebydlm(wf, fund[, t_start, t_stop, f_sample, rbw, n_delay])
Arguments
• wf
(Required) Specifies the input waveform name. The waveform must be the result of a
transient noise analysis.
• fund
(Required) Specifies the fundamental or center frequency.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• f_sample
(Optional) Specifies the sampling frequency. Default value “Automatic”is the inverse of the
maximum dx of the waveform.
• rbw
(Optional) Specifies the frequency resolution bandwidth. Finer RBW increases the
variability in the measured phase noise, and reduces the lower offset frequency limit.
Default value is 10/(t_stop-t_start).
• n_delay
(Optional) Specifies the number of delay periods. Recommended values are odd quarters: 1/
4 3/4 5/4 7/4 9/4. Default value “Automatic” is 1/4.
Return Values
Waveform. The phase noise by delay line measurement computation.
Examples
phnoisebydlm(v0, 3.4G)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phnoisebydlm
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phnoisebymixer
phnoisebymixer
Waveform Calculator Phase Noise function.
Computes the phase noise in dBc/Hz by mixer measurement, where the oscillation waveform is
mixed with a pure tone. This measurement is useful for circuits like PLLs, for which the
fundamental frequency is locked.
Usage
phnoisebymixer(wf, fund[, t_start, t_stop, f_sample, rbw])
Arguments
• wf
(Required) Specifies the input waveform name. The waveform must be the result of a
transient noise analysis.
• fund
(Required) Specifies the fundamental or center frequency.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• f_sample
(Optional) Specifies the sampling frequency. Default value “Automatic” is the inverse of
the maximum dx of the waveform.
• rbw
(Optional) Specifies the frequency resolution bandwidth. Finer RBW increases the
variability in the measured phase noise, and reduces the lower offset frequency limit.
Default value “Automatic” is 10/(t_stop-t_start).
Return Values
Waveform. The phase noise by mixer computation.
Examples
phnoisebymixer(v0, 3.4G)
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
phmargin
phmargin
Waveform Calculator Miscellaneous function.
Computes the difference in phase between the input waveform wf and -180 degrees at the
frequency where the gain is 0 dB (the Gain Crossover Frequency).
Usage
phmargin(wf)
phmargin(wf_db, wf_ph)
Arguments
• wf
(Required) Specifies the input waveform name. If the input waveform is specified using
wf_db and wf_ph, this argument is not required.
• wf_db
(Required) Specifies the gain (dB) of the input waveform when used with wf_ph. If the
input waveform is specified with wf, this argument is not required.
• wf_ph
(Required) Specifies the phase of the input waveform when used with wf_db. If the input
waveform is specified with wf, this argument is not required.
Return Values
Double. The difference in phase.
Description
The input waveform can be also be described by a gain (dB) waveform wf_db and a phase
waveform wf_ph. This result is either in radians or in degrees according to data format settings.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
pivot
pivot
Waveform Calculator Miscellaneous function.
Generates a pivot waveform using the input compound waveform as the y-axis and a second
waveform, or sweep parameter, as the x-axis.
Usage
pivot(wf,x_wf_or_param[,filter])
Arguments
• wf
(Required) Specifies the input compound waveform name (y-axis).
• wf_or_param
(Required) Specifies the waveform (or compound waveform) to be used for the x-axis, or
the sweep parameter name.
• filter
(Optional) Specifies the input array of filtering parameters. Specify sweep parameters and
their values to be excluded. Default is “None”.
Return Values
Waveform. The pivoted compound waveform.
Description
If a filter array is specified, it must contain filter values wrapped between square brackets ( [ ] ).
The first element defines the parameter name and the subsequent elements define the excluded
values. Elements are separated by a comma. For example, [[SWEEP0, val0, val1,...,valn], …,
[SWEEPn , val0, val1,...,valn]].
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
plotjitterconfidenceinterval
plotjitterconfidenceinterval
Waveform Calculator Time-Domain Jitter function.
Plots approximate confidence interval for rms jitter vs. number of Gaussian samples (N).
Usage
plotjitterconfidenceinterval(rms_jitter, nb_samples[, confidence_level])
Arguments
• rms_jitter
(Required) Sample rms jitter as calculated using the standard deviation. Default is
“Automatic”.
• nb_samples
(Required) Number of independent Gaussian data samples. This may be a single value or
sequence of values (list of values). The function genlinear(start, end, step) may be used.
For example:
[1.0, 10.0, 50.0) or
genlinear(30.0, 1000.0, 1.0)
Default is “Automatic”.
• confidence_level
(Optional) Specifies the confidence level. Default is “Automatic” (99%).
Return Values
Waveform. The approximate confidence interval.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
pow10
pow10
Waveform Calculator Mathematical function.
Computes the value of 10wf.
Usage
pow10(wf)
Arguments
• wf
(Required) Specifies the input waveform name.
Return Values
Waveform. The scaled input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
psd
psd
Waveform Calculator Signal Processing function.
Computes the Power Spectral Density of the input waveform.
Usage
psd(wf[, t_start, t_stop, fs, points, sampling, padding, normalized, windowType, alpha, nsect,
nauto, ncorr, npsd, computationMethod, f_ref, f_min, f_max, samplingEpsilon,
windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points)/fs) = t_stop - t_start
For periodic windows, the parameters above satisfy the following equation:
((points - 1)/fs) = t_stop - t_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default) or “Interpolation”.
• padding
(Optional) Activates data padding to pad the input data with zeros, before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left” or
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
• normalized
(Optional) Specifies whether you want to take an average on the raw data to reduce noise
and smooth the frequency domain waveform. Specify 1 to turn this on, or 0 to not modify
the raw data from calculation. Default is 0.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
psd
• windowType
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular” (the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note
For Hanning, symmetric window shapes are preferred when using a Hanning
window in FIR filter design.
Periodic window shapes are preferred when using a Hanning window in spectral
analysis. This is because the Discrete Fourier Transform assumes periodic extension of
the input vector. A periodic Hanning window is obtained by constructing a symmetric
window and removing the last sample.
• alpha
(Optional) Specifies the alpha or beta value that is required by Hanning, Kaiser, and Dolph
Chebyshev windows.
• nsect
(Optional) Specifies the number of points by section. Default is “Automatic”.
• nauto
(Optional) Specifies the number of points for auto-correlation results. Default is
“Automatic”.
• ncorr
(Optional) Specifies the number of auto-correlation points used for power spectral density
computation. Default is “Automatic”.
• npsd
(Optional) Specifies the number of points for power spectral density results. Default is
“Automatic”.
• computationMethod
(Optional) Specifies the computation method. Legal values are: “PERIODO” (the default)
and “CORRELO”.
• f_ref
(Optional) Adjusts the results around the y-axis so that the point for the specified frequency
is 0.0.
• f_min
(Optional) Specifies the starting frequency used inside the power spectral density result
window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
psd
• f_max
(Optional) Specifies the last frequency used inside the power spectral density result
window.
• samplingEpsilon
(Optional) When sampling is set to “Interpolation”, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value.
The computed X value corresponds to t_start +(points * dX) where dX is the sampling
interval retrieved from the fs.
• windowShape
(Optional) Specifies the shape of the window. Legal values are “Symmetric” for standard
FFT setup or “Periodic” for enhancing FFT setup for spectral analysis of periodic signals.
Defaults to the global setting in the “Waveform Calculation Options” on page 528.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic
option, unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case,
Eldo has already considered the periodicity of the input signal.
Return Values
Waveform. The Power Spectral Density of the input waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
pssresidue
pssresidue
Waveform Calculator RF function.
Calculates the difference of every signal at tstop and tstop - tperiod and returns signals in sorted
order of the maximum difference.
Usage
pssresidue(wf, tperiod)
pssresidue(wf, tperiod, tstop, reltol, abstol)
Arguments
• wf
(Required) Specifies the input waveform name.
• tperiod
(Required) Specifies the fundamental period in PSS analysis. To find slow drifting signals,
try specifying integer multiples of the fundamental period.
• tstop
(Optional) Specifies the stop time. Default is “End” (maximum X value).
• reltol
(Optional) Specifies the relative tolerance for the PSS residue value. Default is 1e-3.
• abstol
(Optional) Specifies the absolute tolerance for the PSS residue value. Default is 1e-3.
Return Values
Double. The maximum PSS residue.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
pulsewidth
pulsewidth
Waveform Calculator Measurement function.
Measures the pulse width of a waveform that switches at least twice between high and low
levels, relative to default (automatically calculated) or user-specified topline and baseline
levels.
Usage
pulsewidth(wf)
pulsewidth(wf, topline, baseline)
pulsewidth(wf, topline, baseline, pulsetype)
pulsewidth(wf, topline, baseline, pulsetype, x_start, x_end)
pulsewidth(wf, topline, baseline, pulsetype, x_start, x_end, option)
pulsewidth(wf, topline, baseline, pulsetype, x_start, x_end, option, param)
pulsewidth(wf, topline, baseline, pulsetype, x_start, x_end, option, param, threshold)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of the signal. Specify
“Automatic” to have this value computed. Default is “Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the signal. Specify
“Automatic” to have this value computed. Default is “Automatic”.
• pulsetype
(Optional) Specifies the signal pulse type from which the measurement begins. Specify
“Rising” (or “+1”), “Falling” (or “-1”), or “Either” (or “0”). Default is “Either”.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
pulsewidth
• param
(Optional) Specifies the simulation parameter to be used to generate the result waveform
when option = “WF”, either “middleX” of “Xunit”. Default is “middleX”.
• threshold
(Optional) Specifies the y value that sets the threshold of the signal. Specify “Automatic” to
have this value computed: (topline + baseline)/2. Default is “None”.
Note
"topline/baseline" and "threshold" parameters cannot be used simultaneously: use
either "topline/baseline" or "threshold".
Return Values
Waveform. The pulse width of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rad
rad
Waveform Calculator Signal Processing function.
Converts the trigonometric angle of a waveform to radians.
Usage
rad(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. A waveform corresponding to the converted input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
real
real
Waveform Calculator Complex function.
Returns the real part of the input complex waveform.
Usage
real(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The real part of the input complex waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
reglin
reglin
Waveform Calculator Miscellaneous function.
Performs a linear regression between the values provided, and returns a value for the slope.
Usage
reglin(array_of_x, array_of_y)
reglin(wf[, x_start, x_end])
reglin(array_of_datapoints)
Arguments
• array_of_x
(Required) Specifies the input array of x values. For example, [x0, x1, …, xn].
• array_of_y
(Required) Specifies the input array of y values. For example, [y0, y1, …, yn].
• wf
(Required) Specifies the input waveform name.
x_start
(Optional) Specifies the x value at the beginning of an interval.
x_end
(Optional) Specifies the x value at the end of an interval.
• array_of_datapoints
Specifies the input array of points. For example, [[x0, y0], …, [xn, yn]].
Return Values
Double. The linear regression of the input waveform.
Description
Performs a linear regression between the values provided, and returns a value for the slope.
If an array is specified, it must contain data points wrapped between square brackets ( [ ] ). The
first element defines the x value, and the second one defines the y value. Elements are separated
by a comma. For example, [[x0, y0], [x1, y1], …, [xn, yn]].
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
relation
relation
Waveform Calculator Mathematical function.
Generates a waveform from a point-by-point relational expression.
Usage
relation(wf1, wf2, operator, pt_at_crossing)
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• operator
(Required) Specifies the relational operator through one of the following legal values:
o 1 — Represents “greater than”.
o 0 — Represents “equals”.
o -1 — Represents “less than”
• pt_at_crossing = “Yes” | “No”
(Optional) Specifies whether points are created at intersections:
o “Yes” — Points are added to the waveform when wf1 and wf2 cross (default).
o “No” — Points at crossings are not added to the result.
Return Values
Waveform. The relation between the two input waveforms.
Description
Generates a waveform from a point-by-point relational expression. It returns 1 corresponding to
the scalar value operator if any of the following conditions are true:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
removepts
removepts
Waveform Calculator Miscellaneous function.
Removes points from a waveform where the states of a second (digital) waveform are “0”.
Usage
removepts(wf1, wf2)
Note
The waveform domains must overlap and wf2 must be digital.
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second (digital) input waveform name.
Return Values
Waveform. A waveform representing wf1 with points removed from the domain where digital
wf2 state is “0”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
risetime
risetime
Waveform Calculator Measurement function.
Measures the difference in time from when the waveform rises from the lower level to the upper
level.
Usage
risetime(wf)
risetime(wf, topline, baseline)
risetime(wf, topline, baseline, low, mid, up)
risetime(wf, topline, baseline, low, mid, up, x_start, x_end)
risetime(wf, topline, baseline, low, mid, up, x_start, x_end, option)
risetime(wf, topline, baseline, low, mid, up, x_start, x_end, option, param)
risetime(wf, topline, baseline, low, mid, up, x_start, x_end, option, param, rise)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of a signal. Specify “Automatic”
to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of a signal. Specify “Automatic”
to have this value computed.
• low
(Optional) Specifies the percentage of the low threshold. This can range from 0% to mid. By
default, this is set to 10%. This parameter is a string (for example, “10%”).
• mid
(Optional) Specifies the percentage that sets the limit range for the low and up values. By
default, this is set to 50%. This parameter is a string (for example, “50%”).
• up
(Optional) Specifies the percentage of the high threshold. This can range from mid to 100%.
By default, this is set to 90%. This parameter is a string (for example, “90%”).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
risetime
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. (Optional) Specifies the output type. Legal values are:
“WF” for waveform (default), “VALUE” for numerical value or array of numerical values
and “ANNOTATION” for plotting your input waveform with the result annotated on it.
Note
If rise is anything other than “all”, option = “VALUE “is forced.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• rise
(Optional) Specifies the occurrence of the result that the measurement will return. For
compound waveforms it applies to each element individually. Legal values are:
o “first” — Specifies the first occurrence of the result.
o “all” — Specifies all occurrences of the result. Default.
o “last” — Specifies the last occurrence of the result.
o n or “n” — Specifies the nth occurrence of the result.
Return Values
Waveform. The difference in time from when the input waveform rises from the lower level to
the upper level.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ritocomplex
ritocomplex
Waveform Calculator Complex function.
Constructs a complex waveform from a waveform of the real part and a waveform of the
imaginary part.
Usage
ritocomplex(wf1,[x_start1, x_end1,] wf2[, x_start2, x_end2])
Arguments
• wf1
(Required) Specifies the first (real) input waveform name.
• x_start1
(Optional) Specifies the x value at the beginning of an interval on wf1.
• x_end1
(Optional) Specifies the x value at the end of an interval on wf1.
• wf2
(Required) Specifies the second (imaginary) input waveform name.
• x_start2
(Optional) Specifies x value at the beginning of an interval on wf2.
• x_end2
(Optional) Specifies the x value at the end of an interval on wf2.
Return Values
Waveform. A complex waveform combining two input waveforms as real and imaginary parts.
Description
Constructs a complex waveform from a waveform of the real part (wf1) and a waveform of the
imaginary part (wf2).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rms
rms
Waveform Calculator Statistical function.
Returns the root mean square value of a waveform for transient or AC analysis.
Usage
rms(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The root mean square value of the input waveform.
Description
Computes the root mean square value of a waveform for transient or AC analysis, as follows:
sqrt (integ(wf2, x_start, x_end) / (x_end - x_start) if the x domain is not frequency.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rms_ac
rms_ac
Waveform Calculator Statistical function.
Returns the root mean square value of a waveform for AC analysis.
Usage
rms_ac(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The root mean square value of the input waveform.
Description
Computes the root mean square value of a waveform for AC analysis, as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rms_accurate
rms_accurate
Waveform Calculator Statistical function.
Returns the integrated root mean square value of a continuous waveform that is accurate even if
the waveform is noisy.
Usage
rms_accurate(wf[, x_start, x_end ])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double. Returns the root mean square value of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rms_noise
rms_noise
Waveform Calculator Statistical function.
Returns the root mean square value of a discrete frequency waveform for noise analysis.
Usage
rms_noise(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The root mean square of the input waveform for noise analysis.
Description
Computes the root mean square value (also know as the root sum square value) of discrete
frequency waveforms such as FOUR or FSST. It may be used, for example, in the calculation of
SNR. It is computed as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rms_tran
rms_tran
Waveform Calculator Statistical function.
Returns the root mean square value of a waveform for transient analysis.
Usage
rms_tran(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The root mean square value of the input waveform for transient analysis.
Description
Computes the root mean square value of a waveform for transient analysis, as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
rol
rol
Waveform Calculator Logic function.
Returns a value that is the waveform rotated left by shift index positions.
Usage
rol(wf[, x_start, x_end], shift)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• shift
(Required) Specifies the shifted value.
Return Values
Waveform. A new waveform corresponding to the rotated input waveform.
Description
Returns a value that is the waveform wf rotated left by shift index positions.
The rol function replaces wf with a value that is the result of a concatenation whose left
argument is the rightmost (Length - 1) elements of wf and whose left argument is the leftmost
remainder of wf.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
ror
ror
Waveform Calculator Logic function.
Returns a value that is the waveform rotated right by shift index positions.
Usage
ror(wf[, x_start, x_end], shift)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• shift
(Required) Specifies the shifted value.
Return Values
Waveform. A new waveform corresponding to the rotated input waveform.
Description
Returns a value that is the waveform wf rotated right by shift index positions.
The ror function replaces wf with a value that is the result of a concatenation whose right
argument is the leftmost (Length - 1) elements of wf and whose left argument is the rightmost
remainder of wf.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
round
round
Waveform Calculator Mathematical function.
Computes the closest integer value to each data point of the waveform.
Usage
round(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A waveform containing the rounded values of the input waveform.
Description
Computes the closest integer value to each data point of wf. Upon successful completion, each
returned value is expressed as a type double.
Related Topics
trunc
ceil
floor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sample
sample
Waveform Calculator Signal Processing function.
Creates a sampled waveform with equidistant data points.
Usage
sample(wf, sampling_interval[, x_start, x_end, strict_sampling])
Arguments
• wf
(Required) Specifies the input waveform name.
• sampling_interval
(Required) Specifies the x interval for sampling.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• strict_sampling
(Optional) When set to “True”, forces equidistant digital events even when the logical state
is unchanged. When set to “False”, a new digital even is only triggered when the logical
state is changed. Default is “False”.
Return Values
Waveform. A new sampled waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
samplelog
samplelog
Waveform Calculator Signal Processing function.
Creates a sampled waveform with data points logarithmically spaced.
Usage
samplelog(wf, number_of_points[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• number of points
(Required) Specifies the number of points in the sampled result waveform.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A new logarithmically sampled waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
samplepsd
samplepsd
Waveform Calculator Signal Processing function.
Samples a continuous waveform variable wf, and returns its power spectral density, with unit
(w)2/Hz. Returned spectrum is from 0 to f_sample/2, and has frequency bin width of f_sample/
nfft.
Usage
samplepsd(wf[, t_start, t_stop, f_sample, nfft, window, detrend])
Arguments
• wf
(Required) Name of the input time-based waveform.
• t_start
(Optional) Sampling start time on wf. Default is “Begin”, the first point of wf.
• t_stop
(Optional) Sampling stop time on wf. Default is “End”, the last point of wf.
• f_sample
(Optional) Sampling frequency. Default value “Automatic” is the inverse of the maximum
time-step.
Note
f_sample must be specified if t_start (or t_stop) is specified.
• nfft
(Optional) Number of data samples per windowed FFT segment. If the spectrum has a
strong signal at a frequency, let nfft = integer multiple of f_sample / (signal frequency) to
minimize signal leakage. Larger nfft improves frequency resolution but increases variability
with fewer segments. Default nfft is computed as roundnfft(f_sample/(10/(t_stop - t_start))),
where roundnfft() rounds the input to ensure efficient FFT processing. Default is “Default”.
• window
(Optional) The fft window type. Available types:
“Rectangular”, “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”, “Blackman-
Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”. Default is “Hanning”.
• detrend
(Optional) Subtracts the mean value or a linear best-fit line from the output to highlight
fluctuations around those values. Specify: “None”, “Mean” or “Linear”. Default is “None”.
Return Values
Waveform. The power spectral density of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
samplepsd
Description
The calculation involves these steps:
Examples
The samplepsd() function can be used on any time-domain waveform. In this example,
samplepsd() is used to calculate the power spectral density from transient noise analysis of a RC
circuit, and compare it to the result of noise analysis. In this case, the input for the samplepsd()
function should not contain any energy from the signal, only noise.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
samplepsd
*
.option tuning=vhigh
.param vdc=0 vamp=0 per=1u
vin in 0 dc 0 ac 1 0 pulse('vdc-vamp/2' 'vdc+vamp/2' '0.25*per' '0.05*per'
'0.05*per' '0.45*per')
r1 in out 100
c2 out 0 100p
.ac dec 10 1 1G
.noise v(out) vin 10
.plot ac db(onoise)
.tran 1us 1ms
.probe tran v(in) v(out)
.plot ntr v(out)
.param vamp=1
.noisetran fmin=0 fmax=1G nbrun=1
.step param vamp list 0 1
The computation,
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
samplepsd
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
setAngleUnits
setAngleUnits
Waveform Calculator Special function.
Specifies the trigonometrical angle unit used in the Waveform Calculator.
Usage
setAngleUnits("degrees"|"radians"|"gradians")
Arguments
• "degrees"|"radians"|"gradians"
Specifies the trigonometrical angle unit.
Description
Note
This Waveform Calculator Special function does not appear in the Waveform Calculator
Functions list but may be used for scripting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
setNotation
setNotation
Waveform Calculator Special function.
Specifies the expression evaluation logic used in the Waveform Calculator.
Usage
setNotation("IEEE"|"SPICE")
Arguments
• "IEEE"|"SPICE"
Specifies the notation.
Description
Note
This Waveform Calculator Special function does not appear in the Waveform Calculator
Functions list but may be used for scripting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
setTemperatureUnits
setTemperatureUnits
Waveform Calculator Special function.
Specifies the temperature unit used in the Waveform Calculator.
Usage
setTemperatureUnits("celcius"|"kelvin")
Arguments
• "celcius"|"kelvin"
Specifies the temperature unit.
Description
Note
This Waveform Calculator Special function does not appear in the Waveform Calculator
Functions list but may be used for scripting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
settlingtime
settlingtime
Waveform Calculator Miscellaneous function.
Computes the time required for the input wave to settle within a certain limit around the final
value.
Usage
settlingtime(wf, steadystate, tolerance[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• steadystate
(Required) Specifies the final value to reach. Default is “Automatic”.
• tolerance
(Required) Specifies the tolerance value, either a percentage of waveform amplitude by
appending to the value the percentage character (%) or a positive or negative raw value.
Default is “5%”.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Double. The time required for the input waveform to settle around the final value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sfdr
sfdr
Waveform Calculator Signal Processing function.
Computes the spurious free dynamic range of the input waveform in dBc.
Usage
sfdr(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal. Frequencies from
f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
“Default” is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are
considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is “None”, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The spurious free dynamic range of the input waveform in dBc.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sfdr
Description
The spurious free dynamic range of the input waveform is given by the following relationship:
where:
= the signal.
= the highest spectrum which is not the signal (it can be an harmonic or not).
Examples
sfdr(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6)
= 73.13448176568927
Related Topics
Signal to Noise Ratio Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
shift
shift
Waveform Calculator Miscellaneous function.
Creates a waveform shifted in the x direction by an interval delta.
Usage
shift(wf[, x_start, x_end], delta, precision)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• delta
(Required) Specifies the interval for shifting.
• precision
(Optional) Specifies the floating-point precision used. By default, this is set to 12 (1e-12)
but you can specify your own precision if required.
Return Values
Waveform. A new waveform corresponding to the shifted input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
shiftedmaxdiff
shiftedmaxdiff
Waveform Calculator Miscellaneous function.
Finds the time when any signal in one run, shifted by tdelay, differs the most from the
corresponding signal in another run, and plots ntop signals in sorted order.
Usage
shiftedmaxdiff(wf1, wf2, [tdelay, x_start, x_end, reltol, abstol, ntop, depth, plot]
Arguments
• wf1
(Required) Specifies any continuous waveform signal in one run.
• wf2
(Required) Specifies any continuous waveform signal in another run.
• tdelay
(Optional) Specifies the time delay to be added to the first waveform signal. Default is
“Automatic”, the last point in the second waveform minus the interval of the first waveform.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• reltol
(Optional) Specifies the relative tolerance. By default, this is set to 1e-3 but you can specify
your own value if required.
• abstol
(Optional) Specifies the absolute tolerance. By default, this is set to 1e-6 but you can specify
your own value if required.
• ntop
(Optional) Specifies the number of top results to return and plot. Default is 8.
• depth
(Optional) Specifies the hierarchy depth used to search the waveforms. Recursive search by
default.
• plot
(Optional) 1 (default) plots the shifted maximum difference results. 0 does not plot results.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
shiftedmaxdiff
Return Values
Array. The shifted maximum difference value for the given input waveforms, in the format:
Related Topics
firstdiff
maxdiff
maxspectrumdiff
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sin
sin
Waveform Calculator Trigonometric function.
Computes the sine of a waveform.
Usage
sin(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The sine of the input waveform.
Description
Computes the sine of wf, by default measured in degrees.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sinad
sinad
Waveform Calculator Signal Processing function.
Computes the signal to noise and distortion ratio (SINAD) of the input waveform. This is the
same as sndr.
Usage
sinad(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal. Frequencies from
f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
“Default” is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are
considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is “None”, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The signal to noise and distortion ratio (SINAD) of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sinad
Description
The signal to noise and distortion ratio (SINAD) of the input waveform is given by the
following relationship:
where:
= the signal.
= the noise.
= the distortion.
Examples
sinad(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6)
= 60.71366130019308
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sinh
sinh
Waveform Calculator Trigonometric function.
Computes the hyperbolic sine of a waveform.
Usage
sinh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic sine of the input waveform.
Description
Computes the hyperbolic sine of wf.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
size
size
Waveform Calculator Statistical function.
Returns the number of data points in an analog waveform or the number of transitions in a
digital waveform.
Usage
size(wf,[ x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Integer. The number of data points of the input waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sla
sla
Waveform Calculator Logic function.
Returns a value that is the input waveform arithmetically shifted left by a number of index
positions.
Usage
sla(wf[, x_start, x_end], shift)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• shift
(Required) Specifies the amount by which to shift wf.
Return Values
Waveform. A new waveform corresponding to the shifted input waveform.
Description
Returns a value that is the input waveform arithmetically shifted left by a number of index
positions. That is, if the shift value is 0, the return value is the input waveform. Otherwise, a
basic shift operation replaces the waveform with one that is the result of a concatenation whose
left argument is the rightmost (length - 1) data points of the waveform and whose right
argument is a duplicate of the rightmost data point. If the shift value is positive, this basic shift
operation is repeated that number of times to form the result.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
slewrate
slewrate
Waveform Calculator Measurement function.
Measures the slew rate of a periodic waveform relative to default (automatically calculated) or
user-specified topline and baseline levels.
Usage
slewrate(wf)
slewrate(wf, topline, baseline)
slewrate(wf, topline, baseline, low, mid, up)
slewrate(wf, topline, baseline, low, mid, up, edgetrigger)
slewrate(wf, topline, baseline, low, mid, up, edgetrigger, x_start, x_end)
slewrate(wf, topline, baseline, low, mid, up, edgetrigger, x_start, x_end, option)
slewrate(wf, topline, baseline, low, mid, up, edgetrigger, x_start, x_end, option, param)
slewrate(wf, topline, baseline, low, mid, up, edgetrigger, x_start, x_end, option, param,
slewrate)
Arguments
• wf
(Required) Specifies the input waveform name.
• topline
(Optional) Specifies the y value that sets the high threshold of the signal. Specify
“Automatic” to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of the signal. Specify
“Automatic” to have this value computed.
• low
(Optional) Specifies the percentage of the low threshold. This can range from 0% to mid. By
default, this is set to 10%. This parameter is a string (for example, “10%”).
• mid
(Optional) Specifies the percentage that sets the limit range for the low and up values. By
default, this is set to 50%. This parameter is a string (for example, “50%”).
• up
(Optional) Specifies the percentage of the high threshold. This can range from mid to 100%.
By default, this is set to 90%. This parameter is a string (for example, “90%”).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
slewrate
• edgetrigger
(Optional) Specifies the signal edge from which the measurement begins. Specify “Rising”,
“Falling” or “Either” (default).
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
• option
(Optional) Specifies the output type. “VALUE” indicates numerical values, “WF” indicates
a waveform (default), and “ANNOTATION” indicates the input waveform plot will be
annotated with results.
• param
(Optional) Specifies the simulation parameters to be used to generate the result waveform
when option = “WF”. Default is “middleX”.
• slewrate
(Optional) Specifies the measurement output type (“All” (default), “First”, “Last”).
Return Values
Waveform. The slew rate of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
slope
slope
Waveform Calculator Measurement function.
Returns the slope value of a waveform at a specified x value.
Usage
slope(wf, x)
slope(wf, x, slopetype)
Arguments
• wf
(Required) Specifies the input waveform name.
• x
(Required) Specifies the x value.
• slopetype
(Optional) Specifies the slope type. Value may be one of the following:
o None. The slope value is computed normally. Default.
o Decade. The slope value is computed per decade for waveforms in the frequency
domain.
o Octave. The slope value is computed per octave for waveforms in the frequency
domain.
Return Values
Waveform. The slope of the input waveform at the given x value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
slopeintersect
slopeintersect
Waveform Calculator Measurement function.
Finds the slope intersection of two waveforms at specified x values.
Usage
slopeintersect(wf1, wf2, x1, x2)
Arguments
• wf1
(Required) Specifies the first input waveform name.
• wf2
(Required) Specifies the second input waveform name.
• x1
(Required) Specifies the x value corresponding to the first waveform.
• x2
(Required) Specifies the x value corresponding to the second waveform.
Return Values
Array. The slope intersections.
Related Topics
Slope Intersect
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sndr
sndr
Waveform Calculator Signal Processing function.
Computes the signal to noise and distortion ratio (SINAD) of the input waveform. This is the
same as sinad.
Usage
sndr(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal. Frequencies from
f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
“Default” is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are
considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is None, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The signal to noise and distortion ratio (SINAD) of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sndr
Description
The signal to noise and distortion ratio (SINAD) of the input waveform is given by the
following relationship:
where:
= the signal.
= the noise.
= the distortion.
Examples
sndr(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6)
= 60.71366130019308
Related Topics
Signal to Noise Ratio Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
snr
snr
Waveform Calculator Signal Processing function.
Computes the signal to noise ratio of the input waveform.
Usage
snr(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal. Frequencies from
f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
“Default” is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are
considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is None, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding and aliasing.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The signal to noise ratio of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
snr
Description
The signal to noise ratio of the input waveform is given by the following relationship:
where:
= the signal.
= the noise.
Examples
snr(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6) =
61.54552999317448
Related Topics
Signal to Noise Function
Signal to Noise Ratio Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sorty
sorty
Creates the same output as the cdf function, but without normalization.
Usage
sorty(wf)
Arguments
• wf
(Required) Specifies the input waveform name.
Description
Creates the same output as the cdf function, but without normalization. The first point of the
result is {x=ymin(wf), y=1} and the last point is {x=ymax(wf), y=size(wf)}.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
spectrummeasurement
spectrummeasurement
Waveform Calculator Signal Processing function.
Computes spectrum measurements on the input analog or complex waveform, including; “snr”,
“sndr”, “sfdr”, “enob”, and “thd”.
Usage
spectrummeasurement(wf[, t_start, t_stop, fs | points, f_min, f_max, window_type, alpha, harm,
bin, meas_type, config_file, windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”. Specify
either fs or points, not both.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”. Specify either
fs or points, not both.
Note
The parameters above satisfy the following equation:
((points-1)/fs) = t_stop - t_start
• f_min
(Optional) Specifies the starting frequency used in the spectrum measurement noise
integration calculation. Default is “Automatic”.
• f_max
(Optional) Specifies the last frequency used in the spectrum measurement noise integration
calculation. Default is “Automatic”.
• window_type
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular” (the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
spectrummeasurement
• alpha
(Optional) Specifies the alpha (or beta) value that is required by Hanning, Dolph Chebyshev
and Kaiser windows.
o Hanning : [0;1], default 0.5
o Dolph Chebyshev : [0:20], default 3.0
o Kaiser : [0:20], default 10.056.
• harm
(Optional) Specifies the number of harmonics to be considered. Set to -1 to consider all
harmonics. Default is 6, equivalent to signal plus 5 harmonics.
• bin
(Optional) Specifies the bin size for the spectrum measurement, that is, the number of points
to take into account around the fundamental signal. For example:
o with bin = 0, only the fundamental is taken into account
o with bin = 1, the frequencies taken into account correspond to the first point to the
left and right of the found fundamental and each of its associated harmonics.
The default value depends on the Windowing transform selected.
o Rectangular: bin = 0
o Bartlett, Hamming, Hanning, Welch: bin = 1
o Blackman, Dolph Chebyshev, Kaiser, Klein: bin = 2
o Blackman-Harris, Parzen: bin = 3.
• meas_type
(Optional) Specifies the type of measurement to be performed. Default value is “All” (all
measurement types are calculated). Allowed values are:
o “snr” (Signal to Noise Ratio)
o “sndr” (Signal to Noise and Distortion Ratio)
o “sfdr” (Spurious Free Dynamic Range)
o “enob” (Effective Number Of Bits)
o “thd” (Total Harmonic Distortion in dB)
o “thd_pc” (Total Harmonic Distortion in %)
o “fund” (fundamental frequency)
o “dc” (value of the dc amplitude)
o “signal” (value of the fundamental amplitude)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
spectrummeasurement
Related Topics
Spectrum Measurement Function
Spectrum Measurement Tool Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sphibyjitter
sphibyjitter
Waveform Calculator Phase Noise function.
Computes two-sided Sphi density in dB rad2/Hz by jitter measurement. The positive side of
Sphi is returned.
Usage
sphibyjitter(wf, fund[, t_start, t_stop, rbw, edge, topline, baseline])
Arguments
• wf
(Required) Specifies the input waveform name. The waveform must be the result of a
transient noise analysis.
• fund
(Required) Specifies the fundamental or center frequency.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• rbw
(Optional) Specifies the frequency resolution bandwidth. Finer RBW increases the
variability in the measured phase noise, and reduces the lower offset frequency limit.
Default value “Automatic” is 10/(t_stop-t_start).
• edge
(Optional) Specifies the edge to consider when calculating periods. Valid values are
“Rising”, “Falling” or “Either”. Default value is “Rising”.
• topline
(Optional) Specifies the y value that sets the high threshold of a signal. Specify “Automatic”
to have this value computed.
• baseline
(Optional) Specifies the y value that sets the low threshold of a signal. Specify “Automatic”
to have this value computed.
Return Values
Waveform. The two-sided Sphi density in dB rad2/Hz by jitter measurement.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sphibyjitter
Description
The resultant Sphi waveform has a datum “noise” in dBc/Hz whereas the expression
noisetrantophasenoise has a datum magnitude in dB/Hz.
Examples
sphibyjitter(v0, 3.4G)
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sphifilter
sphifilter
Waveform Calculator Phase Noise function.
Applies a high pass filter to frequency-domain Sphi density.
Usage
sphifilter(wf, polefreq)
Arguments
• wf
(Required) Specifies the input waveform name. The waveform must be a two-sided Sphi
density in dB rad2/Hz vs. frequency in Hz, as computed using sphibyjitter, for example.
• polefreq
(Required) List of pole frequencies in Hz. Complex poles should be specified as complex
conjugate pairs.
Return Values
Waveform. The high pass filter of the input frequency-domain Sphi density.
Examples
sphibyfilter(v0, 1e6)
Tip
See also .NOISETRAN in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sqr
sqr
Waveform Calculator Mathematical function.
Computes wf2.
Usage
sqr(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The square of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sqrt
sqrt
Waveform Calculator Mathematical function.
Computes the square root of wf.
Usage
sqrt(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The square root of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sra
sra
Waveform Calculator Logic function.
Returns a value that is the input waveform arithmetically shifted right by a number of index
positions.
Usage
sra(wf[, x_start, x_end], shift)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
• shift
(Required) Specifies the amount by which to shift wf.
Return Values
Waveform. A new waveform corresponding to the shifted input waveform.
Description
Returns a value that is the input waveform arithmetically shifted right by a number of index
positions. That is, if the shift value is 0, the return value is the input waveform. Otherwise, a
basic shift operation replaces the waveform with one that is the result of a concatenation whose
right argument is the leftmost (length - 1) data points of the waveform and whose left argument
is a duplicate of the leftmost data point. If the shift value is positive, this basic shift operation is
repeated that number of times to form the result.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
stddev
stddev
Waveform Calculator Measurement function.
Calculates the standard deviation of the specified waveform.
Usage
stddev(wf[, x_start, x_end, ])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. The standard deviation of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
sum
sum
Waveform Calculator Statistical function.
Finds the sum of all the y values of the input waveform.
Usage
sum(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/complex. The sum of the y values of the input waveform.
Description
If the input waveform is complex then the sum is only calculated on its real part.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
tan
tan
Waveform Calculator Trigonometric function.
Computes the tangent of wf.
Usage
tan(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The tangent of the input waveform.
Description
Computes the tangent of wf, by default measured in degrees.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
tanh
tanh
Waveform Calculator Trigonometric function.
Computes the hyperbolic tangent of the waveform.
Usage
tanh(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. The hyperbolic tangent of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
thd
thd
Waveform Calculator Signal Processing function.
The total harmonic distortion function computes the distortion to signal ratio of the input
waveform.
Usage
thd(wf, f_list[, f_min, f_max, harm, s_freq, bin])
Arguments
• wf
(Required) Specifies the input waveform name. Typically this will be an FFT result
calculated in EZwave.
• f_list
(Required) Specifies the list of frequencies to be considered as signal, in the form
[freq0, ... , freqN]. Frequencies from f_list can be selected outside of [f_min, f_max].
• f_min
(Optional) Specifies the minimum frequency to be considered in the input waveform.
Default is “Begin”.
• f_max
(Optional) Specifies the maximum frequency to be considered the input waveform. Default
is “End”.
• harm
(Optional) Specifies the number of harmonics of the signal to be considered. Default value
is 6 (signal + 5 harmonics). If harm=-1, all harmonics within [f_min, f_max] are considered.
• s_freq
(Optional) The sampling frequency of the source waveform. Default value is “None”, no
sampling frequency. When specified, the sampling frequency is used to manage harmonic
folding and aliasing.
• bin
(Optional) Specifies the bin width to use as signal on the input wave (single sided). Default
is “Default”.
Return Values
Double. The distortion to signal ratio of the input waveform in dB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
thd
Description
The total harmonic distortion of the input waveform is given by the following relationship:
10 log 10 (D/S)
where:
Examples
thd(wf("<calc>FFT_V_OUT_DAC_GOOD_"),[4637700.0],0.0,8.0E7, s_freq=80e6) =
-68.3002538138697
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
tiejitter
tiejitter
Waveform Calculator Time-Domain Jitter function.
Computes the Time Interval Error (TIE) Jitter. TIE Jitter is the variation in time of the source
waveform edges relative to the reference waveform edges over part of, or the whole waveform.
Usage
tiejitter(wf, ref[t_start, t_ stop, edgetrigger, single_threshold, single_threshold_ref, topline,
baseline, threshold, topline_ref, baseline_ref, threshold_ref])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• ref
(Required) Specifies a reference waveform.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Either”.
• single_threshold
(Optional) If “True”, the single threshold will be used for the source waveform period
calculation (topline/baseline values are ignored). If “False”, topline/baseline will be used.
Default is “False”.
• single_threshold_ref
(Optional) If “True”, the single threshold_ref will be used for the reference waveform
period calculation (topline_ref/baseline_ref values are ignored). If “False” topline_ref/
baseline_ref will be used. Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source waveform. Default
is “Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source waveform. Default
is “Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
tiejitter
• threshold
(Optional) Specifies the y value that sets a single threshold for the source waveform. Default
is “Automatic”.
• topline_ref
(Optional) Specifies the y value that sets the high threshold of the reference waveform.
Default is “Automatic”.
• baseline_ref
(Optional) Specifies the y value that sets the low threshold of the reference waveform.
Default is “Automatic”.
• threshold_ref
(Optional) Specifies the y value that sets a single threshold for the reference waveform.
Default is “Automatic”.
Return Values
Waveform. The Time Interval Error jitter waveform for the input waveforms.
Description
TIE helps to evaluate the signal accuracy and the short- and long-term signal stability.
TIE jitter is calculated as the difference between edges (rising, falling, or both) of the source and
reference waveforms. The jitter RMS value horizontal marker is displayed over the result
waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timeabsolutejitter
timeabsolutejitter
Waveform Calculator Time-Domain Jitter function.
Returns the absolute jitter waveform for the selected source waveform(s).
Usage
timeabsolutejitter(wf[, ref, t_start, t_stop, edgetrigger, single_threshold, topline, baseline,
threshold])
Arguments
• wf
(Required) Specifies the input waveform(s) for which to calculate the jitter.
• ref
(Optional) Specifies the reference period. Default is “Automatic”.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Rising”.
• single_threshold
(Optional) If “True”, the single threshold will be used (topline/baseline values are ignored).
If “False”, topline/baseline will be used. Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source waveform. Default
is “Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source waveform. Default
is “Automatic”.
• threshold
(Optional) Specifies the y value that sets a single threshold for the source waveform. Default
is “Automatic”.
Return Values
Waveform. The absolute jitter waveform for the input waveform(s).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timeabsolutejitter
Description
Absolute jitter is the accumulated difference between the actual cycle period and the reference
or average source waveform period values. This type of jitter helps to evaluate the short- and
long-term signal stability.
Absolute jitter is calculated as the accumulated difference between the actual cycle period
values of the source waveform and reference period. If the reference period is not set, the
accumulated difference is calculated between the actual and average cycle period of the source
waveform.
The jitter RMS value horizontal marker is displayed over the result waveform.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timelongtermjitter
timelongtermjitter
Waveform Calculator Time-Domain Jitter function.
Returns the long-term jitter waveform for the selected source waveform(s).
Usage
timelongtermjitter(wf[, ref, nbcycles, t_start, t_stop, edgetrigger, single_threshold, topline,
baseline, threshold])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• ref
(Optional) Specifies a reference period. Default is “Automatic”.
• nbcycles
(Optional) Specifies the maximum number of waveform cycles in the N-cycle sample that
will participate in the jitter calculation. The calculation starts from 1 cycle in time interval
and stops on nbcycles cycles. Possible values are an integer value or “Automatic”. When
“Automatic” is set, nbcycles = total number of cycles in the waveform / 50. This is done for
a more accurate calculation of each long-term jitter point (needs at least 50 values in the
sample). Default is “Automatic”.
Tip
By default, the maximum time of the jitter result waveform = maximum time of the
source waveform / 50. So a 1 second simulation waveform gives a 20ms jitter result
waveform. Increasing the value of nbcycles increases the result waveform maximum
time, but at the same time it decreases the calculation precision for the jitter waveform,
especially for points situated close to the ends of the waveform, due to the lack of
statistical data. Possible solutions are:
• increase the simulation time (by 50x), if possible
• try using the Phase Noise longtermjitter function in EZwave. This uses an algorithm
based on the integration and does not need the division by 50
• use the long-term jitter calculation integrated in Eldo and create a waveform from it.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timelongtermjitter
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Rising”.
• single_threshold
(Optional) Specifies whether topline/baseline or a single threshold is used for the source
waveform period calculation. If True, the single threshold will be used (topline/baseline
values are ignored). If “False”, topline/baseline will be used. Default is “False”.
• topline
(Optional) Specifies the Y value that sets the high threshold of the source waveform.
Default is “Automatic”.
• baseline
(Optional) Specifies the Y value that sets the low threshold of the source waveform. Default
is “Automatic”.
• threshold
(Optional) Specifies the Y value that sets a single threshold for the source waveform.
Default is “Automatic”.
Return Values
Waveform. The long-term jitter waveform for the input waveform(s).
Description
Long-term jitter can be described as the variation in time of the cumulative period of adjacent
N-cycle samples. In other words, long-term jitter is the set of N-period jitter RMS values, for N
starting from 1 to the specified maximum number of cycles in the N-cycle sample.
Note
The timelongtermjitter function calculates 1-sigma jitter.
Each point in the result waveform corresponds to the N-period jitter RMS value for the given
number of cycles (from 1 to nbcycles). This means that the first value on the long-term jitter
waveform corresponds to the period jitter RMS value (N = 1).
This type of jitter is sometimes called “accumulated” jitter. It can help to evaluate the signal’s
long term accuracy and stability.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timeperiodjitter
timeperiodjitter
Waveform Calculator Time-Domain Jitter function.
Returns the N-period jitter waveform for the specified source waveform(s).
Usage
timeperiodjitter(wf[, ref, t_start, t_ stop, edgetrigger, nbcycles, single_threshold, topline,
baseline, threshold])
Arguments
• wf
(Required) Specifies the input waveform for which to calculate the jitter.
• ref
(Optional) Specifies the reference period. Default is “Automatic”.
• t_start
(Optional) Specifies the X (time) value at the beginning of the jitter analysis interval.
Possible values are “Begin” or a double value. Default is “Begin”.
• t_stop
(Optional) Specifies the X (time) value at the end of the jitter analysis interval. Possible
values are “End” or a double value. Default is “End”.
• edgetrigger
(Optional) Defines the waveform edge(s) that will be taken into account during the jitter
calculation. Possible values are “Rising”, “Falling”, or “Either”. Default is “Rising”.
• nbcycles
(Optional) Specifies the maximum number of waveform cycles in the time interval (N-cycle
sample), which will participate in the jitter calculation. Default is 1.
• single_threshold
(Optional) If “True”, the single threshold will be used (topline/baseline values are ignored).
If “False”, topline/baseline will be used. Default is “False”.
• topline
(Optional) Specifies the y value that sets the high threshold of the source signal. Default is
“Automatic”.
• baseline
(Optional) Specifies the y value that sets the low threshold of the source signal. Default is
“Automatic”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timeperiodjitter
• threshold
(Optional) Specifies the y value that sets a single threshold for the source signal. Default is
“Automatic”.
Return Values
Waveform. The N-period jitter waveform for the input waveform(s).
Description
N-Period jitter is the variation in time of the duration of an N-cycle sample (each sample
consists of N adjacent cycles) of the source waveform relative to the average N-cycle sample
duration, or relative to the reference (or ideal clock) N-cycle sample duration, over part of, or
the whole waveform.
This type of jitter helps to evaluate the short- and long-term signal stability.
Related Topics
Jitter Measurement Types
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
timestep
timestep
Waveform Calculator Miscellaneous function.
Returns a waveform of timesteps vs. times of a waveform variable.
Usage
timestep(wf)
Arguments
• wf
(Required) Specifies the input waveform name.
Return Values
Waveform. The input waveform’s timesteps vs. times of the input waveform variable.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
todchysteresis
todchysteresis
Waveform Calculator Miscellaneous function.
Creates a DC Hysteresis waveform from a two step DC simulation.
Usage
todchysteresis(wf)
todchysteresis(wf1, wf2)
Arguments
• wf
(Required) Specifies the input waveform name (compound DC).
• wf1
(Required) Specifies the input waveform name (DC simulation step forward).
• wf2
(Required) Specifies the input waveform name (DC simulation step backward).
Return Values
Waveform. The DC Hysteresis waveform corresponding to the input waveform(s).
Description
When a DC Hysteresis simulation is performed using a two-step DC simulation, separate
waveforms for the upward and downward simulations are generated. In this case, a
transformation is required to process these waveforms before you can use the hysteresis
measurement features and dedicated cursors in EZwave.
todchysteresis(wf1, wf2) creates a single DC Hysteresis waveform from the two simple (not
compound) waveforms. For compound waveforms, it creates half the number of hysteresis
waveforms compared to the number of input waveforms:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
topline
topline
Waveform Calculator Measurement function.
Returns the topline of the input waveform based on the calculation of histograms.
Usage
topline(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. The topline of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
topnoise
topnoise
Waveform Calculator RF function.
Returns noise spectrum in sorted order of spot noise at fstart or integrated noise from fstart to
fstop.
Usage
topnoise(wf)
topnoise(wf, fstart, fstop)
Arguments
• wf
(Required) Specifies the input waveform name. Any noise spectrum signal, such as “out”.
• fstart
(Required) Specifies the lower frequency limit for integrated noise or the single frequency
value at which to report spot noise.
• fstop
(Optional) Specifies the upper frequency limit. Default “End” is fstart.
Return Values
Double. The top noise.
Related Topics
dataset topnoise
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
trunc
trunc
Waveform Calculator Mathematical function.
Computes the floor for positive data points and ceiling for negative data points of the waveform.
Usage
trunc(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A waveform containing the truncated values of the input waveform.
Description
Computes the floor for positive data points and ceiling for negative data points of wf. Upon
successful completion, each returned value is expressed as a type double.
Related Topics
round
ceil
floor
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
var
var
Waveform Calculator Miscellaneous function.
Enables database variable values (scalars) to be accessed and used in Waveform Calculator
expressions.
Usage
var(name)
var(name, database, folder)
var(name, database, folder, run)
var(name, database, folder, run, option)
Arguments
• name
(Required) Specifies the scalar to access.
• database
(Optional) Specifies the source database name.
• folder
(Optional) Specifies the source folder in the database.
• run
(Optional) Specifies the run-id for a multiple run database. Default is “ALL”.
• option
(Optional) Specifies the output type. “VALUE” indicates scalar values, “WF” indicates a
waveform (setting values against run variables). Default is “VALUE”.
Return Values
Object. The accessed value.
Description
var(name) looks in the last open or active database for a scalar named name. It reports an error
if multiple entries are found.
var(name, database, folder) looks in the folder in the database for a scalar named name.
var(name, database, folder, run) looks in the folder in the database for a scalar named name in
run.
var(name, database, folder, run, option) looks in the folder in the database for a scalar named
name in run. Returns value or waveform object(s) according to option.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
wf
wf
Waveform Calculator Special function.
Enables you to reference a waveform, in the context of the waveform calculator.
Usage
wf(<waveform_full_qualified_name>)
wf(<object_name>, <extended_option_set>)
Arguments
• <waveform_full_qualified_name>
A waveform fully qualified name. It can take the form:
"<database_name>waveform_name" or "<database/folder>waveform_name"
For example:
<meas/TRAN>V(IN)
• <object_name>
An object name, with or without the database identifier. For example:
"meas/Q0"
• <extended_option_set>
A set of options to define precisely which object is designated.
Note
The combination of <object_name> and <extended_option_set> should reference
a single waveform only. EZwave returns an error if this is not the case.
See also “Supported Net Representation Components” on page 1167 and “Extended
Options for Selecting Waveforms” on page 1168.
Description
The function wf() enables you to reference a waveform, in the context of the waveform
calculator. It can be obtained by selecting a waveform in EZwave, and select Insert selected
waveforms in the waveform calculator.
Note
This Waveform Calculator Special function does not appear in the Waveform Calculator
Functions list but may be used for scripting.
Examples
wf(“<meas/TRAN>V(IN)”)*wf(“<meas/TRAN>V(Q0)”)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
wf
wf(“<meas/TRAN>V(IN)”)*3
This example illustrates how to use both wfc and wf commands. The goal is to call a waveform
calculator function on a specific waveform.
Here we are going to iterate through all the transient waveforms of a database to count them and
retrieve their number of points.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
wftoascii
wftoascii
Waveform Calculator Miscellaneous function.
Dumps the input waveform in a text file at the specified path location.
Usage
wftoascii(path, wf[, x_start, x_end])
Arguments
• path
(Required) Specifies the output file path.
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Text file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
wftodata
wftodata
Waveform Calculator Miscellaneous function.
Returns an array with the data points of the input waveform.
Usage
wftodata(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Array. An array with the data points of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
windavg
windavg
Waveform Calculator Statistical function.
Returns an average value for each x value of the input waveform.
Usage
windavg(wf, window_size[, window_direction])
Arguments
• wf
(Required) Specifies the input waveform name.
• window_size
(Required) Specifies the window size value.
• window_direction
(Optional) Specifies the window direction. Legal values are “backward”, “center”, or
“forward”. If this is not specified, the default is “backward”.
Return Values
Waveform. The average value for each x value of the input waveform.
Description
The window average function returns an average value for each x value of the input waveform.
The following describe the different window_direction options:
• “backward” — (Default) If the current x value is less than window_size value, then
average will be performed from 0 to current x value, else average will be performed
from current x value minus window_size value to current x value.
• “center” — If current x value is less than window_size value divided by 2, then average
will be performed from 0 to current x value plus window_size value divided by 2. Else if
current x value is greater than last x value minus window_size value divided by 2, then
average will be performed from current x value minus window_size value divided by 2
to last x value. Else average will be performed from current x value minus window_size
value divided by 2 to current x value plus window_size value divided by 2.
• “forward” — If current x value is greater than last x value minus window_size value,
then average will be performed from current x value to last x value. Else average will be
performed from current x value to current x value plus window_size value.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
window
window
Waveform Calculator Miscellaneous function.
Trims the original waveform and returns a new waveform with the specified lower and upper
bounds.
Usage
window(wf, x_start, x_end)
window(wf, x_start)
window(wf, x_end)
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval. Default is “Begin”.
• x_end
(Optional) Specifies the x value at the end of an interval. Default is “End”.
Return Values
Waveform. A new waveform with the specified lower and upper bounds.
Examples
To determine the time average of a waveform Vout from two to three nanoseconds, use the
following:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
windowing
windowing
Waveform Calculator Signal Processing function.
Computes the windowing of the input waveform.
Usage
windowing(wf[, t_start, t_stop, fs, points, sampling, padding, windowType, alpha,
samplingEpsilon, windowShape])
Arguments
• wf
(Required) Specifies the input waveform name.
• t_start
(Optional) Specifies the start time of the input waveform. Default is “Begin”.
• t_stop
(Optional) Specifies the stop time of the input waveform. Default is “End”.
• fs
(Optional) Specifies the sampling frequency of the signal. Default is “Automatic”.
• points
(Optional) Specifies the number of sampling points. Default is “Automatic”.
For symmetric windows, the parameters above satisfy the following equation:
((points)/fs) = t_stop - t_start
For periodic windows, the parameters above satisfy the following equation:
((points-1)/fs) = t_stop - t_start
• sampling
(Optional) Specifies the method of computing the sampled data. Legal values are “No
Sampling” (the default), “Interpolation” or “Spline”.
• padding
(Optional) Activates data padding to pad the input data with zeros, before or after the input
data set. Legal values are: “No Padding” (the default), “Padding Right”, “Padding Left” and
“Padding Left and Right”. The input parameter is verified by the algorithm and changed if
necessary.
• windowType
(Optional) Applies a windowing function from a selection of windows. Legal values are:
“Rectangular “(the default), “Hamming”, “Hanning”, “Parzen”, “Welch”, “Blackman”,
“Blackman-Harris”, “Bartlett”, “Kaiser”, “Klein” or “Dolph Chebyshev”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
windowing
Note
For Hanning, symmetric window shapes are preferred when using a Hanning
window in FIR filter design.
Periodic window shapes are preferred when using a Hanning window in spectral
analysis. This is because the Discrete Fourier Transform assumes periodic extension of
the input vector. A periodic Hanning window is obtained by constructing a symmetric
window and removing the last sample.
• alpha
(Optional) Specifies the alpha or beta value that is required by Hanning, Kaiser, and Dolph
Chebyshev windows. Default is “Default”.
• samplingEpsilon
(Optional) When sampling is set to Interpolation, specifies that the input waveform data
point (Y value) is to be used rather than the exact interpolated value when the X data of the
input waveform is close to the computed X value.
The computed X value corresponds to time_start +(number_of_points * dX) where dX is the
sampling interval retrieved from the sampling_frequency.
Defaults to the global setting in the “Waveform Calculation Options” on page 528.
• windowShape
(Optional) Specifies the shape of the window. Legal values are Symmetric for standard FFT
setup or Periodic for enhancing FFT setup for spectral analysis of periodic signals. Defaults
to the global setting in the “Waveform Calculation Options” on page 528.
Tip
For comparing Eldo’s FFT results with EZwave’s FFT results, select the Periodic
option, unless EZwave’s FFT is executed on an FFT_INPUT waveform. In this case,
Eldo has already considered the periodicity of the input signal.
Return Values
Waveform. The windowed waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xcompress
xcompress
Waveform Calculator RF function.
Extracts the x-axis value of the waveform at the point where the difference between the actual
value of the wave and the linear extrapolation of the waveform based on the computed slope
value becomes greater than val.
Usage
xcompress(wf, val[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• val
(Required) Specifies the Xcompress value.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/array. The x-axis value corresponding to the compressed input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xdown
xdown
Waveform Calculator Miscellaneous function.
Returns all the x values where the input waveform falls below the given y level with a negative
slope.
Usage
xdown(wf, at_y[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• at_y
(Required) Specifies the y value. Only the x values of the waveform falling below the y
value with a negative slope are returned.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/list. All the x values where the input waveform falls below the given y.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xnor
xnor
Waveform Calculator Logic function.
Applies the exclusive NOR function to two input waveforms whose data types are either bit or
boolean.
Usage
xnor(wf1, wf2)
Arguments
• wf1
(Required) Specifies the first input digital waveform name.
• wf2
(Required) Specifies the second input digital waveform name.
Return Values
Waveform. The resulting NOR waveform between the two input waveforms.
Description
The results of the NOR function are described in the following table:
Table B-15. XNOR Truth Table
wf1 wf2 xnor (wf1, wf2)
F F T
F T F
T F F
T T T
In the table, T represents TRUE for boolean waveforms, and 1 for bit waveforms. F represents
FALSE for boolean waveforms, and 0 for bit waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xofmax
xofmax
Waveform Calculator Mathematical function.
Returns all the x values at the maximum (or maxima) of a waveform.
Usage
xofmax(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/list. The X value(s) at the maximum (or maxima) of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xofmin
xofmin
Waveform Calculator Mathematical function.
Returns all the x values at the minimum (or minima) of a waveform.
Usage
xofmin(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/list. The X value(s) at the minimum (or minima) of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xup
xup
Waveform Calculator Miscellaneous function.
Returns all x values where the input waveform rises above the specified y level with a positive
slope.
Usage
xup(wf, at_y[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• at_y
(Required) Specifies the y value. Only the x values of the waveform rising above the y value
with a positive slope are returned.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/list. All the x values where the input waveform rises above the given y.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xval
xval
Waveform Calculator Miscellaneous function.
Returns all the x values at the specified y level of a waveform.
Usage
xval(wf, at_y)
xval(wf, at_y, slope)
xval(wf, at_y, x_start, x_end)
xval(wf, at_y, slope, x_start, x_end)
Arguments
• wf
(Required) Specifies the input waveform name.
• at_y
(Required) Specifies the y value at which to find the x value.
• slope
(Optional) Specifies the type of slope of the input waveform. Results are only collected if
the slope at the specified y level matches the specified slope. Values may be any of the
following:
o “neg” — Negative slope. Only x values at the specified y level with a negative slope
are returned.
o “pos” — Positive slope. Only x values at the specified y level with a positive slope
are returned.
o “either” — Any slope value. Returns the x value at the specified y level regardless of
slope.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Double/list. All the x values corresponding to the given Y for the input waveform.
Description
If the slope is specified, returns only x values that matches the specified slope direction at the
specified y level. Interpolation is applied.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xwave
xwave
Waveform Calculator Mathematical function.
Creates a new waveform with y values identical to the x values.
Usage
xwave(wf[, x_start, x_end])
Arguments
• wf
(Required) Specifies the input waveform name.
• x_start
(Optional) Specifies the x value at the beginning of an interval.
• x_end
(Optional) Specifies the x value at the end of an interval.
Return Values
Waveform. A waveform with x values identical to y values of the input waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
xytowf
xytowf
Waveform Calculator Miscellaneous function.
Creates a new waveform using the Y values from wfX as the x-axis and the Y values from wfY
as y-axis.
Usage
xytowf(wfX, wfY)
Arguments
• wfX
(Required) Specifies the input waveform name. Uses the Y values as the x-axis for the new
waveform.
• wfY
(Required) Specifies the input waveform name. Uses the Y values as the y-axis for the new
waveform.
Return Values
Waveform. The waveform built from the input waveforms.
Description
Creates a new waveform, taking X values from the first argument waveform, and Y values from
the second argument waveform. Both waveforms must have the same number of points.
Examples
You can stretch the x-axis of a waveform. Use the Tcl procedure below in a Tcl file. It performs
the stretching of the x-axis data on a waveform xw obtained with xwave(). It reconstructs the
final result waveform with the xytowf() function.
proc xstretch { wf k } {
set xw [ wfc " xwave($wf)*$k " ]
return [ wfc " xytowf($xw, $wf) " ]
}
You can then load the file xstretch.tcl into the Waveform Calculator (File > Open Custom
File) and it will be listed in the Functions list under User Defined Functions. The first argument
is the waveform to be stretched, the second argument is the stretch factor on x-axis. You can
then call the procedure in the following way in the Waveform Calculator:
mystretchedwaveform=xstretch(wf("v_load"), 0.95)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
yval
yval
Waveform Calculator Miscellaneous function.
Returns the y value at a given x coordinate of a waveform.
Usage
yval(wf, x)
yval(wf, x, option)
yval(wf, x, option, param)
Arguments
• wf
(Required) Specifies the input waveform name.
• x
(Required) Specifies the x value at which to find the y value.
• option
(Optional) Specifies the output type. Legal values for option are:
o “VALUE” — Output is a numerical value. (Default).
o “WF” — Output is a waveform.
o “ANNOTATION” — Adds annotation to your input waveform.
• param
(Optional) Used with option = “WF”. Specifies the simulation parameter to be used to
generate the result waveform. Default is “index”.
Return Values
Double/complex. The y value of the input waveform at the specified x value.
Description
Returns the y value at a given x coordinate of a waveform. Interpolation is applied.
Note
If multiple data points match the X value, yval() returns the y value corresponding to the last
X data point.
Examples
In the following array of data points, 2 data points have the same X value and different Y ones:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
yval
yval(wf, 31) will return False, the latest value for x=31. (Prior to AMS12.1, the value returned
would have been True).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Waveform Calculator Functions
yval
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Appendix C
Tcl Scripting Support
EZwave supports Tcl scripting, enabling you to create batch files to execute Tcl commands
from within the EZwave viewer. This section contains the following information related to Tcl
scripting with the EZwave waveform viewer:
Tcl Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Tcl Scripting Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Tcl Command Syntax Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
If Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
Set Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
Command Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
Variable Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939
Passing Tcl Parameters from the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 940
Tcl List Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
Supported Tcl Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 944
Conventions Used in the Tcl Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 944
Tcl Command Short Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
Specifying Waveforms in Tcl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
Selecting Waveforms in Tcl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955
Tcl Command Detailed Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 959
add wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 966
add workspace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 973
batch_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 974
bloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 975
compare add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 976
compare clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 981
compare configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 983
compare end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 987
compare info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 988
compare list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 989
compare options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 990
compare run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 996
compare savelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997
compare saverules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 998
compare start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999
dataset alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1001
dataset analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1002
dataset clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1003
dataset close . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1004
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Syntax
Tcl Syntax
This section contains information about Tcl syntax.
In this section:
Table C-1. Tcl Syntax Topics
Tcl Scripting Example A short example of how to use Tcl commands with
EZwave.
Tcl Command Syntax Rules Lists eleven rules that define the syntax and semantics
of the Tcl language.
If Command Syntax Describes in detail the syntax for the Tcl command, if.
Set Command Syntax Describes in detail the syntax for the Tcl command,
set.
Command Substitution Describes command substitution in Tcl.
Variable Substitution Describes variable substitution in Tcl.
3. This command invokes EZwave and loads the Tcl commands contained in the test.tcl
file.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Syntax Rules
These are:
1. A Tcl script is a string containing one or more commands. Semi-colons and newlines are
command separators unless quoted as described below. Close brackets ( ] ) are
command terminators during command substitution (see below) unless quoted.
2. A command is evaluated in two steps. First, the Tcl interpreter breaks the command into
words and performs substitutions as described below. These substitutions are performed
in the same way for all commands. The first word is used to locate a command
procedure to carry out the command, then all of the words of the command are passed to
the command procedure. Different commands interpret their words differently.
3. Words of a command are separated by white space (except for newlines, which are
command separators).
4. If the first character of a word is a double-quote ( " ) then the word is terminated by the
next double-quote character. If semi-colons ( ; ), close brackets ( ] ), or white space
characters (including newlines) appear between the quotes then they are treated as
ordinary characters and included in the word. Command substitution, variable
substitution, and backslash substitution are performed on the characters between the
quotes as described below. The double-quotes are not retained as part of the word.
5. If the first character of a word is an open brace ( { ) then the word is terminated by the
matching close brace ( } ). Braces nest within the word: for each additional open brace
there must be an additional close brace (however, if an open brace or close brace within
the word is quoted with a backslash then it is not counted in locating the matching close
brace). No substitutions are performed on the characters between the braces except for
backslash-newline substitutions described below, nor do semi-colons, newlines, close
brackets, or white space receive any special interpretation. The word will consist of
exactly the characters between the outer braces, not including the braces themselves.
6. If a word contains an open bracket ( [ ) then Tcl performs command substitution. To do
this it invokes the Tcl interpreter recursively to process the characters following the
open bracket as a Tcl script. The script may contain any number of commands and must
be terminated by a close bracket ( ] ). The result of the script (the result of its last
command) is substituted into the word in place of the brackets and all of the characters
between them. There may be any number of command substitutions in a single word.
Command substitution is not performed on words enclosed in braces.
7. If a word contains a dollar-sign ( $ ) then Tcl performs variable substitution: the dollar-
sign and the following characters are replaced in the word by the value of a variable.
Variable substitution may take any of the following forms:
o $name: Name is the name of a scalar variable; the name is terminated by any
character that isn't a letter, digit, or underscore ( _ ).
o $name(index): Name gives the name of an array variable and index gives the name
of an element within that array. Name must contain only letters, digits, and
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Syntax Rules
1. If a pound sign ( # ) exists at a point where Tcl is expecting the first character of the first
word of a command, then the pound sign and the characters that follow it, up through the
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Syntax Rules
next newline, are treated as a comment and ignored. The # character denotes a comment
only when it exists at the beginning of a command.
2. Each character is processed exactly once by the Tcl interpreter as part of creating the
words of a command. For example, if variable substitution occurs then no further
substitutions are performed on the value of the variable; the value is inserted into the
word verbatim. If command substitution occurs then the nested command is processed
entirely by the recursive call to the Tcl interpreter; no substitutions are performed before
making the recursive call and no additional substitutions are performed on the result of
the nested script.
3. Substitutions do not affect the word boundaries of a command. For example, during
variable substitution the entire value of the variable becomes part of a single word, even
if the variable's value contains spaces.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
If Command Syntax
If Command Syntax
The Tcl if command executes scripts conditionally. In the syntax below, the question mark ( ? )
indicates an optional argument.
Syntax
if expr1 ?then? body1 elseif expr2 ?then? body2 elseif … ?else? ?bodyN?
Parameters
• The if command evaluates expr1 as an expression.
The value of the expression must be a boolean (a numeric value, where 0 is false and
anything else is true, or a string value such as true or yes for true and false or no for false);
if it is true then body1 is executed by passing it to the Tcl interpreter. Otherwise expr2 is
evaluated as an expression and if it is true then body2 is executed, and so on. If none of the
expressions evaluates to true then bodyN is executed. The then and else arguments are
optional “noise words” to make the command easier to read. There may be any number of
elseif clauses, including zero. bodyN may also be omitted as long as else is omitted too. The
return value from the command is the result of the body script that was executed, or an
empty string if none of the expressions was non-zero and there was no bodyN.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Set Command Syntax
If no procedure is active, then varName refers to a namespace variable (global variable if the
current namespace is the global namespace). If a procedure is active, then varName refers to a
parameter or local variable of the procedure unless the global command was invoked to declare
varName to be global, or unless a Tcl variable command was invoked to declare varName to be
a namespace variable.
Command Substitution
Placing a command in square brackets ( [ ] ) will cause that command to be evaluated first and
its results returned in place of the command.
For example:
set a 25
set b 11
set c 3
echo "the result is [expr ($a + $b)/$c]"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Variable Substitution
the result is 12
Variable Substitution
When a $var_name is encountered, the Tcl parser will replace it with the value defined by the
variable.
Note
Tcl is case sensitive for variable names.
$env(var_name)
echo My user name is $env(USER)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Passing Tcl Parameters from the Command Line
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl List Processing
• -args
(Optional) Specifies a list of arguments for the Tcl script.
Description
You can pass simple parameters from the command line to a Tcl script and run it.
Examples
The command line:
• Parses the command line parameters until -args <arguments> is reached (it ignores any
additional EZwave command line arguments that follow)
• Opens the specified database
• Sets a parameter value for each -assign assignment declaration
• Runs the Tcl script (tclScript.tcl) with the specified arguments (arg1 arg2 arg3).
Related Topics
Invoking EZwave in Batch Mode
batch_mode
save
wfc
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl List Processing
This example uses the Tcl while loop to copy a list from variable a to variable b, reversing the
order of the elements along the way:
set b [list]
set i [expr {[llength $a] - 1}]
while {$i >= 0} {
lappend b [lindex $a $i]
incr i -1
}
Example 2
This example uses the Tcl for command to copy a list from variable a to variable b, reversing
the order of the elements along the way:
set b [list]
for {set i [expr {[llength $a] - 1}]} {$i >= 0} {incr i -1} {
lappend b [lindex $a $i]
}
Example 3
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl List Processing
This example uses the Tcl foreach command to copy a list from variable a to variable b,
reversing the order of the elements along the way (the foreach command iterates over all of the
elements of a list):
set b [list]
foreach i $a { set b [linsert $b 0 $i] }
Example 4
This example shows a list reversal as above, this time aborting on a particular element using the
Tcl break command:
set b [list]
foreach i $a {
if {$i = "ZZZ"} break
set b [linsert $b 0 $i]
}
Example 5
This example is a list reversal that skips a particular element by using the Tcl continue
command:
set b [list]
foreach i $a {
if {$i = "ZZZ"} continue
set b [linsert $b 0 $i]
}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Supported Tcl Commands
In this section:
Table C-4. Tcl Command Topics
Conventions Used in the Tcl Command Describes the conventions used in the short and
Descriptions detailed descriptions of the commands.
Tcl Command Short Descriptions A quick look at the supported Tcl commands
and their short descriptions. Organized in table
format and by category.
Specifying Waveforms in Tcl Details the different ways you can specify one
or many waveforms in Tcl.
Selecting Waveforms in Tcl Details arguments that are used by more than
one command.
• Required
Required command names or arguments are in bold.
• Required Replaced
Required argument place holders are in bold italics. You must replace these arguments
with a value or string. For example,
dofile filename
indicates that you must replace the required filename argument with the name of a file.
• [ Optional ]
Optional arguments are surrounded by square brackets [ ].
• [ Optional Replace ]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Optional argument place holders are surrounded by square brackets [ ] and in italics.
When using these optional arguments, you must replace it with a value or string. For
example,
compare run [startTime]
indicates that startTime is an optional argument, but you must replace it with a start time
value.
• {a|b}
Curly braces { } indicate a choice between the items separated by a pipe |. There can be
more than two choices for a set of curly braces.
Tip
For commands that require a waveform_name argument, you can use special options to
select the waveform(s). These are indicated in the table by a footnote, found at the end of the
table.
Note
In addition to the commands described here, some example Tcl scripts that provide
equivalent functions to legacy AFS WaveCrave CalcPAD scripts are available in the
EZwave examples directory. Refer to “Waveform Calculator Example Tcl Scripts” on
page 1154.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
wave addaxisdeltamarker -wf waveform_name1 Adds a delta marker, between two values, on
{-xdelta | -ydelta} -X1 xdata1 -X2 xdata2 the selected waveform. The marker can be
[-texttext] horizontal or vertical.
wave adddeltamarker {-xdelta | -ydelta} -wf1 Adds a delta marker to waveform(s) in the
waveform_name11 -x1 x_value1 -y1 y_value1 active window.
[-wf2 waveform_name2] -x2 x_value2 -y2
y_value2 [-texttext]
wave addline {-x | -y} value [waveform_name] Adds a horizontal or vertical line to a
[-text annotation_text] [-drag] [-hash {up | down waveform in the active window.
| left | right}]
wave addmarker [-window window_name] Add a vertical marker at the specified
[-name name] [-time {time | x_value}] location.
wave addproperty waveform_name1 -name Adds a property to a waveform.
property_name -value property_value
wave addwindow [-title window_title] [-divider Creates a new window.
ratio] [-width width -height height] [-x xPosition
-y yPosition]
wave closewindow [window_name] | [-all | Closes one or more graph windows.
-workspace]
wave difference waveform_name11 Generates and displays a waveform
waveform_name2 [-name out_waveform_name] corresponding to the difference between the
[-spice] first and second waveforms specified.
wave displayed [-window window_name | Displays a Tcl list containing waveform
-allwindows | -activewindow] [-color] names and optionally, waveform colors.
wave exists waveform_name1 Returns True or False to indicate whether at
least one waveform matching the search
string exists.
wave gettype waveform_name1 Returns the type of the waveform, for
example, real, current, compound.
wave launchfolder Returns the path to the directory where
EZwave was launched from
wave runindexlist waveform_name1 Returns a list of run indices for the elements
of the compound waveform specified.
Useful for iterating through each element
individually.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Short Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Specifying Waveforms in Tcl
When saving window contents to a Tcl file, an asterisk (*) in an extended waveform name is
interpreted as a wildcard character.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Specifying Waveforms in Tcl
For example:
<tutorial/Time-Domain_Results>v_middle
• Object names. This method enables you to manipulate objects from the design and add a
representation (if necessary). This syntax is consistent with the Questa ADMS add
wave syntax.
The object name syntax consists of the following parts:
o Dataset name — The dataset name is the logical name for the JWDB file in which
the object exists. Specifying the dataset name is optional when only one dataset is
active, or if the command should only apply to the last loaded dataset.
The following keywords are reserved dataset names:
• sim — This reserved dataset name specifies the currently active simulation.
• prev — This reserved dataset name refers to the PreviousSession folder, if it
exists, in the current dataset. The PreviousSession folder must be activated in the
modelsim.ini file while running Questa ADMS simulations.
o Dataset separator — The data separator is used to terminate the dataset name
string. In the EZwave viewer, this is a forward slash ( / ).
o Path separator — In the EZwave viewer, this is a colon ( : ).
o Hierarchical path — A set of hierarchy instance names, separated by a path
separator ( : ).
o Object name — The name of the object in the design.
Object name syntax examples:
add wave :top:clk
add wave -show ac.vdb :top:out
add wave adc12/top:x1:out
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Selecting Waveforms in Tcl
Parameters
• -a2d
(Optional) Only a2d nets are added.
• -across
(Optional) Only across quantities are returned.
• -adms | -modelsim
(Optional) Filters the list of matching waveforms to match those simulated by the Questa
ADMS kernel or those simulated by the Questa SIM (formerly ModelSim) kernel.
• -bidir
(Optional) Only bidir nets are added.
• -boundary
(Optional) Only analog, digital, or both sides of boundary nets are returned, depending on
your selection during simulation.
• -d2a
(Optional) Only d2a nets are added.
• -depth level
(Optional) Used with the -recursive option, restricts the recursive search to the specified
level of hierarchy.
• -flow
(Optional) Specifies that current waveforms should be displayed (instead of voltage,
displayed by default). This is the same as “-show tran.i”
• -free
(Optional) Only Free quantities are returned.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Selecting Waveforms in Tcl
• -i
(Optional) Specifies that current waveforms should be displayed (instead of voltage,
displayed by default). This is the same as “-show tran.i”
• -in
(Optional) Specifies that the scope of the search is to include ports of mode IN.
• -inout
(Optional) Specifies that the scope of the search is to include ports of mode INOUT.
• -internal
(Optional) Specifies that the scope of the search is to include internal (non-port) objects.
• -nets
(Optional) Specifies that the scope of the search includes terminal, signal, and quantity
items.
• -notop
(Optional) Specifies that only waveforms located directly under an analysis folder (for
example TRAN or AC) may be selected.
• -out
(Optional) Specifies that the scope of the search include ports of mode OUT.
• -ports
(Optional) Specifies that the scope of the search includes ports of modes IN, OUT, or
INOUT.
• -quantities
(Optional) Only quantity nets are added.
• -recursive
(Optional) You may also use -r as a shortcut. Used with wildcard searches. Specifies that
the scope of the search descend recursively into subregions. See also -depth level option.
• -run [ run_id | "run_id_1 run_id_2 ... run_id_n" | <operator>]
(Optional) This argument is used to find a specific (or several) run(s) of a compound
waveform. run_id can be a numerical value or string, depending on the run identifier. The
operators available are “=”, “!=”, “>”, “<“, “>=”, and “<=”. The operators “&” or “|” may
also be used, but not together in the same -run value.
Example of usage with add wave command:
add wave -run "TEMP > 0 & TEMP < 120" -show TRAN.v -separator .
-terminals XI11.NET4
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Selecting Waveforms in Tcl
• -separator <separator>
(Optional) Specifies the separator used when parsing the object (waveform) name, for
example “.” or “:”.
• -session [previous | current]
(Optional) Specifies whether to look in a previous session folder or the current database.
• -show representation [ |representation2|...|representationN]
(Optional) Specifies how the signal is to be represented as a waveform. If -show is not
specified, the defaults defined by the wave show command are used. If -show is specified,
its settings are applied beginning where it exists in the script until another -show is issued,
or until the end of the script.
A representation is a complete representation of a net and is composed of an analysis, a
discipline, and a physic. A dot ( . ) separates the analysis portion from the discipline and
physic portion. There is no separator between the discipline and the physic, as follows:
analysis.disciplinephysic
If more than one representation is specified, use a pipe ( | ) to separate them:
analysis.disciplinephysic|analysis.disciplinephysic|analysis.disciplinephysic
The reserved keywords, all and none, can be used as follows:
o -show all
(Optional) Requests all objects found in all analyses
o -show analysis.all
(Optional) Requests all objects found in the specified analysis.
o -show none
(Optional) Requests objects directly located in the database in the case where there is
no analysis folder.
Refer to Appendix D for details.
Examples of -show usage:
• add wave -show ac.vdb :test:u1:tvout
In this example, the analysis is AC, the discipline is V, and the physic is DB.
This will only search for the waveform named database_name/
AC>VDB(:test:u1:tvout)
• add wave -show fsst.vdb.h(1) :top:net1
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Selecting Waveforms in Tcl
In this example, the analysis is FSST, the discipline is V, and the physic is DB
for the primary_ physic, and H(1) for the secondary_physic. This will search for
the specified waveform in the last-opened database:
database_name/FSST>VDB(:top:net1).H(1)
• -signals
(Optional) Only signal nets are added.
• -terminals
(Optional) Only reference quantities of terminal nets are added.
• -through
Specifies that only Through quantities matching the net names are saved
Description
The commands for selecting waveform(s) within the Tcl commands with extended options are
listed in Table C-6.
Table C-6. Commands that Access Waveforms
add wave dataset wave addannotation wave exists
savewaveforms
compare add delete wave wave adddeltamarker wave histogram
compare clock find analogs wave addproperty wave runindexlist
compare configure find digitals wave cdf
dataset find nets | signals wave createbus
mergewaveforms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Command Detailed Descriptions
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
add wave
Adds one or more waveforms to a graphical window.
Usage
add wave
[-overlay]
[-append]
[-row row_number]
[-position {top | bottom | end | before | after | below | row_number}]
[-rowtitle title]
[-rowtitle_font {name | family} {plain | bold | italic} size]
[-rowtitle_color color]
[-rowtitle_outline {true | false | default}]
[-zerolevel {on | off | horizontal | vertical}]
[-grid {on | off | horizontal | vertical}]
[-point_style id]
[-line_width {1 | 2 | 3 | 4 | 5}]
[-zoomY min_y max_y]
[-height pixels]
[-hide | -visible]
[-group group_name]
[-color standard_color_name]
[-colorgroup param_1,...,param_n]
[-hide_filter runID_1,...,runID_n]
[-highlight_filter runID_1,...,runID_n]
[-label name]
[-literal | -event | -analog-step | -analog-interpolated | -spectral]
[-window window_name]
[-symbolic | -binary | -octal | -decimal | -hexadecimal | -unsigned | -
ascii | -time | -default]
[-enumnumeric | -enumsymbolic]
[-radix {radix_type | radix_name}]
[-collapse]
[-expand]
[-adms | -modelsim]
[-complexplane | -smithchart {-impedance | -admittance} | -polarchart
{-degree | -radian} | -versus x_wf_name]
[-nomode]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
[-newyaxis]
[-hideyaxis]
[-xscale {linear | log10 | log2}]
[-yscale {linear | log10 | log2}]
[-hidexunit]
[-hideyunit]
[-hidextitle]
[-hideytitle]
[-scaleunitx scale_value unit_name]
[-scaleunity scale_value unit_name]
[-tograydec]
[-graytodec]
[-fpoint n]
[wf_name_1 ... wf_name_n] | [-separator separator_char wf_name_1 ...
wf_name_n [-noseparator wf_name_1 ... wf_name_n]]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -append
(Optional) Adds the waveform overlaid on the last available row in the window. If no row
exists, it will be created and waveform added. The use of both -append and -row <row_ID>
switches together is not recommended because this may lead to unexpected results.
• -color standard_color_name
(Optional) Specifies a color for displaying the waveform. You can use standard color names
(for example, ‘red’ or ‘blue’) or the RGB color code preceded by a ‘#’.
Legal color names: black, blue, cyan, gray, darkgray, lightgray, green, magenta, orange,
pink, red, white. yellow.
RGB color code: The RGB color code is a hexadecimal value preceded by a ‘#’ representing
#RRGGBB, where RR represents the red value, GG represents the green value, and BB
represents the blue value. For example, #0000ff is blue, #000000 is black, and #ffffff is
white.
For compound waveforms, forces the same color to be used for all elements.
• -colorgroup param_1 . . .param_n
(Optional) Specifies a list of compound waveform parameter names in the color group.
Waveform runs with identical parameter values will be plotted using the same color.
See also “Parameter Table Dialog Box” on page 550.
• -collapse
(Optional) If this option is specified, digital buses and compound waveforms are displayed
with all elements collapsed. When not specified, the default setting for compound
waveforms (set in Edit > Options > Multiple Run) is used.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
• -hidexunit
(Optional) Specifies that the x-axis units should not be displayed.
• -hideyunit
(Optional) Specifies that the y-axis units should not be displayed.
• -hide_filter runID_1 . . .runID_n
(Optional) Specifies a list of compound waveform runs to hide.
See also “Parameter Table Dialog Box” on page 550.
• -highlight_filter runID_1 . . .runID_n
(Optional) Specifies a list of compound waveform runs to highlight.
See also “Parameter Table Dialog Box” on page 550.
• -label name
(Optional) Specifies a name for the waveform.
• -line_width {1 | 2 | 3 | 4 | 5}
(Optional) Specifies the line with of the waveform. The numbers map directly to the widths
in the Line Width dropdown box in the Waveform Display Options
• -literal | -event | -analog-step | -analog-interpolated | -spectral
(Optional) Specifies a drawing mode for the waveform that is displayed.
o -literal - This corresponds to the “railroad” drawing mode
o -event - This corresponds to the “scattered” drawing mode
o -analog-step - This corresponds to the “sampled” drawing mode
o -analog-interpolated - This corresponds to the “continuous” drawing mode
o -spectral - This corresponds to the “spectral” drawing mode
• -newyaxis
(Optional) Specifies that the waveform is displayed using a new y-axis.
• -nomode
(Optional) Searches port terminals that do not have IN, OUT, or INOUT modes, and
therefore are not included in searches that specify the -in, -out, -inout arguments.
• -noseparator wf_name_1 ... wf_name_n
(Optional) Specifies that the waveform names have no hierarchy.
• -overlay
(Optional) Causes several waveforms added at once to be added in the same row.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
• -point_style id
(Optional) Specifies the point style of the waveform. idtakes a value between 0 and 16.
When 0 is specified, no point style is applied. Setting this value is equivalent to making a
selection in the Data Point Symbol field on the Waveform Properties Dialog (For Analog
Waveforms), accessed by right-clicking on a waveform and selecting Properties.
• -position {top | bottom | end | before | after | below | row_number }
(Optional) Specifies the position for the waveform inside the graph window.
o top - Adds the signal(s) to the beginning of the list of signals
o bottom | end - Adds the signal(s) to the end of the list of signals
o before | above - Adds the signal(s) before the selected signal in the graph window
o after | below - Adds the signal(s) after the selected signal in the graph window
o row_number - Adds the signal(s) to the specified row number. Row numbers start
from the top of the window with a value of 1 and increase as you go down the
window. Row numbers are dynamic, changing as row are added or removed.
• -radix {radix_type | radix_name }
(Optional) Specifies a radix or a user-defined radix. Can be used as an alternative to the
options:
[ -symbolic | -onescomplement | -magnitude | -binary | -octal | -decimal | -hexadecimal |
-unsigned | -ascii ]
Legal radix_type values are: symbolic, onescomplement, magnitude, binary, octal, decimal,
hexadecimal, unsigned, ascii, time and default.
Hexadecimal can also be written as hex.
Options -time and -default are accepted for Questa SIM compatibility, but are ignored by
EZwave.
• -row row_number
(Optional) Selects the row in which to display the waveform. The row numbers start at 1
(top-most row). Row numbers dynamically change as rows are added or removed.
• -rowtitle title
(Optional) Specifies the title of the row to be added.
• -rowtitle_font {name | family} {plain | bold | italic} size
(Optional) Specifies the font characteristics of the row title.
o name | family - Specify ether the name of the font to use or the system font family
(serif, sans, and so on).
o plain | bold | italic - Specify the font style.
o size - Specify the font size, in points.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
• -rowtitle_color color
Specifies the title text color, using an RGB (hex) value. The RGB color code is a
hexadecimal value preceded by a “#” representing #RRGGBB, where RR represents the red
value, GG represents the green value, and BB represents the blue value. For example,
#0000ff is blue, #000000 is black, and #ffffff is white.
• -rowtitle_outline {true | false | default}
Controls the visibility of the text box around the row title.
• -scaleunitx scale_value unit_name
(Optional) Specifies the scaling factor and unit type for the x-axis.
• -scaleunity scale_value unit_name
(Optional) Specifies the scaling factor and unit type of the y-axis.
• -symbolic | -binary | -octal | -decimal | -hexadecimal | -unsigned | -ascii | -time | -default
(Optional) Specifies a radix for displaying digital bus(es) specified in this command.
If no radix is specified for an enumerated type, the default radix is used. You can change the
default radix for the current simulation using the radix command.
Note
-time and -default are accepted for Questa SIM compatibility, but ignored by
EZwave.
In this example, the dot ( . ) is the hierarchical separator in the wave XV1.G1.
• -tograydec
(Optional) Converts decimal representation radix to gray radix.
• wf_name_1 . . .wf_name_n
(Optional) Specifies the waveform(s) using one of several accepted syntaxes. See
Specifying Waveforms in Tcl.
You must use the object name method for specifying waveforms when using the -show
representation option.
You can use the extended options detailed in Selecting Waveforms in Tcl to select the
waveform(s). You can use more than one option in the same command.
• -window window_name
(Optional) Specifies the window where the waveform should be displayed. If this is not
specified, the waveform is displayed in the currently active window.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add wave
• This example creates a group named allAnalog that will contain all analog waveforms
from the database.
add wave -group allAnalog -terminals -r *
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
add workspace
add workspace
Creates a new workspace in the EZwave session window.
Usage
add workspace [workspace_name] [-active]
Parameters
• workspace_name
(Optional) Specifies the name of the workspace to be created. If workspace_name is not
specified, a default name, Workspace#, is used, where # is a number.
• -active
(Optional) Indicates that the workspace created should become the active workspace.
Description
This command is equivalent to wave addworkspace.
Examples
add workspace ADC12
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
batch_mode
batch_mode
Indicates whether the EZwave viewer or the JWDB server is used, to check whether the Tcl
script is currently in batch mode.
Usage
batch_mode
Parameters
None.
Return Values
1 if used with ezwave -c or the JWDB Server (this indicates that the program is in non-graphical
batch mode).
0 if used with the EZwave viewer (this indicates that the program is in graphical non-batch
mode).
Examples
if [batch_mode] {
...
} else { # execute graphical commands
add wave $wf
}
Related Topics
Invoking EZwave in Batch Mode
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
bloc
bloc
Enables multi-line Waveform Calculator scripts.
Usage
bloc {script}
Parameters
• script
(Required) Specifies a multi-line Waveform Calculator script.
Examples
bloc {
for x in range(5):
print x
bloc {
import math
def customceil(x):
return math.ceil(x)
Note
Only pure Python modules work with the “import” function. C-Python external modules
cannot be loaded into the Waveform Calculator.
Related Topics
Waveform Calculator GUI
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare add
compare add
Creates the scope of the comparison (all waveforms, top level ports, …) and supports a set of
options, like tolerances, to be applied to the comparison. This command has additional
arguments, compared to Questa SIM commands, to enable defining tolerances and settings for
analog-analog and analog-digital comparison. The same command is then used in to set up
complete mixed-signal comparison. Path of regions is not supported; a global expression
(regular expression) should be used instead. For example, :top:level1:* rather than :top:level1.
Usage
compare add [-clock clock] [-label label] [-nowin]
[-tol delay] [-tolLead delay] [-tolTrail delay]
[-mixtolLead delay] [-mixtolTrail delay]
[-freqtol freqtol] [-amptol amptol] [-noisefloor noisefloor]
[-matchindex]
[-vhdlmatches {ref-logic-value=test-logic-value:...}]
[-vlogmatches {ref-logic-value=test-logic-value:...}]
[-xTol xtolerance] [-yTol ytolerance] [-mindeltax value]
[-threshold {1|2}] [-upperthreshold value]
[-lowerthreshold value] [-fixedthreshold value] [-refDelay delay]
[-testDelay delay] [-start start_value] [-end end_value]
referencePath [testPath] [-wave] [-win wname] [-edgecompare]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -clockclock
(Optional) Specifies the clock definition to use when sampling the specified regions.
Required for a clocked comparison; not used for asynchronous comparisons.
• -label label
(Optional) Specifies a name for the comparison when it is displayed in the window.
• -nowin
(Optional) Specifies that compare signals shouldn’t be added to any window. By default,
compare signals are added to the default Wave window. See -wave below.
• -recursive
(Optional) Specifies that signals should also be selected in all nested subregions, and
subregions of those, etc.
• -tol delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead or trail a
reference edge in an asynchronous comparison. The default is 0. If a unit (for example, ps)
is used with the time value, the time must be placed in braces {}.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare add
• -tolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in an asynchronous comparison. The default is 0. If a unit (for example, ps) is used with the
time value, the time must be placed in braces {}.
• -tolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in an asynchronous comparison. The default is 0. If a unit is used (for example, ps) with the
time value, the time must be placed in braces {}.
Figure C-1. Graphical Representation of tolLead and tolTrail
• -mixtolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in a mixed signal comparison. The default is 0. If a unit (for example, ps) is used with the
time value, the time must be placed in braces {}.
• -mixtolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in a mixed signal comparison. The default is 0. If a unit is used (for example, ps) with the
time value, the time must be placed in braces {}.
• -freqtol freqtol
(Optional) Specifies the frequency tolerance for a spectral comparison.
• -amptol amptol
(Optional) Specifies the amplitude tolerance for a spectral comparison.
• -noisefloor noisefloor
(Optional) Specifies the noise floor level for a spectral comparison. Errors that occur below
this amplitude level are ignored in the comparison.
• -matchindex
(Optional) Specifies that only compound waveforms (from multiple runs) with matching
indexes are compared. This mode is off by default.
For example, consider a reference dataset containing only a few runs (e.g. runs 1, 3 and 5)
and a test dataset with many more runs (e.g. runs 1 to 10). Without the -matchindex option,
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare add
Default is:
{U=UWXD:X=UWXD:0=0LD:1=1HD:Z=ZD:W=UWXD:L=0LD:H=1HD:D=UX01ZWLHD}
The 'D' character represents the '-' “don't care” std_logic value.
• -vlogmatches {ref-logic-value=test-logic-value: …}
(Optional) Specifies how Verilog signal states in the reference dataset should match values
in the test dataset. Values are specified in a colon-separated list of match values.
For example:
-vlogmatches {0=0:1=1:Z=Z}
Default is:
{0=0:1=1:Z=Z:X=X}
• -xTol xtolerance
(Optional) Specifies the maximum X tolerance (usually time) that test and reference
waveforms are allowed to differ.
Default is:
• -yTol ytolerance
(Optional) Specifies the maximum Y tolerance that test and reference waveforms are
allowed to differ. The default is:
• -mindeltax value
(Optional) Specifies the minimum delta X tolerance (usually time). Ignores differences that
are less than the specified value. Default is 0.
• -threshold 1 | 2
(Optional) Specifies if one or two thresholds should be used when converting analog
waveform to digital waveform in digital-analog comparison. Default is 1.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare add
• -upperthreshold value
(Optional) Specifies the value of the upper level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
• -lowerthreshold value
(Optional) Specifies the value of the lower level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
• -fixedthreshold value
(Optional) Specifies the value of the level to be used for converting an analog waveform to a
digital waveform, in case of analog-digital comparison using two thresholds. The default is
automatically computed based on input waveforms.
• -refDelay delay
(Optional) Specifies a delay to shift all added waveforms from the reference dataset. This
setting overrides the delay setting of the compare start command.
• -testDelay delay
(Optional) Specifies a delay to shift all added waveforms from the test dataset. This setting
overrides the delay setting of the compare start command.
• -start time
Specifies the time at which to start the comparison of all added waveforms. This setting
overrides the setting from a compare run or info command).
• -end time
(Optional) Specifies the time at which to end the comparison of all added waveforms. This
setting overrides the setting from a compare run or info command.
• referencePath
(Optional) Specifies either an absolute or relative path to the reference signal or region, or a
glob expression. Relative paths are relative to the current context of the reference dataset. If
you specify a glob expression, it will match signals only in the containing context.
You can use the extended options detailed in Selecting Waveforms in Tcl to match the
signals. You can use more than one option in the same command.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare add
Some examples:
compare add :top:x1:out
# With wildcard:
compare add :top:x1:*
• testPath
(Optional) Specifies an absolute or relative path to the test signal or region. Cannot be a glob
expression. If omitted, the test path defaults to the same path as referencePath except for the
dataset name.
• -wave
(Optional) Specifies that compare signals be added automatically to the default Wave
window. Default is true.
• -win wname
(Optional) Specifies a particular window to which to add objects. Used to specify a
particular window when multiple instances of that window type exist.
• -edgecompare
(Optional) Forces a “digital” comparison where the source and reference signals (one, or
both) are analog. This applies an automatic analog to digital conversion, allowing an edge
comparison to be made. Digital comparison tolerances will apply for the edge comparison,
refer to “Digital Comparison” on page 250.
Examples
• Add the waveform name tvin to the comparison using the default -showoptions (see also
Appendix D).
compare add tvin
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare clock
compare clock
Defines a clock that can be used for clocked-mode comparisons. In clocked-mode comparisons,
signals are sampled and compared only at or just after an edge on some signals.
Usage
compare clock [-delete] [-offset <delay>] [-rising | -falling | -both]
<clock_name> [<signal_path> | -frequency <value> [-dutycycle <perc>]]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -delete
(Optional) Deletes an existing compare clock.
• -offset <delay>
(Optional) Specifies a time value for delaying the sample time beyond the specified signal
edge. The default is 0.
• -rising | -falling | -both
(Optional) Specifies that the rising, falling, or both (rising and falling edges) of the specified
signal should be used. The default is rising.
• clock_name
(Required) A name for this clock definition. This name is used with the compare add
command when doing a clocked-mode comparison.
• signal_path
(One of signal_path or -frequency must be specified) A full path to the waveform whose
edges are to be used as the strobe trigger.
You can use the extended options detailed in Selecting Waveforms in Tcl to select the
waveform. You can use more than one option in the same command.
Note
This command currently only supports fully qualified names when specifying the
signal path. See Specifying Waveforms in Tcl for details on fully qualified names.
• -frequency <value>
(One of signal_path or -frequency must be specified) Specifies a perfect clock frequency.
• -dutycycle <perc>
(Optional) Only applicable if -frequency <value> is defined, this specifies the amount of
time the signal is active per period, defined as a percentage (0 to 1)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare clock
Examples
• Create a clock named myClock that will trigger a comparison on both rising and falling
edges of the source waveform <REF/TRAN>:test:eoc.
compare clock -both myClock <REF/TRAN>:test:eoc
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare configure
compare configure
Modifies options for compare signals and regions.
Usage
compare configure [-clock name] [-recursive] [-tol delay] [-tolLead delay]
[-tolTrail delay] [-mixtolLead delay] [-mixtolTrail delay]
[-freqtol freqtol] [-amptol amptol] [-noisefloor noisefloor]
[-matchindex]
[-vhdlmatches {ref-logic-value=test-logic-value:...}]
[-vlogmatches {ref-logic-value=test-logic-value:...}]
[-xTol xtolerance] [-yTol ytolerance] [-mindeltax value]
[-threshold {1|2}] [-upperthreshold value]
[-lowerthreshold value] [-fixedthreshold value] [-refDelay delay]
[-testDelay delay] [-start start_value] [-end end_value] [-edgecompare]
comparePath
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -clockname
(Optional) Changes the strobe signal for the comparison. If the comparison is currently
asynchronous, it is changed to clocked. This switch may not be used with the -tol, -tolLead,
and -tolTrail options.
• -recursive
(Optional) Specifies that signals should also be selected in all nested subregions, and
subregions of those, etc.
• -tol delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead or trail a
reference edge in an asynchronous comparison. The default is 0.
• -tolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in an asynchronous comparison. The default is 0.
• -tolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in an asynchronous comparison. The default is 0.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare configure
• -mixtolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in a mixed signal comparison. The default is 0.
• -mixtolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in a mixed signal comparison. The default is 0.
• -freqtol freqtol
(Optional) Specifies the frequency tolerance for a spectral comparison.
• -amptol amptol
(Optional) Specifies the amplitude tolerance for a spectral comparison.
• -noisefloor noisefloor
(Optional) Specifies the noise floor level for a spectral comparison. Errors that occur below
this amplitude level are ignored in the comparison.
• -matchindex
(Optional) Specifies that only compound waveforms (from multiple runs) with matching
indexes are compared. This mode is off by default.
For example, consider a reference dataset containing only a few runs (e.g. runs 1, 3 and 5)
and a test dataset with many more runs (e.g. runs 1 to 10). Without the -matchindex option,
reference:run_1 is compared with test:run_1, but reference:run_3 is compared with
test:run_2, because runs are compared in the order that they are found in the compound
waveform. Using the -matchindex option, reference:run_3 would now be compared with
the corresponding test:run_3.
• -vhdlmatches {ref-logic-value=test-logic-value: …}
(Optional) Specifies how VHDL signal states in the reference dataset should match values
in the test dataset. Values are specified in a colon-separated list of match values. For
example:
-vhdlmatches {X=XUD:Z=ZD:1=1HD}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare configure
Default is:
{U=UWXD:X=UWXD:0=0LD:1=1HD:Z=ZD:W=UWXD:L=0LD:H=1HD:D=UX01ZWLHD}
The 'D' character represents the '-' “don't care” std_logic value.
• -vlogmatches {ref-logic-value=test-logic-value: …}
(Optional) Specifies how Verilog signal states in the reference dataset should match values
in the test dataset. Values are specified in a colon-separated list of match values. For
example:
-vlogmatches {0=0:1=1:Z=Z}
Default is:
{0=0:1=1:Z=Z:X=X}
• -xTol xtolerance
(Optional) Specifies the maximum X tolerance (usually time) that test and reference
waveforms are allowed to differ.
The default is:
• -yTol ytolerance
(Optional) Specifies the maximum Y tolerance that test and reference waveforms are
allowed to differ. The default is:
• -mindeltax value
(Optional) Specifies the minimum delta X tolerance (usually time). Ignores differences that
are less than the specified value. Default is 0.
• -threshold 1 | 2
(Optional) Specifies if one or two thresholds should be used when converting analog
waveform to digital waveform in digital-analog comparison. Default is 1.
• -upperthreshold value
(Optional) Specifies the value of the upper level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
• -lowerthreshold value
(Optional) Specifies the value of the lower level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare configure
• -fixedthreshold value
(Optional) Specifies the value of the level to be used for converting an analog waveform to a
digital waveform, in case of analog-digital comparison using two thresholds. The default is
automatically computed based on input waveforms.
• -refDelay delay
(Optional) Specifies a delay to shift all configured waveforms from the reference dataset.
This setting overrides the delay setting of the compare start command.
• -testDelay delay
(Optional) Specifies a delay to shift all configured waveforms from the test dataset. This
setting overrides the delay setting of the compare start command.
• -start time
Specifies the time at which to start the comparison of all configured waveforms. This setting
overrides the setting from a compare run or info command).
• -end time
(Optional) Specifies the time at which to end the comparison of all configured waveforms.
This setting overrides the setting from a compare run or info command.
• -edgecompare
(Optional) Forces a “digital” comparison where the source and reference signals (one, or
both) are analog. This applies an automatic analog to digital conversion, allowing an edge
comparison to be made. Digital comparison tolerances will apply for the edge comparison,
refer to “Digital Comparison” on page 250.
• comparePath
(Required) Identifies the path of a compare signal, region, or glob expression.
You can use the extended options detailed in Selecting Waveforms in Tcl to select the
compare signal, region or glob expression. You can use more than one option in the same
command.
Description
The modified options are applied to all objects in the specified compare path. These settings are
local to the specified compare path; to set default options for all compare paths, use compare
options.
Examples
• Modify the previously added tvin waveforms and use a previously created myClock
clock to compare them.
compare configure -clock myClock tvin
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare end
compare end
Closes the active comparison without saving any information.
Usage
compare end
Parameters
• None.
Examples
• The comparison is ended, all settings and added waveforms are reset. All clocks that
were created and computed comparison waveforms remain present in the <calc>
database.
compare end
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare info
compare info
Lists the results of a waveform comparison in the main window transcript. To save the
information to a file, use the -write argument.
Usage
compare info [-start start_value] [-end end_value]
[-write [-append] filename]
[-rf pssresidue | topnoise | harmonicsmeter]
Parameters
• -start time
(Optional) Specifies the time at which to start the comparison of all configured waveforms.
• -end time
(Optional) Specifies the time at which to end the comparison of all configured waveforms.
• -write
(Optional) Saves the summary information to a file, specified with filename, rather than
displaying it in the main window transcript.
• -append
(Optional) Used with the -write argument when saving the summary information to a file.
The report is appended to the file specified with filename, rather than overwriting it.
• -rf pssresidue | topnoise | harmonicsmeter
(Optional) Specifies pssresidue, topnoise or harmonicsmeter waveform compare options.
Examples
• Export the results of the comparison (waveform by waveform differences) to the text file
report.txt.
compare info -write /path/to/the/report.txt
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare list
compare list
Outputs the Tcl scripts of all the compare add commands in effect.
Usage
compare list [-expand]
Parameters
• -expand
(Optional) Expands groups of waveforms that were added by related individual waveforms.
Examples
• Replace “compare add -r *” by a list of compare add commands, followed by object
names.
compare list
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
compare options
Sets defaults for various waveform comparison commands. Those defaults are used when other
compare commands are invoked during the current session.
Usage
compare options [-maxsignal n] [-maxtotal n] [-mode_name]
[-tol delay] [-tolLead delay] [-tolTrail delay]
[-mixtolLead delay] [-mixtolTrail delay]
[-freqtol freqtol] [-amptol amptol] [-noisefloor noisefloor]
[-matchindex]
[-vhdlmatches {ref-logic-value=test-logic-value:...}]
[-vlogmatches {ref-logic-value=test-logic-value:...}]
[-xTol xtolerance] [-yTol ytolerance] [-mindeltax value] [-threshold 1|2]
[-upperthreshold value] [-lowerthreshold value] [-fixedthreshold value]
[-wavewin name] [-noaddwave] [-addwave] [-adderrorwave]
[-rf pssresidue | topnoise | harmonicsmeter]
[-tperiod value] [-abstolrf value] [-reltolrf value]
[-f0 value] [-nbharmonics value]
[-sortby firstdiff | maxdiff]
[-ntop value] [-annotate][-edgecompare]
Parameters
• -maxsignal n
(Optional) Specifies an upper limit for the total differences encountered on any one signal.
When that limit is reached, the EZwave viewer stops computing differences on that signal.
The default limit is 100.
• -maxtotal n
(Optional) Specifies an upper limit for the total differences encountered. When that limit is
reached, the EZwave viewer stops computing differences. The default limit is 1000.
• -mode
(Optional) Specifies the mode of waveform types that are compared with the compare add
command. The actual values the option may take are -in, -out, -inout, -internal, -ports, and -
all. You can use more than one mode option in the same command. The following modes
available in Questa ADMS are also supported: -across, -free, -through, -a2d, -d2a, -bidir.
• -tol delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead or trail a
reference edge in an asynchronous comparison. The default is 0.
• -tolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in an asynchronous comparison. The default is 0.
• -tolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in an asynchronous comparison. The default is 0.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
• -mixtolLead delay
(Optional) Specifies the maximum time a test signal edge is allowed to lead a reference edge
in a mixed signal comparison. The default is 0.
• -mixtolTrail delay
(Optional) Specifies the maximum time a test signal edge is allowed to trail a reference edge
in a mixed signal comparison. The default is 0.
• -freqtol freqtol
(Optional) Specifies the frequency tolerance for a spectral comparison.
• -amptol amptol
(Optional) Specifies the amplitude tolerance for a spectral comparison.
• -noisefloor noisefloor
(Optional) Specifies the noise floor level for a spectral comparison. Errors that occur below
this amplitude level are ignored in the comparison.
• -matchindex
(Optional) Specifies that only compound waveforms (from multiple runs) with matching
indexes are compared. This mode is off by default.
For example, consider a reference dataset containing only a few runs (for example runs 1, 3
and 5) and a test dataset with many more runs (for example runs 1 to 10). Without the -
matchindex option, reference:run_1 is compared with test:run_1, but reference:run_3 is
compared with test:run_2, because runs are compared in the order that they are found in the
compound waveform. Using the -matchindex option, reference:run_3 would now be
compared with the corresponding test:run_3.
• -vhdlmatches {ref-logic-value=test-logic-value: …}
(Optional) Specifies how VHDL signal states in the reference dataset should match values
in the test dataset. Values are specified in a colon-separated list of match values. For
example:
-vhdlmatches {X=XUD:Z=ZD:1=1HD}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
Default is:
{U=UWXD:X=UWXD:0=0LD:1=1HD:Z=ZD:W=UWXD:L=0LD:H=1HD:D=UX01ZWLHD}
The 'D' character represents the '-' “don't care” std_logic value.
• -vlogmatches {ref-logic-value=test-logic-value: …}
(Optional) Specifies how Verilog signal states in the reference dataset should match values
in the test dataset. Values are specified in a colon-separated list of match values. For
example:
-vlogmatches {0=0:1=1:Z=Z}
Default is:
{0=0:1=1:Z=Z:X=X}
• -xTol xtolerance
(Optional) Specifies the maximum X tolerance (usually time) that test and reference
waveforms are allowed to differ.
The default is:
• -yTol ytolerance
(Optional) Specifies the maximum Y tolerance that test and reference waveforms are
allowed to differ. The default is:
• -mindeltax value
(Optional) Specifies the minimum delta X tolerance (usually time). Ignores differences that
are less than the specified value. Default is 0.
• -threshold 1 | 2
(Optional) Specifies if one or two thresholds should be used when converting analog
waveform to digital waveform in digital-analog comparison. Default is 1.
• -upperthreshold value
(Optional) Specifies the value of the upper level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
• -lowerthreshold value
(Optional) Specifies the value of the lower level to be used for converting an analog
waveform to a digital waveform, in case of analog-digital comparison using two thresholds.
The default is automatically computed based on input waveforms.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
• -fixedthreshold value
(Optional) Specifies the value of the level to be used for converting an analog waveform to a
digital waveform, in case of analog-digital comparison using two thresholds. The default is
automatically computed based on input waveforms.
• -wavewin name
(Optional) Specifies the default name of the wave window in which compare differences are
viewed.
• -noaddwave
(Optional) Specifies that the waveform result of the comparison is not displayed.
• -addwave
(Optional) Plots all compared waveforms.
• -adderrorwave
(Optional) Plots only erroneous compared waveforms.
• -rf pssresidue | topnoise | harmonicsmeter
(Optional) Specifies pssresidue, topnoise or harmonicsmeter waveform compare options.
Note
Parameters “-sortby” and “-rf” cannot be used simultaneously.
• -tperiod value
(Optional) Specifies the reference time period for the pssresidue waveform compare option.
Note
The value is required if “-rf pssresidue” is specified in “compare start” or “compare
options” commands and ignored for other cases.
• -abstolrf value
(Optional) Specifies the absolute tolerance for the harmonicsmeter and pssresidue
waveform compare options.
• -reltolrf value
(Optional) Specifies the relative tolerance for the harmonicsmeter and pssresidue waveform
compare options.
• -f0 value
(Optional) Specifies the fundamental frequency for the harmonicsmeter waveform compare
option.
Note
The value is required if “-rf harmonicsmeter” is specified in “compare start” or
“compare options” commands and ignored for other cases.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
• -nbharmonics value
(Optional) Specifies the number of harmonics for the harmonicsmeter waveform compare
option.
Note
The value is required if “-rf harmonicsmeter” is specified in “compare start” or
“compare options” commands and ignored for other cases.
• -ntop value
(Optional) Specifies the number of results to plot.
Note
The “-ntop” value is only taken into account if the “-rf” or “-sortby” parameter is
specified. If “-ntop” is not specified all comparison results are plotted.
• -annotate
(Optional) Specifies the resulting waveform plots will be annotated with the sorting
parameter value.
Note
The “-annotate” parameter is only taken into account if the “-rf” or “-sortby”
parameter is specified. It is ignored for other cases.
• -edgecompare
(Optional) Forces a “digital” comparison where the source and reference signals (one, or
both) are analog. This applies an automatic analog to digital conversion, allowing an edge
comparison to be made. Digital comparison tolerances will apply for the edge comparison,
refer to “Digital Comparison” on page 250.
Description
These settings specify the default options for all compare paths. To modify settings local to a
specified compare path, use compare configure.
Examples
• Return the current value of all options.
compare options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare options
• Set the analog tolerances to 0.5% for both x and y-axes, do not plot the comparison
waveforms and change the number of differences to look for in each waveform to 50.
compare options -xTol 0.5% -yTol 0.5% -noaddwave -maxsignal 50
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare run
compare run
Runs the difference computation on the signals selected via a compare add command.
Usage
compare run [startTime] [endTime]
Parameters
• startTime
(Optional) Specifies when to start computing differences. Optional. Default is zero.
• endTime
(Optional) Specifies when to end computing differences. Optional. Default is the end of the
dataset simulation run that ends earliest.
Description
The compare run command runs the difference computation on the signals selected via a
compare add command. Reports in the transcript pane the total number of errors found.
Examples
• Run the comparison, all waveforms that were added to the comparison will now be
compared. For each reference/test pair, a comparison waveform named
“compare_ref_test” is created.
compare run
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare savelog
compare savelog
Creates a log file containing error and warning messages generated during waveform
comparison.
Usage
compare savelog filename
Parameters
• filename
(Required) Specifies the name and path of the file in which to save the log file.
Description
Creates a log file containing error and warning messages generated during waveform
comparison.
Note
A comparison must have been run or a report had been exported within the same
comparison session before this command is called. Otherwise, nothing is generated.
Examples
• Save a log file to a text file named comparelog.txt.
compare savelog /user/comparelog.txt
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare saverules
compare saverules
Saves the rules (all compare add commands in effect and compare options) to a file. Can also be
used to save the entire comparison session.
Usage
compare saverules [-session] [-expand] rules_filename
Parameters
• -session
(Optional) Saves the entire comparison session, not just the rules.
• -expand
(Optional) Expands groups of related waveforms into their individual waveforms.
• rules filename
(Required) Specifies the name and path of the file in which to save the rules file.
Description
Saves the rules (all compare add commands in effect and compare options) to a file. Can also be
used to save the entire comparison session.
Examples
• Save rules into a file called rules.rul.
compare saverules rules.rul
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare start
compare start
Begins a new dataset comparison.
Usage
compare start [-batch] [-maxsignal n] [-maxtotal n] [-refDelay delay]
[-testDelay delay] reference_dataset [test_dataset]
[-rf pssresidue | topnoise | harmonicsmeter]
Parameters
• -batch
(Optional) Specifies that comparisons will not be automatically inserted into the wave
window.
• -maxsignal n
(Optional) Specifies an upper limit for the total differences encountered on any one signal.
When that limit is reached, the EZwave viewer stops computing differences on that signal.
The default limit is 100.
• -maxtotal n
(Optional) Specifies an upper limit for the total differences encountered. When that limit is
reached, the EZwave viewer stops computing differences. The default limit is 1000.
• -refDelay delay
(Optional) Specifies a delay to shift all compared waveforms from the reference dataset.
• -testDelay delay
(Optional) Specifies a delay to shift all compared waveforms from the test dataset.
• reference_dataset
(Required) The reference dataset to be used as the comparison reference.
• test_dataset
(Optional) The dataset to be tested against the reference. If not specified, The EZwave
viewer uses the current simulation. The reference and test datasets may be the same.
• -rf pssresidue | topnoise | harmonicsmeter
(Optional) Specifies pssresidue, topnoise or harmonicsmeter waveform compare options.
Description
The compare start command begins a new dataset comparison. The datasets that you will be
comparing must already be open.
Examples
• Begin a waveform comparison between a dataset named “gold” and the current
simulation. Assumes the gold dataset was already opened.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
compare start
• This command sequence opens two datasets and starts a comparison between the two
using greater than default limits for total differences encountered.
dataset open gold_typ.wdb gold
dataset open bad_typ.wdb test
compare start -maxtotal 5000 -maxsignal 1000 gold test
• For more detailed examples, see Waveform Comparison With Tcl Examples.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset alias
dataset alias
Adds additional names (aliases) to a dataset.
Usage
dataset alias dataset_name [alias_name [-folder folder_path]]
Parameters
• dataset_name
(Required) Specifies the name of the dataset to which the alias is assigned. Use the root
name of the file only. This must be specified as the first argument to the database alias
command.
• alias_name
(Optional) Specifies the alias name to assign to the dataset. It also returns a list of all aliases
currently assigned to the specified dataset.
• -folder folder_path
(Optional) Specifies the folder name(s) in the dataset where the alias name will be assigned.
If several folder levels are encountered, names are separated by a forward slash ( / ).
Return Values
A list of aliases currently assigned to the dataset.
Examples
• Assign the alias name “REF” to the dataset named “gold”.
dataset alias gold REF
• Assigns the alias name “myfolder” to the folder named “saved”, which exists in the
dataset “adc12”. This is equivalent to <adc12/saved> in the EZwave fully qualified
name notation.
dataset alias adc12 myfolder -folder saved
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset analysis
dataset analysis
Returns a list of folders (or subfolders) of analysis of the dataset (or folder).
Usage
dataset analysis [dataset_name] [-folder folder_path]
Parameters
• dataset_name
(Optional) Specifies the name of the dataset on which to list the analysis.
Note
If no argument is supplied, the command is applied to the dataset that was last
opened.
• -folder folder_path
(Optional) Specifies the folder name existing in the dataset on which to list the analysis. If
several folder levels are encountered, names are separated by a forward slash ( / ).
Return Values
A list of dataset folders found.
Description
Returns a list of folders (or subfolders) of analysis of the dataset (or folder).
Dataset folders are all considered as analysis by this command, even if they do not always
correspond to analysis.
Examples
dataset analysis adc12
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset clear
dataset clear
Clears all waveform data from the last opened database.
Usage
dataset clear
Parameters
• None.
Examples
dataset clear
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset close
dataset close
Closes the specified database or all databases.
Usage
dataset close [database_name | -all]
Parameters
• database_name
(Optional) Specifies the name of the database to be closed.
• -all
(Optional) Specifies that all open databases should be closed.
Description
Closes the specified database or all databases.
Note
If no argument is supplied, the database that was opened last is closed.
Examples
dataset close -all
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset extract
dataset extract
Runs Eldo -extract on the source database using the source netlist to define the .extract and
.meas commands.
Usage
dataset extract -source <wdb> -netlist <path_to_netlist> -out
<dest_aex_file> [-wave <dest_wdb_file>] [-overwrite] [-arguments
<arguments_string>] [-save <text_or_csv_file>]
Parameters
• -source
(Required) Specifies the path to the database file (.wdb) containing the simulation results to
be processed.
• -netlist
(Required) Specifies the path to the netlist containing the .extract and .meas commands to
run.
• -out
(Required) Specifies the path to the aex file into which extracted scalar values are written.
• -wave
(Optional) Specifies the path to the database file (.wdb) into which the waveform data is
written.
• -overwrite
(Optional) Instructs Eldo to overwrite any existing files. When this is not specified, EZwave
reports an error if an output file already exists.
• -arguments
(Optional) Allows you to define parameters to pass to Eldo.
• -save
(Optional) Saves the content of the scalar extract in a text or CSV file using EZwave
standards (headers, separators, and so on).
Examples
dataset extract -source test_data.wdb -netlist test_data.cir -out
test_data.aex -wave test_data_extract.wdb -overwrite -save file.txt
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset info
dataset info
Returns the specified information about a database.
Usage
dataset info option [database_name]
Parameters
• option
(Required) Specifies the type of information to be returned. option can be one of the
following:
o name — Returns the name of the database.
o file — Returns the path and filename where the database is saved.
o exists — Returns 1 if the database is currently open; otherwise, returns 0.
• database_name
(Optional) Specifies the name of the database to get information about. If database_name is
not specified, the active database is used.
Examples
if [dataset info exists adc12 ] {
# do something
} else {
# do something else
}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset list
dataset list
Returns a list of currently opened databases.
Usage
dataset list [-long]
Parameters
• -long
(Optional) If this option is specified, this command also returns the full path of the
databases.
Examples
dataset list
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset merge
dataset merge
Merges databases containing single run simulation results, and generates compound waveforms
from found waveforms. When supplied the name of an index file, the command merges the
referenced databases and adds parameters as defined in the file.
Usage
dataset merge dataset_name file_name1 [... file_namen] | -wdbparam
<index_file> [-matchindex |-startindex start_index] [-ignorewaveforms]
Parameters
• dataset_name
(Required) Specifies the name of the dataset containing the compound waveforms resulting
from the merge.
Caution
You must choose a dataset_name that is different from the names of any of the
source databases to prevent overwriting the source with the resulting merged dataset.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset merge
• -startindex start_index
(Optional) Specifies the index that the compound elements should start from. For example,
merging test.wdb and test2.wdb using option -startindex 7 will create compounds with
element index 7 and 8.
Note
This option is ignored when merging databases that already contain compound
waveforms. In this case, the original compound element indexes are maintained.
• -ignorewaveforms
(Optional) This option is only used if a user encounters compatibility issues with the
updated dataset merge functionality and needs to revert to the previous behavior of dataset
merge. See note below.
Note
In AMS13.2 and earlier versions, EZwave gave priority to compound waveforms in
the source databases when merging. For example, for a database containing a TRAN
folder with compound waveforms and an EXT folder with regular waveforms, only the
TRAN folder was merged. For later versions of AMS, in the same situation, EZwave
will merge both the TRAN and EXT folders. In certain situations, this might affect a
user script that had worked previously, because some folders that used to be ignored are
now merged. If this situation should occur, the option -ignorewaveforms may be used to
revert to the previous behavior.
Description
This command merges databases containing single run simulation results, and generates
compound waveforms from found waveforms. When supplied the name of an index file, the
command merges the referenced databases and adds parameters as defined in the file.
Examples
dataset merge result /user/simu*.wdb
# Merge waveforms contained in all databases matching
# "/user/simu*.wdb", creating a compound waveform in the dataset
# "result".
Note
Merging of FSDB files is not supported by the dataset merge command. You must convert
the files to WDB format (.wdb) before merging using dataset merge:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset mergewaveforms
dataset mergewaveforms
Merges waveforms, grouping waveforms of the same name as if there were multiple simulation
runs.
Usage
dataset mergewaveforms dataset_name file_name1 ... file_namen
[-matchindex | -startindex start_index]
-wf waveform1_name ... waveform_n_name
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• dataset_name
(Required) Specifies the name of the dataset containing the compound waveforms resulting
from the merge.
Caution
You must choose a dataset_name that is different from the names of any of the
source databases to prevent overwriting the source with the resulting merged dataset.
• file_name1 … file_namen
(Required) Specifies the list of databases to be merged. The wildcard character ( * ) is
allowed in file names. It is not necessary to open the databases prior to this command call.
• -matchindex
(Optional) If this option is specified, the index of the compound element must be
determined by its source database name. For example, test1.wdb -> index 1, test.wdb ->
index 0 or even test.tr2 -> index 2.
• -startindex start_index
(Optional) Specifies the index that the compound elements should start from. For example,
merging test.wdb and test2.wdb using option -startindex 7 will create compounds with
element index 7 and 8.
Note
This option is ignored when merging databases that already contain compound
waveforms. In this case, the original compound element indexes are maintained.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset mergewaveforms
Description
This command merges waveforms, grouping waveforms of the same name as if there were
multiple simulation runs. The x-axis units of both waveforms must be identical.
Examples
dataset mergewaveforms mywdb /user/library/*.wdb -wf IN OUT
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset open
dataset open
Opens a database file.
Usage
dataset open file_name [dataset_name] [-incl_if_tandem {on | off}]
Parameters
• file_name
(Required) The name of a database in a supported format.
• dataset_name
(Optional) Specifies a name for the open dataset. This is a name that will identify the dataset
in the current session. If not specified, the default dataset name corresponds to the filename
prefix (without file extension).
• -incl_if_tandem {on | off}
(Optional) When set to off, excludes a database from tandem mode when loaded.
Return Values
The database name.
Examples
dataset open $env(AMS_VIEWER_HOME)/lib/tutorial.wdb
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset ovd
dataset ovd
Opens an OVD file.
Usage
dataset ovd path_to_ovd_folder [-ovdindex <index_representation>]
Parameters
• path_to_ovd_folder
(Required) Specifies the path to an OVD folder.
• -ovdindex <index_representation>
(Optional) Specifies the iteration that should be opened. Indices are separated by commas,
can be a single integer number, or a range of indices separated by “-”. A valid
index_representation is: 1,3,5-13,17.
Examples
dataset ovd netlist.out -ovdindex 12,17,51
Related Topics
Foreign Databases Options
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset power analysis
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset power analysis
• -save <file.[txt|csv]>
(Optional) Saves the result of the analysis to a text or CSV file. When this switch is not
specified in batch mode, the command does nothing.
• -overwrite
(Optional) Overwrite the output file if it exists. When not specified and the file exists, the
command will exit and generate an error.
• -depth <value>
(Optional) Defines a maximum depth of subcircuit analysis from the top. When not
specified, no depth limitation is used and all subcircuits of the top are analyzed.
• -view {"column_name1" "column_name2"…}
(Optional) Defines the names of the columns to display in the Power Analysis Dialog Box.
When not specified, the default display depends on the simulator setup stored on the
analysis folder.
• -filter "name" "regex"
(Optional) Defines a filtering regular expression on a column. This switch can be used
multiple times on the same command to define filters on multiple columns.
• -sort "column_name" <up|down>
(Optional) Defines a sorting order on a column. This switch can be used multiple times on
the same command but only the last one defined will be applied.
• -ignoredefaultfiltering
(Optional) Discard the settings that were set at simulation time and use the default ones. See
.POWER_ANALYSIS in the Eldo Reference Manual.
• -dialog
(Optional) When used with the EZwave GUI, opens the Power Analysis dialog box through
the TCL command.
Examples
Example 1
dataset open tc100_eldo.wdb
dataset power analysis tc100_eldo POWER_TRAN -dialog
• This example runs the analysis of the tc100_eldo database on the POWER_TRAN folder.
• All devices and subcircuits contributions are available in the EZwave Power Analysis
Dialog Box.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset power analysis
Example 2
dataset open tc100_eldo.wdb
dataset power analysis tc100_eldo POWER_TRAN -dialog tc100_eldo:X1:X2
-separator :
• This example runs the analysis of the tc100_eldo database on the POWER_TRAN folder.
• The top level is not tc100_eldo anymore but tc100_eldo.X1.X2 subcircuit. The separator
is not necessarily the same as the one used by EZwave (waveform name).
Example 3
dataset power analysis tc100_eldo POWER_TRAN -range 80e-9 100e-9
-lowerthreshold 0.005 -depth 3
• This example runs the analysis of the tc100_eldo database on the POWER_TRAN folder.
• The analysis is performed over the time range 80 to 100 ns.
• All subcircuits from the top one are analyzed up to a depth of 3 levels.
• All devices and subcircuits consuming less than 0.005W will not be shown in the
displayed results.
Tip
See also .POWER_ANALYSIS in the Eldo Reference Manual.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset rename
dataset rename
Renames the specified database.
Usage
dataset rename database_name new_name
Parameters
• database_name
(Required) Specifies the database to be renamed.
• new_name
(Required) Specifies the new name for the database.
Return Values
The database name.
Examples
dataset rename adc12 adc12_test
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset save
dataset save
Saves the specified database to disk as the specified file name.
Usage
dataset save database_name file_name [-start x_start] [-end x_stop]
[-sampling sample] [-atcursors] [-delta delta] [-deriv derivabs]
[-derivrel derivrel]
Parameters
• database_name
(Required) Specifies the database to be saved.
• file_name
(Required) Specifies the path and file name where the database should be saved. The
extension used for the file name determines the output format (for example, myfile.txt will
save to a text file, myfile.csv will save to a CSV file).
Add the .gz extension to the filename to save the waveforms to a compressed (gzipped)
archive.
• -start x_start
(Optional) Specifies the X value to be considered as the start value of the database to be
saved.
• -end x_stop
(Optional) Specifies the X value to be considered as the end value of the database to be
saved.
• -sampling sample
(Optional) Specifies the step value to be used for sampling while saving the database.
• -atcursors
(Optional) Use this option to save only the waveform data at cursor locations.
• -delta delta
(Optional) For file type Spice PWL (.sti) only, use this option to specify the threshold the
lower limit threshold and enable filtering of output points by performing an absolute
variation comparison.
• -derivabs derivabs
(Optional) For file type Spice PWL (.sti) only, use this option to specify the absolute
tolerance and enable filtering of output points by performing a slope based comparison.
• -derivrel derivrel
(Optional) For file type Spice PWL (.sti) only, use this option to specify the relative
tolerance and enable filtering of output points by performing a slope based comparison.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset save
Note
Combining switches [-delta delta], [-derivabs derivabs] and [-derivrel derivrel]is not
forbidden, but the outcome of doing so is difficult to predict. It is advised that only
one switch is used at a time.
Examples
dataset save calc /user/ADC12/calc.wdb
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset savescalar
dataset savescalar
Save scalars, such as noise contributors, to a TXT file or CSV file.
Usage
dataset savescalar <wdb>
[<folder> ... <folderN>] -output <report_file>
[-sort <name|value> <asc|desc>]
Parameters
• <wdb>
(Required) Dataset name, opened in EZwave.
• <folder> ... <folderN>
(Optional) Name(s) of the folder(s) (type(s)) containing the variables to be saved. If not
specified, all variable types will be saved.
• -output <report_file>
(Required) The path to the output file.
• -sort <name|value> <asc|desc>
(Optional) Sorting parameter (name or value) and direction (ascending or descending).
Description
The output file format (value separator) is detected automatically depending on the output file
extension. If the extension is *.csv, the format will be CSV (separator is a comma). In other
cases the format will be TXT (separator is a whitespace).
Examples
Example of the TXT report:
Name,Value,Y Unit
pss_PhaseNoise_SummaryStatistics,,
periodJitter,5.542636185984542E-13,
periodJitter_flicker,5.2546672272391475E-14,
periodJitter_white,5.51767166597425E-13,
frequency,8.0E8,
period,1.25E-9,
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset savewaveforms
dataset savewaveforms
Saves the specified waveform(s) to disk as the specified file name.
Usage
dataset savewaveforms file_name [-start x_start] [-end x_stop]
[-sampling sample] [-atcursors] [-delta delta] [-derivabs derivabs]
[-derivrel derivrel] waveform_name
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• file_name
(Required) Specifies the path and file name where the database file should be saved. The
extension used for the file name determines the output format (for example, myfile.txt will
save to a text file, myfile.csv will save to a CSV file).
Add the .gz extension to the filename to save the waveforms to a compressed (gzipped)
archive.
• -start x_start
(Optional) Specifies the X value to be considered as the start value of the database to be
saved.
• -end x_stop
(Optional) Specifies the X value to be considered as the end value of the database to be
saved.
• -sampling sample
(Optional) Specifies the step value to be used for sampling while saving the database.
• -atcursors
(Optional) Use this option to save only the waveform data at cursor locations. This
parameter is not supported in batch mode.
• -delta delta
(Optional) For file type Spice PWL (.sti) only, use this option to specify the threshold the
lower limit threshold and enable filtering of output points by performing an absolute
variation comparison.
• -derivabs derivabs
(Optional) For file type Spice PWL (.sti) only, use this option to specify the absolute
tolerance and enable filtering of output points by performing a slope based comparison.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset savewaveforms
• -derivrel derivrel
(Optional) For file type Spice PWL (.sti) only, use this option to specify the relative
tolerance and enable filtering of output points by performing a slope based comparison.
• waveform_name [ waveform_name2… ]
(Required) Specifies the waveform(s) to be saved to the database file. You can use the
extended options detailed in Selecting Waveforms in Tcl to select the waveform(s). You can
use more than one option in the same command.
Note
Combining switches [-delta delta], [-derivabs derivabs] and [-derivrel derivrel] is
not forbidden, but the outcome of doing so is difficult to predict. It is advised that
only one switch is used at a time.
Examples
dataset savewaveforms /user/ADC12/calc.wdb v_load
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset scalar
dataset scalar
Compares scalar values of variables stored in two databases (PSF, nutmeg, FSDB, WDB,
OVD).
Usage
dataset scalar ref_dataset test_dataset -output <report_file>
[-type <name>] [-cs 0|1] [-nameonly|-tol <value>]
Parameters
• ref_dataset
(Required) Specify the reference dataset name.
• test_dataset
(Required) Specify the test dataset name.
• -output <report_file>
(Required) Specify the path for the output report file
• -type <name>
(Optional) Name of the scalar’s type (folder to compare). If absent, all scalar types will be
compared.
• -cs 0|1
(Optional) Case sensitivity for scalar names. Default is 1 (case sensitivity is on).
• -nameonly
(Optional) If specified, only the presence of scalars in the reference and test datasets will be
compared, not the values.
Note
-nameonly switch cannot be used simultaneously with the -tol switch.
• -tol <value>
(Optional) Tolerance value (for absolute difference calculation) for scalar comparisons. A
percentage value is also supported. If absolute difference (abs(test_value – ref_value)) is
greater than the specified tolerance, the difference will be included into the report.
Note
-tol switch cannot be used simultaneously with the -nameonly switch.
Return Values
The dataset scalar command generates a text report in the following form:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset scalar
Description
The function takes the two databases names to compare, a tolerance value and generates a report
of differences when variables do not match between the two databases being compared.
If the absolute difference is greater than the tolerance, the difference will be included into the
report.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset supported
dataset supported
Returns “true” if the dataset can be opened by EZwave, and “false” otherwise.
Usage
dataset supported dataset_path
Parameters
• dataset_path
(Required) Specifies the path for the dataset to be checked.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset topnoise
dataset topnoise
Performs a topnoise calculation on the specified waveform database folder or hierarchy.
Usage
dataset topnoise <wdb_obj> -fstart <value> [-fstop <value>] [-ntop <value>]
[-pattern <value>] [-norecursive] [-depth <value>] [-runs <runID>,<runID1>,...]
[-instance] [-file <path>] [-noplot] [-nogrid]
Parameters
• <wdb_obj>
(Required) Name of the waveform database folder or hierarchy. The format is as follows:
<database_name>/<folder_or_hierarchy_name1>/<folder_or_hierarchy_name2>/
...
• -fstart <value>
(Required) The start frequency.
• -fstop <value>
(Optional) The stop frequency.
• -ntop <value>
(Optional) The number of results to plot. If not specified, the default is 8. Ignored if -noplot
switch is used.
• -pattern <value>
(Optional) The waveform search pattern. Default is “*”.
• -norecursive
(Optional) Disables the recursive waveform search. Cannot be used simultaneously with
-depth switch.
• -depth <value>
(Optional) Waveforms search depth (for a recursive search). If not specified (default) it
performs the full depth search. Cannot be used simultaneously with -norecursive switch.
• -runs <runID>,<runID1>,...
(Optional) A comma separated list of run ids to process for a multiple run database. If not
specified (default) all runs will be processed.
• -instance
(Optional) Specifies that report data is generated not only at MOS instance level, but
recursively at subckt instance level.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dataset topnoise
• -file <path>
(Optional) Specifies the path and filename where a sorted report of all noise contributions is
saved.
• -noplot
(Optional) Specifies that no topnoise results are plotted.
• -nogrid
(Optional) Disables the display of grid lines. Ignored if -noplot switch is used.
Related Topics
topnoise
Top Noise Dialog Box
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
delete wave
delete wave
Removes the specified waveform from the indicated window.
Usage
delete wave [-window window_name] waveform_name
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• window_name
(Optional) Specifies the window from which to remove the waveform. If window_name is
not specified, the waveform is removed from the active window.
• waveform_name
(Required) Specifies name of the waveform to be removed. You can specify multiple
waveforms and use wildcards. You can also use the extended options detailed in Selecting
Waveforms in Tcl to select the waveform(s). You can use more than one option in the same
command.
Examples
delete wave -run 1 -session current <tutorial/Time-Domain_Results>v_load
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
dofile
dofile
Tells the EZwave Tcl interpreter to source the specified Tcl file.
Usage
dofile file_name
Parameters
• file_name
(Required) Specifies the path and file name of the Tcl file to be sourced by the EZwave Tcl
interpreter.
Return Values
The string returned by the Tcl file, if any.
Description
This command tells the EZwave Tcl interpreter to source the specified Tcl file. This command
differs from the Tcl “source” command in that it enables the Tcl “proc” to register into the
EZwave Waveform Calculator as a user-defined function.
Examples
dofile /user/adc12.tcl
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
environment
environment
Displays or changes the region/signal environment.
Usage
environment [path_name] [-dataset | -nodataset]
env [path_name] [-dataset | -nodataset]
Parameters
• path_name
(Optional) Specifies the absolute path name to which the current region/signal environment
is to be changed. Relative path names are not allowed.
• -dataset
(Optional) If this option is specified, the database path is displayed, followed by the design
hierarchy, as it would appear in the EZwave waveform list.
• -nodataset
(Optional) If this option is specified, the path is displayed without any database indications.
Return Values
Returns the path with regards to the hierarchy.
Description
This command displays or changes the region/signal environment. If a path name is specified,
the current region/signal environment is change to that path name. Otherwise, the current
region/signal environment is displayed.
Note
When the -dataset option is used, this command also displays the database name and
hierarchy as it is shown in the database.
Examples
env :test:u1
# This changes the current region/signal environment path to :test:u1
# Returns :test:u1
env -dataset
# Returns <adc12_test/TRAN>:test:u1
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
evalExpression
evalExpression
Invokes the EZwave Waveform Calculator to calculate the expression entered.
Usage
evalExpression expression
Parameters
• expression
(Required) An expression supported by the EZwave calculator.
Return Values
The result value of the expression. It can be one of the following:
If expression is enclosed in double quotes (" "), value substitution is enabled and all strings
beginning with a dollar sign ($) are replaced by the variable they name. If an expression is
enclosed in braces ({ }), value substitution is disabled and the expression is evaluated as
presented.
Examples
evalExpression {wf_diff = wf("<tutorial/Time-Domain_Results>v_load") -
wf("<tutorial/Time-Domain_Results>v_middle")}
set diff0 [evalExpression {wftodata(wf_diff)[0][0]}]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
examine
examine
Examines an object and displays its current value in the Transcript Window.
Usage
examine
[-env path]
[-name]
[-symbolic | -onescomplement | -magnitude | -binary |
-octal | -decimal | -hexadecimal | -unsigned | -ascii ]
[-radix radix_type]
[-showbase]
[-tograydec]
[-graytodec]
[-fpoint n]
[-time time]
[wf_name_1 ... wf_name_n] | [-separator separator_char wf_name_1 ...
wf_name_n [-noseparator wf_name_1 ... wf_name_n]]
Parameters
• -env path
(Optional) path is the hierarchical path to the objects. You can use this to avoid repeating it
in all object names.
• -name
(Optional) Causes the name of the object to be returned in a TCL list, as well as its value.
• -symbolic | -onescomplement | -magnitude | -binary | -octal | -decimal | -hexadecimal | -
unsigned | -ascii
(Optional) Specifies a radix for displaying digital bus(es) specified in this command.
If no radix is specified for an enumerated type, the default radix is used. You can change the
default radix for the current simulation using the radix command.
• -radix radix_type
(Optional) Specifies a radix or a user-defined radix. Can be used as an alternative to the
options:
[-symbolic | -onescomplement | -magnitude | -binary | -octal |
-decimal | -hexadecimal | -unsigned | -ascii ]
Legal radix_type values are: symbolic, onescomplement, magnitude, binary, octal, decimal,
hexadecimal, unsigned, ascii.
• -showbase
(Optional) Display the length of the bus and its base. It uses the syntax defined in radix.
• -time time
Specifies the time value between 0 and $now at which to examine the objects.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
examine
time is a non negative integer. By default it is in seconds. For other units the value and unit
must be placed inside curly braces if there is a space between the time and the unit. For
example, the following are equivalent for ps resolution:
examine -time {3.6 ns} signal_a
examine -time 3600 signal_a
If -time time is not specified, the last value of each object is returned.
If an expression is specified, it will be evaluated at that time.
Note
When an object does not have data at the specified time, no error is returned. Instead
the command returns “No_Data”.
• -tograydec
(Optional) Converts decimal representation radix to gray radix.
• -graytodec
(Optional) Coverts gray radix to decimal representation radix.
• -fpoint n
(Optional) Specifies n fixed-point radix.
• wf_name_1 . . .wf_name_n
(Optional) Specifies the waveform(s) using one of several accepted syntaxes. See
Specifying Waveforms in Tcl. You must use the object name method for specifying
waveforms when using the –show representation option.
You can use the extended options detailed in Selecting Waveforms in Tcl to select the
waveform(s). You can use more than one option in the same command.
The examine command will return “No_Data” for any waveform not of time domain, in
other words not having seconds as X.
Examples
examine -time 500ps *
Tip
See also examine in the Questa ADMS Command Reference.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
exit
exit
Exits the EZwave viewer.
Usage
exit [-force] [-discard]
Parameters
• -force
(Optional) If specified, the EZwave viewer quits and bypasses the confirmation dialog box.
If this option is not specified, the confirmation dialog box displays and requires a manual
confirmation.
• -discard
(Optional) If specified, the EZwave viewer quits and bypasses the unsaved data dialog box
(any unsaved data is lost). If this option is not specified, the unsaved data dialog box
displays and requires a manual confirmation.
Caution
If the -discard option is specified, all unsaved data is lost.
Return Values
None.
Examples
exit
exit -force
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
find analogs
find analogs
Returns the names of all the analog objects (quantities and terminals) matching the specified
pattern.
Usage
find analogs object_name ...
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• object_name
(Required) Specifies the name of an object you want to search. Multiple names and
wildcards are supported. You can use the extended options detailed in Selecting Waveforms
in Tcl to select the objects(s). You can use more than one option in the same command.
Examples
See the examples in the Using find Commands section.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
find currents
find currents
Returns the names of all the current objects matching the specified pattern.
Usage
find currents object_name ...
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• object_name
(Required) Specifies the name of a current object you want to search. Multiple names and
wildcards are supported. You can use the extended options detailed in Selecting Waveforms
in Tcl to select the objects(s). You can use more than one option in the same command.
Description
The find currents and find signals -i commands are synonymous; both commands return the full
pathnames of all analog and digital objects that match the name specification.
Examples
See the examples in the Using find Commands section.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
find digitals
find digitals
Returns a list of digital signals matching the specified pattern.
Usage
find digitals item_name ...
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• item_name
(Required) Specifies the name of an item you want to search. Multiple names and wildcards
are supported. You can use the extended options detailed in Selecting Waveforms in Tcl to
select the waveform(s). You can use more than one option in the same command.
Examples
See the examples in the Using find Commands section.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
find nets | signals
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• item_name
(Required) Specifies the name of an object you want to search. Multiple names and
wildcards are supported. You can use the extended options detailed in Selecting Waveforms
in Tcl to select the signal(s). You can use more than one option in the same command.
Description
The find nets and find signals commands are synonymous; both commands return the full
pathnames of all analog and digital objects that match the name specification. Objects listed
include signals, quantities, and terminals unless these have been specifically excluded by using
the respective argument.
Examples
See the examples in the Using find Commands section.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
getactivecursortime
getactivecursortime
Returns the location of the active cursor.
Usage
getactivecursortime [-window window_name]
Parameters
• -window window_name
(Optional) Specifies the window from which to return the location of the active cursor. If
this is not specified, the location of the active cursor in the active window is returned.
Examples
getactivecursortime -window "Wave:2"
Note
The getactivecursortime command is equivalent to the wave cursortime command with no
time or cursor name specified.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
precision
precision
Sets the double or cursor display precision.
Usage
precision [-double | -cursor] [precision_value#]
Parameters
• -double | - cursor
(Optional)
o -double - Enables the setting of the number of digits displayed when double-
precision numbers are displayed in waveforms.
o -cursor - Enables the setting of the number of digits displayed when in cursor flags.
• precision_value#
Specifies the number of digits to be set.
Note
The # character is accepted for Questa SIM compatibility, but ignored by EZwave.
Examples
precision -cursor 8#
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
printenv
printenv
Displays the name and value of environment variables.
Usage
printenv [variable_name]
Parameters
• variable_name
(Optional) Specifies which environment variable name and value to display. If this is not
specified, the command will return information on all environment variables.
Return Values
Returns a name and value pair of the specified environment variable (or all the variables if not
specified) in the form of:
variable_name = value
Description
This command displays the name and value of environment variables. If no variable name is
specified, it returns all environment variable information.
Examples
printenv PRINTER
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
quit
quit
Exits the EZwave viewer.
Usage
quit [-force ] [-discard]
Parameters
• -force
(Optional) If specified, the EZwave viewer quits and bypasses the confirmation dialog box.
If this option is not specified, the confirmation dialog box displays and requires a manual
confirmation.
• -discard
(Optional) If specified, the EZwave viewer quits and bypasses the unsaved data dialog box
(any unsaved data is lost). If this option is not specified, the unsaved data dialog box
displays and requires a manual confirmation.
Caution
If the -discard option is specified, all unsaved data is lost.
Return Values
None.
Examples
quit
quit -force
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix
radix
Defines the default bus radix or returns the current default if no radix is specified.
Usage
radix [-symbolic | -onescomplement | -magnitude | -binary |
-octal | -decimal | -hexadecimal | -unsigned | -ascii | -time]
[-enumnumeric | -enumsymbolic | radix_name ] [-tograydec] [-graytodec]
[-fpoint n]
Parameters
• -symbolic
Ignored; for compatibility purposes only.
• -onescomplement
(Optional) Specifies the default radix to be one’s complement.
• -magnitude
(Optional) Specifies the default radix to be signed magnitude.
• -binary
(Optional) Specifies the default radix to be binary.
• -octal
(Optional) Specifies the default radix to be octal.
• -decimal
(Optional) Specifies the default radix to be decimal (two’s complement).
• -hexadecimal
(Optional) Specifies the default radix to be hexadecimal.
• -unsigned
(Optional) Specifies the default radix to be unsigned decimal.
• -ascii
(Optional) Specifies the default radix to be ascii.
• -time
Ignored; for compatibility purposes only.
• -enumnumeric
Ignored; for compatibility purposes only.
• -enumsymbolic
Ignored; for compatibility purposes only.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix
• radix_name
Specifies the name of a user-defined radix.
• -tograydec
(Optional) Converts decimal representation radix to gray radix.
• -graytodec
(Optional) Coverts gray radix to decimal representation radix.
• -fpoint n
(Optional) Specifies n fixed-point radix.
Examples
radix -binary
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix define
radix define
Defines a new radix.
Usage
radix define radix_name {radix_value, radix_label [radix_value2,
radix_label2 … radix_valueN, radix_labelN] [-default radix_type] [-color
color]}
Parameters
• radix_name
(Required) Specifies a name for the radix.
• radix_value, radix_label [radix_value2, radix_label2 … radix_valueN, radix_labelN]
(Required) Specifies a comma separated list of number pattern and label pairs for the radix.
Use the wildcard character ? to specify a range of pattern values. The first matching pattern
from the top of the list is used if there is more than one match.
• -default radix_type
(Optional) Specifies the radix to use if a match is not found for a given value.
• -color color
(Optional) Specifies the display color for each state. Supported color keywords are:
o black
o white
o gray
o lightgray
o darkgray
o red
o green
o blue
o yellow
o orange
o cyan
o magenta
o pink
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix define
Return Values
None.
Examples
# Defines a new radix named States
radix define States {
6'b01??00, WRITE
6'b10??00, READ
-default hex }
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix delete
radix delete
Removes the radix definition from the named radix.
Usage
radix delete radix_name
Parameters
• radix_name
(Required) Specifies the name of the radix.
Return Values
None.
Examples
# Removes the radix definition from the radix named States
radix delete States
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix list
radix list
Returns the complete definition of the named radix.
Usage
radix list [radix_name]
Parameters
• radix_name
(Optional) Specifies the name of the radix.
Return Values
Returns the complete definition of the named radix or the definition of all currently defined
radices if a name is not specified.
Description
This command returns the complete definition of the named radix. If no radix name is specified,
it returns a list of all the defined radices.
Examples
# Define a new radix named States
radix define States {
6'b01??00, WRITE
6'b10??00, READ
-default hex }
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix names
radix names
Returns a list of all the defined radices.
Usage
radix names
Parameters
• None.
Return Values
Returns a list of all the radices if not specified in the form.
Examples
radix names
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
radix signal
radix signal
Sets the radix value for the specified waveforms, or if the radix value is not specified it inspects
the radix values.
Usage
radix signal [waveform_name [radix_value]][-fpoint decimal]
Parameters
• waveform_name
(Optional) Specifies the name of the waveform(s) for which the radix is set or inspected.
• radix_value
(Optional) Specifies the value of the radix to be set for the specified waveform.
Use empty quotation marks ( " " ) to unset the radix for a specified signal.
• -fpointdecimal
(Optional) Ignored.
Return Values
None.
Examples
# Sets the radix value for waveform :top:sigout
radix signal :top:sigout States
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
save
save
Saves the specified Waveform Calculator measure.
Usage
save("name")
Arguments
• "name"
(Required) Specifies the name of the Waveform Calculator variable to save. The double
quotes (" "), are required for the internal function parameter.
Description
The save is effective at the end of the Tcl evaluation, not when the line is executed.
Examples
save("mySndr")
Related Topics
wfc
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
setenv
setenv
Sets or displays the value of the specified environment variable.
Usage
setenv variable_name [value]
Parameters
• variable_name
(Required) Specifies the environment variable name to be set or displayed.
• value
(Optional) The value to which the environment variable is set. If this is not specified, the
command will display the current value.
Return Values
The value of the environment variable.
Description
Sets or displays the value of the specified environment variable. If no value is specified, this
command displays specified environment variable’s value.
Examples
setenv MGC_AMS_HOME /home/smith/2007.2
# Sets the value of the environment variable MGC_AMS_HOME to
# /home/smith/2007.2
setenv MGC_AMS_HOME
# Returns /home/smith/2007.2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
unsetenv
unsetenv
Unsets an environment variable.
Usage
unsetenv variable_name
Parameters
• variable_name
(Required) Specifies the environment variable name to be unset.
Return Values
None.
Note
The settings are not persistent and are available only within an EZwave session.
Examples
unsetenv MY_TCL_VAR
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave activecursor
wave activecursor
Sets the specified cursor as the active cursor.
Usage
wave activecursor [-window window_name] [cursor_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to set the active cursor. If this is not specified, the
active cursor is set in the active window.
• cursor_name
(Optional) Specifies the cursor to set as the active cursor. If this is not specified, the name of
the active cursor is returned.
Examples
To make cursor C2 the active cursor in the active window:
wave activecursor C2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave activewindow
wave activewindow
Returns the name of the currently active window, or sets a specified window to be active.
Usage
wave activewindow [-title window_name]
Parameters
• -title window_name
(Optional) Specifies the window to be made active. If -title is not specified, returns the name
of the currently active window.
Examples
To return the name of the currently active window:
wave activewindow
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave activeworkspace
wave activeworkspace
Causes the specified workspace to become active.
Usage
wave activeworkspace [workspace_name]
Parameters
• workspace_name
(Optional) Specifies the name of the workspace to become active. If workspace_name is
omitted, this command returns the current active workspace name.
Return Values
None if an argument is specified. If no argument is specified, returns the active workspace
name.
Examples
wave activeworkspace ADC12
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addannotation
wave addannotation
Adds a text annotation to a waveform at the specified location in the active window.
Usage
wave addannotation -x x_value [-y y_value] -text text [-snap]
[-window | waveform_name ] [-anchor_style <NONE|POINT|DOT>]
[-line_style <NONE|SOLID>] [-outline] [-vertical_line]
[-show_outline <true|false>] [-show_vline <true|false>]
[-text_font <name|family> <PLAIN|BOLD|ITALIC> <size>]
[-text_color #<rgb_value>]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -x x_value
(Required) Specifies the X value at which the annotation is added. If a Y value is specified,
the annotation is added at the location, ( x_value, y_value ). Otherwise, the command
analyzes the waveform data and places the annotation on the waveform at the specified X
value.
• -y y_value
(Optional) Specifies the Y value at which the annotation is added, at the location, ( x_value,
y_value ). If this option is not specified, the command analyzes the waveform data and
places the annotation on the waveform at the specified X value.
• -text text
(Required) Specifies the annotation text. Quotation marks ( " " ) are required for text that
include spaces. Annotation text may also include multiple lines by using \n.
• -snap
(Optional) Specifies that the text annotation snaps to the nearest waveform datapoint.
• -window | waveform_name
(Optional) If waveform_name is specified, the annotation is added to that waveform. You
can use the extended options detailed in Selecting Waveforms in Tcl to select the waveform.
You can use more than one option in the same command.
If the waveform is displayed several times in the active window, the last occurrence of the
waveform is annotated. If no waveform name is specified, the last displayed waveform in
the active window is annotated.
If -window is specified, the annotation is added to the active window, and not the waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addannotation
• -anchor_style <NONE|POINT|DOT>
(Optional). Selects the symbol to use at the anchor point between the waveform and the text
annotation. Available only for annotations that are attached to waveforms.
• -line_style <NONE|SOLID>
(Optional). Controls the visibility of the line between the anchor point and the text
annotation box. Default is SOLID. Available only for annotations that are attached to
waveforms.
• -outline
(Optional) Supported for backward compatibility with legacy Tcl scripts.
• -vertical_line
(Optional) Supported for backward compatibility with legacy Tcl scripts.
• -show_outline <true|false>
(Optional). Controls the visibility of the text box on the new text annotation. Default is true.
• -show_vline <true|false>
(Optional). Controls the visibility of a vertical line at the anchor point between the
waveform and the text annotation. Available only for annotations that are attached to
waveforms. Default is false.
• -text_font <name|family> <PLAIN|BOLD|ITALIC> <size>
(Optional). Specifies the font, style and point size to use for the new text annotation.
• -text_color #<rgb_value>
(Optional). Specifies the color to use for the new text annotation.
The RGB color code is a hexadecimal value preceded by a ‘#’ representing #RRGGBB,
where RR represents the red value, GG represents the green value, and BB represents the
blue value. For example, #0000ff is blue, #000000 is black, and #ffffff is white.
Return Values
The annotation identifier marker mk:# where # is a number.
Examples
• This example adds a simple text annotation:
wave addannotation -x 149.980n -text simple
• This example adds a text annotation and snaps it to the nearest waveform datapoint:
wave addannotation -x 150n -y 3.3 -text "Annotation with snap" -snap
• This example adds a 2 line text annotation with custom font and color properties.
wave addannotation -x 300n -text “Annotation with custom\n font and
color properties” -text_font Jomolhari ITALIC 14 -text_color #ff4040
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addaxisdeltamarker
wave addaxisdeltamarker
Adds a delta marker, between two values, on the selected waveform. The marker can be
horizontal or vertical. Optionally text can be added to this marker.
Usage
wave addaxisdeltamarker -wf waveform_name {-XDelta | -YDelta} -X1 xdata1
-X2 xdata2 [-text text]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -wf waveform_name
(Required) Specifies the name of the waveform.
• {-XDelta| -YDelta}
(Required)
o -XDelta - specifies that the marker is to show information about an x delta.
o -YDelta - specifies that the marker is to show information about a y delta.
• -X1 xdata1
(Required) Specifies the co-ordinate of the first point of the delta marker. The x-coordinate
is used if -XDelta is set,. If -YDelta is set, -X1 specifies the y-coordinate of the first point to
be used.
• -X2 xdata2
(Required) Specifies the co-ordinate of the second point of the delta marker. The x-
coordinate is used if -XDelta is set. If -YDelta is set, -X2 specifies the y-coordinate of the
second point to be used.
• -text text }
(Optional) Specifies the text for the delta marker. Quotation marks ( " " ) are required for
text that include spaces. Text may also include multiple lines by using \n
Return Values
None.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addaxisdeltamarker
Examples
wave addaxisdeltamarker -wf -show calc.V -notop -separator / calc/
SMeas_clk2 -XDelta -x1 0.0 -x2 146143.06591866582 -text "Measurement
Window"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addcursor
wave addcursor
Creates a new cursor in the specified window.
Usage
wave addcursor [-window window_name] [-time time | X_value]
[-horizontal [-row row_index] [-axis axis_name]] [-name cursor_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to create the cursor. If this is not specified, the
cursor is created in the active window.
• -time time
(Optional) Specifies the time value where the new cursor should be created.
• X_value
(Optional) Specifies the value along the x-axis where the new cursor should be created.
Note
If neither a time nor an X_value is specified, the cursor is created at the beginning of
the visible domain area.
• -horizontal
(Optional) Creates a horizontal cursor at the specified point on the y-axis.
• -row row_index
(Optional. For horizontal cursors only) Specifies which row in the graph window to add a
horizontal cursor. row_index takes a value of 1 to n, where the top row has the index value
of 1, the second row, 2, and so on. The default value for row_index is n (the last row in the
graph window).
• -axis axis_name
(Optional. For horizontal cursors only) Specifies the name of the axis to add a horizontal
cursor to, when there are multiple axes in a row.
• -name cursor_name
(Optional) Specifies a name for the cursor.
Examples
To add a cursor in the active window at an X value of 100 ns:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave adddeltamarker
wave adddeltamarker
Adds a delta marker waveform(s) at the specified location(s) in the active window.
Usage
wave adddeltamarker {-xdelta | -ydelta} -wf1 waveform_name1 -x1 x_value1
-y1 y_value1 [-wf2 waveform_name2] -x2 x_value2 -y2 y_value2 [-text text]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• {-xdelta| -ydelta}
(Required)
o -xdelta - specifies that the marker is to show information about an x delta.
o -ydelta - specifies that the marker is to show information about a y delta.
• -wf1 waveform_name1
(Required) Specifies the name of the waveform to which the first point of the delta marker is
to be attached.
• -x1 x_value1
(Required) Specifies the x co-ordinate of the first point of the delta marker.
• -y1 y_value1
(Required) Specifies the y co-ordinate of the first point of the delta marker.
• -wf2 waveform_name2
(Optional) Specifies the name of the waveform to which the second point of the delta
marker is to be attached. If not specified it will default to the same waveform as -wf1
• -x2 x_value2
(Required) Specifies the x co-ordinate of the second point of the delta marker.
• -y2 y_value2
(Required) Specifies the y co-ordinate of the second point of the delta marker.
• -text text }
(Optional) Specifies the text for the delta marker. Quotation marks ( " " ) are required for
text that include spaces. Text may also include multiple lines by using \n
Return Values
None.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave adddeltamarker
Examples
wave adddeltamarker -xdelta -wf1 v_load -x1 0.03851623740539206 -y1
8.505201152235028E-4 -x2 0.051913040161787515 -y2 4.999999302642095 -text
"dx = 13.40M s\ndy = 5.00 V"
# Adds a delta marker with text to two points on the same waveform
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addline
wave addline
Adds a horizontal or vertical line to a waveform in the active window.
Usage
wave addline {-x | -y} value [waveform_name] [-text annotation_text]
[-drag] [-hash {up | down | left | right}]
Parameters
• { -x| -y} value
(Required) Specifies the location and direction of the line to be added. -x value specifies a
vertical line at the specified value on the x-axis. -y value specifies a horizontal line at the
specified value on the y-axis. The units correspond to the units used in the waveforms.
• waveform_name
(Optional) If this option is specified, the command adds a line marker to that waveform’s
row. If that waveform is displayed several times it is added to the last occurrence. If not
specified it will default to the last displayed waveform.
Note
This command applies only to waveforms that are currently displayed. Use the add
wave command to display the relevant waveforms before calling this command.
• -text annotation_text
(Optional) Specifies the text to add as an annotation to the line. Quotations ( " " ) are only
required if there are spaces in the text.
• -drag
(Optional) If this option is specified, the line marker can be dragged. By default, the added
line cannot be dragged.
• -hash { up | down | left | right }
(Optional) If this option is specified, a hash pattern is placed in the specified location
relative to the line: up or down for horizontal lines, and left or right for vertical lines. This
may be useful in marking limits in the graph.
Return Values
The line identifier in the form of mk:# where # is a number.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addline
Examples
wave addline -x 150n -text limit -hash left
# Adds a vertical marker at time 150n with hash on left of line, with text
# 'limit'
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addmarker
wave addmarker
Adds a vertical marker to the specified location.
Usage
wave addmarker [-window window_name] [-name name] [-time {time | x_value}]
Parameters
• -window window_name
(Optional) Specifies the name of the window to which the marker is added. If this option is
not specified, the marker is added to the active window.
• -name name
(Optional) Specifies the name to be given to the marker.
• -time { time | x_value }
(Optional) Specifies the location of the marker, designated by a time value or an X value. If
this option is not specified, the marker is placed at the left-most point in the window.
Return Values
The marker identifier in the form of m# where # is a number, starting from 1.
Description
This command adds a vertical marker to the specified location. This corresponds to the Add
Marker button in the Event Search Tool Dialog Box.
Examples
wave addmarker -time 100n
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addproperty
wave addproperty
Adds a property to a waveform.
Note
This command modifies the dataset. You may use the “dataset save” command to save the
dataset before exiting. You can then see the property name and value when you mouse over
the waveform name or waveform data.
Usage
wave addproperty waveform_name -name property_name -value property_value
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• waveform_name
(Required) Specifies the waveform to which the property will be added. You can use the
extended options detailed in Selecting Waveforms in Tcl to select the waveform. You can
use more than one option in the same command.
• -nameproperty_name
(Required) Specifies the name of the property to be added to the waveform.
• -valueproperty_value
(Required) Specifies the value of the property to be added to the waveform. This can be
either a number or a string.
Examples
wave addproperty OUT -name PRUN -value 1
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addwindow
wave addwindow
Creates a new graphical window in the EZwave session window and makes it active.
Usage
wave addwindow [-title window_title] [-divider ratio]
[-width width -height height] [-x xPosition -y yPosition]
Parameters
• -title window_title
(Optional) Specifies the name of the window to be created. “-title” may be omitted.
• -divider ratio
(Optional) Specifies the position of the divider inside the graph window. The divider is the
vertical line that separates the waveform names and the waveforms area. ratio must be
between 0 and 1. The default value is 0.91.
• -width width -height height
(Optional) Specifies the width and height of the new window.
• -x xPosition -y yPosition
(Optional) Specifies the x and y position of the new window.
Return Values
The name of the created window (by default, Wave:#, where # is a number).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave addworkspace
wave addworkspace
Creates a new workspace in the EZwave session window.
Usage
wave addworkspace [workspace_name] [-active]
Parameters
• workspace_name
(Optional) Specifies the name of the workspace to be created. If workspace_name is not
specified, a default name, Workspace#, is used, where # is a number.
• -active
(Optional) Indicates that the workspace created should become the active workspace.
Examples
wave addworkspace ADC12
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave cdf
wave cdf
Generates and displays a CDF based on the input waveform, or on the saved histogram data in a
.wdb file generated from an Eldo Monte Carlo simulation.
Usage
wave cdf <-show …>
[-start <x_start> -end <x_end>]
[-normalize x|xx|y|yx|yxx]
[-sample] [-gauss] [-pdf] [-confidence]
[-bounds | [-lbound <value> | -ubound <value>]]
[-average] [-mean] [-nominal] [probability #(,#)*] [-sigma #(,#)*]
[-stat_legend] [-stat_legend_text <text_pattern>] [-none]
[-tail [left|right]]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -start <x_start>
Sets the start of the range for the input waveform (same as window() function). See Note
below.
• -end <x_end>
Sets the end of the range for the input waveform (same as window() function). See Note
below.
Note
If the CDF waveform has an associated source waveform (a “HISTO_SRC”
property), then -start and -end apply to the associated source waveform. Otherwise -
start and -end apply to the CDF waveform directly.
• -normalize <p>
Normalizes the CDF. <p> is “y” and/or “x” or “xx”.
“y”—normalize Y. Currently has no effect.
“x”—shift input values so that mean equals 0.
“xx”—shift input values so that mean equals 0 and stddev equals 1.
Valid values are: “x”, “xx”, “y”, “yx”, “yxx”.
• -sample
Samples the input waveform (keep the same number of points, but equally distributed along
the x-range of the input waveform).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave cdf
• -gauss
Plots the integral of the associated theoretical CDF, calculated as an integral of the Gaussian
distribution for the average and standard deviation.
• -pdf
Plots the integral of the PDF waveform (when available in the waveform database file
generated by an Eldo Monte Carlo simulation.
• -confidence
Plots the upper and lower confidence bounds, when provided by the Eldo simulation, using
“.MC dataflow=1” in the netlist. An example is shown in Figure C-4.
Figure C-4. Example CDF with Upper and Lower Confidence Bounds
• -bounds
Alias for “-lbound sim -ubound sim”.
• -average
Draws the average (single measure).
• -mean
Draws the mean (single measure).
• -nominal
Draws the nominal value (when available in the input file) (single measure).
• -probability <p>
Draws the probability intervals (twin measures). The plotted probabilities are based on
empirical values. <p> is a comma-separated list of probabilities, from 0 to 1, or from 0% to
100%.
Example of valid value: “0.6827,0.9545,0.98,99%”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave cdf
• -sigma <p>
Deprecated. Draws the N-sigma intervals (twin measures). <p> is a comma-separated list of
integers, from 1 to 7.
• -stat_legend
Draws the stat legend. If -stat_legend_text is not provided, EZwave uses the default
preferences set in the CDF Legend Options.
• -stat_legend_text
The text for the stat legend. This is a template (composed of text and @(…) tags). This has
no effect until -stat_legend is specified.
• -none
Does not add the default presentation. When no parameters (except those specifying the
waveform) are set for the wave cdf command, then the default settings are used (set from the
CDF options on the EZwave Display Preferences Dialog Box).
• -tail
Plots the left or right tail of a transformed CDF with the Y Axis in a log scale. Valid values
are “left” and “right”. Gaussian distribution, PDF, all measures, and statistical legends are
disabled when the tail is specified. This is not available through the graphical interface. An
example is shown in Figure C-5.
Note
The plots of the CDF or its tails are mutually exclusive: you have to use the
command three times with different arguments to plot the CDF, the right tail, and the
left tail.
Return Values
None.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave cdf
Description
Generates and displays a CDF based on the input waveform, or on the saved CDF in a .wdb file
generated from an Eldo Monte Carlo simulation.
Tip
See also Cumulative Distribution Functions in the Eldo User’s Manual and .CDF in the
Eldo Reference Manual.
Related Topics
Plotting CDFs
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave clean
wave clean
Takes a name and returns a new name with any special characters replaced by “_”. This is
useful, for example, when scripting inside EZwave and creating waves through the waveform
calculator, where the labels chosen to create the waves might cause the script to work
incorrectly.
Usage
wave clean name
Parameters
• name
(Required) Specifies the name to be processed.
Return Values
Returns a new name with any special characters replaced by “_”.
Examples
The input name test#inst.hier is returned as test_inst_hier.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave closewindow
wave closewindow
Closes a specified window, all windows, or all windows in the workspace.
Usage
wave closewindow [window_name] | [-all | -workspace]
Parameters
• window_name
(Optional) Specifies the name of the graph window to close.
• -all | -workspace
(Optional) Specifies whether to close all currently open windows or to close all windows
currently open in the workspace.
Description
Closes a specified window, all windows, or all windows in the workspace. If no argument is
specified, this command closes the last window opened.
Examples
wave closewindow -workspace
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave colortheme
wave colortheme
Sets the graphical display or print color scheme.
Usage
wave colortheme [black | white | mono | doc] [-print]
Parameters
• black | white | mono | doc
(Optional) Defines the color theme to be set. If no argument is set it defaults to the current
color theme.
• -print
(Optional) If this option is specified the color theme is set for printing only, and does not
alter the graphical display.
Examples
wave colortheme doc -print
write wave filename.ps
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave createbus
wave createbus
Creates a bus containing the specified waveforms, inside the calc database.
Usage
wave createbus <bus_name> <wf_name_1> ... <wf_name_n>
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• <bus_name>
(Required) Specifies a name for the bus.
• <wf_name_1> ... <wf_name_n>
(Required) Specifies the waveforms to add to the bus.
You can use the set of options described in “Selecting Waveforms in Tcl” on page 955 to
select waveforms to add to the bus.
Examples
This example adds the waveforms vip_1 to vip_8 to a bus called mybus:
wave createbus mybus vip_1 vip_2 vip_3 vip_4 vip_5 vip_6 vip_7 vip_8
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave cursortime
wave cursortime
Moves a cursor to the specified position.
Usage
wave cursortime [-window window_name] [-time time | X_value ]
[cursor_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to move a cursor. If this is not specified, a cursor
in the active window is moved.
• -time time
(Optional) Specifies the time value to which the cursor should be moved.
• X_value
Specifies the value along the x-axis to which the cursor should be moved.
Note
If neither a time nor an X_value is specified, the cursor’s location is returned.
• cursor_name
(Optional) Specifies the cursor to be moved. If cursor_name is not specified, the command
applies to the active cursor in the specified window.
Examples
To move cursor C2 in the active window to an X value of 100 ns:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave deletecursor
wave deletecursor
Deletes the specified cursor.
Usage
wave deletecursor [-window window_name] [cursor_name | cursor_id]
Parameters
• -window window_name
(Optional) Specifies the window from which to delete the cursor. If this is not specified, a
cursor in the active window is deleted.
• cursor_name | cursor_id
(Optional) Specifies the cursor to be deleted. cursor_name is the full name of the cursor, for
example, C2. cursor_id is the cursor’s number, for example, 2. If no cursor_name or
cursor_id is specified, the active cursor is deleted.
Examples
To delete cursor C2 in the active window:
wave deletecursor C2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave difference
wave difference
Generates and displays a waveform corresponding to the difference between the first and
second waveforms specified.
Usage
wave difference waveform_name1 waveform_name2 [-name out_waveform_name]
[-spice]
Parameters
• waveform_name1
(Required) Specifies the first input waveform. You can use the extended options detailed in
Selecting Waveforms in Tcl to select the waveform. You can use more than one option in
the same command.
• waveform_name2
(Required) Specifies the second input waveform. You can use the extended options detailed
in Selecting Waveforms in Tcl to select the waveform. You can use more than one option in
the same command.
• -name out_waveform_name
(Optional) Specifies the name of the output waveform.
• -spice
(Optional) Specifies that compatibility with Spice is to be ensured for the naming of the
output waveform, generating W(<difference>).
Return Values
None.
Error Messages:
Table C-8. wave difference Error Messages
Error Message Description
No object matching At least one of the input waveforms is not
found.
Difference requires 2 objects Only one input waveform has been
specified. Two are required.
Too many objects for At least one of the regular expressions used
difference to describe the input waveform names has
identified more than one waveform.
Examples
wave difference Q1 Q2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave displayed
wave displayed
Retrieves a list of the displayed waveforms.
Usage
wave displayed [-window window_name | -allwindows | -activewindow]
[-color]
Parameters
• -window window_name
(Optional) Specifies a window to apply the command to. Only waveforms in the specified
window are listed.
• -allwindows
(Optional) Specifies that displayed waveforms in all windows should be listed.
• -activewindow
(Optional) Specifies that only the displayed waveform in the currently active window
should be listed.
• -color
(Optional) If this option is specified, RGB color information is included with each displayed
waveform listed.
Return Values
A Tcl list containing the displayed waveform names and color (if specified).
Examples
wave displayed
# returns:
# <test/tran>v(in)<test/tran>v(out) <test/tran>v(vdd)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave exists
wave exists
Indicates whether the specified waveform exists.
Usage
wave exists waveform_name
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• waveform_name
(Required) Specifies name of the waveform of interest. You can specify multiple
waveforms and use wildcards. You can also use the extended options detailed in Selecting
Waveforms in Tcl to select the waveform(s). You can use more than one option in the same
command.
Note
This command will apply to the last loaded dataset if the optional dataset name is not
specified within the waveform_name. See “Specifying Waveforms in Tcl” on
page 953.
Return Values
True or False indicating whether or not at least one waveform corresponding to the search string
is found.
Description
Indicates whether the specified waveform exists. It is used primarily for preventing errors by
enabling scripts to suggest an alternative action if a waveform does not exist in the dataset.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave exists
Examples
## Check if a waveform exists in the database
set wave1 ":adc12test_mixed_eldo_ms:yadc12:x1:clk"
set wave2 ":a:waveform:that:does:not:exist"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave ezwave_title
wave ezwave_title
Adds a custom title to the top of the EZwave main display.
Usage
wave ezwave_title new-title
Parameters
• new-title
(Required) Specifies the new title to be displayed.
Return Values
If the parameter new-title is set to “My Custom Title”, the displayed name will be “My Custom
Title (EZwave #Version# )”.
Examples
wave ezwave_title "My Custom Title"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave gettype
wave gettype
Returns the type of the waveform.
Usage
wave gettype waveform_name
Parameters
• waveform_name
(Required) Specifies name of the waveform of interest. You can use the extended options
detailed in Selecting Waveforms in Tcl to select the waveform. You can use more than one
option in the same command.
Return Values
Returns one of the following:
• analog
• voltage
• current
• digital
• real
• complex
• analog_bus
• digital_bus
• compound
• unknown
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave histogram
wave histogram
Generates and displays a histogram based on the input waveform, or on the saved histogram
data generated from an Eldo Monte Carlo simulation.
Usage
wave histogram <-show …> [-bins scott|sqrt|sturge|#] [-binscentered]
[-histosim] [-normalize <norm>] [-sample] [-pdf] [-cdf] [-gauss]
[-average] [-mean] [-nominal] [probability #(,#)*] [sigma #(,#)*]]
[-bounds | [-lbound|-ubound rule_value]] [-stat_legend]
[-stat_legend_text <text>] [-start x start] [-end x end]] [-median]
[-sigbin <gather_sigma>] [-empirical]
Parameters
Note
This command also has extended options, which are described in “Selecting Waveforms in
Tcl” on page 955.
• -average
Draws the average (single measure).
• -bins
Defines the number of bins. Allowed values are:
scott—apply Scott’s rule (see the Eldo User’s Manual for details).
sturge—apply Sturge’s rule (see the Eldo User’s Manual for details).
sqrt—the number of bins in the square root of the size of the input waveform.
Integer value.
• -binscentered
Extreme bins are centered on the ymin/ymax values of the input waveform.
• -bounds
Alias for “-lbound sim -ubound sim”.
• -cdf
Plots the CDF (cumulative density function) of the input waveform.
• -gauss
Plots the Gaussian distribution.
• -histosim
Uses the histogram stored in the waveform database file (when available in the file), instead
of computing a new one.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave histogram
• -lbound <p>
Specifies the lower bound position. <p> is composed of a rule and an optional figure,
separated by an underscore. Valid rules are: “sim”, “simOrUser”, “user”, “no”
Examples of valid parameters: “sim”, “simoruser_-3”, “user_3.14”, “no”.
See the description of Lower Bound/Upper Bound in the Histogram Measures Options topic
for more information.
• -mean
Draws the mean (single measure).
• -median
Draws the median value.
• -nominal
Draws the nominal value (when available in the input file) (single measure).
• -normalize <p>
Normalizes the histogram. <p> is “y” and/or “x” or “xx”.
“y”—normalize Y.
“x”—shift input values so that mean equals 0.
“xx”—shift input values so that mean equals 0 and stdev equals 1.
Valid values are: “x”, “xx”, “y”, “yx”, “yxx”.
• -pdf
Plots the PDF waveform (when available in the waveform database file generated by an
Eldo Monte Carlo simulation.stdev
• -sample
Samples the input waveform (keep the same number of points, but equally distributed along
the x-range of the input waveform).
• -sigbin <gather_sigma>
Truncates the histogram to a certain number of sigmas. Specify 0 for no gathering. Specify a
value above 0 to gather all the samples above mean + gather_sigma × sigma in the Above
bin, and all the samples below “mean - gather_sigma × sigma in the Below bin. The default
is 0.
• -probability <p>
Draws the probability intervals (twin measures). The plotted probabilities are based on
empirical values. <p> is a comma-separated list of probabilities, from 0 to 1, or from 0% to
100%.
Example of valid value: “0.6827,0.9545,0.98,99%”.
Figure C-7 shows an example histogram plot with probability annotations.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave histogram
• -sigma <p>
Deprecated. Draws the N-sigma intervals (twin measures). The plotted nSigmas are based
on the mean and standard deviation of the theoretical Gaussian distribution. <p> is a
comma-separated list of integers, from 1 to 7.
• -empirical
Specifies that the N-Sigma plot is based on the CDF. When not specified, the N-Sigma plot
is based on the mean and standard deviation of the theoretical Gaussian distribution.
• -start <x_start>
Sets the start of the range for the input waveform (same as window() function).
• -end <x_end>
Sets the end of the range for the input waveform (same as window() function).
• -stat_legend
Draws the stat legend. If -stat_legend_text is not provided, EZwave uses the default
preferences set in the Histogram Legend Options.
• -stat_legend_text
The text for the stat legend. This is a template (composed of text and @(…) tags). This has
no effect until -stat_legend is specified.
• -ubound <p>
Upper bound position. See -lbound for <p> valid values.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave histogram
See the description of Lower Bound/Upper Bound in the Histogram Measures Options topic
for more information.
• -window
Specifies the destination window.
• -windowTitle
Specifies the destination window.
Return Values
None.
Description
Generates and displays a histogram based on the input waveform, or on the saved histogram
data in a .wdb file generated from an Eldo Monte Carlo simulation.
Note
See also Histograms in the Eldo User’s Manual and .MC in the Eldo Reference Manual.
Related Topics
Plotting Histograms
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave jitter
wave jitter
Performs the calculation and plot of the specified jitter and its measurements.
Usage
wave jitter
{-Name {ABSOLUTE | ABSOLUTE_INTEG | PERIOD | PERIOD_INTEG | H_PERIOD |
FREQUENCY | C2C | C2C_INTEG | LT | LT_INTEG | TIE |
CONFIDENCE_INTERVAL}
{-SRC {src_wf_access_options}}
[-REF {ref_wf_access_options | ref_value}]
[-OUT_Name {output_wf_name}]
[-BEGin {t_start_value}]
[-END {t_stop_value}]
[-F0 {f0}]
[-Sampling_Points_NB {sampling_points_number}]
[-RMS_Jitter {rms_jitter_value}]
[-Gaussian_Samples_NB {<seq_start> <seq_end> <seq_step>}]
[-Confidence_Level {confidence_level_value}]
[-Edge {RISING | FALLING | EITHER}]
[-NB_Cycles {nb_cycles_value}]
[-DUTY_Cycle {duty_cycle_value}]
[-Single_Threshold {TRUE | FALSE}]
[-Single_Threshold_Ref {TRUE | FALSE}]
[-Topline {topline_value}]
[-Baseline {baseline_value}]
[-Threshold {threshold_value}]
[-Topline_Ref {topline_ref_value}]
[-Baseline_Ref {baseline_ref_value}]
[-Threshold_ref {threshold_ref_value}]
[-NEW_Window]
[-WINDOW {window_name}]
[-SCale {LINEAR | LOG10 | LOG2}]
[-MIN] [-MAX] [-MEAN] [-STDdev] [-PEAKtopeak] [-HISTOgram]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave jitter
Parameters
• -Name {ABSOLUTE | ABSOLUTE_INTEG | PERIOD | PERIOD_INTEG | H_PERIOD |
FREQUENCY | C2C | C2C_INTEG | LT | LT_INTEG | TIE |
CONFIDENCE_INTERVAL}
(Required) Specifies the short name of the required jitter type for calculation:
ABSOLUTE—Absolute Jitter (Time-Domain)
ABSOLUTE_INTEG—Absolute Jitter (Phase-Noise)
PERIOD—Period Jitter (Time-Domain)
PERIOD_INTEG—Period Jitter (Phase-Noise)
H_PERIOD—Half-Period Jitter (Time Domain)
FREQUENCY—Frequency Jitter (Time Domain)
C2C—Cycle-to-Cycle Jitter (Time-Domain)
C2C_INTEG—Cycle-to-Cycle Jitter (Phase-Noise)
LT—Long-Term Jitter (Time-Domain)
LT_INTEG—Long-Term Jitter (Phase-Noise)
TIE—Time Interval Error (TIE)
CONFIDENCE_INTERVAL—Jitter Confidence Interval
• -SRC {src_wf_access_options}
(Required) Specifies the source waveform(s) for which jitter is calculated.
src_wf_access_options
Source waveform access options (see add wave command).
• -REF {ref_wf_access_options | ref_value}
(Required for TIE jitter) Specifies a waveform to use as a reference waveform, with respect
to which jitter is calculated.
ref_wf_access_options
Reference waveform access options (see add wave command).
ref_value
Reference period or frequency value.
• -OUT_Name {output_wf_name}
(Optional) Jitter output waveform name. Default value: <jitter_type>_jitter.
• -BEGin {t_start_value}
(Optional) Specifies a start time for jitter calculation. If not used, the jitter calculation starts
at the beginning of the source waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave jitter
• -END {t_stop_value}
(Optional) Specifies a stop time for jitter calculation. If not used, the jitter calculation stops
at the end of the source waveform.
• -F0 {f0}
(Required for ABSOLUTE, PERIOD, H_PERIOD, FREQUENCY, and LT jitters, not used
for others) Specifies the fundamental or reference frequency.
• -Sampling_Points_NB {sampling_points_number}
(Optional) Defines if sampling will be applied to the source waveform during jitter
calculation and specifies the number of sampling points. Default is Automatic, where
sampling is applied with 100 points.
• -RMS_Jitter {rms_jitter_value}
(Required for CONFIDENCE_INTERVAL, not used for others) Specifies the RMS jitter
value, as calculated using the standard deviation.
• -Gaussian_Samples_NB {<seq_start> <seq_end> <seq_step>}
(Required for CONFIDENCE_INTERVAL, not used for others) Specifies the independent
Gaussian samples number sequence Start, End, and Step values.
• -Confidence_Level {confidence_level_value}
(Required for CONFIDENCE_INTERVAL, not used for others) Specifies the jitter
confidence level. Default is 99%.
• -Edge {RISING | FALLING | EITHER}
(Optional) Edge trigger applied to the waveforms, which participate in the jitter calculation.
The default is EITHER, where either the Rising or Falling Edge is used, depending on
which comes first in the specified time window.
• -NB_Cycles {nb_cycles_value}
(Optional) Number of waveform oscillation cycles which participate in the jitter calculation.
Used only for PERIOD, FREQUENCY, C2C, and LT jitters. Ignored for all others. If not
specified, the default number of cycles is used for PERIOD, FREQUENCY, and C2C jitters
and the automatically calculated value is used for LT jitter.
• -DUTY_Cycle {duty_cycle_value}
(Optional) Specifies the duty cycle applied to waveforms in H_PERIOD jitter calculations,
to calculate the amount of time the signal is active per period. Ignored for other jitters. If not
specified, the duty cycle value is calculated automatically for each waveform.
duty_cycle_value can be given as a percentage, using the percent character (for example,
50%).
• -Single_Threshold {TRUE | FALSE}
(Optional) If TRUE, the single threshold will be used for the source waveform period
calculation (topline/baseline values are ignored). If FALSE, topline/baseline will be used.
Default is FALSE.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave jitter
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave jitter
• -MAX
(Optional) Applies max measurement to the jitter result waveform. The appropriate marker
will be plotted over the waveform. Absent by default.
• -MEAN
(Optional) Applies mean measurement to the jitter result waveform. The appropriate marker
will be plotted over the waveform. Absent by default.
• -STDdev
(Optional) Applies stddev measurement to the jitter result waveform. The appropriate
marker will be plotted over the waveform. Absent by default.
• -PEAKtopeak
(Optional) Applies peak-to-peak measurement to the jitter result waveform. The appropriate
marker will be plotted over the waveform. Absent by default.
• -HISTOgram
(Optional) Apply histogram measurement to the jitter result waveform. The new “Monte
Carlo” histogram will be applied. Absent by default.
Examples
This example calculates and plots the period jitter for the specified source and reference
waveforms and time interval between 6e-6 sec and 7e-6 sec. The jitter result waveform name is
“period_jitter_res”. MIN, MAX and MEAN measurements are applied to the resulting jitter
waveform.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave launchfolder
wave launchfolder
Identifies the path to the directory that EZwave was launched from.
Usage
wave launchfolder
Parameters
• None.
Return Values
The path to the directory that EZwave was launched from.
Examples
wave launchfolder
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave listworkspace
wave listworkspace
Returns a list of workspaces.
Usage
wave listworkspace
Parameters
• None
Examples
wave listworkspace
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave loadbindings
wave loadbindings
Loads an EZwave keyboard shortcuts schema *.ezkey file.
Usage
wave loadbindings file.ezkey
Parameters
• file.ezkey
(Required) Specifies the EZwave keyboard shortcuts schema *.ezkey file to be loaded.
Examples
wave loadbindings file.ezkey
Related Topics
Configuring Keyboard Shortcuts
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave lockcursor
wave lockcursor
Specifies whether the distance between cursors are fixed or whether they can move
independently of each other.
Usage
wave lockcursor [ON | OFF]
Parameters
• ON
(Optional) Specifies that the distance between cursors are fixed. Dragging one cursor will
move the other cursors, keeping the distance between them the same.
• OFF
(Optional) Specifies that cursors are able to move independently of each other. Dragging
one cursor does not affect the other cursors.
Description
This command specifies whether the distance between cursors are fixed or whether they can
move independently of each other. Omit the argument to display the current cursor lock setting.
Examples
wave lockcursor ON
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave names
wave names
Determines whether waveform names within the graphical interface show the dataset names and
(or) the complete hierarchical paths.
Usage
wave names [-showdataset {on | off}] [-showhierarchy {on | off}]
Parameters
• -showdataset {on | off}
(Optional) Determines whether the dataset names are shown.
• -showhierarchy {on | off}
(Optional) Determines whether the complete hierarchical paths.
Examples
• Show the dataset names within the waveform names.
wave names -showdataset on
• Show the complete hierarchical paths within the waveform names and not the dataset
names.
wave names -showdataset off -showhierarchy on
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave plotcompress
wave plotcompress
Plots output power against input power in dBm and returns n-dB compression point. Only
supports compound waveforms.
Usage
wave plotcompress
-srcp {srcp_wf_access_options}
[-srcn {srcn_wf_access_options | 0.0}]
[-sweep_param<sweep_param_name>]
[-fund <fund_value>]
[-ndb <ndb_value>]
[-epin <epin_value>]
[-rload <rload_value>]
[-out_name <output_wf_name>]
Arguments
• srcp
(Required) Specifies a compound waveform with PAC scalar signals within an input power
sweep.
• srcn
(Optional) Specifies a second compound waveform with PAC scalar signals within an input
power sweep.
• sweep_param
(Optional) Specifies the sweep parameter. If not specified, the first sweep parameter found
is used.
• fund
(Optional) Specifies the fundamental or harmonic frequency (default nth(indep(src_p), 2)).
• ndb
(Optional) Specifies the number of dB by which the actual curve falls below an ideal linear
curve. Use ndb = 1 to extract the 1-db compression point (1 by default).
• epin
(Optional) Specifies the extrapolation point. Default is the first point in the input power
sweep.
• rload
(Optional) Specifies the load resistance (50 by default).
• out_name
(Optional) Specifies the output waveform name.
Return Values
Returns the ndb compression point.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave plotcompress
Related Topics
PlotCompress
wave plotpacipn
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave plotpacipn
wave plotpacipn
Takes a PAC spectrum signal pair at the desired and unwanted harmonics, within an input
power sweep, plots the pair of IPn curves and returns the intercept point. Only supports
compound waveforms.
Usage
wave plotpacipn
-srcp {srcp_wf_access_options}
-desired_harm_p<desired_harm_p_value>
-unwanted_harm_p <unwanted_harm_p_value>
[-srcn {srcn_wf_access_options}]
[-desired_harm_n <desired_harm_n_value>]
[-unwanted_harm_n <unwanted_harm_n_value>]
[-sweep_param <sweep_param_name>]
[-norder <norder_value>]
[-rload <rload_value>]
[-out_name <output_wf_name>]
Arguments
• srcp
(Required) Specifies a compound waveform with PAC scalar signals within an input power
sweep.
• desired_harm_p
(Required) Specifies the desired harmonic.
• unwanted_harm_p
(Required) Specifies the unwanted harmonic.
• srcn
(Optional) Specifies a second compound waveform with PAC scalar signals within an input
power sweep.
• desired_harm_n
(Optional) Specifies the desired harmonic, or 0.0 (default).
• unwanted_harm_n
(Optional) Specifies the unwanted harmonic, or 0.0 (default).
• sweep_param
(Optional) Specifies the sweep parameter. If not specified, the first sweep parameter found
is used.
• norder
(Optional) Specifies the order of the intercept point (3 by default).
• rload
(Optional) Specifies the load resistance (50 by default).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave plotpacipn
• out_name
(Optional) Specifies the output waveform name.
Return Values
Returns the norder intercept point.
Related Topics
PlotPacIPn
wave plotcompress
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave refresh
wave refresh
Redraws the contents of the specified window.
Usage
wave refresh [-window window_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to redraw waveforms. If this is not specified,
waveforms in the active window are redrawn.
Examples
wave refresh
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave rowfit
wave rowfit
Optimizes the row size in the specified window.
Usage
wave rowfit [-window window_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to redraw waveforms. If this is not specified, rows
are resized in the active window.
Examples
wave rowfit
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave runindexlist
wave runindexlist
Displays a list of run indices for the elements of the compound waveform specified. It is useful
for iterating through each element individually.
Usage
wave runindexlist waveform_name
Parameters
• waveform_name
(Required) Specifies the name of the compound waveform for which the run index list is to
be retrieved. You can use the extended options detailed in Selecting Waveforms in Tcl to
select the waveform. You can use more than one option in the same command.
Return Values
Returns a list of run indices for the elements of the compound waveform specified.
Error Messages:
Table C-9. wave runindexlist Error Messages
Error Message Description
No compound waveform The input waveform is not compound or the
found regular expression used has not found any
compound waveforms.
Too many waveforms found The regular expression used to describe the
input waveform name has identified more
than one compound waveform.
Examples
wave runindexlist :top:sigout
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave runparameters
wave runparameters
Displays a list of run parameters for the compound waveform specified. It is useful for iterating
through each element individually.
Usage
wave runparameters waveform_name
Parameters
• waveform_name
(Required) Specifies the name of the waveform for which the run parameter list is to be
retrieved. You can use the extended options detailed in Selecting Waveforms in Tcl to select
the waveform. You can use more than one option in the same command.
Return Values
Returns a list of run parameters for the compound waveform specified.
Error Messages:
Table C-10. wave runparameters Error Messages
Error Message Description
No compound waveform The input waveform is not compound or the
found regular expression used has not found any
compound waveforms.
Too many waveforms found The regular expression used to describe the
input waveform name has identified more
than one compound waveform.
Examples
wave runparameters :top:sigout
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave runparametervalue
wave runparametervalue
Displays the value of a specified run parameter associated with the run_index and compound
waveform specified.
Usage
wave runparametervalue -param param_name -run run_index waveform_name
Parameters
• -param param_name
(Required) Specifies the name of the run parameter for which the value is to be retrieved.
• -run run_index
(Required) Specifies the value of the run index for which the run parameter value is to be
retrieved.
• waveform_name
(Required) Specifies the name of the waveform for which the run parameter value is to be
retrieved. You can use the extended options detailed in Selecting Waveforms in Tcl to select
the waveform. You can use more than one option in the same command.
Return Values
Returns the value of the specified run parameter associated with the run index and compound
waveform specified.
Error Messages:
Table C-11. wave runparametervalue Error Messages
Error Message Description
No compound waveform The input waveform is not compound or the
found regular expression used has not found any
compound waveforms.
Too many waveforms found The regular expression used to describe the
input waveform name has identified more
than one compound waveform.
The object ‘<name>’ is not a The run index does not identify an element
compound waveform element of the compound waveform.
Parameter ‘<param_name>’ The parameter specified has not been found
is not found in compound in the specified element of the compound
waveform element ‘<name>’ waveform.
Examples
wave runparametervalue -param CORNER -run 2 :top:sigout
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave show
wave show
Defines the default net representation that is used when the add wave command is issued
without the -show option. If the -show option is specified with the add wave command (add
wave -show representation), it temporarily overrides the wave show defaults during the
execution of the add wave command and then returns to the wave show defaults.
Usage
wave show representation [|representation2| … |representationN]
Parameters
• representation [ |representation2 | ...| representationN]
(Optional) Specifies how signals are to be represented as a waveform. A representation is a
complete representation of a net and is composed of an analysis, a discipline, and a physic.
A dot ( . ) separates the analysis portion from the discipline and physic portion. There is no
separator between the discipline and the physic, as follows:
analysis.disciplinephysic
If more than one representation is specified, use a pipe ( | ) to separate them:
analysis.disciplinephysic|analysis.disciplinephysic|analysis.disciplinephysic
Refer to Appendix D for the supported representations.
Description
The defined representation defaults remains in effect until another wave show command is
issued or until the end of the script.
If you do not define the waveform representation with this command, the default is defined as
follows:
tran.v|ac.vdb|ac.vp
Examples
wave show ac.vdb
# The analysis is AC, the discipline is V, and the physic is DB.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave showgridlines
wave showgridlines
Allows gridlines to be set on or off in all new windows.
Usage
wave showgridlines {on | off}
Parameters
• {on | off}
(Required) Specifies whether gridlines should be displayed in all new windows.
Description
Allows gridlines to be set on or off in all new windows. Windows already created will not be
modified by this command.
Examples
wave showgridlines on
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave showzerolevels
wave showzerolevels
Activates the zero-levels in the rows where the waveform is displayed.
Usage
wave showzerolevels {on | off | horizontal | vertical}
Parameters
• {on | off | horizontal | vertical}
(Required)
o on - Activates the display of level lines at X=0 and Y=0.
o off - Deactivates the display of all zero level lines.
o horizontal - Activates the display of a level line at Y=0.
o vertical - Activates the display of a level line at X=0.
Description
Activates the zero-levels in the rows where the waveform is displayed. On/Off enables or
disables both horizontal and vertical levels. Horizontal/Vertical enables only the appropriate
horizontal or vertical levels. Windows already created will not be modified by this command.
Examples
wave showzerolevels horizontal
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave tandem mode
Parameters
• {on | off}
(Required) Specifies whether Tandem Mode is turned on or off.
Description
Tandem model enables you to plot waveforms with the same name from different databases.
Refer to “Plotting Waveforms with the Same Name using Tandem Mode” on page 124.
Examples
wave tandem mode on
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave tile
wave tile
Arranges multiple windows in the specified tiling style.
Usage
wave tile [-cascade | -horizontal | -vertical | -grid]
Parameters
• -cascade
(Optional) Arranges the windows in a “cascading” fashion. Windows are overlapped while
keeping an area of each window exposed so you can click on an individual window to bring
it to the front.
• -horizontal
(Optional) Arranges the windows in rows. Windows are displayed “above” and “below”
each other.
• -vertical
(Optional) Arranges the windows in columns. Windows are displayed side by side.
• -grid
(Optional) Arranges the windows in a grid fashion. Windows are displayed side by side in
columns as well as “above” and “below” each other in rows.
Examples
wave tile -cascade
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave windowlist
wave windowlist
Returns a list of all open graph windows.
Usage
wave windowlist
Parameters
• None
Examples
# Retrieves the x-axis scale type for each open window
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave xaxis
wave xaxis
Sets the x-axis unit title, and the x-axis scale to one of: linear, base 2 log, or base 10 log.
Usage
wave xaxis [-title title] [-scale {linear | log2 | log10}]
[-window window_name]
Parameters
• - title title
(Optional) Specifies the text to be displayed in place of the x-axis unit title.
• -scale { linear | log2 | log10 }
(Optional) Specifies the type of scale to use for the x-axis. Choose from linear, log2, or
log10. If this option is not specified, this command returns the current x-axis scale. This
option corresponds to the X Axis Properties Dialog Box.
• -window window_name
(Optional) If specified, this option applies the command to the specified window.
Otherwise, the command applies to the active window.
Return Values
None, if “-title” or “-scale” argument is specified.
If neither the “-title” or “-scale” argument is specified, this command returns the current x-axis
scale.
Examples
wave xaxis -title "User Time"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave yaxis
wave yaxis
Used to alter y-axis settings such as the y-axis name, alignment, unit title, scale, and alignment
for the specified row.
Usage
wave yaxis -row rowId [-axis axis_name] [-title title]
[-scale {linear | log2 | log10}] [-window window_name]
[-align {y1-refLevel,..}] [-spacing {y1-spacing,..}]
Parameters
• -row rowId
(Required) Specifies the row that the command is to be applied to. The rowId of the top row
is 1, increasing by 1 each row moving downwards.
Note
rowId identifiers are dynamic, with the top row always taking the value of 1.
• -axis axis_name
(Optional) Specifies the name of the y-axis to which the command is to be applied. By
default the axis is named “Y1”.
• - title title
(Optional) Specifies the text to be displayed in place of the y-axis unit title.
• -scale { linear | log2 | log10 }
(Optional) Specifies the type of scale for the y-axis. Choose from linear, log base 2, or log
base 10. If no value is specified, the current y-axis scale is returned. Specifying this option is
equivalent to setting the Axis Scale field on the Axis Properties Dialog Box.
• -window window_name
(Optional) If specified, the changes are applied to the specified window. Otherwise, the
command applies to the active window.
• -align {y1-refLevel,.. }
(Optional) Specifies how the axes are aligned. The -axis argument is the reference axis.
Values are specified in a comma-separated list of doubles starting with the first, Y1, y-axis.
For example:
-align {0.0,10}
• -spacing {y1-spacing,.. }
(Optional) Specifies the spacing for the axes. The -axis argument is the reference axis.
Values are specified in a comma-separated list of positive doubles starting with the first, Y1,
y-axis. For example:
-spacing {10.0,20.0}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave yaxis
Description
Used to alter y-axis settings such as the y-axis name, unit title and the scale, for the specified
row. If -title, -scale, -align, or -spacing are not specified, this command returns the current y-
axis scale.
Examples
This example applies some changes to the top row (rowId=1). Sets the title of the y-axis unit
title to “User Time” and specifies that the y-axis uses a logarithmic scale with base 2:
This example sets the scale of the axis in the first row of window Wave:2 to log2:
When a row contains multiple y-axes you can use the -axis argument to specify which axis to
apply the scale to. Without the -axis argument, the command will always apply the scale to the
first axis, Y1. The following command sets the scale of the axis Y1, located in the second row,
to log10:
In this example alignment and spacing are set for the axes:
wave yaxis -row 1 -axis y2 -align {0.0, 5.0} -spacing {10.0, 20.0}
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave zoomfull
wave zoomfull
Zooms out to show the entire x-axis of the specified graph window.
Usage
wave zoomfull [-window window_name]
Parameters
• -window window_name
(Optional) Specifies the window to apply the zoom to. If this is not specified, the zoom
applies to the active window.
Examples
wave zoomfull -window "Wave:2"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave zoomin
wave zoomin
Zooms in on the x-axis specified graph window, by the specified factor.
Usage
wave zoomin [-window window_name] [factor]
Parameters
• -window window_name
(Optional) Specifies the window to apply the zoom to. If this is not specified, the zoom
applies to the active window.
• factor
(Optional) Specifies the zoom factor to apply. If this is not specified, the default value of 2.0
is used.
Examples
• Zoom x-axis of the active window in by a factor of 2.0:
wave zoomin
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave zoomlast
wave zoomlast
Undoes the most recent zoom operation in the specified window.
Usage
wave zoomlast [-window window_name]
Parameters
• -window window_name
(Optional) Specifies the window in which to undo the zoom. If this is not specified, the undo
applies to the active window.
Examples
# Undo the previous zoom operation in the window "Wave:2":
wave zoomlast -window "Wave:2"
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave zoomout
wave zoomout
Zooms out on the x-axis of the specified graph window, by the specified factor.
Usage
wave zoomout [-window window_name] [factor]
Parameters
• -window window_name
(Optional) Specifies the window to apply the zoom to. If this is not specified, the zoom
applies to the active window.
• factor
(Optional) Specifies the zoom factor to apply. If this is not specified, the default value of 2.0
is used.
Note
Zooming over the y-axis is done through an option in the add wave command.
Examples
• Zoom x-axis of the active window out by a factor of 2.0:
wave zoomout
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wave zoomrange
wave zoomrange
Zooms in on the x-axis to a range bounded by the specified start and/or end points.
Usage
wave zoomrange [-window window_name] [start] [end]
Parameters
• -window window_name
(Optional) Specifies the window in which to apply the zoom. If this is not specified, the
zoom applies to the active window.
• start
(Optional) Specifies the start point for the range to zoom to.
• end
(Optional) Specifies the end point for the range to zoom to.
Note
If only one of start and end is specified, start is assumed to be 0 and the specified
number is assumed to be the endpoint. If neither start nor end is specified, the start-
and endpoints for the current zoom level are returned.
Examples
Zoom along the x-axis in the current window to a start time of 20 ns and an end time of 100 ns:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wfc
wfc
Invokes the EZwave Waveform Calculator to calculate the expression entered.
Usage
wfc expression
Parameters
• expression
(Required) An expression supported by the EZwave waveform calculator, where expression
can be name=<subExpression>.
• -save {name=<expression>}
(Optional) Saves the variable if it is named.
When expression starts with a name, then a variable with this name is instantiated in the
Waveform Calculator, and the name is returned. For waveforms, a default name is proposed
(e.g. wf0).
Return Values
The result value of the expression. It can be one of the following:
If expression is enclosed in double quotes (" "), value substitution is enabled and all strings
beginning with a dollar sign ($) are replaced by the variable they name. If an expression is
enclosed in braces ({ }), value substitution is disabled and the expression is evaluated as
presented.
Examples
set wf_diff [wfc {wf("<tutorial/Time-Domain_Results>v_load") -
wf("<tutorial/Time-Domain_Results>v_middle")}]
add wave $wf_diff
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
wfc
Related Topics
save
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
write jpeg
write jpeg
Exports the contents of a window to a specified JPEG image file.
Usage
write jpeg file_name [-window window_name]
[-header "dbTitle simuTitle wndTitle fromSimulator time date user
machine"]
[-blackbackground | -whitebackground | -monochrome | -documentation
|-colorasdisplayed]
[-visiblewindows]
[-resolution {screen | printerlow | printerhigh}]
Parameters
• file_name
(Required) Specifies the file (with optional full path) to which the window contents are to be
saved. If no path is specified, it defaults to the location from which EZwave was launched.
• -window window_name
(Optional) If this option is specified, the contents of the specified window is exported.
Otherwise, the contents of the active window is exported.
• -header "dbTitle simuTitle wndTitle fromSimulator time date user machine"
(Optional) If this option is specified, include one or more of the keywords to add header text
to the output. The first three keywords add the database title, netlist title, and window title to
the output. You can also add the time, date, user name, and machine name, optionally
specifying fromSimulator if you want these values to be the same as the simulator, rather
than current values.
• -blackbackground | -whitebackground | -monochrome | -documentation | -colorasdisplayed
(Optional) These options specify the color scheme for the exported image.
• -visiblewindows
(Optional) Specifies that the image to be created contains all windows as displayed in the
EZwave viewer. This argument is particularly useful when exporting tiled windows.
• -resolution { screen | printerlow | printerhigh }
(Optional) This option specifies the resolution of the exported image file. Selecting screen
sets the output resolution to the screen resolution. printerlow and printerhigh sets the
output resolution to approximately 4x and 16x the screen resolution, respectively.
Examples
write jpeg /user/adc12.jpg
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
write png
write png
Exports the contents of a window to a specified PNG image file.
Usage
write png file_name [-window window_name]
[-header "dbTitle simuTitle wndTitle fromSimulator time date user
machine"]
[-blackbackground | -whitebackground | -monochrome | -documentation
|-colorasdisplayed]
[-visiblewindows]
[-resolution {screen | printerlow | printerhigh}]
Parameters
• file_name
(Required) Specifies the file (with optional full path) to which the window contents are to be
saved. If no path is specified, it defaults to the location from which EZwave was launched.
• -window window_name
(Optional) If this option is specified, the contents of the specified window is exported.
Otherwise, the contents of the active window is exported.
• -header "dbTitle simuTitle wndTitle fromSimulator time date user machine"
(Optional) If this option is specified, include one or more of the keywords to add header text
to the output. The first three keywords add the database title, netlist title, and window title to
the output. You can also add the time, date, user name, and machine name, optionally
specifying fromSimulator if you want these values to be the same as the simulator, rather
than current values.
• -blackbackground | -whitebackground | -monochrome | -documentation | -colorasdisplayed
(Optional) These options specify the color scheme for the exported image.
• -visiblewindows
(Optional) Specifies that the image to be created contains all windows as displayed in the
EZwave viewer. This argument is particularly useful when exporting tiled windows.
• -resolution { screen | printerlow | printerhigh }
(Optional) This option specifies the resolution of the exported image file. Selecting screen
sets the output resolution to the screen resolution. printerlow and printerhigh sets the
output resolution to approximately 4x and 16x the screen resolution, respectively.
Examples
write png /user/adc12.png
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
write wave
write wave
Outputs window contents in PostScript format. It can be sent to a printer or a specified location.
Usage
write wave [file.ps | -file file.ps | -printer printer_name]
[-window window_name] [-landscape | -portrait]
[-papersize {a3 | a4 | a5 | b4 | b5 | letter | tabloid | ledger | legal |
executive}] [-copies number] [-allwaveforms | -visiblewaveforms]
[-activewindow | -allwindows | -visiblewindows] [-eps]
[-header "dbTitle simuTitle wndTitle fromSimulator time date user
machine"]
Parameters
• -file file.ps
(Optional) Sets the output file name in PostScript format.
• -printer printer_name
(Optional) Sets the printer in the network.
• -window window_name
(Optional) Sets the window to be printed. In case no -window is specified, the active
window is printed.
• -landscape
(Optional) Sets the printing orientation to be landscape (default).
• -portrait
(Optional) Sets the printing orientation as portrait.
• -papersize { a3 | a4 | a5 | b4 | b5 | letter | tabloid | ledger | legal | executive }
(Optional) Specifies the paper size for printing. These paper sizes correspond to the sizes
found in the File > Print dialog box.
• -copies number
(Optional) Specifies the number of copies to print.
• -allwaveforms | visiblewaveforms
(Optional) Specifies whether to print all waveforms or just the visible waveforms. If this
option is not specified, only visible waveforms are printed.
• -activewindow | -allwindows | -visiblewindows
(Optional) Specifies which windows to print. By default, when multiple windows are open,
only the active window is printed. If “-allwindows” is specified, all windows are printed,
one per page. If “-visiblewindows” is specified, only the visible windows are printed, also
one per page.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
• -eps
(Optional) If this option is set, the command generates an Encapsulated PostScript file.
• -header "dbTitle simuTitle wndTitle fromSimulator time date user machine"
(Optional) If this option is specified, include one or more of the keywords to add header text
to the output. The first three keywords add the database title, netlist title, and window title to
the output. You can also add the time, date, user name, and machine name, optionally
specifying fromSimulator if you want these values to be the same as the simulator, rather
than current values.
Examples
write wave dc.ps
• Ignore — indicates that the EZwave Tcl interpreter ignores the command
• Supported — indicates that the EZwave viewer processes the command internally
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
External Tcl Command Support
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Scripting Examples
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Waveform Calculator Batch Commands Example
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Waveform Calculator Batch Commands Example
#!/usr/local/bin/tclsh
# ###################################################
# additional user defined procedures
proc greater {a b} {
return [ expr { ($a > $b) ? $a : $b } ]
}
# ###################################################
# open database file
dataset open $env(MGC_AMS_HOME)/examples/ezwave/meas.wdb
puts "\nExtracting from EZwave Post Processing"
# ###################################################
# global parameter settings
# .param vdd=3.3
wfc { vdd = 3.3 }
# ###################################################
# .meas tran TD1 when v(in)='vdd/2' td=5ns rise=1
# .meas tran TD2 when v(in)='vdd/2' td=5ns rise=2
wfc { rt_in_ = risetime(wf("<meas/TRAN>V(IN)"), x_start = 5e-9, baseline =
vdd/4, topline = vdd´3/4, option = "wf") }
set TD1 [ wfc { td1_ = wftodata(rt_in_)[0][0] } ]
set TD2 [ wfc { td2_ = wftodata(rt_in_)[1][0] } ]
# ###################################################
# .meas tran T1 trig at=TD1
# targ v(q0) val='vdd/2' td=5ns rise=1
wfc { rt_q0_ = risetime(wf("<meas/TRAN>V(Q0)"), x_start = greater(td1_,
5e-9), baseline = vdd/4, topline = vdd´3/4, option = "wf") }
set T1 [ wfc { wftodata(rt_q0_)[0][0] - td1_ } ]
# ###################################################
# .meas tran T2 trig at=TD2
# targ v(q0) val='vdd/2' td=TD2 fall=1
wfc { ft_q0_ = falltime(wf("<meas/TRAN>V(Q0)"), x_start = greater(td2_,
td2_), baseline = vdd/4, topline = vdd´3/4, option = "wf") }
set T2 [ wfc { wftodata(ft_q0_)[0][0] - td2_ } ]
# ###################################################
# .meas tran T2_C2 trig at=TD2
# targ v(q0) val='vdd/2' td=5ns cross=2
wfc { cr_q0_ = crossing(wf("<meas/TRAN>V(Q0)"), x_start = greater(td2_,
5e-9), ylevel = vdd/2, slopetrigger = "either", option = "value") }
set T2_C2 [ wfc { cr_q0_[1] - td2_ } ]
# ###################################################
# .meas tran T2_R trig at=TD2
# targ v(q0) val='vdd/2' td=5ns rise=last
wfc { cr1_q0_ = crossing(wf("<meas/TRAN>V(Q0)"), x_start = greater(td2_,
5e-9), ylevel = vdd/2, slopetrigger = "rising", option = "wf") }
wfc { last_ = size(cr1_q0_) - 1 }
set T2_R [ wfc { wftodata(cr1_q0_)[last_][0] - td2_ } ]
# ###################################################
# open an ASCII file for saving measurement results
# results are in nanoseconds
set unit {N}
set factor 1e9
set fileout [ open meas.out w+ ]
puts $fileout "\nExtracted from EZwave Post Processing"
puts $fileout [format " TD1\t= %8.4f%s" [ expr $TD1 * $factor ] $unit ]
puts $fileout [format " T1\t= %8.4f%s" [ expr $T1 * $factor ] $unit ]
puts $fileout [format " TD2\t= %8.4f%s" [ expr $TD2 * $factor ] $unit ]
puts $fileout [format " T2\t= %8.4f%s" [ expr $T2 * $factor ] $unit ]
puts $fileout [format " T2_C2\t= %8.4f%s" [ expr $T2_C2 * $factor ] $unit]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Waveform Calculator Batch Commands Example
puts $fileout [format " T2_R\t= %8.4f%s" [ expr $T2_R *$factor ] $unit]
close $fileout
This Tcl script can be broken down into several distinct functional areas:
proc greater {a b} {
return [ expr { ($a > $b) ? $a : $b } ]
}
.param vdd=3.3
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Tcl Waveform Calculator Batch Commands Example
In this example, after a specified time delay (td) of 5 nanoseconds, a measurement is taken to
find the exact time when the signal v(in) crosses the voltage level vdd/2 in the first rising event.
The result is saved in the variable TD1.
The following example shows how this is implemented as a .meas statement in a SPICE netlist
file:
These two measurements (TD1 and TD2) can be implemented using Tcl scripting as in the
following example:
For a third .meas statement, after a 5 nanoseconds time delay, a measurement is taken to find
the difference between the result in TD1 and when the signal v(q0) crosses the voltage level
vdd/2 in the first rising event. The result is saved in the variable T1.
For the fourth .meas statement, after a TD2 time delay, the a measurement is taken to determine
the difference between TD2 and when the signal v(q0) crosses the voltage level vdd/2 in the
first falling event. The result is saved in the variable T2.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Creating a User-Defined Function With Tcl Example
For the fifth .meas statement, after a 5 nanosecond time delay, a measurement is taken to find
the difference between TD2 and when the signal v(q0) crosses the voltage level vdd/2 in the
second crossing event, either rising or falling. The result is saved in the variable T2_C2.
In the final .meas statement, after a 5 nanosecond time delay, a measurement is taken to find the
difference between the time specified by TD2 and when the signal v(q0) crosses the voltage
level vdd/2 in the last rising event. The result is saved in the variable T2_R.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Creating a User-Defined Function With Tcl Example
For example, you need to compute the group delay V(S) of a complex waveform in the
Waveform Calculator with the following formula:
GD=drv(cphase(wf("<database>/AC/V(S)")))/360
Tip
See also “Creating a Tcl Script from the Waveform Calculator History” on page 312.
Procedure
1. In this case, you would create a user-defined function with Tcl as follows:
proc gd { wave } {
wfc " drv(cphase($wave))/360 "
}
2. Save this definition in a file called gd.tcl and do either of the following to access the
function:
• Loading the User-Defined Function
a. In the Waveform Calculator, select File > Open Custom Function File to open a
file browser.
b. Navigate to and select the user-defined Tcl file (in this example, the gd.tcl file).
c. Click Open to load the file into the Waveform Calculator.
The function is now available in User-Defined Functions in the Functions list.
• Automatically Loading User-Defined Functions at Start-Up
You can set the EZwave viewer to automatically load all user-defined functions into
the Waveform Calculator at start-up.
a. Place all your user-defined function Tcl files in one directory.
b. In the Waveform Calculator, select Edit > Options to open the EZwave Display
Preferences Dialog Box, showing the Waveform Calculator General options.
c. Select Load User Extension Files at Startup.
d. Type the path to your user-defined functions directory in the Directory Path field.
You can also click Browse to use the file browser to select the directory.
Note
The user extension files in the specified directory must have a .tcl extension in
order to load.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Creating a User-Defined Function With Tcl Example
Tip
You can also use the environment variable AMS_UDF_LOAD to specify a path
to load extension files at startup - refer to “Environment Variables” on page 54.
e. Click OK.
f. Restart the EZwave waveform viewer.
When you now open the Waveform Calculator, your user-defined functions are
automatically loaded into the User-Defined Functions tree in the Functions list.
Tip
If you do not want the function to appear in the Waveform Calculator tree, prefix the
procedure name with two underscores “__”.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
# Save an error log containing any warnings and errors encountered during
# the comparison.
compare savelog log.txt
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
The VAR waveform comparisons are not aligned with any delay.
# Save an error log containing any warnings and errors encountered during
# the comparison.
compare savelog log.txt
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Comparison With Tcl Examples
# Save an error log containing any warnings and errors encountered during
# the comparison.
compare savelog log.txt
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Using find Commands
# Add all voltage waveforms to be compared between 50n and 100n. The
# start and end time specified here overrules the ones from the compare
# run command.
compare add -show TRAN.V -r -start 50n -end 100n *
# Save an error log containing any warnings and errors encountered during
# the comparison.
compare savelog log.txt
The script will search for waveforms with different criteria (name, kind, mode, and so on) and
plot each matching waveform in separate windows. The windows are then sorted for better
viewing or printing.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Using find Commands
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Using find Commands
##
## There are various ways to retrieve currents from a database in TCL.
## Using the legacy switch "-i", using the command find currents, and
## using "-show TRAN.i" syntax.
##
## If more than TRAN analysis is needed,
## you can use -show AC.i or even -show ALL.i.
##
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Using find Commands
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
Waveform Calculator Example Tcl Scripts
Tip
You can control whether these scripts are loaded automatically into the Waveform
Calculator when EZwave starts up. Refer to “Waveform Calculator General Options” on
page 529.
To watch a tutorial that shows you how to use the Waveform Calculator Tcl scripts to calculate
phase noise for a PLL, see the video:
The following scripts, when enabled, appear in the Waveform Calculator Functions list, under
User-Defined Functions:
adc_sndr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1155
adc_sndr_parallel4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1156
clock_jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157
pll_jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1158
pll_jitter_parallel4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160
pll_phasenoise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
pll_phasenoise_parallel4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1162
PlotCompress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1164
PlotPacIPn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1165
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
adc_sndr
adc_sndr
Waveform Calculator function.
Calculate the Signal to Noise plus Distortion Ratio (SNDR) and the Signal to Noise Ratio
(SNR) for a transient noise simulation result for ADCs. The script makes the calculations for a
single run.
Tip
See also script adc_sndr_parallel4, which makes the calculations for four parallel runs.
Usage
adc_sndr(ADCout, Fclock, Fsignal)
Parameters
• ADCout
(Required) A sigma-delta ADC time-domain output waveform.
• Fclock
(Required) The clock frequency.
• Fsignal
(Required) The signal frequency.
Return Values
The outputs are as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
adc_sndr_parallel4
adc_sndr_parallel4
Waveform Calculator function.
Calculate the Signal to Noise plus Distortion Ratio (SNDR) and the Signal to Noise Ratio
(SNR) for a transient noise simulation result for ADCs. The script makes the calculations for
four parallel runs.
Tip
See also script adc_sndr, which makes the calculations for a single run.
Usage
adc_sndr_parallel4(ADCout, ADCout2, ADCout3, ADCout4, Fclock, Fsignal)
Parameters
• ADCout
(Required) First sigma-delta ADC time-domain output waveform.
• ADCout2
(Required) Second sigma-delta ADC time-domain output waveform.
• ADCout3
(Required) Third sigma-delta ADC time-domain output waveform.
• ADCout4
(Required) Fourth sigma-delta ADC time-domain output waveform.
• Fclock
(Required) The clock frequency.
• Fsignal
(Required) The signal frequency.
Return Values
The outputs are as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
clock_jitter
clock_jitter
Waveform Calculator function.
Calculates jitter statistics for clock waveforms.
Usage
clock_jitter(CLKout[, Tstart, Threshold, Period_Accurate, NumberOfAccumulatedCycles])
Parameters
• CLKout
(Required) A time-domain clock waveform.
• Tstart
(Optional) The starting time for the jitter calculation. Default is the first point of CLKout.
• Threshold
(Optional) The value used to calculate periods. Default is the mean of CLKout on the
observed time domain.
• Period_Accurate
(Optional) A specific period for improved accuracy in absolute jitter. Default is the mean of
the periods.
• NumberOfAccumulatedCycles
(Optional) Used for the absolute jitter calculation. Default is 10.
Return Values
The outputs are:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_jitter
pll_jitter
Waveform Calculator function.
Calculates jitter measurements for PLLs for a single run and decomposes jitter into
deterministic and random components and reports these results.
Tip
See also script pll_jitter_parallel4, which makes the calculations for four parallel runs.
Usage
pll_jitter(PLLout[, Tstart, Threshold, Period_Accurate])
Parameters
• PLLout
(Required) A PLL time-domain output waveform.
• Tstart
(Optional) The starting time for the jitter calculation. Default is the first point of PLLout.
• Threshold
(Optional) The value used to calculate periods. Default is the mean of PLLout on the
observed time domain.
• Period_Accurate
(Optional) A specific period for improved accuracy in absolute jitter. Default is the mean of
the periods.
• divN
(Optional) The number of samples used to decompose jitter into deterministic and random
components. By default, jitter is not decomposed.
Return Values
The outputs are:
• Absolute jitter.
• RMS period jitter and cycle-to-cycle jitter versus the number of accumulated cycles.
• A jitter histogram.
• Random component of absolute jitter: periodicRjStdDev.
• Deterministic component of absolute jitter: periodicDj.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_jitter
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_jitter_parallel4
pll_jitter_parallel4
Waveform Calculator function.
Calculates jitter measurements. The script makes the calculations for four parallel runs.
Tip
See also script pll_jitter, which makes the calculations for a single run.
Usage
pll_jitter_parallel4(PLLout, PLLout2, PLLout3, PLLout4[, Tstart, Threshold,
Period_Accurate])
Parameters
• PLLout
(Required) First PLL time-domain output waveform.
• PLLout2
(Required) Second PLL time-domain output waveform.
• PLLout3
(Required) Third PLL time-domain output waveform.
• PLLout4
(Required) Fourth PLL time-domain output waveform.
• Tstart
(Optional) The starting time for the jitter calculation. Default is the first point of PLLout.
• Threshold
(Optional) The value used to calculate periods. Default is the mean of PLLout on the
observed time domain.
• Period_Accurate
(Optional) A specific period for improved accuracy in absolute jitter. Default is the mean of
the periods.
Return Values
The outputs are:
• Absolute jitter.
• RMS period jitter and cycle-to-cycle jitter versus the number of accumulated cycles.
• A jitter histogram.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_phasenoise
pll_phasenoise
Waveform Calculator function.
Calculates phase noise measurements from transient noise simulation results for PLLs for a
single run.
Video
To watch a tutorial that shows you how to use this Tcl script to calculate phase noise for a
PLL, see the video:
Tip
See also script pll_phasenoise_parallel4, which makes the calculations for four parallel runs.
Usage
pll_phasenoise(PLLout, Fund_Accurate[, Tstart, SpurFreq])
Parameters
• PLLout
(Required) A PLL time-domain output waveform.
• Fund_Accurate
(Required) The accurate fundamental frequency.
• Tstart
(Optional) The starting time for the phase noise calculation. Default is the first point of
PLLout.
• SpurFreq
(Optional) Specify a spur frequency to measure a spur. By default, spurs are not measured.
Return Values
The outputs are as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_phasenoise_parallel4
pll_phasenoise_parallel4
Waveform Calculator function.
Calculates phase noise measurements from transient noise simulation results for PLLs. The
script makes the calculations for four parallel runs.
Video
To watch a tutorial that shows you how to use this Tcl script to calculate phase noise for a
PLL, see the video:
Tip
See also script pll_phasenoise, which makes the calculations for a single run.
Usage
pll_phasenoise_parallel4(PLLout, PLLout2, PLLout3, PLLout4, Fund_Accurate[, Tstart,
SpurFreq])
Parameters
• PLLout
(Required) First PLL time-domain output waveform.
• PLLout2
(Required) Second PLL time-domain output waveform.
• PLLout3
(Required) Third PLL time-domain output waveform.
• PLLout4
(Required) Fourth PLL time-domain output waveform.
• Fund_Accurate
(Required) The accurate fundamental frequency.
• Tstart
(Optional) The starting time for the phase noise calculation. Default is the first point of
PLLout.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
pll_phasenoise_parallel4
• SpurFreq
(Optional) Specify a spur frequency to measure a spur. By default, spurs are not measured.
Return Values
The outputs are as follows:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
PlotCompress
PlotCompress
Waveform Calculator function.
Plots output power against input power in dBm and returns n-dB compression point. Only
supports compound waveforms.
Usage
plotcompress(src_p)
plotcompress(src_p, src_n)
plotcompress(src_p, src_n, sweep_param)
plotcompress(src_p, src_n, sweep_param, fund, ndb, epin, rload)
Arguments
• src_p
(Required) Specifies a compound waveform of voltage spectrum signals within an input
power sweep.
• src_n
(Optional) Specifies a compound waveform of voltage spectrum signals within an input
power sweep, or 0.0 (default).
• sweep_param
(Optional) Specifies the sweep parameter. If not specified, the first sweep parameter found
is used. Default is -1.
• fund
(Optional) Specifies the fundamental or harmonic frequency (default nth(indep(src_p), 2)).
• ndb
(Optional) Specifies the number of dB by which the actual curve falls below an ideal linear
curve. Use ndb = 1 to extract the 1-db compression point (1 by default).
• epin
(Optional) Specifies the extrapolation point. Default is the first point in the input power
sweep. Default is -1.
• rload
(Optional) Specifies the load resistance (50 by default).
Related Topics
wave plotcompress
PlotPacIPn
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
PlotPacIPn
PlotPacIPn
Waveform Calculator function.
Takes a PAC spectrum signal pair at the desired and unwanted harmonics, within an input
power sweep, plots the pair of IPn curves and returns the intercept point. Only supports
compound waveforms.
Usage
plotpacipn(src_p, desired_harm_p, unwanted_harm_p)
plotpacipn(src_p, desired_harm_p, unwanted_harm_p, src_n, desired_harm_n,
unwanted_harm_n, sweep_param)
plotpacipn(src_p, desired_harm_p, unwanted_harm_p, src_n, desired_harm_n,
unwanted_harm_n, sweep_param, norder, rload)
Arguments
• src_p
(Required) Specifies a compound waveform with PAC scalar signals within an input power
sweep.
• desired_harm_p
(Required) Specifies the desired harmonic. Default is -1.
• unwanted_harm_p
(Required) Specifies the unwanted harmonic. Default is -1.
• src_n
(Optional) Specifies a compound waveform with PAC scalar signals within an input power
sweep. Default is -1.
• desired_harm_n
(Optional) Specifies the desired harmonic, or 0.0 (default).
• unwanted_harm_n
(Optional) Specifies the unwanted harmonic, or 0.0 (default).
• sweep_param
(Optional) Specifies the sweep parameter. If not specified, the first sweep parameter found
is used. Default is -1.
• norder
(Optional) Specifies the order of the intercept point (3 by default).
• rload
(Optional) Specifies the load resistance (50 by default).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Tcl Scripting Support
PlotPacIPn
Related Topics
wave plotpacipn
PlotCompress
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Appendix D
Supported Net Representation Components
This section describes the supported net representation syntax and values for the wave show Tcl
command and the -show option of the add wave Tcl command.
Representing the Signal as a Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
Extended Options for Selecting Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
Examples of wave show and -show usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
Representing the Signal as a Waveform
If no wave show or add wave -show commands are issued, the default representation is as
follows:
tran.v|ac.vdb|ac.vp
The syntax for the wave show command and -show option is as follows:
• -show all
Requests all objects found in all analyses
• -show analysis.all
Requests all objects found in the specified analysis.
• -show none
Requests no objects in the case where there is no analysis folder.
Extended Options for Selecting Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
discipline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
physic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1172
Examples of wave show and -show usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
Extended Options for Selecting Waveforms
For these commands, along with the add wave command, there are a number of extended
options available for use with the -show option. These options are used for selecting the
waveform(s) required. The following extended options are available. See “Selecting
Waveforms in Tcl” on page 955 for details:
[-recursive][-depth <level>][-signals][-quantities]
[-separator <separator>][-terminals]
[-nets][-ports][-in][-out][-inout][-internal]
[-through][-across][-free][-flow][-i]
[-boundary][-a2d][-d2a][-bidir][-run {run_number | run_name}]
[-session {previous | current}][-adms | -modelsim]
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
representation
representation
A representation is a complete representation of a net and is composed of an analysis, a
discipline, and a physic.
A dot ( . ) separates the analysis portion from the discipline and physic portion. There is no
separator between the discipline and the physic, as follows:
analysis.disciplinephysic
analysis.disciplinephysic|analysis.disciplinephysic|analysis.disciplinephysic
analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
discipline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
physic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1172
analysis
The analysis portion of the representation specifies the kind of analysis to use to “wave” a net.
For example, in the same simulation, we can request an AC and a TRAN analysis. And in this
case, we may want to see the waveform of one net for the AC analysis and of another net for the
TRAN analysis. Supported analyses are shown in the following table. For details on the values
in the table, refer to the Eldo manual.
Table D-2. Supported analysis Values
AC DC DSP EXTRACT
LSTB MEAS MODSST NOISE
NOISETRAN OP OPFOUR SST
SSTAC SSTNOISE SSTXF TRAN
discipline
The discipline portion of the representation specifies a discipline of an analog net.
For example, current or voltage. Supported disciplines are shown in the following table. For
details on the values in the table, refer to the Eldo manual.
Table D-3. Supported discipline Values
A E IFNCELL POW TABLE
ACC_STRESS FLKNOISE IG POWDYN TEMP
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
representation
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
representation
physic
The physic portion of the representation specifies the physical representation of the waveform.
For example, for a frequency signal that is complex, you can choose to see its magnitude in DB,
its phase, or just the real portion. It may also include, for example, the harmonic number of a
large signal frequency analysis.
The primary_physic
The supported primary_physic values are shown in the following table. For details of the values
in the table, refer to the Eldo manual.
Table D-4. Supported primary_physic Values
D GD P SOL
DB I PRED T
DIG M R
DSOL MAG RAD
The secondary_physic
The secondary_physic is in the form of:
h(index)
where index is an integer literal. If more than one index value is appropriate, separate the index
values by commas ( , ).
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
Examples of wave show and -show usage
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Supported Net Representation Components
Examples of wave show and -show usage
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Appendix E
Troubleshooting
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Known Problems and Workarounds
If you dock EZwave back to Questa ADMS, you may encounter drag and drop issues
within EZwave.
• Sorting in the Open Dialog
It is not possible to sort by name, size or modified date within the detailed view of the
Open dialog box when EZwave is docked inside the Questa ADMS GUI.
• WLF Reader performance on Windows
Reading wlf on ixw is slow on Windows.
• Running EZwave fails with the following message:
Unable to start get_ezwave_license process: check your path
This problem is caused by a Java bug that prevents the execution of a script from Java if
the script belongs to a different “user” and “group”, even if “read” and “execute”
permissions are correctly set. This problem occurs only if the user’s “group” is not the
“primary group”. In this case, execution fails if “read” and “execute” permissions are
not granted to “other” (or “public”).
For more information on this Java bug, visit:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4052517
Workaround 2: The issue might be due to an unstable machine. Try starting EZwave
with the command ezwave -nobigmem. This limits the memory size to 4GB. If this
resolves the issue, reboot the machine and try launching EZwave normally.
• The EZwave viewer generates the following error message during invocation:
Font specified in font.properties not found
--symbol-medium- r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Workaround 1: Install the Symbol font. The font that the Java virtual machine searches
for is symbol.ttf. This font is available on most machines.
You may get a copy of the font and copy it to the JRE fonts directory, for example,
$MGC_AMS_HOME/jre/.../lib/fonts. In the fonts directory, there is a file named
fonts.dir that lists the available, scalable fonts for JRE. Modify this file (you may need
to be root) to include the symbol.ttf font file as in the following example:
symbol.ttf -urw-symbol-medium-r-normal--0-0-0-0-p-0-adobe-
fontspecific
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Known Problems and Workarounds
After you have added the preceding line, increment the number on the first line of the
file by one. The number indicates the total number of fonts listed in the file.
Workaround 2: Alternatively, make the font definitions specified in the
font.properties file match what are available on your system. You need to change the
symbol lines in the file from the following:
--symbol-medium-r-normal--*-%d-*-*p-*-adobe-fontspecific
to the following:
-urw-symbol-medium-r-normal--*-%d-*-*p-*-urw-fontspecific
• When loading CSV files through a Tcl script, Supported Net Representation
Components are not fully functional.
Workaround: When opening CSV databases using a Tcl script, use the EZwave fully
qualified naming convention.
For example, you want to display V(OUT) from a time domain analysis in the currently
open database named “adc12”. Because of this limitation, you must use
add wave <adc12/TRAN>V(OUT)
# Fully qualified naming syntax, works for CSV and other file
formats.
instead of
add wave OUT
# Supported net representation syntax, currently does not work with
# CSV files
• In this release, database compaction is disabled during simulation. For large designs the
database size may increase in comparison with earlier releases.
Workaround: Load the results database into EZwave once the simulation is completed,
then use Save As to save the database. This save will compact the database and the size
is reduced. See “Save As Dialog Box” on page 562 for further information.
• Waveform Group Colors
Custom colors applied to individual elements of a waveform group are not preserved
when a database is saved and reloaded as TCL.
• Progress Bar Display of TCL Script Execution on Windows Platforms
When running EZwave in Windows, TCL source file execution progress is not
monitored in the progress bar. Instead, an activity bar is shown during Tcl script
execution.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Linux Printing Issues
returns a package name, the LPRNG package is installed. If so, refer to “Printing
Issues when using LPRNG” on page 1178.
o If the command
rpm -qa | grep cups
returns a package name, the CUPS package is installed. If this is the case, refer to
“Printing Issues when using CUPS” on page 1179.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Printing Issues when using CUPS
Verify that one or more printers are defined in this file. If this file does not exist, the
EZwave viewer is normally unable to print. This file is automatically generated
during printing configuration executed by the root admin.
o /etc/lpd.perms
This file is optional. If it exists, verify that the following lines are present:
# allow anybody to get server, status, and printcap
ACCEPT SERVICE=C LPC=lpd,status,printcap
o /etc/lpd.conf
This file is mandatory. It may be empty. If it is not empty, it may contain settings
that prevent proper printing.
2. If the preceding files are all correct, try the following command:
/usr/sbin/lpc status
This should return a list of printers with configuration and status details. For example:
myprinter:
printer is on device ‘lpd’ speed -1
queuing is enabled
printing is enabled
no entries
daemon present
3. Verify that the LPD daemon is running with the following command:
/bin/ps -auxww | grep lpd
This should return a list of printers with configuration and status details. For example:
myprinter:
printer is on device 'lpd' speed -1
queuing is enabled
printing is enabled
no entries
daemon present
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Printing Issues when using CUPS
2. Verify that the cups printer daemon is running with the following command:
/bin/ps -auxww | grep cupsd
This should return address information on printers. Look for the corresponding line for
the printer named “myprinter”. For example:
device for myprinter: lpd://173.21.21.1/myprinter
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Troubleshooting Memory Issues
Note
By default, EZwave is set up as if AMS_EZWAVE_CAPACITY is used, and set to
medium.
This is the default option. Limits memory usage to 75% of available memory, capped at
a maximum of 32GB. For example, if a machine has 128Gb of RAM, EZwave uses
32GB.
The Java Virtual Machine minimum heap size -Xms and maximum heap size -Xmx are
set to the same value.
• high - suitable for high-end machines (>48GB)
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Resolving Out-Of-Memory Problems
Limits memory usage to 75% of available memory. This option is only taken into
account if the machine has more than 48GB of RAM (otherwise high is equivalent to
medium).
The Java Virtual Machine minimum heap size -Xms and maximum heap size -Xmx are
set to the same value.
• versatile - suitable for high-end machines (>48GB) where a large part of the memory
might be used by another process causing out-of-memory problems
setenv AMS_EZWAVE_CAPACITY versatile
Versatile is similar to high but configures the Java Virtual Machine minimum heap size
-Xms to 1GB and the maximum heap size -Xmx to 75% of the available memory.
Tip
Using the AMS_EZWAVE_CAPACITY environment variable is the preferred method of
setting EZwave memory capacity.
However, if you still encounter out-of-memory problems, you may need to further modify the
Java Virtual Machine’s (JVM) memory heap size. Refer to “Resolving Out-Of-Memory
Problems” on page 1182.
However, if you still encounter out-of-memory problems, you may need to modify the Java
Virtual Machine’s (JVM) memory heap size, as described in this topic.
Symptoms
The EZwave viewer detects and reports memory shortages in the following cases:
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Resolving Out-Of-Memory Problems
In these cases, information is reported to you, and the simulator performs an automatic save of
simulation information (time domain simulation).
Causes
If you encounter out-of-memory problems, you may need to increase the Java Virtual
Machine’s (JVM) memory heap size. By default, EZwave will automatically determine how
much memory to use depending on OS and system physical memory.
Solution
The heap size can grow up to 75% of physical memory with a maximum of 31 GB (the default).
• To disable large memory usage for the JWDB server or EZwave, and limit the memory
to 4 GB, modify the value of the environment variable
AMS_JAVA_NO_BIG_MEMORY as follows:
setenv AMS_JAVA_NO_BIG_MEMORY 1
where -Xms sets the minimum heap size and -Xmx sets the maximum heap size.
Caution
You should never take all of the machine memory for the Java heap (-Xmx), because Java
uses some memory in addition to the heap (e.g. the stack), and other processes might require
some memory. Using 75% of the machine memory as a maximum for the heap is considered a
good practice.
Note
The AMS_JAVA_MEMORY_HEAP overwrites any other memory setting, including those
set by environment variable AMS_EZWAVE_CAPACITY, by defining exact memory
limits. AMS_JAVA_MEMORY_HEAP must be unset when using
AMS_JAVA_NO_BIG_MEMORY:
unsetenv AMS_JAVA_MEMORY_HEAP
When using the environment variable AMS_JAVA_MEMORY_HEAP, the -Xms value sets the
minimum heap size and the -Xmx value tells the JVM the maximum size it can increase the
memory heap to.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Resolving Incorrect Estimate the Disk Space Needed to Save A Database
Tip
It is considered a good practice to set -Xms and -Xmx to the same value, as it frees the JVM
from having to resize the heap size dynamically.
To determine the maximum heap size that your system can handle, gradually increase the -Xmx
value, and start the EZwave viewer (without specifying a .wdb file). When you reach a value
that is too high, the EZwave viewer will return an error telling you that it cannot handle the
specified memory allocation.
When using AMS_JAVA_MEMORY_HEAP, you should also add all the options -XX that
EZwave sets by default. For example, to setup AMS_JAVA_MEMORY_HEAP to be
equivalent of the setup obtained with setenv AMS_EZWAVE_CAPACITY low:
The JWDB (EZwave) server cannot start the Java Virtual Machine. Refer to
EZwave User's Manual for possible causes.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Increasing the Memory Stack Limit
Causes
The most common cause of this is an incorrect setup of memory parameters for EZwave.
Solution
The table below lists EZwave error messages relating to the Java Virtual Machine’s (JVM)
memory heap size and specification of it. It describes a probable cause and suggests a possible
solution.
Table E-1. JVM Memory Heap Error Messages
Error Message Probable Cause Solution
Could not reserve enough Xmx value too large in Reduce Xmx value (use a
space for object heap. comparison to available maximum of 75% of total
physical memory. memory).
Too small initial heap for Xms value too small to Increase Xms value (use a
new size specified. allow EZwave to start. minimum of 100M).
Incompatible minimum and Xms value is larger than Reduce Xms or increase Xmx
maximum heap sizes Xmx value. value. Using the same value for
specified. Xms and Xmx is considered good
practice.
Invalid maximum Syntax error in Xmx (Xms) Fix the syntax error. Use
(minimum) heap size. value. -Xmx<value>[m|M|g|G]
The specified size exceeds Xmx value is larger than the Reduce Xmx value (use maximum
the maximum representable addressable space. of 75% of total memory).
size.
Note
If EZwave starts standalone, but fails to run from a simulator such as Questa ADMS or
Eldo, try reducing your Xmx value. It may be the JVM cannot reserve enough memory for
the thread stacks. The size of the stack influences the maximum amount of memory that
EZwave can reserve.
If you require a higher stack limit, for example when troubleshooting, you can set the stack limit
back to unlimited by setting the following environment variable:
setenv AMS_JAVA_MEMORY_STACK 1
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Loading .fsdb and .tr0 Files
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Troubleshooting EZwave Launch Issues
Causes
Possible causes are:
• An incorrect or missing libstdc++ library. The error log will report this. Either:
o The AMS installation tree is incorrect
o The library is missing from your system
o The environment variable LD_LIBRARY_PATH is not set correctly to access it.
• On Linux, some RPM packages are required to properly run EZwave. They could be
missing from your system.
Solution
Use the script ams_dependency_lookup.sh from the AMS installation tree and check if it reports
any error or missing packages.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Displaying Results Between Different AMS Versions
Symptoms
When launching Questa ADMS in interactive (GUI) mode, you may encounter the following
error messages:
- Error: The JWDB (EZwave) server cannot start the Java Virtual
Machine. Refer to EZwave User's Manual for possible causes
Causes
There may be a problem with your AMS installation tree or packages are missing from your
computer. Refer to the section “Failure to Load EZwave Dynamic Libraries” on page 1187 for
further details.
Solution
Possible workaround is:
In certain configurations, it is possible that undocking EZwave from Questa ADMS may work
around the issue of missing packages.
• Wait until the end of the simulation to open the disk database with a later version of
EZwave.
• Ensure that both EZwave's GUI and Server are of the same AMS version.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Troubleshooting Display Issues
Fonts
The fonts available will vary from system to system, depending on what is installed. To use a
new font in the EZwave viewer, a system administrator must add the font to the system as well
as the font.properties file of the java package.
Saving EZwave files only preserves font changes within the same operating system. This is
because fonts (type, size, and style) vary among different operating systems. Even with the
same operating system, font changes may not be preserved if the fonts are not installed on the
system. If a saved font is not available on a system, the EZwave viewer uses the default font.
Color changes are not affected by different systems and are preserved when saving.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Troubleshooting Logfiles
Troubleshooting Logfiles
EZwave creates a logfile on your system when it is active. The logfile keeps track of the
commands issued during each viewing session. Should you experience difficulty in using
EZwave, you may be asked to locate or provide the logfile from your session when contacting
customer support.
You can view the logfile using any standard text editor.
Logfile Locations
Logfile locations vary based on the installation directory structure used by the host application.
Because products using EZwave can send the logfile to a location of their choosing, your
installation directory specification should not carry unique characters that may prohibit the
logfile from being created correctly.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Troubleshooting Waveform Comparison
Warning: could not compare Issued when a waveform with the same
‘<waveform_name>’, an equivalent name as the test dataset waveform cannot
waveform was not found in the Test
Database
be found in the reference dataset.
Warning: could not compare Issued when trying to compare a
‘<waveform_name1>’ with compound waveform with one that is not
‘<waveform_name2>’, both waveforms are
not compound
compound
Warning: could not compare Issued when trying to compare a bus
‘<waveform_name>’, both waveforms are waveform with one that is not a bus
not bus
Warning: could not compare Issued when applying a delay parameter (-
‘<waveform_name>’, applying delay failed refdelay or -testdelay) within compare
start fails
Warning: ‘<waveform_name>’ has been Issued when an unsupported waveform
ignored during comparison because its type is encountered during the
type is not yet supported. Currently
supported types are: analog continuous
comparison. For more details on currently
waveform (except complex), digital supported waveform types and how they
waveform and bus, records or compound are compared see “Support for Different
waveform of such waveforms. Types of Waveform” on page 228.
Note
Assertions and complex waveforms are not supported in the Waveform Comparison.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
System Error Codes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
System Error Codes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
System Error Codes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
System Error Codes
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Troubleshooting
Contacting the Customer Support Center
https://support.mentor.com
• Product and version (Obtained from the Help > About menu item on the main
application window)
• Any test files
• Exact steps or procedures causing the problem
• The two files that the EZwave viewer and JWDB server generate:
o ezwave_error.log
o jwdb_error.log
These files are normally generated at the location where the tool is run (EZwave or the
simulator) and contain information that may be useful in identifying the root of the
problem, particularly if it’s difficult to reproduce.
Training Classes
Classes are held regularly at Mentor Graphics and are available on-site at your premises.
Contact your local sales office or consult www.mentor.com for rates and a current class
schedule.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Glossary
active
The condition when an area of the application window is able to accept data. For example,
selecting a graph window makes it active to accept waveforms. A plot operation will then display
the waveform in the active graph window. When the File > New menu item is selected, the new
window created is automatically the active graph window.
active cursor
The cursor shown using a thick line. Clicking on any cursor will automatically make it the active
cursor.
active window
The window where waveforms are plotted when not using drag and drop. This is also the
window used for main menu and toolbar commands.
analog waveform
An analog waveform may contain such domains as frequency, voltage and current. Each point on
the domain axis corresponds to a value on the waveform.
area zoom
The action when zooming in both the X and Y directions. Drag the mouse over the waveform
itself to define the rectangular region to zoom to.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
background
Within the viewer, refers to the base color to be used when printing.
baseline
Baseline is the magnitude reference line at the base magnitude, which is the magnitude of the
portion of a pulse waveform that represents the first nominal state of a pulse (usually referred as
LOW level).
clipboard
The application's internal storage area. This differs from your computer clipboard area.
clipboard (EZwave)
The internal utility that enables you to move objects (such as waveforms, text and other objects)
from one location to another within the viewer using familiar cut, copy and paste operations. The
utility stores the information temporarily for exchange between graph windows, workspaces and
other areas of the viewer.
Clipboard (Windows)
The Windows Clipboard utility enables you to exchange contents within an application or
between shared applications using familiar cut, copy and paste operations. The utility stores the
information temporarily for exchange between shared and local applications.
complex waveform
A complex waveform can be defined as any sound wave which is not sinusoidal. By the theorem
of Fourier, any complex periodic waveform can be decomposed into a series of simple sinusoids
that differ in the three defining attributes of amplitude, frequency, and phase.
compound waveform
A compound waveform can be defined as a waveform that contains the results of several
simulations for the same node. This product can perform operations on either the compound
waveform or the individual elements that make up the compound waveform.
cursor
A special on-screen indicator, such as a vertical line, drawn in the waveform display area to
identify locations or create a point for measurement. The first cursor created is known as the base
(reference) cursor.
dB
A transformation setting for complex waveforms that shows the magnitude of each point of the
complex waveform calculated in decibels (20 * log (|waveform|))
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
enumerated type
In VHDL, an enumeration type declaration defines a type that has a set of user-defined values
consisting of identifiers and character literals. If a waveform is displayed in an enumerated
format, text values are displayed in a box rather than graphical high/low waveform.
export
Within the viewer, the ability to save the active graph window as a .jpg file.
femtosecond (fs)
1/1000 picosecond.
general options
General options control basic functions of the viewer such as background coloring, printing
options and display lists of databases.
graph window
graph windows display waveform data. Waveform data can be spectral data, comma separated
value data, or analog and digital data.
hide
The action that temporarily removes a waveform from visual display yet keeps the data within
the row. The Hide Waveform menu item toggles the display of waveforms in rows carrying
overlaid plots.
imaginary
A transformation setting used with complex waveforms. Imaginary transformations display the
imaginary component of each point in the complex waveform expressed in Rectangular (Real/
Imaginary) form.
input unit
The unit of measure for a waveform. The unit of the result waveform is same as the unit of the
input waveform. By default, the unit of measure is set globally, however, setting the unit locally
will override the default setting.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
jpg
JPEG stands for Joint Photographic Experts Group, which is the name of the committee that
created a way to compress the file size of photographic, true-color images without diminishing
the quality of the image. JPEG is generally used for photographic images. These image files use
the .JPEG and .JPG extensions.
JPEG (jpg)
JPEG stands for Joint Photographic Experts Group which is the name of the committee that
created a way to compress the file size of photographic, true-color images without diminishing
the quality of the image. JPEG is generally used for photographic images and these image files
use the .JPEG and .JPG extensions.
JWDB
JWDB stands for Joint Waveform DataBase. This is the default database format for Mentor
Graphics simulation applications.
keyboard accelerators
Keyboard accelerators allow you to select menu items in the Graphical user interface (GUI)
without using a mouse. If a keyboard accelerator is available for a menu item, it is shown next to
the item on the menu. For example, Ctrl+C is the keyboard accelerator for the Copy menu item
and is the keyboard accelerator for the Paste menu item. Keyboard accelerators are different
from keyboard shortcuts. Sometimes, keyboard accelerators are referred to as Hot keys.
layout
The way the application displays x-axis settings and waveform name displays. Within the
EZwave Display Preferences dialog, click Layout to access these settings.
magnitude
The transformation applied to a complex waveform that shows the square root of (re2 + im2) for
each point in the complex waveform.
mouse strokes
Mouse Strokes provide you with a convenient way to perform common tasks by allowing you to
draw shapes using the mouse. For example, drawing the letter “D” deletes the current set of
selected objects. Mouse strokes are usually performed with a three button mouse using the
middle mouse button to make the stroke.
new rows
Within the active graph window, new rows are created when a waveform is dragged to any
location above, below or between existing rows.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
over-axis zooming
The action that uses the mouse pointer to drag over the X or y-axis to identify the region for
zoom.
overlaid plots
The ability to plot multiple waveforms on top of each other in the same row within the graph
window. You may plot analog and digital waveforms overlaid. Existing digital waveforms rows
cannot accept overlaid plots.
png
PNG stands for Portable Network Graphics. It is an open, extensible image format with lossless
compression. These image files use the .PNG extension
phase
The phase of each point in the complex waveform in Polar form. All phase angles are restricted
between -180 and +180 degrees (-pi radians and +pi radians).
property
A property is a name/value pair, where the value can be a number or a string. Waveform
Databases and individual waveforms may have property lists containing the individual
properties. An example of a waveform database property is timestep:1.
question mark
The question mark is a mouse stroke action that opens the About Mouse Strokes Information
Box listing the supported mouse strokes for this application.
radix
A quantity whose successive integral powers are the implicit multipliers of the sequence of digits
that represent a number of some positional-notation systems. Radix levels used with buses
include Octal, Hexadecimal, Binary, Decimal, and Ascii.
right-click
The right mouse key serves an important purpose with this application. A number of context
sensitive popup menus appear by pressing the right mouse key. In this help system, references to
“right-click” indicate this activity.
real
A transformation setting for complex waveforms. The real component of each point in the
complex waveform expressed in Rectangular (Real/Imaginary) form.
refresh
The refresh process forces a complete repaint of all windows within an application.
scale table
A scale table contains a matrix of the unit of measurement used by the waveform. For example,
this may be in time units, frequency units, voltage, or other measurement. This table contains the
unit name and the suffix of the scale unit to be used as the base. It also contains a list of the units
and their scaling relationship to each other.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
step waveform
A waveform that, from a viewing perspective, approximates a Heaviside (unit step) function.
taskbar
The area directly above the status bar in the application window that contains Graph Window
buttons for selecting the active graph window.
tooltip
A tooltip is a small window that contains descriptive text for the item under the mouse pointer.
topline
Topline is the magnitude reference line at the top magnitude, which is the magnitude of the
portion of a pulse waveform that represents the second nominal state of a pulse (usually referred
as HIGH level).
true
Having a Boolean value of one (1).
undo zoom
Reverses the previous zoom action. Undo zoom will return the display to the previously selected
magnification.
Verilog
Notational conventions used by the Waveform Calculator based on the Verilog hardware
description language.
VHDL
Notational conventions used by the Waveform Calculator based on VHDL (VHSIC Hardware
Description Language).
view all
The action where the magnification is reset to view all of the data in a window or a row within
the active graph window.
waveform
A waveform is a collection of values along a time continuum, frequency, or other domain axis.
The axis is referred to as the domain, and the values positioned along the axis are the range. This
is really a logical view, as some waveform events, that is those that are part of a functional
waveform, may be generated by a function (e.g. sin(t)).
waveform database
A waveform database contains, data of one or more individual waveforms.
workspace
The tabbed area within the application window that holds graph windows.
X Axis
Commonly the horizontal axis used to display time or distance. In this product, the X Axis is
used for over-axis zooming.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Y Axis
Used with analog waveforms and complex waveforms. With complex waveforms the Y Axis
displays transformations of dB, Magnitude, Real, Imaginary, Phase and Continuous Phase. With
multiple analog waveform plots (overlaid plots), you may select to have each waveform
displayed on its own y-axis within the row.
Y-level line
A Y-level line is a horizontal line that marks the intersection of a cursor and a waveform. Right-
click on a cursor and select Y-Level Line from the popup menu to show the Y-level line. See
also base Y-level line.
zooming
The action that enlarges the visual display in the active graph window. For example, zooming
between cursors adjusts the display to view between the two cursors that are farthest apart in the
active graph window. See also area zoom and over-axis zooming.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
1204 EZwave™ User's and Reference Manual, 2019.2
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Index
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
Note - Viewing PDF files within a web browser causes some links not to function. Use HTML for full navigation.
End-User License Agreement
The latest version of the End-User License Agreement is available on-line at:
www.mentor.com/eula
IMPORTANT INFORMATION
USE OF ALL SOFTWARE IS SUBJECT TO LICENSE RESTRICTIONS. CAREFULLY READ THIS LICENSE
AGREEMENT BEFORE USING THE PRODUCTS. USE OF SOFTWARE INDICATES CUSTOMER’S COMPLETE
AND UNCONDITIONAL ACCEPTANCE OF THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT.
ANY ADDITIONAL OR DIFFERENT PURCHASE ORDER TERMS AND CONDITIONS SHALL NOT APPLY.
This is a legal agreement concerning the use of Software (as defined in Section 2) and hardware (collectively “Products”)
between the company acquiring the Products (“Customer”), and the Mentor Graphics entity that issued the corresponding
quotation or, if no quotation was issued, the applicable local Mentor Graphics entity (“Mentor Graphics”). Except for license
agreements related to the subject matter of this license agreement which are physically signed by Customer and an authorized
representative of Mentor Graphics, this Agreement and the applicable quotation contain the parties’ entire understanding
relating to the subject matter and supersede all prior or contemporaneous agreements. If Customer does not agree to these
terms and conditions, promptly return or, in the case of Software received electronically, certify destruction of Software and all
accompanying items within five days after receipt of Software and receive a full refund of any license fee paid.
1.1. To the extent Customer (or if agreed by Mentor Graphics, Customer’s appointed third party buying agent) places and Mentor
Graphics accepts purchase orders pursuant to this Agreement (each an “Order”), each Order will constitute a contract between
Customer and Mentor Graphics, which shall be governed solely and exclusively by the terms and conditions of this Agreement,
any applicable addenda and the applicable quotation, whether or not those documents are referenced on the Order. Any
additional or conflicting terms and conditions appearing on an Order or presented in any electronic portal or automated order
management system, whether or not required to be electronically accepted, will not be effective unless agreed in writing and
physically signed by an authorized representative of Customer and Mentor Graphics.
1.2. Amounts invoiced will be paid, in the currency specified on the applicable invoice, within 30 days from the date of such invoice.
Any past due invoices will be subject to the imposition of interest charges in the amount of one and one-half percent per month
or the applicable legal rate currently in effect, whichever is lower. Prices do not include freight, insurance, customs duties, taxes
or other similar charges, which Mentor Graphics will state separately in the applicable invoice. Unless timely provided with a
valid certificate of exemption or other evidence that items are not taxable, Mentor Graphics will invoice Customer for all
applicable taxes including, but not limited to, VAT, GST, sales tax, consumption tax and service tax. Customer will make all
payments free and clear of, and without reduction for, any withholding or other taxes; any such taxes imposed on payments by
Customer hereunder will be Customer’s sole responsibility. If Customer appoints a third party to place purchase orders and/or
make payments on Customer’s behalf, Customer shall be liable for payment under Orders placed by such third party in the event
of default.
1.3. All Products are delivered FCA factory (Incoterms 2010), freight prepaid and invoiced to Customer, except Software delivered
electronically, which shall be deemed delivered when made available to Customer for download. Mentor Graphics retains a
security interest in all Products delivered under this Agreement, to secure payment of the purchase price of such Products, and
Customer agrees to sign any documents that Mentor Graphics determines to be necessary or convenient for use in filing or
perfecting such security interest. Mentor Graphics’ delivery of Software by electronic means is subject to Customer’s provision
of both a primary and an alternate e-mail address.
2. GRANT OF LICENSE. The software installed, downloaded, or otherwise acquired by Customer under this Agreement, including any
updates, modifications, revisions, copies, documentation, setup files and design data (“Software”) are copyrighted, trade secret and
confidential information of Mentor Graphics or its licensors, who maintain exclusive title to all Software and retain all rights not
expressly granted by this Agreement. Except for Software that is embeddable (“Embedded Software”), which is licensed pursuant to
separate embedded software terms or an embedded software supplement, Mentor Graphics grants to Customer, subject to payment of
applicable license fees, a nontransferable, nonexclusive license to use Software solely: (a) in machine-readable, object-code form
(except as provided in Subsection 4.2); (b) for Customer’s internal business purposes; (c) for the term of the license; and (d) on the
computer hardware and at the site authorized by Mentor Graphics. A site is restricted to a one-half mile (800 meter) radius. Customer
may have Software temporarily used by an employee for telecommuting purposes from locations other than a Customer office, such as
the employee’s residence, an airport or hotel, provided that such employee’s primary place of employment is the site where the
Software is authorized for use. Mentor Graphics’ standard policies and programs, which vary depending on Software, license fees paid
or services purchased, apply to the following: (a) relocation of Software; (b) use of Software, which may be limited, for example, to
execution of a single session by a single user on the authorized hardware or for a restricted period of time (such limitations may be
technically implemented through the use of authorization codes or similar devices); and (c) support services provided, including
eligibility to receive telephone support, updates, modifications, and revisions. For the avoidance of doubt, if Customer provides any
feedback or requests any change or enhancement to Products, whether in the course of receiving support or consulting services,
evaluating Products, performing beta testing or otherwise, any inventions, product improvements, modifications or developments made
by Mentor Graphics (at Mentor Graphics’ sole discretion) will be the exclusive property of Mentor Graphics.
3. BETA CODE.
3.1. Portions or all of certain Software may contain code for experimental testing and evaluation (which may be either alpha or beta,
collectively “Beta Code”), which may not be used without Mentor Graphics’ explicit authorization. Upon Mentor Graphics’
authorization, Mentor Graphics grants to Customer a temporary, nontransferable, nonexclusive license for experimental use to
test and evaluate the Beta Code without charge for a limited period of time specified by Mentor Graphics. Mentor Graphics may
choose, at its sole discretion, not to release Beta Code commercially in any form.
3.2. If Mentor Graphics authorizes Customer to use the Beta Code, Customer agrees to evaluate and test the Beta Code under normal
conditions as directed by Mentor Graphics. Customer will contact Mentor Graphics periodically during Customer’s use of the
Beta Code to discuss any malfunctions or suggested improvements. Upon completion of Customer’s evaluation and testing,
Customer will send to Mentor Graphics a written evaluation of the Beta Code, including its strengths, weaknesses and
recommended improvements.
3.3. Customer agrees to maintain Beta Code in confidence and shall restrict access to the Beta Code, including the methods and
concepts utilized therein, solely to those employees and Customer location(s) authorized by Mentor Graphics to perform beta
testing. Customer agrees that any written evaluations and all inventions, product improvements, modifications or developments
that Mentor Graphics conceived or made during or subsequent to this Agreement, including those based partly or wholly on
Customer’s feedback, will be the exclusive property of Mentor Graphics. Mentor Graphics will have exclusive rights, title and
interest in all such property. The provisions of this Subsection 3.3 shall survive termination of this Agreement.
4. RESTRICTIONS ON USE.
4.1. Customer may copy Software only as reasonably necessary to support the authorized use. Each copy must include all notices
and legends embedded in Software and affixed to its medium and container as received from Mentor Graphics. All copies shall
remain the property of Mentor Graphics or its licensors. Except for Embedded Software that has been embedded in executable
code form in Customer’s product(s), Customer shall maintain a record of the number and primary location of all copies of
Software, including copies merged with other software, and shall make those records available to Mentor Graphics upon
request. Customer shall not make Products available in any form to any person other than Customer’s employees and on-site
contractors, excluding Mentor Graphics competitors, whose job performance requires access and who are under obligations of
confidentiality. Customer shall take appropriate action to protect the confidentiality of Products and ensure that any person
permitted access does not disclose or use Products except as permitted by this Agreement. Customer shall give Mentor Graphics
written notice of any unauthorized disclosure or use of the Products as soon as Customer becomes aware of such unauthorized
disclosure or use. Customer acknowledges that Software provided hereunder may contain source code which is proprietary and
its confidentiality is of the highest importance and value to Mentor Graphics. Customer acknowledges that Mentor Graphics
may be seriously harmed if such source code is disclosed in violation of this Agreement. Except as otherwise permitted for
purposes of interoperability as specified by applicable and mandatory local law, Customer shall not reverse-assemble,
disassemble, reverse-compile, or reverse-engineer any Product, or in any way derive any source code from Software that is not
provided to Customer in source code form. Log files, data files, rule files and script files generated by or for the Software
(collectively “Files”), including without limitation files containing Standard Verification Rule Format (“SVRF”) and Tcl
Verification Format (“TVF”) which are Mentor Graphics’ trade secret and proprietary syntaxes for expressing process rules,
constitute or include confidential information of Mentor Graphics. Customer may share Files with third parties, excluding
Mentor Graphics competitors, provided that the confidentiality of such Files is protected by written agreement at least as well as
Customer protects other information of a similar nature or importance, but in any case with at least reasonable care. Customer
may use Files containing SVRF or TVF only with Mentor Graphics products. Under no circumstances shall Customer use
Products or Files or allow their use for the purpose of developing, enhancing or marketing any product that is in any way
competitive with Products, or disclose to any third party the results of, or information pertaining to, any benchmark.
4.2. If any Software or portions thereof are provided in source code form, Customer will use the source code only to correct software
errors and enhance or modify the Software for the authorized use, or as permitted for Embedded Software under separate
embedded software terms or an embedded software supplement. Customer shall not disclose or permit disclosure of source
code, in whole or in part, including any of its methods or concepts, to anyone except Customer’s employees or on-site
contractors, excluding Mentor Graphics competitors, with a need to know. Customer shall not copy or compile source code in
any manner except to support this authorized use.
4.3. Customer agrees that it will not subject any Product to any open source software (“OSS”) license that conflicts with this
Agreement or that does not otherwise apply to such Product.
4.4. Customer may not assign this Agreement or the rights and duties under it, or relocate, sublicense, or otherwise transfer the
Products, whether by operation of law or otherwise (“Attempted Transfer”), without Mentor Graphics’ prior written consent and
payment of Mentor Graphics’ then-current applicable relocation and/or transfer fees. Any Attempted Transfer without Mentor
Graphics’ prior written consent shall be a material breach of this Agreement and may, at Mentor Graphics’ option, result in the
immediate termination of the Agreement and/or the licenses granted under this Agreement. The terms of this Agreement,
including without limitation the licensing and assignment provisions, shall be binding upon Customer’s permitted successors in
interest and assigns.
4.5. The provisions of this Section 4 shall survive the termination of this Agreement.
5. SUPPORT SERVICES. To the extent Customer purchases support services, Mentor Graphics will provide Customer with updates and
technical support for the Products, at the Customer site(s) for which support is purchased, in accordance with Mentor Graphics’ then
current End-User Support Terms located at http://supportnet.mentor.com/supportterms.
6. OPEN SOURCE SOFTWARE. Products may contain OSS or code distributed under a proprietary third party license agreement, to
which additional rights or obligations (“Third Party Terms”) may apply. Please see the applicable Product documentation (including
license files, header files, read-me files or source code) for details. In the event of conflict between the terms of this Agreement
(including any addenda) and the Third Party Terms, the Third Party Terms will control solely with respect to the OSS or third party
code. The provisions of this Section 6 shall survive the termination of this Agreement.
7. LIMITED WARRANTY.
7.1. Mentor Graphics warrants that during the warranty period its standard, generally supported Products, when properly installed,
will substantially conform to the functional specifications set forth in the applicable user manual. Mentor Graphics does not
warrant that Products will meet Customer’s requirements or that operation of Products will be uninterrupted or error free. The
warranty period is 90 days starting on the 15th day after delivery or upon installation, whichever first occurs. Customer must
notify Mentor Graphics in writing of any nonconformity within the warranty period. For the avoidance of doubt, this warranty
applies only to the initial shipment of Software under an Order and does not renew or reset, for example, with the delivery of (a)
Software updates or (b) authorization codes or alternate Software under a transaction involving Software re-mix. This warranty
shall not be valid if Products have been subject to misuse, unauthorized modification, improper installation or Customer is not in
compliance with this Agreement. MENTOR GRAPHICS’ ENTIRE LIABILITY AND CUSTOMER’S EXCLUSIVE
REMEDY SHALL BE, AT MENTOR GRAPHICS’ OPTION, EITHER (A) REFUND OF THE PRICE PAID UPON
RETURN OF THE PRODUCTS TO MENTOR GRAPHICS OR (B) MODIFICATION OR REPLACEMENT OF THE
PRODUCTS THAT DO NOT MEET THIS LIMITED WARRANTY. MENTOR GRAPHICS MAKES NO WARRANTIES
WITH RESPECT TO: (A) SERVICES; (B) PRODUCTS PROVIDED AT NO CHARGE; OR (C) BETA CODE; ALL OF
WHICH ARE PROVIDED “AS IS.”
7.2. THE WARRANTIES SET FORTH IN THIS SECTION 7 ARE EXCLUSIVE. NEITHER MENTOR GRAPHICS NOR ITS
LICENSORS MAKE ANY OTHER WARRANTIES EXPRESS, IMPLIED OR STATUTORY, WITH RESPECT TO
PRODUCTS PROVIDED UNDER THIS AGREEMENT. MENTOR GRAPHICS AND ITS LICENSORS SPECIFICALLY
DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT OF INTELLECTUAL PROPERTY.
8. LIMITATION OF LIABILITY. TO THE EXTENT PERMITTED UNDER APPLICABLE LAW, IN NO EVENT SHALL
MENTOR GRAPHICS OR ITS LICENSORS BE LIABLE FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES (INCLUDING LOST PROFITS OR SAVINGS) WHETHER BASED ON CONTRACT, TORT OR ANY OTHER
LEGAL THEORY, EVEN IF MENTOR GRAPHICS OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES. IN NO EVENT SHALL MENTOR GRAPHICS’ OR ITS LICENSORS’ LIABILITY UNDER THIS
AGREEMENT EXCEED THE AMOUNT RECEIVED FROM CUSTOMER FOR THE HARDWARE, SOFTWARE LICENSE OR
SERVICE GIVING RISE TO THE CLAIM. IN THE CASE WHERE NO AMOUNT WAS PAID, MENTOR GRAPHICS AND ITS
LICENSORS SHALL HAVE NO LIABILITY FOR ANY DAMAGES WHATSOEVER. THE PROVISIONS OF THIS SECTION 8
SHALL SURVIVE THE TERMINATION OF THIS AGREEMENT.
9.1. Customer acknowledges that Mentor Graphics has no control over the testing of Customer’s products, or the specific
applications and use of Products. Mentor Graphics and its licensors shall not be liable for any claim or demand made against
Customer by any third party, except to the extent such claim is covered under Section 10.
9.2. In the event that a third party makes a claim against Mentor Graphics arising out of the use of Customer’s products, Mentor
Graphics will give Customer prompt notice of such claim. At Customer’s option and expense, Customer may take sole control
of the defense and any settlement of such claim. Customer WILL reimburse and hold harmless Mentor Graphics for any
LIABILITY, damages, settlement amounts, costs and expenses, including reasonable attorney’s fees, incurred by or awarded
against Mentor Graphics or its licensors in connection with such claims.
9.3. The provisions of this Section 9 shall survive any expiration or termination of this Agreement.
10. INFRINGEMENT.
10.1. Mentor Graphics will defend or settle, at its option and expense, any action brought against Customer in the United States,
Canada, Japan, or member state of the European Union which alleges that any standard, generally supported Product acquired
by Customer hereunder infringes a patent or copyright or misappropriates a trade secret in such jurisdiction. Mentor Graphics
will pay costs and damages finally awarded against Customer that are attributable to such action. Customer understands and
agrees that as conditions to Mentor Graphics’ obligations under this section Customer must: (a) notify Mentor Graphics
promptly in writing of the action; (b) provide Mentor Graphics all reasonable information and assistance to settle or defend the
action; and (c) grant Mentor Graphics sole authority and control of the defense or settlement of the action.
10.2. If a claim is made under Subsection 10.1 Mentor Graphics may, at its option and expense: (a) replace or modify the Product so
that it becomes noninfringing; (b) procure for Customer the right to continue using the Product; or (c) require the return of the
Product and refund to Customer any purchase price or license fee paid, less a reasonable allowance for use.
10.3. Mentor Graphics has no liability to Customer if the action is based upon: (a) the combination of Software or hardware with any
product not furnished by Mentor Graphics; (b) the modification of the Product other than by Mentor Graphics; (c) the use of
other than a current unaltered release of Software; (d) the use of the Product as part of an infringing process; (e) a product that
Customer makes, uses, or sells; (f) any Beta Code or Product provided at no charge; (g) any software provided by Mentor
Graphics’ licensors who do not provide such indemnification to Mentor Graphics’ customers; (h) OSS, except to the extent that
the infringement is directly caused by Mentor Graphics’ modifications to such OSS; or (i) infringement by Customer that is
deemed willful. In the case of (i), Customer shall reimburse Mentor Graphics for its reasonable attorney fees and other costs
related to the action.
10.4. THIS SECTION 10 IS SUBJECT TO SECTION 8 ABOVE AND STATES THE ENTIRE LIABILITY OF MENTOR
GRAPHICS AND ITS LICENSORS, AND CUSTOMER’S SOLE AND EXCLUSIVE REMEDY, FOR DEFENSE,
SETTLEMENT AND DAMAGES, WITH RESPECT TO ANY ALLEGED PATENT OR COPYRIGHT INFRINGEMENT
OR TRADE SECRET MISAPPROPRIATION BY ANY PRODUCT PROVIDED UNDER THIS AGREEMENT.
11.1. If a Software license was provided for limited term use, such license will automatically terminate at the end of the authorized
term. Mentor Graphics may terminate this Agreement and/or any license granted under this Agreement immediately upon
written notice if Customer: (a) exceeds the scope of the license or otherwise fails to comply with the licensing or confidentiality
provisions of this Agreement, or (b) becomes insolvent, files a bankruptcy petition, institutes proceedings for liquidation or
winding up or enters into an agreement to assign its assets for the benefit of creditors. For any other material breach of any
provision of this Agreement, Mentor Graphics may terminate this Agreement and/or any license granted under this Agreement
upon 30 days written notice if Customer fails to cure the breach within the 30 day notice period. Termination of this Agreement
or any license granted hereunder will not affect Customer’s obligation to pay for Products shipped or licenses granted prior to
the termination, which amounts shall be payable immediately upon the date of termination.
11.2. Upon termination of this Agreement, the rights and obligations of the parties shall cease except as expressly set forth in this
Agreement. Upon termination of this Agreement and/or any license granted under this Agreement, Customer shall ensure that
all use of the affected Products ceases, and shall return hardware and either return to Mentor Graphics or destroy Software in
Customer’s possession, including all copies and documentation, and certify in writing to Mentor Graphics within ten business
days of the termination date that Customer no longer possesses any of the affected Products or copies of Software in any form.
12. EXPORT. The Products provided hereunder are subject to regulation by local laws and European Union (“E.U.”) and United States
(“U.S.”) government agencies, which prohibit export, re-export or diversion of certain products, information about the products, and
direct or indirect products thereof, to certain countries and certain persons. Customer agrees that it will not export or re-export Products
in any manner without first obtaining all necessary approval from appropriate local, E.U. and U.S. government agencies. If Customer
wishes to disclose any information to Mentor Graphics that is subject to any E.U., U.S. or other applicable export restrictions, including
without limitation the U.S. International Traffic in Arms Regulations (ITAR) or special controls under the Export Administration
Regulations (EAR), Customer will notify Mentor Graphics personnel, in advance of each instance of disclosure, that such information
is subject to such export restrictions.
13. U.S. GOVERNMENT LICENSE RIGHTS. Software was developed entirely at private expense. The parties agree that all Software is
commercial computer software within the meaning of the applicable acquisition regulations. Accordingly, pursuant to U.S. FAR 48
CFR 12.212 and DFAR 48 CFR 227.7202, use, duplication and disclosure of the Software by or for the U.S. government or a U.S.
government subcontractor is subject solely to the terms and conditions set forth in this Agreement, which shall supersede any
conflicting terms or conditions in any government order document, except for provisions which are contrary to applicable mandatory
federal laws.
14. THIRD PARTY BENEFICIARY. Mentor Graphics Corporation, Mentor Graphics (Ireland) Limited, Microsoft Corporation and
other licensors may be third party beneficiaries of this Agreement with the right to enforce the obligations set forth herein.
15. REVIEW OF LICENSE USAGE. Customer will monitor the access to and use of Software. With prior written notice and during
Customer’s normal business hours, Mentor Graphics may engage an internationally recognized accounting firm to review Customer’s
software monitoring system and records deemed relevant by the internationally recognized accounting firm to confirm Customer’s
compliance with the terms of this Agreement or U.S. or other local export laws. Such review may include FlexNet (or successor
product) report log files that Customer shall capture and provide at Mentor Graphics’ request. Customer shall make records available in
electronic format and shall fully cooperate with data gathering to support the license review. Mentor Graphics shall bear the expense of
any such review unless a material non-compliance is revealed. Mentor Graphics shall treat as confidential information all information
gained as a result of any request or review and shall only use or disclose such information as required by law or to enforce its rights
under this Agreement. The provisions of this Section 15 shall survive the termination of this Agreement.
16. CONTROLLING LAW, JURISDICTION AND DISPUTE RESOLUTION. The owners of certain Mentor Graphics intellectual
property licensed under this Agreement are located in Ireland and the U.S. To promote consistency around the world, disputes shall be
resolved as follows: excluding conflict of laws rules, this Agreement shall be governed by and construed under the laws of the State of
Oregon, U.S., if Customer is located in North or South America, and the laws of Ireland if Customer is located outside of North or
South America or Japan, and the laws of Japan if Customer is located in Japan. All disputes arising out of or in relation to this
Agreement shall be submitted to the exclusive jurisdiction of the courts of Portland, Oregon when the laws of Oregon apply, or Dublin,
Ireland when the laws of Ireland apply, or the Tokyo District Court when the laws of Japan apply. Notwithstanding the foregoing, all
disputes in Asia (excluding Japan) arising out of or in relation to this Agreement shall be resolved by arbitration in Singapore before a
single arbitrator to be appointed by the chairman of the Singapore International Arbitration Centre (“SIAC”) to be conducted in the
English language, in accordance with the Arbitration Rules of the SIAC in effect at the time of the dispute, which rules are deemed to be
incorporated by reference in this section. Nothing in this section shall restrict Mentor Graphics’ right to bring an action (including for
example a motion for injunctive relief) against Customer in the jurisdiction where Customer’s place of business is located. The United
Nations Convention on Contracts for the International Sale of Goods does not apply to this Agreement.
17. SEVERABILITY. If any provision of this Agreement is held by a court of competent jurisdiction to be void, invalid, unenforceable or
illegal, such provision shall be severed from this Agreement and the remaining provisions will remain in full force and effect.
18. MISCELLANEOUS. This Agreement contains the parties’ entire understanding relating to its subject matter and supersedes all prior
or contemporaneous agreements. Any translation of this Agreement is provided to comply with local legal requirements only. In the
event of a dispute between the English and any non-English versions, the English version of this Agreement shall govern to the extent
not prohibited by local law in the applicable jurisdiction. This Agreement may only be modified in writing, signed by an authorized
representative of each party. Waiver of terms or excuse of breach must be in writing and shall not constitute subsequent consent, waiver
or excuse.