Class: Origen::Specs::Power_Supply
- Defined in:
- lib/origen/specs/power_supply.rb
Overview
This class is used to store Power Supply Information at the SoC Level
Instance Attribute Summary collapse
-
#actual ⇒ Object
Returns the value of attribute actual.
-
#generic ⇒ Object
Returns the value of attribute generic.
Instance Method Summary collapse
-
#initialize(gen, act) ⇒ Power_Supply
constructor
A new instance of Power_Supply.
Constructor Details
#initialize(gen, act) ⇒ Power_Supply
Returns a new instance of Power_Supply.
7 8 9 10 |
# File 'lib/origen/specs/power_supply.rb', line 7 def initialize(gen, act) @generic = gen @actual = act end |
Instance Attribute Details
#actual ⇒ Object
Returns the value of attribute actual.
5 6 7 |
# File 'lib/origen/specs/power_supply.rb', line 5 def actual @actual end |
#generic ⇒ Object
Returns the value of attribute generic.
5 6 7 |
# File 'lib/origen/specs/power_supply.rb', line 5 def generic @generic end |