Lab3 Basic Block Based Bottom Up DFT Flow Overview
Lab3 Basic Block Based Bottom Up DFT Flow Overview
Lab3 Basic Block Based Bottom Up DFT Flow Overview
Lab 3:
Basic Block Based Bottom-up DFT Flow
Overview
This document contains information that is trade secret and proprietary to Mentor Graphics Corporation or its licensors
and is subject to license terms. No part of this document may be photocopied, reproduced, translated, distributed,
disclosed or provided to third parties without the prior written consent of Mentor Graphics.
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: www.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:
www.mentor.com/eula.
Table of Contents
NOTES: ...................................................................................................................13
If this is the first time you are launching this VM (Virtual Machine), you must
download and extract the lab data as described in the "Obtaining Lab Data section
Caution
below.
Whenever you are using the VM for lab exercises and are finished with your
session, please use the "Disconnect" feature of the Desktop Viewer before the VM
times out to preserve the data from one session to the next. Failure to do so will
remove the VM, and its contents.
If the VM was removed, you will be presented with a new VM requiring you to
follow the download and extract process. This allows you to "refresh" the lab data
so you can go through the labs again with a new database.
The environment uses bash and is ready to use for the labs with all needed
environment variables already setup.
If this is the first time you are starting a session for this VM, the flow_data
directory will not be in the home directory and you will need to download and
extract it using the following instructions.
3. In the resultant window, select the Download button, enable the Save File
button, then, select the OK button to download the file.
5. Move the file in the Downloads directory to the home directory. If you are
using the terminal (Applications>Favorites>Terminal) you can use the
following command:
mv ./Downloads/tessent_flow_data_v2019.1_20190313.tgz .
6. In a terminal window, extract the files from the compressed tar file using the
command:
You should now have a directory named flow_data in your Home directory. That
directory contains all the files you need to perform the exercises, in this learning
path.
Lab 3:
Basic Block-based Bottom-up DFT Flow
Overview
Objectives
Upon completion of this lab, you should be able to use Tessent Shell to
• Usage of design_id
Introduction
In this lab, you will learn the basic building blocks necessary to perform block-
based bottom up Design for Test (DFT) insertion.
Instructions
1. Change to the $FLOW_LABS/Lab3/exercise1
$ cd $FLOW_LABS/Lab3/exercise1
o
3. Invoke Tessent Shell.
$ tessent -shell -logfile logfiles/Lab3_ex1.log -replace
4. First step is to set the context to load in an RTL design. This being the first
Design for Test (DFT) insertion pass, use –design_id as rtl1
SETUP> set_context dft -rtl -design_id rtl1
5. Second step is to specify the location of the Tessent Shell Data Base (TSDB)
directory to be one level higher up than the current working directory
SETUP> set_tsdb_output_directory ../tsdb_outdir
6. For DFT to be inserted into RTL design, there may not be any Tessent
libraries needed, but if it is then load the necessary library files.
SETUP> read_cell_library \
library/standard_cells/tessent/adk.tcelllib
7. The next step is to load all the RTL design blocks for DFT inserted for this
design block using the read_verilog command. This is an example of
entering the command at a session prompt.
SETUP> read_verilog rtl/carrier_nco.v
8. Loading all the verilog files is a tedious typing exercise. A more efficient
method is to use a “dofile”. Open and review the load_rtl.do file, taking
note that it contains the following collection of read_verilog commands
for this block of the design.
read_verilog rtl/accumulator.v
read_verilog rtl/code_nco.v
read_verilog rtl/lpm_counter.v
read_verilog rtl/time_base.v
read_verilog rtl/carrier_mixer.v
read_verilog rtl/code_gen.v
read_verilog rtl/epoch_counter.v
read_verilog rtl/lpm_counter_ud.v
read_verilog rtl/lpm_shiftreg.v
read_verilog rtl/tracking_channel.v
read_verilog rtl/gps_baseband.v
9. Execute the dofile, load_rtl.do, to load the remaining RTL modules for the
gps_baseband block.
SETUP> dofile load_rtl.do
11. Specify this design level as a physical_block into which the DFT needs
to be inserted.
SETUP> set_design_level physical_block
NOTES: