Sha256: 56cbdc599238dca9f0070636c263c1ab4f80b93cd5e4d70913308c74bb29dd21

Contents?: true

Size: 1020 Bytes

Versions: 4

Compression:

Stored size: 1020 Bytes

Contents

# An example of creating an entire test program from
# a single source file
Flow.create interface: 'OrigenTesters::Test::Interface', environment: :probe do

  # Test that this can be overridden from the target at flow-level
  self.add_flow_enable = :enabled

  unless Origen.app.environment.name == 'v93k_global'
    self.resources_filename = 'prb2'
  end

  func :erase_all, duration: :dynamic, number: 10000

  func :margin_read1_all1, number: 10010

  func :erase_all, duration: :dynamic, number: 10020
  func :margin_read1_all1, number: 10030

  import 'components/prb2_main', number: 11000

  func :erase_all, duration: :dynamic, number: 12000
  func :margin_read1_all1, id: 'erased_successfully', number: 12010

  # Check that an instance variable change in a sub-flow (prb2_main in this case)
  # is preserved back here in the main flow
  if include_additional_prb2_test
    if_enable 'extra_tests' do
      import 'components/prb2_main', number: 13000
    end
  end

  func :margin_read1_all1, number: 14000
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_testers-0.43.0 program/prb2.rb
origen_testers-0.42.0 program/prb2.rb
origen_testers-0.41.0 program/prb2.rb
origen_testers-0.40.0 program/prb2.rb