Sha256: c9872a8aa7e024af7cdd8c64105faccd645c009986eee0605b6fade82914b2d8
Contents?: true
Size: 898 Bytes
Versions: 2
Compression:
Stored size: 898 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 # Testers don't listen for callbacks class OnCreateCaller include Origen::Callbacks def initialize(tester) @tester = tester end def on_create @tester.on_create if @tester.respond_to?(:on_create) end end def initialize OnCreateCaller.new(self) super end # 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.6.1 | lib/origen_debuggers/base.rb |
origen_debuggers-0.6.0 | lib/origen_debuggers/base.rb |