Class: Origen::Tester::V93K::Generator::Flow

Inherits:
Object
  • Object
show all
Includes:
Generator
Defined in:
lib/origen/tester/v93k/generator/flow.rb

Constant Summary

TEMPLATE =
"#{Origen.top}/lib/origen/tester/v93k/generator/templates/template.flow.erb"

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from Generator

#close, #collection, #collection=, #compiler, #current_dir, #dont_diff=, execute_source, #file_extension, #file_pipeline, #filename=, #finalize, #identity_map, #import, #inhibit_output, #on_close, #output_file, #output_inhibited?, #reference_file, #render, #set_flow_description, #stats, #to_be_written?, #write_from_template, #write_to_file

Instance Attribute Details

- (Object) test_functions

Returns the value of attribute test_functions



8
9
10
# File 'lib/origen/tester/v93k/generator/flow.rb', line 8

def test_functions
  @test_functions
end

- (Object) test_methods

Returns the value of attribute test_methods



8
9
10
# File 'lib/origen/tester/v93k/generator/flow.rb', line 8

def test_methods
  @test_methods
end

- (Object) test_suites

Returns the value of attribute test_suites



8
9
10
# File 'lib/origen/tester/v93k/generator/flow.rb', line 8

def test_suites
  @test_suites
end

Instance Method Details

- (Object) filename



12
13
14
# File 'lib/origen/tester/v93k/generator/flow.rb', line 12

def filename
  super.gsub('_flow', '')
end

- (Object) run(test_suite, options = {})



16
17
18
# File 'lib/origen/tester/v93k/generator/flow.rb', line 16

def run(test_suite, options = {})
  add(:run, { test_suite: test_suite }.merge(options))
end

- (Object) run_and_branch(test_suite, options = {})



20
21
22
# File 'lib/origen/tester/v93k/generator/flow.rb', line 20

def run_and_branch(test_suite, options = {})
  add(:run_and_branch, { test_suite: test_suite }.merge(options))
end