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.54.3 lib/origen/specs/override.rb
origen-0.54.2 lib/origen/specs/override.rb
origen-0.54.1 lib/origen/specs/override.rb
origen-0.54.0 lib/origen/specs/override.rb
origen-0.53.1 lib/origen/specs/override.rb
origen-0.53.0 lib/origen/specs/override.rb
origen-0.52.4 lib/origen/specs/override.rb
origen-0.52.3 lib/origen/specs/override.rb
origen-0.52.2 lib/origen/specs/override.rb
origen-0.52.1 lib/origen/specs/override.rb
origen-0.52.0 lib/origen/specs/override.rb
origen-0.51.3 lib/origen/specs/override.rb
origen-0.51.2 lib/origen/specs/override.rb
origen-0.51.1 lib/origen/specs/override.rb
origen-0.51.0 lib/origen/specs/override.rb
origen-0.50.0 lib/origen/specs/override.rb
origen-0.44.0 lib/origen/specs/override.rb
origen-0.43.0 lib/origen/specs/override.rb
origen-0.42.2 lib/origen/specs/override.rb
origen-0.42.1 lib/origen/specs/override.rb