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.33.0 lib/origen/specs/override.rb
origen-0.32.1 lib/origen/specs/override.rb
origen-0.32.0 lib/origen/specs/override.rb
origen-0.31.0 lib/origen/specs/override.rb
origen-0.30.0 lib/origen/specs/override.rb
origen-0.29.0 lib/origen/specs/override.rb
origen-0.28.2 lib/origen/specs/override.rb
origen-0.28.1 lib/origen/specs/override.rb
origen-0.28.0 lib/origen/specs/override.rb
origen-0.27.0 lib/origen/specs/override.rb
origen-0.26.0 lib/origen/specs/override.rb
origen-0.25.1 lib/origen/specs/override.rb
origen-0.25.0 lib/origen/specs/override.rb
origen-0.24.0 lib/origen/specs/override.rb
origen-0.23.0 lib/origen/specs/override.rb
origen-0.22.0 lib/origen/specs/override.rb
origen-0.21.0 lib/origen/specs/override.rb
origen-0.20.3 lib/origen/specs/override.rb
origen-0.20.2 lib/origen/specs/override.rb
origen-0.20.1 lib/origen/specs/override.rb