class Origen::Specs::Spec_Features

Ruby Data Class that contains Creation Information for the IP Block

Attributes

applicable_devices[RW]

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
audience[RW]

Intended Audience for this feature. Internal or External?

feature_ref[RW]

Feature Reference

To be used for sub-feature so that they can be linked easily
id[RW]

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

internal_comments[RW]

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

text[RW]

The actual text of the feature

type[RW]

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)

Public Class Methods

new(id, attrs, applicable_devices, text, internal_comments) click to toggle source

Initialize the Feature to be used

# File lib/origen/specs/spec_features.rb, line 35
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