Sha256: c650843a712401f6ff60bdd96cfb751c8c1636d1c8a87a984750be16b64f5d12

Contents?: true

Size: 748 Bytes

Versions: 47

Compression:

Stored size: 748 Bytes

Contents

module Origen
  module Specs
    # This class is used to store override information for specified specs on instantiated IP
    class Override
      attr_accessor :block, :usage, :spec_ref, :mode_ref, :sub_type, :audience, :minimum, :maximum, :typical, :disable

      def initialize(block_options = {}, find_spec = {}, values = {}, options = {})
        @block = block_options[:block]
        @usage = block_options[:usage]
        @spec_ref = find_spec[:spec_id]
        @mode_ref = find_spec[:mode_ref]
        @sub_type = find_spec[:sub_type]
        @audience = find_spec[:audience]
        @minimum = values[:min]
        @maximum = values[:max]
        @typical = values[:typ]
        @disable = options[:disable]
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
origen-0.6.11 lib/origen/specs/override.rb
origen-0.6.10 lib/origen/specs/override.rb
origen-0.6.9 lib/origen/specs/override.rb
origen-0.6.8 lib/origen/specs/override.rb
origen-0.6.7 lib/origen/specs/override.rb
origen-0.6.6 lib/origen/specs/override.rb
origen-0.6.5 lib/origen/specs/override.rb
origen-0.6.4 lib/origen/specs/override.rb
origen-0.6.3 lib/origen/specs/override.rb
origen-0.6.2 lib/origen/specs/override.rb
origen-0.6.1 lib/origen/specs/override.rb
origen-0.6.0 lib/origen/specs/override.rb
origen-0.5.11 lib/origen/specs/override.rb
origen-0.5.10 lib/origen/specs/override.rb
origen-0.5.9 lib/origen/specs/override.rb
origen-0.5.8 lib/origen/specs/override.rb
origen-0.5.7 lib/origen/specs/override.rb
origen-0.5.6 lib/origen/specs/override.rb
origen-0.5.5 lib/origen/specs/override.rb
origen-0.5.4 lib/origen/specs/override.rb