Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Comments?
E-mail your comments about Synopsys
documentation to doc@synopsys.com
Copyright Notice and Proprietary Information
Copyright 2004 Synopsys, Inc. All rights reserved. This software and documentation contain confidential and proprietary
information that is the property of Synopsys, Inc. The software and documentation are furnished under a license agreement and
may be used or copied only in accordance with the terms of the license agreement. No part of the software and documentation may
be reproduced, transmitted, or translated, in any form or by any means, electronic, mechanical, manual, optical, or otherwise,
without prior written permission of Synopsys, Inc., or as expressly provided by the license agreement.
Right to Copy Documentation
The license agreement with Synopsys permits licensee to make copies of the documentation for its internal use only.
Each copy shall include all copyrights, trademarks, service marks, and proprietary rights notices, if any. Licensee must
assign sequential numbers to all copies. These copies shall contain the following legend on the cover page:
This document is duplicated with the permission of Synopsys, Inc., for the exclusive use of
__________________________________________ and its employees. This is copy number __________.
Destination Control Statement
All technical data contained in this publication is subject to the export control laws of the United States of America.
Disclosure to nationals of other countries contrary to United States law is prohibited. It is the readers responsibility to
determine the applicable regulations and to comply with them.
Disclaimer
SYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH
REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Registered Trademarks ()
Synopsys, AMPS, Arcadia, C Level Design, C2HDL, C2V, C2VHDL, Cadabra, Calaveras Algorithm, CATS, CSim, Design
Compiler, DesignPower, DesignWare, EPIC, Formality, HSPICE, Hypermodel, I, iN-Phase, InSpecs, in-Sync, Leda,
MAST, Meta, Meta-Software, ModelAccess, ModelTools, NanoSim, OpenVera, PathMill, Photolynx, Physical Compiler,
PowerMill, PrimeTime, RailMill, Raphael, RapidScript, Saber, SiVL, SNUG, SolvNet, Stream Driven Simulator, Superlog,
System Compiler, Testify, TetraMAX, TimeMill, TMA, VCS, Vera, and Virtual Stepper are registered trademarks of
Synopsys, Inc.
Trademarks ()
abraCAD, abraMAP, Active Parasitics, AFGen, Apollo, Apollo II, Apollo-DPII, Apollo-GA, ApolloGAII, Astro, Astro-Rail,
Astro-Xtalk, Aurora, AvanTestchip, AvanWaves, BCView, Behavioral Compiler, BOA, BRT, Cedar, ChipPlanner, Circuit
Analysis, Columbia, Columbia-CE, Comet 3D, Cosmos, CosmosEnterprise, CosmosLE, CosmosScope, CosmosSE,
Cyclelink, Davinci, DC Expert, DC Expert Plus, DC Professional, DC Ultra, DC Ultra Plus, Design Advisor, Design
Analyzer, Design Vision, DesignerHDL, DesignTime, DFM-Workbench, DFT Compiler, Direct RTL, Direct Silicon Access,
Discovery, DW8051, DWPCI, Dynamic-Macromodeling, Dynamic Model Switcher, ECL Compiler, ECO Compiler,
EDAnavigator, Encore, Encore PQ, Evaccess, ExpressModel, Floorplan Manager, Formal Model Checker,
FoundryModel, FPGA Compiler II, FPGA Express, Frame Compiler, Galaxy, Gatran, HDL Advisor, HDL Compiler,
Hercules, Hercules-Explorer, Hercules-II, Hierarchical Optimization Technology, High Performance Option, HotPlace,
HSPICE-Link, iN-Tandem, Integrator, Interactive Waveform Viewer, i-Virtual Stepper, Jupiter, Jupiter-DP, JupiterXT,
JupiterXT-ASIC, JVXtreme, Liberty, Libra-Passport, Library Compiler, Libra-Visa, Magellan, Mars, Mars-Rail, Mars-Xtalk,
Medici, Metacapture, Metacircuit, Metamanager, Metamixsim, Milkyway, ModelSource, Module Compiler, MS-3200,
MS-3400, Nova Product Family, Nova-ExploreRTL, Nova-Trans, Nova-VeriLint, Nova-VHDLlint, Optimum Silicon,
Orion_ec, Parasitic View, Passport, Planet, Planet-PL, Planet-RTL, Polaris, Polaris-CBS, Polaris-MT, Power Compiler,
PowerCODE, PowerGate, ProFPGA, ProGen, Prospector, Proteus OPC, Protocol Compiler, PSMGen, Raphael-NES,
RoadRunner, RTL Analyzer, Saturn, ScanBand, Schematic Compiler, Scirocco, Scirocco-i, Shadow Debugger, Silicon
Blueprint, Silicon Early Access, SinglePass-SoC, Smart Extraction, SmartLicense, SmartModel Library, Softwire,
Source-Level Design, Star, Star-DC, Star-MS, Star-MTB, Star-Power, Star-Rail, Star-RC, Star-RCXT, Star-Sim,
Star-SimXT, Star-Time, Star-XP, SWIFT, Taurus, Taurus-Device, Taurus-Layout, Taurus-Lithography, Taurus-OPC,
Taurus-Process, Taurus-Topography, Taurus-Visual, Taurus-Workbench, TimeSlice, TimeTracker, Timing Annotator,
TopoPlace, TopoRoute, Trace-On-Demand, True-Hspice, TSUPREM-4, TymeWare, VCS Express, VCSi, Venus,
Verification Portal, VFormal, VHDL Compiler, VHDL System Simulator, VirSim, and VMC are trademarks of
Synopsys, Inc.
SystemC is a trademark of the Open SystemC Initiative and is used under license.
ARM and AMBA are registered trademarks of ARM Limited.
All other product or company names may be trademarks of their respective owners.
i
ii
Preface
This manual assumes that you are familiar with the following procedures:
How to create a schematic in your design capture tool
How to view the contents of a file
How to use a text editor to create a file or edit the contents of a file
If this is your first time using SaberDesigner, you should run through the
tutorial presented in the Getting Started with SaberDesigner document. This
manual provides an excellent overview of the process described in this
chapter.
This Frameway Integration allows you access to Saber tools from ViewLogic
applications. You can create designs with the ViewDraw design capture
application using symbols provided with Saber. The designs are then
converted into Saber netlists by the netlister programs. SaberGuide and
SaberScope can be invoked from within the PowerView applications to
simulate and analyze the design. Cross-probing is provided to allow you to use
SaberScope to easily plot simulation results for selected nets in the
PowerView environment.
The ViewLogic applications are modified to allow access to Saber applications.
These modifications include: addition of new commands, changes to ViewDraw
and PowerView menus and dialog boxes, and inter-process communication
with Saber applications. These changes are referred to as integrations into
these applications.
In this manual you will find information about how to analyze a design using
SaberDesigner from schematic capture, to executing analyses, through tuning
parameter values.
SaberDesigner is an extremely powerful set of tools that allow you to analyze
your design in numerous ways. Thus allowing you to save design time, lower
production costs and create a more profitable product.
The following list overviews the chapters and appendices in this manual:
Chapter 1: Capturing the design describes the process of creating a
schematic. This chapter provides a generic approach to
schematic capture highlighting the features added to ViewDraw
to enable you to use Avant!-supplied parts in your designs.
Chapter 2: Simulating the Design. After you create the schematic, the next
step is to simulate the design in Saber. Chapter 2 describes the
methods to invoke the Saber simulator from within the design
capture tool.
You can analyze your design using any of the analyses provided
within Saber. You chose the proper analysis to run based on the
design specification that you want to verify. The remaining steps
in this list show the types of analyses that you can execute
within Saber. The process for running each of these analyses,
from displaying the form through evaluating the results, is
described in this manual.
Appendix A: Files Used during Saber Simulation describes the files that
Saber creates and generates during a simulation session.
Related Documents
Preface ................................................................................................................. v
What You Need to Know to Use This Manual .............................................. v
Overview of the ViewLogic Frameway Integration ...................................... v
What This Manual is About.......................................................................... vi
Related Documents .....................................................................................viii
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) ix
Copyright 1985-2004 Synopsys, Inc.
Table Of Contents
Bookshelf ............................................................................................Bookshelf-1
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) xi
Copyright 1985-2004 Synopsys, Inc.
Table Of Contents
xii Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
chapter 1
Capturing the Design with ViewDraw
The first step in the design analysis process is to capture the design. The
following topics describe the general process of creating a schematic with
ViewDraw and provide additional information for adding components
supplied with the Saber simulator. For detailed information on capturing
schematics, refer to the Viewlogic product documentation.
1. Creating a Project
2. Opening a ViewDraw Schematic
3. Choosing Models
4. Choosing and Placing Parts on a ViewDraw Sheet
5. Annotating Attributes
6. Drawing a Net
7. Checking and Saving the Design
In the next chapter, you will netlist the schematic and simulate the design.
Creating a Project
You have to set up a project before you can open a design in ViewDraw. In the
UNIX environment you use Powerview to do this, while in Windows NT you
use Workview Office. See the following topics for additional information:
Invoking Powerview and Creating a Project
Invoking Workview Office and Creating a Project
After you create a project, you can create a schematic in ViewDraw as
described in the next topic.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-1
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
In the UNIX environment, the Powerview cockpit manages the Viewlogic tools
that allow you to create and analyze circuits. In this first step, you will invoke
the Powerview cockpit and create a project by following these steps:
1. Invoke the powerview cockpit by typing:
powerview
NOTE
In order to locate supplied ViewDraw symbols, you must
modify the viewdraw.ini file to replace the
$(install_home) placeholder with the full pathname
to the install_home/framework/viewlogic directory.
1-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Invoking Workview Office and Creating a Project
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-3
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
After creating a project, you are ready to open a schematic sheet. When
creating a schematic, you should consider the following factors:
How does this part fit into the system hierarchy?
Will this schematic be placed in the corporate library?
Should this schematic adhere to any defined naming structure?
The answers to these questions are usually project-dependent. A carefully
thought out design structure will make it easier to maintain and reuse the
design.
See the following topics for procedures for opening a ViewDraw schematic:
Opening a ViewDraw Schematic in Powerview (UNIX)
Opening a ViewDraw Schematic in Workview Office (Windows NT)
After you create a project, you can create a schematic in ViewDraw as
described in the next topic.
To open a Schematic sheet from the Powerview cockpit, perform the following
steps:
1. Open a ViewDraw window by double-clicking on the ViewDraw button in
the Powerview cockpit.
2. Enter the name of a new or existing schematic file in the Enter name
field.
3. Click on the OK button to execute the dialog box.
This action creates a ViewDraw schematic window. In following sections, you
will add parts to the schematic, modify part attributes, draw nets and then
check/save the schematic.
1-4 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Opening a ViewDraw Schematic in Workview Office (Windows NT)
Choosing Models
When creating a Saber design, you must choose what kind of models to use as
your parts:
Components
The characterized components in the Component Libraries of Characterized
Parts have been designed to perform like specific commercially available parts
and are often named with commercial part numbers.
Templates
The templates in the Analogy Template Library of Generic Models allow you
flexibility in customizing a parts behavior.
You control a template by defining parameter values used in the templates
underlying mathematical equations. These values correspond to a parts
device values, descriptive characteristics, operating conditions, and sometimes
the equation variables themselves. "Applying Values to Characterize a
Template in ViewDraw" summarizes the process of determining these values.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-5
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
1-6 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Using the Saber Part Form to Place Supplied Parts
You can perform this procedure if you want to instantiate and place a symbol
that resides in a Saber library. To place supplied parts on the schematic, use
the following procedure:
1. Activate the Saber Part Form by selecting the Add > Saber Parts Gallery
pulldown menu item in ViewDraw.
2. Locate the necessary part by navigating through the menus in the
Saber parts form.
If you know the name of the parts that you are looking for, you can use
the symbol list generated by Info > Symbol menu item to help you in the
search.
3. Place the symbol
a. Select the part in the parts dialog box
b. Move the mouse cursor to the location on the schematic where you
want place the part.
You can toggle between a symbol outline and detail view of the
symbol by single-clicking the left mouse button.
c. Press the middle mouse button to place the symbol in the schematic
After you place the part, you can modify the instance attributes.
The Parts Gallery is an interactive tool that allows you to search and place
Analogy-supplied and custom parts in the schematic. You can search various
parts categories based on a part description, the symbol name or the MAST
template name.
Once you locate a part in the Parts Gallery, you can place the symbol in the
schematic, view the un-encrypted sections of the MAST template or view the
Template Description in SaberBook.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-7
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
You perform this procedure if you want to find and place a symbol that resides
in a Saber library.
1-8 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Using the Parts Gallery to Place Supplied Parts
Any Field
Ignore case when doing search
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-9
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
You can also place supplied parts using the Add Component dialog as
described in the following process:
1. Display the Add Component dialog box (Select Component from the Add
pulldown menu or select Component from the popup menu in free area
of the schematic.)
This displays the Add Component dialog box.
2. Select a Saber Library category from the lower list box (in Powerview
on UNIX) or right list box (Workview Office on Windows NT).
3. Select a Part either by selecting it from the upper listbox (in Powerview
on UNIX) or left list box (Workview Office on Windows NT). You can
also enter the symbol name.
4. Move the mouse cursor into the schematic and press the middle mouse
button to place the symbol (on UNIX) or drag the symbol to the
schematic after pressing the left mouse button (on Windows NT).
After you place the part, you can modify the instance attributes.
Because there is no method to provide stimulus within Saber, you must add
power and simulation stimulus parts to the design.
Power. If you use a global net (e.g. vcc or vdd) to connect power to parts
in the design, you must attach a supplied source to one instance of the
global net. If you do not attach the source, the global net will be floating
during simulation. You can use the Parts Gallery to search for the
appropriate global net, such as symbol name vcc.
Ground. You must include a Saber node 0 component in your
schematic. If you do not include this Saber ground, then your Saber
simulation results may not be correct. You can use the Parts Gallery to
search for the parts containing ground in their description to find the
Ground, (Saber Node 0) part.
Simulation Stimulus. These parts (e.g. sine wave voltage sources or
control system sources) allow you to stimulate the design during a
simulation in Saber. If you plan on using the schematic within
hierarchy or in multiple designs, you may want to create a symbol for
the schematic and then create a separate test schematic which
includes the symbol of the schematic and the simulation stimulus
source(s).
1-10 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Including Digital Parts in Designs
Adding Hypermodels
If your design contains both analog and digital parts and you want to run a
Saber native mixed-signal simulation, Saber must map signal values between
them using Hypermodels.
There are several ways you can use Hypermodels:
Let Saber automatically specify a Hypermodel for you.
If you do not specify a Hypermodel in the Hypermodel field of the
netlisting options form, the netlister automatically inserts a default
Hypermodel.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-11
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
If your design contains parts of more than one kind of technology (e.g., both
electrical and mechanical), you need to consider connection types when
connecting templates of different technologies together.
Each connection point on a template has a type, and the node in the design
that the connection point is attached to must be of the same type.
If you want to connect nodes of different connection types, you must do so
through an interface template.
SaberBook provides a summary of connection point types recognized by
Saber.
Detailed descriptions of each templates connection points, including
type, function, and location on the symbol, are located in the template
description in SaberBook.
1-12 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Annotating Attributes
Annotating Attributes
Modifying Attributes
Most supplied parts will function using default part parameters. However, you
must specify the parameters for the generic parts listed in the following table:
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-13
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
You can globally specify attributes in the saber symbol (the part name is
Saber Include File), which is located in the Support Library. Global
attributes used by supplied components are present on the saber symbol. You
can add custom global attributes to the saber symbol by selecting the saber
symbol and using the Change > attr > dialog > all ViewDraw pulldown menu.
Attributes defined on an instance override the value defined by the saber
symbol.
1-14 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Attributes on Supplied Symbols
RefDes: The netlister uses this optional attribute value as the instance
name in the Saber netlist.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-15
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
1-16 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Defining and Passing Parameters
The following list shows an example for implementing a generic active filter
block using parameters.
1. Create a schematic using the necessary parts, power sources, and
hierarchical connectors to implement the topology of an active filter.
r4 r5
vn
rnom rnom
r3
rnom
vcc
in u1a
r1 c1 vp op42fz_1
balb out
bala
rnom c_val
c2 vee
r2
c_val rnom
rnom=1/(2*3.14159*{fn}*{c_val})
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-17
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
5. On a higher level schematic, place the symbol and modify the fn and
c_val attributes to define the parameters to pass to the underlying
schematic by following the procedure in "Modifying Attributes". The
following figure shows a design that uses the generic active filter.
in out60
in out
notch_fltr
vcc fn:60
c_val:0.1u 10k
v out200
v in out
15
15 notch_fltr
v fn:200
initial: 0 c_val:1.0u 10k
pulse: 1
tr:10n
vee tf:10n
delay: 1m
width: 5m
period: 10m
ac_mag: 1
Drawing a Net
After you place the parts on the schematic, you can connect the pins on the
parts by drawing nets. To draw a net, perform the following steps:
1. Select the Add > Net pulldown menu in ViewDraw.
2. Position the mouse pointer where you want the net to begin (usually,
this is at an instance pin) and click the middle mouse button.
The initial point of the net becomes fixed and a ghost net image
rubberbands as you move your mouse.
3. Move the end of the net segment to the location that you desire and
click the middle mouse button.
ViewDraw instantiates the net segment between the initial and final
points that you specified.
1-18 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Naming Nets
4. To continue adding segments to the net, move the mouse pointer to the
next position and click the middle mouse button.
5. To complete the net, click the right mouse button.
Naming Nets
After you draw the net, you may want to name the net. If you do not name the
net, the netlister uses a system generated name (e.g. N183). To name a net in
the schematic under Powerview:
1. Select Net
2. Label the net (Add > label)
Under Workview Office, press the right mouse button over the net and select
the Properties item from the Properties menu to activate the Net Properties
dialog box. Enter the name in the Label field under the Name tab.
You can not use Saber commands or MAST reserved words (listed in the
online documentation).
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 1-19
Copyright 1985-2004 Synopsys, Inc.
Chapter 1: Capturing the Design with ViewDraw
1-20 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
chapter 2
Running SaberDesigner in ViewLogic Frameway
After you have checked and saved your schematic, the next step in the design
process is to analyze the design using the various analyses within Saber.
The design analysis process can be divided into the following major steps:
1. Preparing to Simulate the Design
2. Simulating a ViewLogic Design in SaberDesigner
3. Viewing Analysis Waveforms
4. Making Design Changes to a ViewLogic Design
5. Releasing the ViewLogic Frameway License
6. Exiting Saber
7. Opening a New Netlist
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-1
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
If you do not explicitly start the Saber netlister from the frameway, the
frameway controls when either a netlist is generated or Saber is invoked.
You should verify the netlister options prior to either doing the manual
netlisting from the frameway (Saber > Saber/Netlister Settings) or prior to
running an analysis in SaberGuide. You should also define Saber invocation
options prior to running an analysis in Saber.
To prepare to simulate with Saber, use the following procedure:
2-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Preparing to Simulate the Design
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-3
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
b. From the ViewDraw session window, choose the Tools > Saber menu
item. This brings up the Saber Menu window, which contains a
single menu, the Saber menu.
c. Invoke SaberGuide by selecting the Saber > Start SaberGuide menu
item. After starting up, SaberGuide automatically loads the design
that you opened in ViewDraw.
2-4 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Simulating a ViewLogic Design in SaberDesigner
Step 4. Verify the Saber Invocation Options in SaberGuide (Edit > Saber
Preferences)
Because SaberGuide does not invoke the simulator until you execute
the first analysis in Saber, you can verify the Saber invocation options
within SaberGuide. If you do not edit the invocation options, Saber uses
the default values in design.ai_prj.
If you want to use the Saber-Verilog Co-simulator, you examine the
fields in the Co-Simulation tab of the Saber/Netlister Settings form.
After you complete these steps, you are ready to simulate the design in
SaberDesigner, as described in the next section.
After you invoke the SaberGuide User Interface and verify the netlister and
Saber invocation options, you are ready to simulate the design using the Saber
simulator.
Because Saber contains numerous types of analyses, you can select the
appropriate analysis depending on the type of specification that you are trying
to verify. You can access these analyses using the Analyses pulldown menu in
SaberGuide.
Prior to running any analysis, the frameway verifies that Saber is ready and
the netlist is up to date. The frameway completes these tasks using the
process outlined in "Frameway Process Executed prior to Running the
Analysis".
The following topics describe the analyses available within Saber:
Verifying Design Functionality
Tuning Design Parameters
After you run the analysis, you can view the waveforms generated by the
analysis in SaberScope, as described in the next major section.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-5
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
Saber provides the following analyses to verify the functionality of your design
in the time and frequency domains. Procedures for executing these analyses,
viewing the resulting waveforms, and analyzing the results are described in
chapters 3-5 of this manual.
Transient analysis determines the system response over time. Fourier
and FFT analyses transform time-domain waveforms in to the
frequency spectrum (Chapter 3).
AC analysis determines the frequency response of the system. iFFT
analysis transforms frequency domain waveforms into the time domain
(Chapter 4).
Two-port analysis determines various parameters defining the relation
ship between specific input and output ports. DC Transfer analysis
sweeps an independent source and calculates the operating point at
each swept value (Chapter 5).
Saber provides the following analyses to tune the design parameters, such as
part values and tolerances, of your design. Procedures for executing these
analyses, viewing the resulting waveforms, and analyzing the results are
described in chapters 6-10 of this manual.
Vary allows you to sweep design/part parameters (at user-defined
values) and execute a set of analyses at each parameter value.
Monte Carlo allows you to randomly vary design/part parameters and
run various analyses to evaluate a simulated manufacturing run.
Sensitivity analysis determines the sensitivity of a performance
measurement to a variance of a design/part parameter.
Stress analysis determines whether a part is overstressed during a
particular DC, DC transfer or Transient analysis run.
2-6 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Frameway Process Executed prior to Running the Analysis
The following list describes the process the frameway integration uses prior to
Saber running an analysis. These steps insure that the Saber netlist reflects
the latest version of the schematic.
1. Check status of design
Prior to each analysis run, the frameway will inquire the schematic
capture tool about the current design version and whether the Saber
netlist is current.
2. Netlist Design, if necessary
If the frameway determined that the Saber netlist was out of date with
the schematic and if the As Needed option is selected, the frameway
will re-netlist the design and re-load the netlist. No user intervention is
necessary.
This action invokes the netlister (vwltosv) to read the design and
create a Saber Netlist in the project directory. This directory also holds
the files created as Saber runs. For these netlisters, the netlist will have
a .sin extension (for Saber Input Netlist). Saber uses the information
from the netlist file (.sin) to perform its analyses.
If the netlister encounters any errors, it will report the error and halt
the analysis process. If this occurs, you should examine the transcript of
the netlister (vwltosv.out) and resolve the error messages. You can
also view the Saber netlist (model names, instance names, connection
points, and non-default parameter values) within the SaberDesigner
user interface by executing the Edit > List/Alter Parameters menu item.
3. Check status of Saber simulator
After the frameway verifies the netlist is up to date, it checks the status
of the Saber simulator. When used with the frameway, the simulator
will be in one of the following states:
Saber Busy. If Saber is currently running an analysis, SaberGuide
will display a message informing you of the current status of the
simulator.
Perform the analysis. If Saber is invoked and not running another
analysis, it will perform the specified analysis.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-7
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
Invoke Saber. If Saber was not invoked (e.g. this is the first analysis
run of the simulation session), SaberGuide invokes the Saber
simulator. The following list outlines the process that Saber uses to
invoke on a netlist:
a. Display copyright and version information
b. Acquire licenses. You only get the licenses you need unless you
specifically define which licenses to acquire and which licenses to
ignore in Saber > Saber/Netlister Settings, Simulation tab, Licensing
sub-tab.
c. Load all supplied templates. By default, Saber loads the
analogy.sld file which is a compiled version of the
install_home/template/support/analogy.sin file. This file
contains the default simulation setups and template loading. You
can override this default by using one of Sabers load options (-l,
-ls, or -ln) during invocation.
d. Load design-specific templates (e.g. the netlist of the design)
e. Display system information (e.g. OS version, time, and date)
You can view the Saber invocation messages by viewing the
design.out file, located in the working directory.
2-8 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Viewing Analysis Waveforms
SaberScope is the viewing and analysis tool. All waveforms created by the
various analyses can be viewed in SaberScope. SaberScope is normally used in
this environment after running a Saber simulation. SaberScope is a powerful
and flexible tool allowing you to probe (simply by pointing and clicking) any
node to view its waveform. The Frameway adds two key features to improve
working with SaberScope:
Specifying ViewDraw Nets or Pins to Create Waveforms
Viewing Signals Internal to a Template
Cross-Probing ViewDraw Nets or Pins
Saber uses a Signal List to determine which signals are added to a Plot File.
You can create the Signal List from selected nets or pins within ViewDraw by
using the following procedure:
1. Make sure that you have an .ai_grm file for the design. If there is not
one, you can make it by netlisting the design.
2. Select the nets or pins in ViewDraw.
3. Display the analysis from SaberGuide for the analysis that you want to
run.
4. Go to the Input/Output tab.
5. Create the Signal List by selecting one of the following items from the
Signal List field:
Get Selected - replaces the existing Signal List with the selected
signals
Append Selected - appends the selected signals to the current Signal
List
6. In the Waveforms at Pins field, choose one of the following items:
Across Variables Only
Through Variables Only
All Variables
7. Verify the other field values in the analysis form and run the analysis
by clicking the OK button.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-9
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
2-10 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Making Design Changes to a ViewLogic Design
Based on the analysis results, if you determine that you need to make changes
in the design, the following topics describe functionality added to the
ViewLogic Frameway that aid in that process:
Changing Property/Parameter Values in Saber
Back Annotating DC Values in ViewDraw
You can change the property value of an instance without propagating the
change back into the design by using the Alter Design form.
1. Select the Edit > Alter... menu choice, or click on the Alter button in the
menu bar, to open the Alter Design form.
2. Select the Netlist tab.
3. Select an instance in the Hierarchical Instance List. If there is a + next to
the instance name, double click to display the lower level hierarchy of
this instance. Editable parameters do not have a + next to them.
4. Highlight the parameter you want to change by clicking on it with the
mouse cursor.
5. Display the Edit Values form by clicking the Edit... button in the Alter
Design form.
6. Change the value in the Value field.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-11
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
If you want to view DC values from an initial point file, do the following:
1. Display the Back Annotation form (Results > Back Annotation)
2. Enter the name of the initial point file into the Initial Point File field
3. Set the Place on Schematic field to yes
4. Click the OK button.
If the DC values change (e.g. by re-running DC analysis or editing the initial
point file), ViewDraw does not update the values on the design until you
repeat the previous steps.
The previous steps cause the DC values to be placed on the nets in the design
according to the siglist specified in the Results > Back Annotation dialog box.
2-12 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Releasing the ViewLogic Frameway License
To release the Frameway license from ViewDraw, select the Saber > Release
frameway license menu item. This displays a form in which you can select
whether to exit SaberGuide/SaberScope if they were connected to the
frameway.
Exiting Saber
After you completed your Saber session, you can close the design by selecting
the File > Close > Active menu item from the Saber pulldown menu bar. This
action will exit the Saber simulator but will not exit the SaberGuide User
Interface nor release the Frameway license.
Upon exiting, if you specify Yes in the Save Before Closing dialog box, Saber
saves the simulation state to the design.tbl file. Saving this file enables you
to start your next simulation session with this design to continue as if you
never ended the session. For example, all alters will be saved in memory.
The following table shows the various ways to exit the Saber simulator:
All commands sent to Saber and any messages reported in the Transcript
window are saved to the design.out file.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-13
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
You can open a new design (netlist) in SaberGuide without the Frameway
interaction if the following conditions are met:
The Saber netlist is already generated.
SaberGuide is not connected to the Frameway. (If the frameway is
connected, it will always provide the design name.)
If you meet these criteria, you can open a design without exiting the tool by
selecting the File > Open Design menu item in the SaberGuide Transcript
window. Once the Open Design dialog box is displayed, you can specify the
following information:
Specify the design (netlist) name
You can specify the name of the netlist by either entering the pathname
to the netlist in the Design Name field or clicking on the Browse...
button to reveal the File Selection dialog box. You can use this dialog
box to navigate through the file system to the netlist.
Specify Saber invocation options
You can specify the Saber invocation options by clicking on the Edit
Saber Settings... button in the Open Design form and using the
Saber/Netlister Settings form. For information of each of the Saber
invocation options, click on the Help button within the form.
After you complete the necessary information in the Open Design form, you
can inform Saber to read in the netlist by clicking on the OK button. After the
tool invokes, the Saber Status field would change to design.sin - Saber
Ready which specifies the name of the current design and the status of the
Saber simulator.
This section describes the key user interface features, mouse usage and form
usage in SaberDesigner. After you examine the user interface, you can run an
analysis in SaberDesigner as described in the next major section.
2-14 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Examining the User Interface
If you invoke SaberGuide and SaberScope together either by using the saber
command or by invoking Saber from within the design capture tool, the
following user interface appears:
Saber Transcript Button Saber
Saber Status Line Activity
Pulldown Icon
Menu Bar
SaberGuide
Icon Bar
SaberScope
Icon Bar
Active
Graph
Tool Bar
Help Field
The following list briefly explains the major elements in the SaberDesigner
user interface:
Pulldown Menu Bar contains the menu items for the commands within
SaberGuide and SaberScope. The Analyses, Extract and Results menu
items contain SaberGuide commands. The Graph menu item contain
only SaberScope commands. The remaining menu items contain a
composite of SaberGuide and SaberScope commands.
SaberGuide Icon Bar contains icons that you can click to execute
commonly used SaberGuide commands.
SaberScope Icon Bar contains icons that you can click to execute
commonly used SaberScope commands.
Graph Window displays waveforms and measurements.
Tool Bar displays icons for each of the tools available within the
application. You can display each tool by either clicking on the icon or
selecting the tool from the Tools pulldown menu.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) 2-15
Copyright 1985-2004 Synopsys, Inc.
Chapter 2: Running SaberDesigner in ViewLogic Frameway
Help Field displays an one line help message for the object under the
cursor (if a help message is available).
Saber Status Line displays information about current design name or
whether the Saber simulator is running.
Saber Activity Icon informs you when Saber is running by rotating in a
circular motion.
Saber Transcript Button allows you to open a separate window
containing the SaberGuide-specific menus, the Saber transcript
window, and the Saber command line.
For information on any element (e.g. menu, icon, or dialog box) within
SaberScope or SaberGuide, refer to SaberBook.
You can use the mouse to manipulate the objects in the graph. The following
list shows some of the mouse actions that you use within SaberScope:
To select an object, position the cursor over the object and left click the
left button. Most selected objects are displayed in reverse video.
To move an object, position the cursor over the object and then press
and hold the left mouse button while dragging the object.
To display the attributes form of the object, position the cursor over the
object and press the right mouse button.
To paste an object, select the object and click the middle mouse button
in the destination location (e.g. calculator)
To pan an axis, press and hold the middle mouse button while moving
the cursor in the direction that you want to pan.
The following list describes the action of the common buttons on forms and
dialog boxes within SaberGuide:
OK button executes the command and dismisses the form.
Apply button executes the command and leaves the form up
Cancel button dismisses the form without executing the command
Defaults button allows you to save the settings of the form using a
unique name.
2-16 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
appendix A
Files Used by Designer Tools
The Designer environment uses and produces several different types of files.
Preference Files
Startup Files
Log Files
Project Files
Report Files
Preference Files
This section describes the files associated with saving application preferences
and configurations for SaberDesigner.
These files control three different types of application settings:
Site-specific preference files (for example, guide.site) and
user-specific preference files (for example .guide_user) set the
application preferences selected from the Edit menu. The .site file is
read first. If it exists, the _user file is then read and overrides the
.site file where they contradict each other.
Session-specific configuration files (for example .guidecfg) set the
configuration parameters selected from the File menu choice.
Site-specific startup files (for example guideRc.site) and
user-specific startup files (for example .guideRc_user) contain AIM
scripts that you can run in conjunction with Saber applications. The
.site file is read first. If it exists, the _user file is then read and
overrides the .site file where they contradict each other.
These three types of application settings are independent of one another.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) A-1
Copyright 1985-2004 Synopsys, Inc.
Appendix A: Files Used by Designer Tools
Site-specific Preferences
A-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Preference Files
Site files are created from _user files using the procedure Setting
Environmental Preferences in the Installation Manual.
If you want to change the contents of any of these files, you can either delete
the file to return to default preferences or you can reconfigure the application
preferences and overwrite the old .site file.
User-specific Preferences
Users can have a local equivalent of site files in their home directory. The local
files begin with a period (.) and have an _user suffix such as .aim_user. The
preferences contained in the _user files, if present, override the preferences
in the corresponding .site file. When a user saves application preferences,
Saber preferences, or graph preferences, they are saved in a local _user file.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) A-3
Copyright 1985-2004 Synopsys, Inc.
Appendix A: Files Used by Designer Tools
A-4 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Preference Files
This section describes the directories and files located in your home directory
that contain SaberDesigner session configuration parameters. Session
configuration parameters consist of things such as window location and sizes,
a list of available colors, and pathnames to various data sources.
The following subsections describe each of these files in more detail.
.guidecfg File
The .guidecfg file is read from your home directory when you invoke
SaberGuide in a stand-alone mode (no SaberScope). This file holds the
SaberGuide session configuration parameters when you choose the File >
Configuration > Save or Save on Exit menu item.
To change the settings in this file, reconfigure the settings within SaberGuide
and save them (overwriting the old data).
To ignore the settings in this file for a given session, use the -noconfig
argument to bypass the .guidecfg file when you invoke SaberGuide.
To clear the settings in this file, choose the File > Configuration > Clear menu
item.
.sketchcfg File
The .sketchcfg file is read from your home directory when you invoke
SaberSketch. This file holds the SaberSketch session configuration
parameters when you choose the File > Configuration > Save or Save on Exit
menu item.
To change the settings in this file, reconfigure the settings within SaberSketch
and save them (overwriting the old data).
To ignore the settings in this file for a given session, use the -noconfig
argument to bypass the .sketchcfg file when you invoke SaberSketch.
To clear the settings in this file, choose the File > Configuration > Clear menu
item.
.scopecfg File
The .scopecfg file is read from your home directory when you invoke
SaberScope or the combination of SaberScope and SaberGuide. This file holds
the session configuration parameters when you choose the File > Configuration
> Save or Save on Exit menu item.
If you want to change the settings in this file, reconfigure the settings within
SaberGuide/SaberScope and save them (overwriting the old data).
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) A-5
Copyright 1985-2004 Synopsys, Inc.
Appendix A: Files Used by Designer Tools
If you want to ignore the settings in this file for a given session, use the
-noconfig argument to bypass the .scopecfg file when you invoke
SaberGuide/SaberScope.
If you want to clear the settings in this file, choose the File > Configuration >
Clear menu item.
.scopecfg_data Directory
This directory is located in your home directory. This directory contains a
separate directory for each graph from a SaberScope session when you choose
the File > Configuration > Save or Save on Exit menu item. The graph directories
contain files that store the graph configuration from a SaberScope session.
The directory has the following structure:
.scopecfg_data
Startup Files
A-6 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Log Files
The following files reside in your home directory and contain AIM commands
controlling the application as listed below:
guideRc.site - controls SaberGuide, during SaberGuide-only
invocation (no SaberScope), on a site wide basis.
.guideRc_user - controls SaberGuide, during SaberGuide-only
invocation (no SaberScope), on your local machine.
scopeRc.site - controls SaberScope and SaberGuide (if SaberGuide is
invoked with SaberScope) on a site wide basis.
.scopeRc_user - controls SaberScope and SaberGuide (if SaberGuide
is invoked with SaberScope) on your local machine.
sketchRc.site - controls SaberSketch, during SaberSketch
invocation, on a site wide basis.
.sketchRc_user - controls SaberSketch, during SaberSketch
invocation, on your local machine.
There is a similar pair of files for .aimRc_user and aimRc.site which are
loaded before the files that all applications get. Unlike the applicationRc files,
which are read only by the applications they are named for, the aimRc files
are global files.
Log Files
A log file is created in the directory where the application was invoked and
contains a log of the activities performed during a session. The contents of
these files can be used to create Aim scripts to control the application.
guide.log - created during a SaberGuide-only (no SaberScope)
session.
scope.log - created during a SaberScope and SaberGuide session (if
SaberGuide is invoked with SaberScope).
sketch.log - created during a SaberSketch session.
harness.log - created during a iQBus session.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) A-7
Copyright 1985-2004 Synopsys, Inc.
Appendix A: Files Used by Designer Tools
Project Files
Edit > Simulator/Netlister Settings (SaberSketch) and Edit > Simulator Settings
(Guide and SaberScope) are saved for each individual design. The settings are
saved in a design.ai_prj file in the current directory of the design. Every
time you open a design, the settings in the design.ai_prj file are applied to
the Designer application.
In order to create a project.site file, follow this procedure:
1. Specify the options on the Simulator/Netlister Settings form.
2. Click the Save button.
3. This creates a designname.ai_prj file in your working directory.
4. Rename designname.ai_prj to project.site.
5. Place the path to project.site in $AI_SITE_PATH.
Report Files
where design is the name of the design file and name is user selectable (with a
default to the analysis abbreviation).
A-8 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
appendix B
Netlister Command Reference
This topic describes the Saber netlister for ViewLogic. The Viewlogic netlister
command is vwltosv. This netlister is available from within the Frameway
Integration and as a command to the UNIX shell.
The input to this netlister is the circuit interconnections produced from a
ViewDraw schematic, and component descriptions (from various libraries).
The output of a netlister is a file (called a netlist) that completely
characterizes the circuit. For these netlisters, this output file will have a .sin
extension (for Saber Input). This netlist is used by the Saber Simulator
whenever any of the analysis tools are invoked.
This discussion is in the context of running the netlister from the command
line. However, many of these options are also available from within the
Frameway Integration user interface.
For example, you can set the Netlist state file option (refer to the -ns command
line option) in the Saber/Netlister Settings form to Default or Specified.
NOTE
Designs created with previous versions of supplied
symbols must be saved before netlisting and simulating.
If not, some of the SaberDesigner symbols, such as
supplies, may not netlist correctly.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) B-1
Copyright 1985-2004 Synopsys, Inc.
Appendix B: Netlister Command Reference
vwltosv Command
The vwltosv command invokes the VWLTOSV netlister to create a netlist for
the Saber simulator and, optionally, to create a netlist for the Verilog
simulator. The format of the vwltosv command is shown below. Files
referenced in command line options must be in the data search path. The
directory (sch) containing the Viewlogic schematic, from which the netlist
extracts information, must be in the current (working) directory.
vwltosv [-a] [-ae] [-dgne] [-e]
[-fault option] [-g ground_net_name]
[-h hypermodel_lib] [-header] [-help]
[-hetprc on|off] [-l level_name]
[-m user_map_file] [-n netlist_template_file]
[-nochecktime] [-ns filename] [-o netlist_name]
[-p power_net_name] [-pcif] [-q] [-repdollar]
[-refdes] [-norefdes] [-s simulator] [-tdb option]
[-tI] [-tW] [-v] [-vhdl] project_name
The command line options can be included in any order. The following list
briefly describes each option:
B-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
vwltosv Command
-fault option turns on fault wrapper generation for the Testify Test
Manager. The following sub-options control whether
fault wrapper files are written for primitive templates:
yes - always generate wrapper files
no - dont generate wrapper files
as_needed - search for the wrapper file, write one if
its not found.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) B-3
Copyright 1985-2004 Synopsys, Inc.
Appendix B: Netlister Command Reference
B-4 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
vwltosv Command
-n netlist_ name of the netlist template file that the Verilog netlist
template_file writer is to use. The netlist template file contains
structure and formatting information used by the
Verilog writer to create a Verilog .v netlist file. The
filename must have the extension .ntf. If you do not
specify this option, the netlister uses the netlist
template file provided with the VWLTOSV netlister
(verilog.ntf).
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) B-5
Copyright 1985-2004 Synopsys, Inc.
Appendix B: Netlister Command Reference
B-6 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
vwltosv Command
NOTE
If you have custom templates
with the same names as
supplied templates, you
should not use this option, as
it may lead to netlisting
errors or incorrect netlists.
nogenDo not generate user template information
(.ai_tdb files), but use such information if it is
already available.
For information on the template database files, refer
to The Template Information System.
NOTE
Use of this option may cause
netlisting errors if the
template database files are
not up to date.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) B-7
Copyright 1985-2004 Synopsys, Inc.
Appendix B: Netlister Command Reference
B-8 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
vwltosv Command
A Verilog netlist file (when neither the -a nor the -s saber options are
specified, and there are Verilog parts in the design)
If you specify the -o option, the filename of the Saber simulator netlist file
will be the name you specified in the -o option followed by the extension .sin.
If you do not specify the -o option, the Saber simulator netlist filename is
taken from the name of the design followed by the extension .sin. If you do
not specify the -a option, the netlister also creates a Verilog netlist file. The
Verilog netlist file will have the same name as the Saber simulator netlist file
but with the extension .v. The VWLTOSV netlister also produces an output
file containing the messages that are written to the screen during program
execution. This file is named vwltosv.out.
For example:
vwltosv -tW -h ti.shm -m user1 -o netlist
-p VCC -g GND my_design
In this example, the ti.shm Hypermodel library will be used. The netlister
searches for a users mapping file named user1.map. The netlister produces a
Saber simulator netlist in a file named netlist.sin and a Verilog netlist in
a file named netlist.v. VCC is identified as the top-level power net and GND
as the top-level ground net. Warning messages are turned on. The design to be
processed is named my_design. Finally, the netlister also produces the output
file vwltosv.out containing the messages that are written to the screen
during program execution.
Refer to the Users Guide for the Saber-Verilog Co-Simulation Interface for
information regarding how to use the Saber simulator and Verilog netlists in a
Saber simulator/Verilog mixed-mode simulation.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) B-9
Copyright 1985-2004 Synopsys, Inc.
Appendix B: Netlister Command Reference
B-10 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
appendix C
Simulating Digital Parts in Saber
Hypermodels - Overview
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) C-1
Copyright 1985-2004 Synopsys, Inc.
Appendix C: Simulating Digital Parts in Saber
Although the Component Library lists over 2000 logic devices having
characterized Hypermodels, they are not directly supported with schematic
symbols or menu items in the Parts Gallery. In order to implement these
parts, you will place the generic digital part in the schematic, specify
propagation delay properties, and assign the appropriate Hypermodel
depending on your requirements for accuracy and simulation speed.
For more information on Hypermodel properties and their effect on simulation
results, see SaberBook.
This procedure discusses using Hypermodels to map between analog and
digital signals for Saber native mixed-signal simulation. It does not include
digital to digital Hypermodels (used for co-simulation) or mixed-technology
Hypermodels (for mapping analog to mechanical signals).
C-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Using Ideal Hypermodels
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) C-3
Copyright 1985-2004 Synopsys, Inc.
Appendix C: Simulating Digital Parts in Saber
The topic titled "Hypermodel Filenames and Logic Families" gives a table
comparing each logic family to the filenames used for both ideal Hypermodels
and technology-specific Hypermodels.
The following table compares logic family to the filenames used for both ideal
Hypermodels and technology-specific Hypermodels.
C-4 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Creating Part Number-Specific Hypermodels
The a,d,g, and p characters indicate inputs (a), outputs(d), ground (g)
and power (p) net on the 74LS04. ti74ls_15 is the model designation.
3. Add a SaberModelName property to each port of the digital part.
a. Open the Property Editor on all of the ports.
b. Add a SaberModelName property to all ports. Add the model
designation to the Value field.
In this example, on the inverter, you would add one property to all of
the ports:
Name Value
SaberModelName ti74ls_15
c. Click Apply.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) C-5
Copyright 1985-2004 Synopsys, Inc.
Appendix C: Simulating Digital Parts in Saber
Note that in the general case, some ports might behave like one kind of part,
and other ports might behave like a different part, as in the next example.
1. Do a text search on the file ns.shm for 74F74. The search will return
74F74:aaaaddg ddaaaap:: ns74f_7k
([2,3,11,12]=ns74f_8u)
2. Like the other example, the a,d,g, and p characters indicate inputs (a),
outputs(d), ground (g) and power (p). Pins can also be bidirectional (b),
though none are on this device. The line also states that the ns74f_7k
model, also defined in ns.shm, will be applied to all pins except 2, 3, 11,
and 12 (the CLK and D inputs for each flip flop). An ns74f_8u model
will be applied to these pins.
The procedure to include more than one logic family in a designfor example,
to have both TTL and CMOS parts in a circuitis the same as that for the
topic titled "Creating Part Number-Specific Hypermodels", except that you
must specify, in the Saber/Netlister Settings form, the multiple Hypermodels
corresponding to the logic families in your design, rather than only one
Hypermodel.
You then assign a SaberModelName property with the value of the model
designation to each pin on the digital parts in the design.
If you want to assign unique power and ground connections to each
Hypermodel in your design, use the symbol port properties,
SaberModelPowerPin and SaberModelGroundPin, as follows:
Note that these properties must be assigned to the symbols ports, not to the
instances ports.
Invoke the Symbol Editor on the symbol and assign these properties to the
port you want attached to a Hypermodel:
SaberModelName = model designation of the Hypermodel
SaberModelPowerPin = name of that symbols port that you want the
Hypermodels power pin attached to
SaberModelGroundPin = name of that symbols port that you want
the Hypermodels ground pin attached to
C-6 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Selecting Hypermodels from the Saber/Netlister Settings Form
The following example illustrates how to use these properties. A symbol sym
has three ports: VCC, attached to power, VEE, attached to ground, and A,
attached to an idp Hypermodel. You will assign the following properties to
port A:
SaberModelName = idp
SaberModelPowerPin = VCC
SaberModelGroundPin = VEE
Step 2. Select the Netlister tab, and then the Hypermodels tab.
The Available listbox displays the pre-defined Hypermodels you can use
during simulation.
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) C-7
Copyright 1985-2004 Synopsys, Inc.
Appendix C: Simulating Digital Parts in Saber
If a net connects an analog part to a digital part, then the netlister inserts a
Hypermodel on the connecting net. The insertion of this non-physical part
requires the creation of a new net. The net on the analog side retains the
existing net name while the net on the digital side is re-named
<netname>_<digital_part_inst>_<pinname> as illustrated in the
following figure:
U1
R13
/net1
Hypermodel
Digital Part Analog Part
U1
/net1_U1_out /net1 R13
H
C-8 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
Index
Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004) Index-1
Copyright 1985-2004 Synopsys, Inc.
Index
S
Saber Node 0 1-10
Saber Parts
Accessing 1-7
Saber parts
accessing 1-8
Saber, exiting 2-13
Saber, invocation options 2-14
saber_model property 1-13
SaberGuide Icon Bar 2-15
SaberScope Icon Bar 2-15
SaberScope, using mouse 2-16
scope.log file A-7
scope.site file A-3
scopeRc.site file A-7
searching for parts 1-9
sketch.log file A-7
sketch.site file A-3
sketchRc.site file A-7
Startup files A-6
Symbols, placing on schematic 1-7
T
Transcript, displaying 2-16
V
ViewDraw
Nets, drawing 1-18
Schematics, saving 1-19
Index-2 Saber Frameway for Mentor Graphics ePD User Guide (Sept. 2004)
Copyright 1985-2004 Synopsys, Inc.
BOOKSHELF