Class: Origen::Specs::Override
Overview
This class is used to store override information for specified specs on instantiated IP
Instance Attribute Summary collapse
-
#audience ⇒ Object
Returns the value of attribute audience.
-
#block ⇒ Object
Returns the value of attribute block.
-
#disable ⇒ Object
Returns the value of attribute disable.
-
#hidespec ⇒ Object
Returns the value of attribute hidespec.
-
#maximum ⇒ Object
Returns the value of attribute maximum.
-
#minimum ⇒ Object
Returns the value of attribute minimum.
-
#mode_ref ⇒ Object
Returns the value of attribute mode_ref.
-
#spec_ref ⇒ Object
Returns the value of attribute spec_ref.
-
#sub_type ⇒ Object
Returns the value of attribute sub_type.
-
#typical ⇒ Object
Returns the value of attribute typical.
-
#usage ⇒ Object
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize(block_options = {}, find_spec = {}, values = {}, options = {}) ⇒ Override
constructor
A new instance of Override.
Constructor Details
#initialize(block_options = {}, find_spec = {}, values = {}, options = {}) ⇒ Override
Returns a new instance of Override.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/origen/specs/override.rb', line 7 def initialize( = {}, find_spec = {}, values = {}, = {}) @block = [:block] @usage = [: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 = [:disable] @hidespec = [:hidespec] end |
Instance Attribute Details
#audience ⇒ Object
Returns the value of attribute audience.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def audience @audience end |
#block ⇒ Object
Returns the value of attribute block.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def block @block end |
#disable ⇒ Object
Returns the value of attribute disable.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def disable @disable end |
#hidespec ⇒ Object
Returns the value of attribute hidespec.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def hidespec @hidespec end |
#maximum ⇒ Object
Returns the value of attribute maximum.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def maximum @maximum end |
#minimum ⇒ Object
Returns the value of attribute minimum.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def minimum @minimum end |
#mode_ref ⇒ Object
Returns the value of attribute mode_ref.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def mode_ref @mode_ref end |
#spec_ref ⇒ Object
Returns the value of attribute spec_ref.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def spec_ref @spec_ref end |
#sub_type ⇒ Object
Returns the value of attribute sub_type.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def sub_type @sub_type end |
#typical ⇒ Object
Returns the value of attribute typical.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def typical @typical end |
#usage ⇒ Object
Returns the value of attribute usage.
5 6 7 |
# File 'lib/origen/specs/override.rb', line 5 def usage @usage end |