Flextest Graphical Interface

  1. Invoking Flextest
  2. Adding the Clocks
  3. Identifying the Scan Circuitry
  4. Setting up the Test Cycle
  5. Generating the Test Vectors
  6. Viewing and Saving the Results



1. Invoking Flextest

  1. Flextest requires a test library to identify the functions of all the parts in the design. Cut and paste the test library given at the bottom of this page into a text editor and save it as atglib.
    Make sure that you save it in the same directory that your design netlist is in.

  2. Set the mentor graphics working directory variable to the directory that your design netlist and test library are in. Make sure you are in the directory that your design netlist is in and enter the following shell command:

    shell> MGC_WD=`pwd`
    Note: apostrophies are surrounding the pwd and not single quotes.

  3. Enter the following shell command to execute flextest.

    shell> flextest ud_counter_ps.edif -edif -lib atglib






Figure 1



click here to go back to Index

click here to go back to the Next Section





model anotb (OUT, B, A) (

input(B) ()

input(A) ()

intern(_NN0) (function = !A;)

output(OUT) (function = B * _NN0 ;)

)

model aorbn (OUT, B, A) (

model dff (QBAR, Q, DATA, CLOCK) (

model dfsc (SCAN, QBAR, Q, DATA1, DATA, CLOCK) (

model dffr (RESET, QBAR, Q, DATA, CLOCK) (

model dfscr (SCAN, RESET, QBAR, Q, DATA1, DATA, CLOCK) (

model dffsr (SET, RESET, QBAR, Q, DATA, CLOCK) (

model dfscsr (SET, SCAN, RESET, QBAR, Q, DATA1, DATA0, CLOCK) (

model inv1 (OUT, IN1) (

model nd2x1 (OUT, IN2, IN1) (

model nd4 (OUT, IN4, IN3, IN2, IN1) (

model ndi2x1 (OUT2, OUT1, IN2, IN1) (

model nr3 (OUT, IN3, IN2, IN1) (

model xor (OUT, IN2, IN1) (



click here to go back to Index