Sha256: e1d53fc9313bd69a4cf39ae40049c7b5aba90c6b507c3ee2d11c9ad3ac11f4b2

Contents?: true

Size: 1.78 KB

Versions: 172

Compression:

Stored size: 1.78 KB

Contents

module Origen
  module Specs
    # Ruby Data Class that contains Creation Information for the IP Block
    class Spec_Features
      # This is the Id of the Feature that will be referenced
      # Future goal is to be able to tie this ID to a specification in a Product Requirements Document
      attr_accessor :id

      # Feature Type
      # Current supported types are
      #   intro :: Intro Paragraph for the Features Page
      #   feature :: Main Feature (e.g. Additional peripherals include)
      #   subfeature :: Sub Feature that will be a sub-bullet to feature.  (e.g. Four I2C controllers)
      attr_accessor :type

      # Feature Reference
      #  To be used for sub-feature so that they can be linked easily
      attr_accessor :feature_ref

      # Applicable Devices for this feature.  This allows for multiple devices from one piece of silicon
      #  If this feature is on Part B and Part D, then applicable devices will include Part B and Part D, but no other parts
      attr_accessor :applicable_devices

      # The actual text of the feature
      attr_accessor :text

      # Internal comments about this feature.  Why was this feature included here?  Any changes from the
      # Product Requirements Document
      attr_accessor :internal_comments

      # Intended Audience for this feature. Internal or External?
      attr_accessor :audience

      # Initialize the Feature to be used
      def initialize(id, attrs, applicable_devices, text, internal_comments)
        @id = id
        @type = attrs[:type]
        @feature_ref = attrs[:feature_ref]
        @audience = attrs[:audience]
        @applicable_devices = applicable_devices
        @text = text
        @internal_comments = internal_comments
      end
    end # module Features
  end # module Specs
end # module Origen

Version data entries

172 entries across 172 versions & 1 rubygems

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