Sha256: 6353bf4558b9808db8c7995a5b0cc22df22e47da5033358547c704353f7befde

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

module OrigenDebuggers
  # This is base class of all debuggers, any methods/attributes
  # defined here will be available to all
  class Base < Origen::Tester::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

1 entries across 1 versions & 1 rubygems

Version Path
origen_debuggers-0.5.0 lib/origen_debuggers/base.rb