Class: OrigenTesters::Generator::TestNumberer

Inherits:
Object
  • Object
show all
Defined in:
lib/origen_testers/generator/test_numberer.rb

Instance Method Summary collapse

Instance Method Details

#test_number_for(test_name, options = {}) ⇒ Object

Will return a test number for the given test.

Parameters:

  • options (Hash) (defaults to: {})

    Options to customize the number generation

Options Hash (options):

  • :bits (Integer) — default: 6

    The number of bits in the DAC code

  • :range (Float) — default: 1.26

    The range parameter, see code formula

  • :offset (Integer) — default: 0

    The o



10
11
12
13
14
# File 'lib/origen_testers/generator/test_numberer.rb', line 10

def test_number_for(test_name, options = {})
  options = {

  }.merge(options)
end