Sha256: f9811d3ab7a9e289de8944e5b1ffd8758a8ed8f4730832f6fead2b547610da36

Contents?: true

Size: 798 Bytes

Versions: 158

Compression:

Stored size: 798 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, :hidespec

      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]
        @hidespec = options[:hidespec]
      end
    end
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
origen-0.60.17 lib/origen/specs/override.rb
origen-0.60.16 lib/origen/specs/override.rb
origen-0.60.14 lib/origen/specs/override.rb
origen-0.60.13 lib/origen/specs/override.rb
origen-0.60.12 lib/origen/specs/override.rb
origen-0.60.11 lib/origen/specs/override.rb
origen-0.60.10 lib/origen/specs/override.rb
origen-0.60.9 lib/origen/specs/override.rb
origen-0.60.8 lib/origen/specs/override.rb
origen-0.60.7 lib/origen/specs/override.rb
origen-0.60.6 lib/origen/specs/override.rb
origen-0.60.5 lib/origen/specs/override.rb
origen-0.60.4 lib/origen/specs/override.rb
origen-0.60.3 lib/origen/specs/override.rb
origen-0.60.2 lib/origen/specs/override.rb
origen-0.60.1 lib/origen/specs/override.rb
origen-0.60.0 lib/origen/specs/override.rb
origen-0.59.8 lib/origen/specs/override.rb
origen-0.59.7 lib/origen/specs/override.rb
origen-0.59.6 lib/origen/specs/override.rb