Sha256: 2c570c19406d097f0c4704b1d80c6a00dc6ff44db8c0880e202e30d5801770e8
Contents?: true
Size: 916 Bytes
Versions: 7
Compression:
Stored size: 916 Bytes
Contents
require 'origen' require_relative '../config/application.rb' require 'origen_testers' module OrigenAhb # 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 # Example of how to explicitly require a file # require "origen_ahb/my_file" # Load all files in the lib/origen_ahb directory. # Note that there is no problem from requiring a file twice (Ruby will ignore # the second require), so if you have a file that must be required first, then # explicitly require it up above and then let this take care of the rest. Dir.glob("#{File.dirname(__FILE__)}/origen_ahb/**/*.rb").sort.each do |file| require file end # Returns an instance of the OrigenAhb::Driver def ahb @origen_ahb ||= Driver.new(self) end end
Version data entries
7 entries across 7 versions & 1 rubygems