Class: OrigenDebuggers::Base

Inherits:
OrigenTesters::CommandBasedTester
  • Object
show all
Defined in:
lib/origen_debuggers/base.rb

Overview

This is base class of all debuggers, any methods/attributes defined here will be available to all

Direct Known Subclasses

JLink, PEmicro

Instance Method Summary collapse

Instance Method Details

#cycle(*args) ⇒ Object

Concept of a cycle not supported, print out an error to the output file to alert the user that execution has hit code that is not compatible with a command based tester.



14
15
16
# File 'lib/origen_debuggers/base.rb', line 14

def cycle(*args)
  cc '*** Cycle called ***'
end

#jtag?Boolean

Returns true if the debugger supports JTAG



7
8
9
# File 'lib/origen_debuggers/base.rb', line 7

def jtag?
  respond_to?(:write_dr)
end