Академический Документы
Профессиональный Документы
Культура Документы
SpyGlass®
SpyGlass 4.6.0
SpyGlass: Methodology
• Pre-Requisites: Getting Started with SpyGlass or equivalent
Configuration System
2
Getting Started with SpyGlass: Agenda
SpyGlass Flow Overview
Lab #1 – Basic UI invocation and goal execution/analysis
3
SpyGlass Flow Overview
RTL/Netlist Reports
Files
Module/Instance/Message
Additional Command Options Tree etc.)
6
Setting up design
Add HDL
files directly
7
Goal selection
A goal is a set of checks that you would like to run on the design
The example below shows the we will run synthesis goal Click on
„Analyze
Results‟ to
After see the result
selecting the for
goal press highlighted
Run button goal
Review the
help
Select the information
Atrenta Confidential © 2011 Atrenta Inc.
goal(s) of associated
interest with the goal
The session
log will echo
the progress
of the run
8
Understanding SpyGlass Output
SpyGlass reports the results of the analysis as messages
All violations have a severity (label as well as class) and a message
Violation severity classes are
• FATAL: Analysis can no longer proceed and must exit
• ERROR: A possible design or setup error which can impede analysis or may
result in incorrect results
• WARNING: This is a potential problem and may or may not be a design
error
• INFO: Informational messages for auxiliary rules that help in debug as well
as information about different rule reports being generated
SpyGlass generates a number of reports providing details of the
analysis
Atrenta Confidential © 2011 Atrenta Inc.
9
Results review
Once goal(s) run is complete, select the related line in the goal list and
click „Analyze Results‟ to view the results of that run and access
debug capabilities
Double-
Module/Instance clicking
tree shows the message
hierarchy highlights
related RTL
source code
Show the
Links to drivers/loads
debug for the
utilities selected RTL
Atrenta Confidential © 2011 Atrenta Inc.
signal
11
Lab 1: Basic UI invocation and goal analysis
Lab duration: 15 minutes
12
SpyGlass Design Read
Resolve Issues
interpret it
libs.f
-y ../lib1
-v ../lib2/cells.v
+libext+.v
..
Design Read Goal Setup and Run Analyze Results
18
Specifying Libraries…VHDL
In case of logical library pre-compilation
Need to map the logical library to physical path
Need to change logical work to respective logical library
Define a logical library and its physical path
set_option lib vhdl_lib <physical path to vhdl_lib>
Setting “work” to be the user defined lib
set_option work vhdl_lib
Atrenta Confidential © 2011 Atrenta Inc.
Click here
to run
design read
In-line help
gives more
Atrenta Confidential © 2011 Atrenta Inc.
information on
Review status after
the selected
design read is complete
message(s)
and fix issues that arise
Review blackboxes
Example of missing definition
25
Goal Selection and Setup
• Select which goals need to be run at the current stage of the design
• Goals determine the checks you want to perform on a current version of
Goal the design
Selection
• Not all goals need to be setup but if you don’t setup the goals that
should, the results will be misleading
Goal Setup • In case user wants to create different setups for same goal- they can
make use of scenarios
RTL/Netlist Reports
Files
Waivers
SGDC Files SpyGlass®
(SDC, CPF, UPF,..)
Debug Capabilities
(HDL navigator,
Tech Libraries Waveform Viewer,
(.lib, .plib) Schematic Viewer,
Additional Command Options Module/Instance/Message
Tree etc.)
Atrenta Confidential © 2011 Atrenta Inc.
Progress Bar
Atrenta Confidential © 2011 Atrenta Inc.
indicates the
progress in
modeling
associated
with the goal
Add the
SGDC file(s),
if applicable
List of Parameters
applicable for the
selected goal
as well as about
parameters
Select Tools-
>Preferences to edit UI
view settings
Specify the
scenario Change
name parameter
settings (if
Run the scenario in batch mode using
goal@scenario option required)
Add the
SGDC file(s),
if applicable
Add goal
specific
options (if
applicable) Add –scenario option to
current_goal command in project
Atrenta Confidential © 2011 Atrenta Inc.
36
Lab-3: Goal Setup and Run
Select a methodology
Change to New_RTL methodology
Design
Files
SGDC Files
SpyGlass® Reports
Tech Libraries
(.lib, .plib) Fix by changing RTL
Messages
Atrenta Confidential © 2011 Atrenta Inc.
• These messages indicate that there is a design issue which can result in design
failure
Errors • These issues should be fixed
• These messages indicate that the issue can cause unpredictable behavior in
downstream tools or a mismatch between the two downstream tools
Warning • These messages may be fixed or waived based on the designer style
Atrenta Confidential © 2011 Atrenta Inc.
• These messages will tell you where you need to look for reports and other
information related to a rule (e.g. spreadsheet with power saving opportunity)
Info
type along with the severity class and rule short help.
waiver Automatically generated whenever one or more rules are waived
during a SpyGlass analysis run indicating which waive command
has waived how many violation messages and which ones.
elab_summary Gives user the details about parameter/generic values in terms of
actual vs. default such that user can validate and debug.
44
Analyze Results: Schematic Usage
As part of debugging, user can use the schematic view after double-
clicking the message and opening it
You can find objects,
trace fanin/fanout from
any net as well as can
create constraint from
schematic
Incremental Sch
button will open
schematic logic
showing the
violation
Atrenta Confidential © 2011 Atrenta Inc.
Schematic legend
Schematic Log window
Gate symbol indicates the color scheme
Waiver Interface indicates the objects that
indicates the for different highlighted
is selected in schematic
message has objects in schematic
view and can be used for
schematic view copying the object name
using RMB
Design Read Goal Setup and Run Analyze Results
45
Analyze Results: Incremental Schematic Usage
Use Preferences button to
change highlight color etc. (for
both type of schematic)
Modular schematic is not suggested for debugging violation on large designs due to capacity limitations but
it is useful on small designs to get the complete view of design. Otherwise use it to highlight the starting
point for trace in IS (using the Load to IS utility)
Sequential
Block
Vectored assignment
Combinationa
l Block
Atrenta Confidential © 2011 Atrenta Inc.
Design
Files
SGDC Files
SpyGlass® Reports
Tech Libraries
(.lib, .plib) Fix by changing RTL
Fills in du, rule, msg and initial comment (username, date, time)
Opens the Waiver User Interface ( )
File management
(right-click menu to
Add waiver files
Enable waiver files
Remove waiver files
Set default waiver
file)
Escape
metacharacters in
Atrenta Confidential © 2011 Atrenta Inc.
the message
(-regexp must be
on)
Sub-block-1 sb1.swl
Atrenta Confidential © 2011 Atrenta Inc.
Sub-block-3 sb3.swl
59
Organizing Messages using Tagging
Use violation tagging to manage the violations in an organized and priority
based manner as desired/needed by the user
Atrenta Confidential © 2011 Atrenta Inc.
Review errors
Fix the errors for each goal, starting with lint and then to other goals
62
Integrating SpyGlass into a
Design Flow
RTL block RTL block RTL block RTL/IP RTL SoC Netlist Layout
Spec
development refinement handoff inspection integration handoff handoff
Verification Synthesis P&R Tapeout
Reports
Quality
SpyGlass
Reports
Atrenta Confidential © 2011 Atrenta Inc.
Trend
Datasheet
SpyGlass
& kits
64
SoC Integration and IP Iterations
To ensure that IP can be easily integrated into the SoC, the IP provider
must ensure that the SoC integrator sees the same view
This is enabled by ensuring that all the relevant information with
respect to the is packaged by the IP provider
SoC integrator then qualifies the IP the way it is packaged before
integrating it.
65
Dashboard Report for Quality and Trend Analysis
Dashboard report generation for Design Life Cycle Management
Dashboard report generation for trend analysis
Consolidated dashboard view of quality and objective metrics is useful for
management review
Atrenta Confidential © 2011 Atrenta Inc.
66
Dashboard report generation command
You can generate dashboard report (html and csv) both from batch
and UI
Prerequisites :
requires the license feature „dashboard‟
configuration file (projects and success criteria file)
UI mode usage:
Tools -> Dashboard report (followed by entry of configuration file and success
criteria file as a minimum)
Batch mode usage:
%spyglass –gen_aggregate_report dashboard –config_file <configuration file> -
reportdir <directory to generate report>
Configuration file will contain name of the project file(s) and path to the success
Atrenta Confidential © 2011 Atrenta Inc.
criteria file
Template of a configuration file is present under $SPYGLASS_HOME/auxi (file :
dashboard_criteria_template)
67
Atrenta Confidential © 2011 Atrenta Inc.
68
Lab-5: Packaging a block for integration
Create a stand-alone package and validate the results you got from the
previous lab
69
Where to Look for Help
71
Release Information
The following files can be found at the top-level of install directory:
72
Technical Support
E-mail
support@atrenta.com
Atrenta Confidential © 2011 Atrenta Inc.
73
Thank you!