Tessent Command Study Notes
Tessent Command Study Notes
3. open_tsdb: Makes the contents of the tsdb directory visible to the tool and
automatically opens the specified tsdb directory.
7. read_vhdl -format 2008 -f $f: Read one or more VHDL files into the specified or
default logic library ; -format 2008, optional, specifies the expected format of
the input file; -f, optional, tcl list, specifies the name of one or more ASCII files
pointing to the design files to be loaded. The called files are usually generated by
another tool, so this option requires the use of the file without converting it to
the format allowed by the read_vhdl command.
8. read_verilog: read one or more Verilog files into the specified or default logic
library; -format, optional, specifies the format of the input Verilog file; -
vcs_compatibility, optional, ignores syntax errors allowed by Synopsys
compilation.
10. read_design: reloads the design after DFT insertion to perform analysis or
future DFT insertion processes; first use the read_verilog and read_vhdl
commands to read the design into the tool. In the design, once the DFT insertion
process is performed, the read_verilog and read_vhdl command lists require the
modified design to be reloaded into the tool and stored in design_name; for
1 Ashwani DFT
example: use the read_verilog and read_vhdl commands to read in the RTL code,
and then perform the Mbist insertion of the DFT. At this time, the RTL file has
been modified. When the logic test is inserted in the next step, the read_design
command is used to load the RTL file modified in the first step; -design_identifier,
optional, is used to specify the design_in of the design to be read in (each design
corresponds to a design_id, which is used to represent this design); –view
full|graybox|interface, determines the view of the design to be read in.
11. read_core_descriptions: Reads the specified TCD file; the TCD file is used to map
scan information from one level to the next level in order to run ATPG at a
higher level and relocate patterns for instances of the associated core (top read
submodule).
16. set_system_mode: specifies the operating state you want the tool to enter,
setup, analyze, or insertion.
17. create_port: Creates a port on the specified design module. The default mode
after calling the tool is setup. After generating patterns, if you try to return to
setup mode, the tool will prompt you to save the patterns and issue an error:
2 Ashwani DFT
18. intercept_connection : A command that uses the get_dft_cell command to get a
cell with a specified function name, and uses it to intercept connections to pins,
ports, or nets. Add corresponding cells, such as Mux, AND, OR gates, to the
original connection to make the signal selectively connected.
node
is either a port, pin or net name in the design, or a collection of port, pin or net
objects. Based on the type of the object and its attribute direction, for a pin or port,
intercepts the source or destionation connection of the object. If node is an inout pin
or port, or if node is a net corresponding to an inout pin or port, an error will occur.
cell_function_name function_name
specifies the function of the cell used for interception, including and, buffer, inverter,
mux, or, clock_and, clock_buffer, clock_inverter, clock_mux, and clock_or.
select select_source
specifies a node connected to the select input of the cell. The source must be a valid
pin, port, or net object, or a name, or a constant value of 0 or 1. If you want to insert
a gate and then connect additional pins later, you should use a constant value.
leaf_instance_prefix prefix_name
Specifies the prefix to use when instantiating cells. If not specified, defaults to
"insertion_". The leaf instance name is a combination of prefix_name and
cell_function_name. When a collision is detected during instantiation (with the same
name), the tool automatically adds an "_" suffix to make the leaf name unique. Use a
special prefix if you want to easily find the inserted cells in synthesis or layout scripts
(using e.g. "get_cells prefix_name -hier").
set_Reset_dominate_clock OFFf|ON
Optional, used to determine whether the assertion of the set or reset port
dominates the clock value of flip-flops and latches when multiple ports are turned on
at the same time (multiple ports refer to clocks). When switch is on, the set or reset
3 Ashwani DFT
port is on (not both can be on at the same time), and the estimated value of the
state element (the value in the register or latch) depends on the set or reset port.
When the switch is off and multiple ports are turned on at the same time, the
estimated value depends on all the enabled ports. When the values of the enabled
ports are consistent, the state element is set to a consistent value, otherwise, the
state element is set to X. In addition, even if the switch is set, the state element is set
to X when set and reset are turned on at the same time.
-C6_mask_races OFf | ON
-MUX_Select_x_sim_x OFf | ON
You can use the ON parameter to model the _mux primitive as non-consensus
(select line X -mux instance output X). Changing the _mux primitive to non-
consensus will reduce test coverage. And this switch can be used in any mode, but
when used in setup mode, the tool evaluates _mux instance as non-consensus mux
instances, which will cause additional DRC violations.
4 Ashwani DFT