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.7.36 lib/origen/specs/override.rb
origen-0.7.35 lib/origen/specs/override.rb
origen-0.7.34 lib/origen/specs/override.rb
origen-0.7.33 lib/origen/specs/override.rb
origen-0.7.32 lib/origen/specs/override.rb
origen-0.7.31 lib/origen/specs/override.rb
origen-0.7.30 lib/origen/specs/override.rb
origen-0.7.29 lib/origen/specs/override.rb
origen-0.7.28 lib/origen/specs/override.rb
origen-0.7.27 lib/origen/specs/override.rb
origen-0.7.26 lib/origen/specs/override.rb
origen-0.7.25 lib/origen/specs/override.rb
origen-0.7.24 lib/origen/specs/override.rb
origen-0.7.23 lib/origen/specs/override.rb
origen-0.7.22 lib/origen/specs/override.rb
origen-0.7.21 lib/origen/specs/override.rb
origen-0.7.20 lib/origen/specs/override.rb
origen-0.7.19 lib/origen/specs/override.rb
origen-0.7.18 lib/origen/specs/override.rb
origen-0.7.17 lib/origen/specs/override.rb