TDX Tool Manager Main Panel

Newcomers to the TDX Tool Manager (a.k.a "the GUI") would be well advised to carefully read the whole of this page prior to exploring other pages; a good understanding of this material will make the rest of the gui easier to learn.

This page describes the elements of the main panel of the GUI (Graphical User Interface):

It is also possible to reconfigure some aspects of the visual appearance.

Menu Bar

File
Directory, Exit
Netlist
Compile, netlist1, netlist2, ...
Faultlist
Compile, Collapse, Partition, Merge, Change, Remove, Report
Simulate
Logic, Fault, Iddq
Test
ATG, STEP, TAP, Scanmaker
Validate
Validate, Wdb2tdx
Misc
DCT, Memgen, History
Help
context

Directory Line

The current directory is shown in this line. Click with mouse button 1 (normally the left button) to initiate selection of a new directory. Once in the dialog you may select any file within the directory of choice. However, if you select a .ckt file the design name will be set from that as well.

An alternative to initiate this dialog is the File/Directory menu entry.

To the right of the current directory is a button that changes directory to the parent directory. You may navigate to a lower directory by double-clicking mouse button 1 on a directory icon within the directory listing.

Status Line

The status line displays short messages about the state of TDX Tool Manager or the results generated by some of the underlying programs.

Directory Listing

This section of the GUI lists the files in the current directory. It gets refreshed after running programs from within TDX Tool Manager. It can also be refreshed by pushing the refresh button.

Each file forms a line composed of the following:

date and size
the date the file was last modified and the size in bytes, kilobytes or megabytes. Shown in bold for recently updated files.
icon
different icons are displayed depending on the type of file (as identified by its extension). A single click will pop up a menu with rename, copy, delete and, depending on the type of file, open options. The action applies to the selected file and creates a dialog panel to obtain necessary parameters and/or confirmation. The open option displays the contents of the file and allows it to be edited and subsequently saved.

A double click will initiate a file type-specific operation. For fault files this will cause the reporter to be run to produce a short summary of the file status. This summary is displayed in the status line and also shown in blue to the right of the filename (the latter makes no attempt to show hyperactive fault counts etc)

Double clicking on a non-binary file will cause that file to be displayed in a window where it may be edited (standard emacs control sequences) and optionally saved.

Double clicking on a directory will change to that directory.

Double clicking on a .ckt or .nnm has no effect.

filename
identifies the file... Clicking on the name of a .flt or .scn file toggles its selection (there are separate selections for each type of file). It is necessary to identify a fault file using this mechanism prior to fault simulation. A scan file may optionally be identified as well.
annotation
file-specific information may be displayed (in blue) to the right of the filename.

File Selection

Typically, the main input file(s) to a program must be selected before launching the control panel using the main menus. This section describes the selection mechanism.

There are two file selections maintained by the directory browser:

To select a file (and deselect any existing selection) click with the left mouse button on the filename. In the case of fault files it is possible to select multiple files. The second and subsequent fault files are added to the selection by clicking with the left mouse button on their filename while simultaneously holding the keyboard shift key down. Files can be removed from the selection by clicking on their filename with or without the shift key.

Directory Listing Control

This feature actually consists of three small panels that appear down the right side of the main panel. This area is also known as the "key". When visible, this area can be made invisible by pressing the Hide Key button. When invisble, it can be made visible by pressing the Show Key button.

File Types:

This part of TDX Tool Manager gives control over which files are seen and in which order they are displayed ("sort order"). The top part lists a number of different file types whose display may be enabled or disabled via the check buttons:
source files
source files that define the circuit: .ver, .vf, .vhd, .vhdl
circuit files
circuit database files: .ckt, .nnm, .nam
config files
configuration files that control the operation of the tdx suite: .XXXinit, .timeplate
vector files
files that contain stimulus data: .vec, .tvc, .vcd
fault files
files containing fault status: .flt
scan files
files defining virtual scan elements: .step, .scn
coverage fiels
these files show how cumulative fault coverage increases with vectors applied: .stt
SDF files
files that define delays on circuit elements: .sdf
report files
report files generated by tdx programs: .log, .dct, .xad, .rep, .steplog, .diag, .idq, .itt, .spt, .tme
other
files with an extension not listed above (or without an extension).

Sort Order

There are several sorting options; one of following mnemonic values may be selected possible:
321
Show the files in reverse date order. ie The youngest file is at the top and the oldest at the bottom.
123
Show the files in date order. ie The oldest file is at the top and the youngest at the bottom.
abc
Show the files in alphabetical order. Uppercase comes before lowercase.
cba
Show the files in reverse alphabetical order.
.abc
Show the files in alphabetical order of their extension. This can be useful for seeing all the fault files together, for instance.

Model Files Only

When the checkbutton is "on", files whose names start with the name of another design on the directory are not shown. For instance, if there are two designs in the current directory, Fred and Joe, and Joe is the currently selected design then files beginning Fred will not be seen unless this button is on. Directories are always shown, regardless of their name.

Refresh

A short while after any changes are made to the File Types: or Sort Order: sections a refresh will happen automatically. You can curtail the wait (approx 2 seconds) by pressing the Refresh button.

This button may also be useful after adding or removing files from the directory by means other than TDX Tool Manager.


Menu Options

Directory

This starts a browser that allows the user to select a new directory. This updates the menu under Netlist with a list of compiled netlists found within that directory. The default selection is displayed on the main banner. It can be changed by selecting an item on the Netlist menu.

Exit

Quits TDX Tool Manager without further ado.

Context Help System

