Class: OrigenLink::Test::VectorBased

Inherits:
VectorBased show all
Defined in:
lib/origen_link/test/vector_based.rb

Instance Attribute Summary collapse

Attributes inherited from VectorBased

#captured_data, #comment_batch, #fail_count, #initial_comm_sent, #store_pins_batch, #total_comm_time, #total_connect_time, #total_packets, #total_recv_time, #total_xmit_time, #tsets_programmed, #user_name, #vector_batch, #vector_count, #vector_repeatcount

Instance Method Summary collapse

Methods inherited from VectorBased

#finalize_pattern, #fix_ordered_pins, #flush_vector, #initialize, #initialize_pattern, #method_missing, #ordered_pins, #process_response, #process_vector_response, #push_comment, #push_vector, #synchronize, #to_s, #transaction, #wait

Methods included from ConfigurationCommands

#get_tset_number, #pinformat=, #pinmap=, #pinorder=, #pintiming=, #process_timeset, #replace_tset_name_w_number, #set_pinorder, #tset_argstr_from_events, #tset_warning

Methods included from CaptureSupport

#capture, #store, #store_next_cycle

Constructor Details

This class inherits a constructor from OrigenLink::VectorBased

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OrigenLink::VectorBased

Instance Attribute Details

#messageObject

Returns the value of attribute message



6
7
8
# File 'lib/origen_link/test/vector_based.rb', line 6

def message
  @message
end

#microcodestrObject

Returns the value of attribute microcodestr



6
7
8
# File 'lib/origen_link/test/vector_based.rb', line 6

def microcodestr
  @microcodestr
end

#test_responseObject

Returns the value of attribute test_response



6
7
8
# File 'lib/origen_link/test/vector_based.rb', line 6

def test_response
  @test_response
end

Instance Method Details

#microcode(msg) ⇒ Object



20
21
22
# File 'lib/origen_link/test/vector_based.rb', line 20

def microcode(msg)
  @microcodestr = @microcodestr + msg
end

#send_batch(vector_batch) ⇒ Object



13
14
15
# File 'lib/origen_link/test/vector_based.rb', line 13

def send_batch(vector_batch)
  @test_response
end

#send_cmd(cmdstr, argstr) ⇒ Object



8
9
10
11
# File 'lib/origen_link/test/vector_based.rb', line 8

def send_cmd(cmdstr, argstr)
  @message = cmdstr + ':' + argstr
  @test_response
end

#setup_cmd_response_logger(command, response) ⇒ Object



17
18
# File 'lib/origen_link/test/vector_based.rb', line 17

def setup_cmd_response_logger(command, response)
end