Test Flow

Documentation of an Origen-generated test program can be created as follows (requires a documentation interface to be setup):

% prog = OrigenTesters::Doc.generate_program_model("program/probe_1.rb", :target => "default")

<%= render "doc_helpers/test/flow.md", :heading => "Probe 1", :program => prog, :flow => :probe_1_flow %>

The test flow helper takes the following required options:

  • heading - The page heading, generally the name of the flow
  • program - Supply a pre-generated program model
  • flow(s) - The name of the flow(s) to document, supply multiple in an array

Additionally these options are available to customize the output:

  • link_to_pattern_docs - Set this to true to generate links to documentation of the patterns in place of the pattern name. Pattern docs should be placed in templates/web/patterns and the files should be called <pattern_name>.md
  • context - Supply an execution context to document only the test where the context is true. For example to document the tests that will run when job is “P1”is set supply { :job => "P1" }

Here is a live example:

Functional test of the Vreg
Test Number HBin SBin Attributes Description
#101000 B101 B101
  • Vdd: min
  • Type: functional
  • Patterns:
    • vreg_functional

This test verifies that the following things work:

  • The vreg can be disabled
  • The trim register can be written to and read from
Warning! - This test does not bin out when failed.
#101000 B101 B101
  • Vdd: max
  • Type: functional
  • Patterns:
    • vreg_functional
HVST
Test Number HBin SBin Attributes Description

Note - This test does not bin out as later tests are dependent on it.

These tests will run if this test FAILS:

#50000 B50 B50
  • Vdd: nom
  • Type: functional
  • Patterns:
    • rd_vreg_hvst_passcode

Check if this device has already had the Vreg HVST

Note - This test will only run if this test FAILED:

#101000 B101 B101
  • Vdd: max
  • Type: functional
  • Hv: 10
  • Patterns:
    • vreg_hvst

Apply HVST to the vreg module

Note - This test will only run if this test FAILED:

#51000 B51 B51
  • Vdd: nom
  • Type: functional
  • Patterns:
    • pgm_vreg_hvst_passcode

Program a passcode to the device to record that the HVST has been applied

Parametric flow

Blah blah, this is marked down:

  • blah
  • blah
No load tests

Measure the output of the vreg under no load, this is a simple test to catch any gross defects that prevent the vreg from working

Blah blah, this is marked down:

  • blah
  • blah
Test Number HBin SBin Attributes Description
#105000 B105 B105
  • Vdd: min
  • Type: parametric
  • Lo: 1.12
  • Hi: 1.34
  • Patterns:
    • vreg_meas
#105000 B105 B105
  • Vdd: max
  • Type: parametric
  • Lo: 1.12
  • Hi: 1.34
  • Patterns:
    • vreg_meas
Note - This test will only run when 'vreg_cz' is enabled.
#105000 B105 B105
  • Vdd: min
  • Type: parametric
  • Cz: true
  • Patterns:
    • vreg_meas
Note - This test will only run when 'vreg_cz' is enabled.
#105000 B105 B105
  • Vdd: max
  • Type: parametric
  • Cz: true
  • Patterns:
    • vreg_meas
Test Number HBin SBin Attributes Description
#105000 B105 B105
  • Vdd: min
  • Type: parametric
  • Load: 0.005
  • Lo: 1.1
  • Hi: 1.34
  • Patterns:
    • vreg_meas

Measure the output of the vreg under the given load, this is approximately equivalent to 1.5x the maximum load anticipated in a customer application.

#105000 B105 B105
  • Vdd: max
  • Type: parametric
  • Load: 0.005
  • Lo: 1.12
  • Hi: 1.34
  • Patterns:
    • vreg_meas

Comments