Class: Origen::Specs::Mode_Select
- Defined in:
- lib/origen/specs/mode_select.rb
Overview
This class is used to store mode select for IP
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#location ⇒ Object
Returns the value of attribute location.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#supported ⇒ Object
Returns the value of attribute supported.
-
#usage ⇒ Object
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize(blk, use, mode_ref, support, loc) ⇒ Mode_Select
constructor
A new instance of Mode_Select.
Constructor Details
#initialize(blk, use, mode_ref, support, loc) ⇒ Mode_Select
Returns a new instance of Mode_Select.
7 8 9 10 11 12 13 |
# File 'lib/origen/specs/mode_select.rb', line 7 def initialize(blk, use, mode_ref, support, loc) @block = blk @usage = use @mode = mode_ref @supported = support @location = loc end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
5 6 7 |
# File 'lib/origen/specs/mode_select.rb', line 5 def block @block end |
#location ⇒ Object
Returns the value of attribute location.
5 6 7 |
# File 'lib/origen/specs/mode_select.rb', line 5 def location @location end |
#mode ⇒ Object
Returns the value of attribute mode.
5 6 7 |
# File 'lib/origen/specs/mode_select.rb', line 5 def mode @mode end |
#supported ⇒ Object
Returns the value of attribute supported.
5 6 7 |
# File 'lib/origen/specs/mode_select.rb', line 5 def supported @supported end |
#usage ⇒ Object
Returns the value of attribute usage.
5 6 7 |
# File 'lib/origen/specs/mode_select.rb', line 5 def usage @usage end |