TDX Tool Manager uses Netscape to display hypertext help information. There are two ways to trigger the display of help: The first time you do this TDX Tool Manager will look for "netscape" in your path. If it find one, you will be asked if you wish to use it. If you chose not to or if netscape cannot be located then help information will be displayed in a simple built-in browser. Netscape is faster and renders text more elegently so it is probably better to use it if you can.

Both netscape and the built-in browser allow you to click on links to explore information linked to what is currently displayed. The forward and back buttons on the built-in browser work similarly to netscape.

At present you may have to start Netscape yourself prior to displaying help information with it.


History

TDX Tool Manager keeps track of the TDX programs it launches. To review this information select History on the Misc menu of the main panel.

The log of programs may be saved (perhaps to form the basis of a shell script). It may also be cut and pasted from. The information is displayed in a window that permits normal editing operations; you may embelish the output with notes or comments prior to saving the result.


TDX-MEMGEN: A Memory Configuration Tool

Memgen provides for the creation of verilog memory modules using TDX primitives. This is needed when there are behavioral descriptions of memory in a design and there is a need to run ATG.

TDX-MEMGEN is an interactive tool that can be started from the "Misc" menu in the TDX tool manager. When the tool is first opened, the Main Panel is displayed. Additional help is available from TDX-MEMGEN panels.


dct

dct is a new version of the existing dcttool program. It shows how the number of faults detected increases as the vector set is applied. Unlike dcttool, dct is designed work on any platform that runs TDX Tool Manager.

To launch dct select DCT on the Misc menu of the main GUI panel. You will then be asked to select a .stt file. Alternatively, double click with the left mouse button on the icon associated with a .stt file. With this method the nominated file will be displayed without further interaction.

Interacting with dct

Set the Scale: value to examine a section of the data in greater detail. The scale is defined as the number of vectors displayed in 100 pixels. The smaller the scale, the smaller the amount of the graph shown and the greater the magnification. For example, a scale of 50 will produce twice the magnification of a scale of 100. You can also set the magnification in terms of the percentage of the vector range that is shown.

Getting Numerical Readouts

Press the left mouse button over the graph to read off hard and probable coverage values from the active graph (see below). A vertical cursor line will show which vector's values are being displayed (this snaps to the preceeding vector where the coverage actually increased). Drag the cursor for a dynamic update of coverage values.

Scrolling

The scrollbar below the graph can be used to scroll the graph. Alternatively, drag off the left or right side of the window while depressing the left mouse button. Dragging further outside the window increases the scroll rate.

It is also possible to scroll the graph using the scroll bar or pressing the left-cursor and right-cursor keyboard buttons. Holding the shift key down while pressing the cursor keys increases the rate of scroll.

Displaying Multiple .stt Files

It is possible to view multiple .stt files simultaneously. Additional ones can be added with the File/Open menu option. The View menu shows which files have been opened and allows the display of each one to be deselected.

The value readout only works for one dataset at a time. To select the active set click on the "down" button to the right of the Active Set: field. The name of the active dataset is displayed in a different color in the View menu.

Changing Graph Presentation

The appearance of the graph can be modified in a number of ways. Select View/Properties to get a dialog to control this. The graph colors may be modified by clicking on Hard Color, Probable Color etc and interacting with a color choice browser. Once changes have been made, they can be applied to all datasets with Apply To All or just to the current active set with Apply.

Active Mode

If dct is run in "Active" mode (File/ReRead/Active) it will periodically reread the selected input file(s). This feature, used while a fault simulation is in progress, allows you to see how the simulation is proceeding.

Configuration

Many aspects of the GUI's appearance can be customized (e.g fonts, colors). Much of the configuration can be done with the standard X database mechanism. In practice, this means you put lines in a file called .Xdefaults in your home directory. To make changes that will be seen by all TDX users at your installation you can put definitions in $TDX_ROOT/tdxtoolmanager/appDefaults. The application name is tdxgui. You can either specify attributes of specific widgets (e.g the 'refresh' button, .refresh) or classes of widgets (e.g all one-line text boxes, Entry):
tdxgui.refresh.background: red
tdxgui*Entry.font:Helvetica 12
tdxgui.fcompInteractive.text.foreground:green
To see the effect of changes you need to reload the X defaults database (typically with the command xrdb -l ~/.Xdefaults) and restart tdxtoolmanager.

Widget Names

If you need to know the name of a specific widget, click the mouse button 3 (typically the one on the right) while depressing the shift key. The name will be displayed in the terminal window where you started the GUI.

The following widget classes are used:

Entry
a one line text box, often used to specify file names
Text
a multi-line text box, used to display result logs, edit input
Button
this is pressed to initiate some action
Label
fixed text that decorates the panels

The X defaults database mechanism is rather complex. For a full discussion consult the X man pages or a book on the subject.

Font Names

Fonts can be specified using either the standard X font naming conventions (e.g -misc-fixed-medium-r-normal-*-13-100-*-*-*-*-*-) or by specifying the font family name (e.g Helvetica, Times, Courier), point size (e.g. 10, 14, 16) and, optionally, style (e.g. bold, italic). For instance, Times 16 bold would specify a fairly large, heavy, serifed font.

Configuring the File Browser

The file browser uses a different configuration mechanism. If present, files called .tdxgui are read from your home directory and the current directory (current directory supercedes . Each may contain the following lines:
set browserConfig(oldDateFont) "Courier 14"
set browserConfig(newDateFont) "Courier 14 bold"
set browserConfig(fileFont) "Helvetica 14"
set browserConfig(foreground) blue
set browserConfig(background) yellow
Substitute your chosen font and color specifications.
Last modified: Fri Dec 18 13:49:12 PST 1998
Copyright (c) Vervent Technologies Inc, 2007