Sha256: b6af5b542628f88c383d12e2070d7edb24784716798093959289dba86200cd30

Contents?: true

Size: 563 Bytes

Versions: 2

Compression:

Stored size: 563 Bytes

Contents

require 'origen_testers'
module OrigenDebuggers
  # This is base class of all debuggers, any methods/attributes
  # defined here will be available to all
  class Base < OrigenTesters::CommandBasedTester
    # Returns true if the debugger supports JTAG
    def jtag?
      respond_to?(:write_dr)
    end

    # 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.
    def cycle(*args)
      cc '*** Cycle called ***'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
origen_debuggers-0.5.2 lib/origen_debuggers/base.rb
origen_debuggers-0.5.1 lib/origen_debuggers/base.rb