Sha256: 5d019d196a46ea47533940a2251ba725ea387898d321c67e6c4cf445d9ee2774
Contents?: true
Size: 1012 Bytes
Versions: 14
Compression:
Stored size: 1012 Bytes
Contents
require 'origen' require_relative '../config/application.rb' require 'origen_testers' module OrigenStdLib # THIS FILE SHOULD ONLY BE USED TO LOAD RUNTIME DEPENDENCIES # If this plugin has any development dependencies (e.g. dummy DUT or other models that are only used # for testing), then these should be loaded from config/boot.rb require 'origen_std_lib/v93k' def includes_origen_std_lib? true end # Injects the library into the test program interface at the start of # the flow class PersistentCallbackHandlers include Origen::PersistentCallbacks def on_flow_start(options) if Origen.interface.respond_to?(:includes_origen_std_lib?) && tester.v93k? OrigenStdLib.add_v93k_std_lib(Origen.interface) end end alias_method :on_resource_start, :on_flow_start end # Instantiate an instance of this class immediately when this file is loaded, this object will # then listen for the remainder of the Origen thread PersistentCallbackHandlers.new end
Version data entries
14 entries across 14 versions & 1 rubygems