Class: OrigenTesters::SmartestBasedTester::V93K::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/origen_testers/smartest_based_tester/v93k/builder.rb,
lib/origen_testers/smartest_based_tester/v93k/builder/flow.rb,
lib/origen_testers/smartest_based_tester/v93k/builder/pattern_master.rb

Overview

Responsible for building V93K test programs from a collection of sub-programs

Defined Under Namespace

Classes: Flow, PatternMaster

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#manifestObject (readonly)

Returns the value of attribute manifest.



11
12
13
# File 'lib/origen_testers/smartest_based_tester/v93k/builder.rb', line 11

def manifest
  @manifest
end

Instance Method Details

#build(manifest, options = {}) ⇒ Object



13
14
15
16
17
18
# File 'lib/origen_testers/smartest_based_tester/v93k/builder.rb', line 13

def build(manifest, options = {})
  @manifest_dir = Pathname.new(manifest).dirname.to_s
  @manifest = YAML.load_file(manifest).with_indifferent_access
  parse_sub_programs
  render(options)
end