FastScan and FlexTest Reference Manual, V8.6_4 B-1
Appendix BFlexTest WDB Translation Support
Mentor Graphics provides a shell command utility called wdb2flex to translate
Mentor Graphics waveform databases (WDBs) to FlexTest table format patterns.
This gives FlexTest the ability to act as a fault simulator for existing patterns. The
benefits of using FlexTest in this manner are:
1. FlexTest performs fault simulation on an existing pattern set. Because it
does not consider timing, FlexTest is much more efficient than QuickFault
II.
2. FlexTest uses the existing patterns to initialize the circuit, giving some
initial fault coverage, and then performs ATPG on the remaining faults.
This can result in smaller test pattern sets and shorter run times.

Invoking wdb2flex

To invoke the wdb2flex utility for designs without bidirectional pins:
wdb2flex
ctrl_file forces_wdb
[
results_wdb
] [-O
output_file
]
To invoke the wdb2flex utility for designs with bidirectional pins
wdb2flex
ctrl_file forces_wdb results_wdb
[-O
output_file
]
The utility names the default output file table.flex, although you can rename it to a
different output file name by using the -O option. The control file, which the
utility uses to set up the sampling of the waveforms in the forces WDB, is a
required argument, as is the forces_wdb option. The results_wdb option, which
allows FlexTest to perform output comparisons, is optional only if the design
contains no bidirectional pins. If there are any bidirectional pins in the design,
then results_wdb is a required argument. The wdb2flex utility recognizes
bidirectional pin waveforms because they appear in both the forces and results