Genus_iSpatial_Lab
Genus_iSpatial_Lab
Copyright Statement
© 2024 Cadence Design Systems, Inc. Cadence and the Cadence logo are registered trademarks of
Cadence Design Systems, Inc. All others are the property of their respective holders.
This content is Cadence Confidential and for Cadence customers only. DO NOT DISTRIBUTE.
Contents
Purpose ....................................................................................................................... 4
1. Introduction .............................................................................................................. 5
1.1 Directory Structure ............................................................................................. 5
1.2 Tool Versions ..................................................................................................... 5
1.3 Terms and Typographic Conventions ................................................................ 5
1.4 Design ................................................................................................................ 5
1.5 LAB Sequence ................................................................................................... 6
1.6 Commands to Navigate Genus Database Design Hierarchy ............................. 6
2. LAB: Genus iSpatial Flow ........................................................................................ 7
2.1 Objective ............................................................................................................ 7
2.2 Lab Files ............................................................................................................ 7
2.3 Running the Lab ................................................................................................. 7
2.4 Understanding the Flow ..................................................................................... 7
2.4.1 Setup (Attribute Settings) ................................................................................ 8
2.4.2 Loading Libraries and Designs ........................................................................ 9
2.4.3 Running Generic Optimization and Mapping (Physical-Aware) ..................... 10
2.4.4 Run iSpatial Optimization with Unified Genus and Innovus Engines............. 11
2.4.5 Write Reports and Files for Handoff to Innovus preCTS ............................... 11
Support ...................................................................................................................... 13
Feedback ................................................................................................................... 13
Purpose
The purpose of this RAK is to introduce you to the Genus iSpatial flow. This flow has the
following features:
• Integrates fast timing closure with Innovus GigaPlace and GigaOpt engines.
• Provides accurate prediction of timing, area, leakage, and congestion for RTL
designers.
• DB handoff allows Innovus place_opt_design to run faster.
1. Introduction
In the lab exercises provided in this document, you will learn to use Genus iSpatial.
Read the Genus iSpatial: Training presentation slides and the lab instructions before
starting the labs and use them as a reference throughout the labs.
Some messages and log statements explained in the instructions may not appear in
different tool versions.
Note: Use the same main branches of Genus and Innovus for compatibility (for
example, Genus 22.1* with Innovus 22.1*).
Throughout the lab, anything to be typed at the command prompt is written using blue
Courier fonts.
1.4 Design
The sample testcase is a generic DTMF design and is attached with the RAK.
@genus:root:> vls –l
You can enter the virtual directories listed above by using the following command:
Make sure to get back to the root directory by using the following command:
@genus:root:> vcd
2.1 Objective
Use Genus to execute a simple compile of the DTMF design:
• run.tcl: This script is created as a template for running iSpatial in the Common
UI.
• mmmc_config.tcl: Multi-Mode Multi-Corner config file
• db_handoff_to_invs.tcl: Innovus preCTS script for DB handoff
• netlist_handoff_to_invs.tcl: Innovus preCTS script for netlist handoff
unix:> genus
You may run commands within the ‘run.tcl’ script line-by-line in the Genus session by
typing or copy/pasting, or you may run all commands in sequence using one of the
following methods:
• unix:> genus
@genus:root: > source run.tcl
OR
• unix:> genus –f run.tcl –log genus.log
2. The following three search path variables are set in the script to be used later to
point Genus to the directories containing the libraries, scripts, and design files:
i. set_db init_lib_search_path { \
../libraries/gsclib045_v3.5/timing \
../libraries/gsclib045_v3.5/lef \
../macro_libs }
ii. set_db init_hdl_search_path { ../rtl }
iii. set_db script_search_path { . }
3. The following attributes determine synthesis effort for each synthesis stage:
Note: You can also set the efforts directly without using vars. For example:
4. The following commands set the variables used later to create directories for saving
reports, databases, and log files:
5. Set the ‘extreme’ option to set ispatial flow to run in the extreme mode
6. Set the location of the Innovus executable (this step is not needed if Innovus
executable is present in your PATH environment variable):
It is important that one of these be set to enable the execution of Innovus during
iSpatial optimization; otherwise, an error will occur when Genus cannot find the
executable.
This attribute creates a directory where Innovus interface files such as .sdc,
netlist, and .def are generated during syn_opt -spatial. The directory is
primarily used for debugging purposes.
Note: If this attribute is not set, the files will be generated in a temporary directory,
which will get deleted once Genus iSpatial is completed. Thus, setting the
invs_temp_dir attribute is recommended for review and debug of the iSpatial
metadata.
Note: There are power control commands that also has an impact on the power
optimization:
opt_spatial_power_driven true/false
opt_spatial_power_driven_effort none/low/high
9. Optionally, you can turn off ‘useful skew’ for iSpatial. It is recommended to set it at
the default value (true).
1. The three search path variables mentioned earlier (refer to the point 2 under section
2.4.1 given above) are used to point Genus to the directories containing the libraries,
scripts, and design files.
2. Read mmmc_config (contains .lib, qrcTechFile, and SDC file specifications), LEF
files, and RTL files.
read_mmmc mmmc_config.tcl
read_physical -lef {gsclib045_tech.lef gsclib045_macro.lef
pllclk.lef CDK_S128x16.lef CDK_S256x16.lef CDK_R512x16.lef}
read_hdl $rtl_list
elaborate $DESIGN
init_design
check_design -unresolved
syn_gen -physical
syn_map -physical
Note: Normally, you can write reports, db files, and/or netlists between these steps. The
script contains some typical commands used for writing these files. Also, you can
complete some DFT insertion (non-RTL) after syn_map (for example, connecting scan
chains) if a part of the design requires it.
Genus iSpatial calls Innovus, which places the design, optimizes it, and does a trial
route. Then, Innovus passes the design back to Genus for analysis and reporting.
• DB handoff
• Netlist handoff
Netlist handoff provides added flexibility to customers who have back-end vendors that
do not accept a placed DB.
Supplementary information: Innovus commands for loading and placing the design in
preCTS for both DB and netlist handoffs are as follows:
DB handoff:
read_db ${_OUTPUTS_PATH}/final_db/${DESIGN}
time_design -report_only
Netlist handoff:
Note: Only the DB handoff passes the placement forward to Innovus. DB contains
information that tells Innovus that a full place_opt_design is not required; so, DO
NOT use the -incremental switch when running Innovus place_opt_design in
either handoff modes.
Support
Cadence Support Portal provides access to support resources, including an extensive
knowledge base, access to software updates for Cadence products, and the ability to
interact with Cadence Customer Support. Visit https://support.cadence.com.
Feedback
Email comments, questions, and suggestions to [email protected].