Class: OrigenDebuggers::Base
- Inherits:
-
OrigenTesters::CommandBasedTester
- Object
- OrigenTesters::CommandBasedTester
- OrigenDebuggers::Base
- 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
Defined Under Namespace
Classes: OnCreateCaller
Instance Method Summary collapse
-
#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.
-
#initialize ⇒ Base
constructor
A new instance of Base.
-
#jtag? ⇒ Boolean
Returns true if the debugger supports JTAG.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base
19 20 21 22 |
# File 'lib/origen_debuggers/base.rb', line 19 def initialize OnCreateCaller.new(self) super end |
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.
32 33 34 |
# File 'lib/origen_debuggers/base.rb', line 32 def cycle(*args) cc '*** Cycle called ***' end |
#jtag? ⇒ Boolean
Returns true if the debugger supports JTAG
25 26 27 |
# File 'lib/origen_debuggers/base.rb', line 25 def jtag? respond_to?(:write_dr) end |