class Origen::Specs::Spec_Features
Ruby Data Class that contains Creation Information for the IP Block
Attributes
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
Intended Audience for this feature. Internal or External?
Feature Reference
To be used for sub-feature so that they can be linked easily
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 about this feature. Why was this feature included here? Any changes from the Product Requirements Document
The actual text of the feature
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
Source
# 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
Initialize the Feature to be used