Sha256: 4220c82f4ce842a6e5cc4a4d404fe8e8d40bf31f919719d79b198f663d78cd54
Contents?: true
Size: 1.03 KB
Versions: 96
Compression:
Stored size: 1.03 KB
Contents
module OrigenTesters module IGXLBasedTester class Base class Levels include ::OrigenTesters::Generator # If levels are defined for a power group then this will return the level object attr_accessor :pwr_group # If levels are defined for a pin group then this will return the level object attr_accessor :pin_group def initialize(options = {}) # :nodoc: @pwr_group = Hash.new { |h, k| h[k] = {} } @pin_group = Hash.new { |h, k| h[k] = {} } end # Defines a new Power Level category for the given pin/group def add_power_level(cat, options = {}) cat = cat.to_sym unless cat.is_a? Symbol pwr_group[cat] = platform::SupplyLevel.new(options) end # Defines a new Single-Ended Pin Level category for the given pin/group def add_se_pin_level(cat, options = {}) cat = cat.to_sym unless cat.is_a? Symbol pin_group[cat] = platform::PinLevelSingle.new(options) end end end end end
Version data entries
96 entries across 96 versions & 1 rubygems