Lab3 Basic Block Based Bottom Up DFT Flow Overview

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14
At a glance
Powered by AI
The document discusses performing block-based DFT insertion using Tessent Shell.

The document provides instructions on how to perform block-based DFT insertion on a GPS baseband design using Tessent Shell.

The steps include loading the design, library, specifying design ID and TSDB directory, loading the RTL, elaborating the design, and specifying the design level.

Tessent Integrated Flow

Lab 3:
Basic Block Based Bottom-up DFT Flow
Overview

 2019 Mentor Graphics


All rights reserved.

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.

Mentor Graphics Corporation


8005 S.W. Boeckman Road, Wilsonville, Oregon 97070-7777
Telephone: 503.685.7000
Toll-Free Telephone: 800.592.2210
Website: www.mentor.com
SupportNet: supportnet.mentor.com/

Send Feedback on Documentation: supportnet.mentor.com/doc_feedback_form

PDF File Name: Lab3_Basic_Block_based_Bottom_up_DFT_Flow_Overview.pdf


Lab Workbook

Table of Contents

Table of Contents .....................................................................................................3

Before you Begin ......................................................................................................6

Lab 3: Basic Block-based Bottom-up DFT Flow Overview .................................9

Exercise 1: Overview of block-based DFT Insertion ..........................................10

NOTES: ...................................................................................................................13

Tessent Integrated Flow 3


Lab Workbook

This page intentionally blank.

4 Tessent Integrated Flow


Lab Workbook

This page intentionally blank

Tessent Integrated Flow 5


Lab Workbook

Before you Begin

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.

Setting Environment Variables

The environment uses bash and is ready to use for the labs with all needed
environment variables already setup.

Obtaining Lab Data

If the flow_data directory, with lab subdirectories, is located in the home


directory (e.g. cd ~), please proceed to the lab exercises as you have already set
up the lab database on this VM.

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.

1. Double click on the Desktop icon Download_lab_data, . This launches


a web browser.

6 Tessent Integrated Flow


Lab Workbook

2. On the resulting web page, select the file named


tessent_flow_data_2019.1_20190313.tgz, highlighted in the following
graphic.

3. In the resultant window, select the Download button, enable the Save File
button, then, select the OK button to download the file.

4. Once the download completes, close the Firefox windows.

Tessent Integrated Flow 7


Lab Workbook

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:

tar xzvf ./tessent_flow_data_v2019.1_20190313.tgz

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.

You are now ready to proceed with lab exercises.

8 Tessent Integrated Flow


Lab Workbook

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

• Load the design

• Load the library

• Usage of design_id

• Specifying the location of TSDB directory

• Specifying the design_level

Introduction
In this lab, you will learn the basic building blocks necessary to perform block-
based bottom up Design for Test (DFT) insertion.

Tessent Integrated Flow 9


Lab Workbook

Exercise 1: Overview of block-based DFT Insertion


In this exercise you are provided with RTL and necessary libraries to perform
DFT Insertion. The name of the design is “gps_baseband” and is going to be
inserted DFT as a design level physical_block.

Instructions
1. Change to the $FLOW_LABS/Lab3/exercise1
$ cd $FLOW_LABS/Lab3/exercise1

2. Review the provided two directories : library, rtl

o Under the rtl directory there are a bunch of design files


o Under the library directory there is standard_cells directory that has
verilog and tessent directories that contain the Verilog simulation
library and Tessent Cell Library respectively.

o
3. Invoke Tessent Shell.
$ tessent -shell -logfile logfiles/Lab3_ex1.log -replace

10 Tessent Integrated Flow


Lab Workbook

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

Tessent Integrated Flow 11


Lab Workbook

10. Elaborate the design by executing the set_current_design command.


SETUP> set_current_design gps_baseband

11. Specify this design level as a physical_block into which the DFT needs
to be inserted.
SETUP> set_design_level physical_block

At this point, if available, you can also load a Defaults DftSpecification or


a PatternsSpecification.
Note

12. Exit the Tessent Shell session.


SETUP> exit
This is the end of Exercise 1 and completes Lab 3.

12 Tessent Integrated Flow


Lab Workbook

NOTES:

Tessent Integrated Flow 13


Part Number: 073742

You might also like