Class: RgGen::Core::RegisterMap::InputData
- Inherits:
-
InputBase::InputData
- Object
- InputBase::InputData
- RgGen::Core::RegisterMap::InputData
- Includes:
- RaiseError
- Defined in:
- lib/rggen/core/register_map/input_data.rb
Defined Under Namespace
Modules: BitField, Register, RegisterBlockRegisterFile, Root
Constant Summary collapse
- LAYER_EXTENSIONS =
{ root: Root, register_block: RegisterBlockRegisterFile, register_file: RegisterBlockRegisterFile, register: Register, bit_field: BitField }.freeze
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Attributes inherited from InputBase::InputData
Instance Method Summary collapse
-
#initialize(layer, valid_value_list, configuration) ⇒ InputData
constructor
A new instance of InputData.
Methods inherited from InputBase::InputData
#[], #[]=, #child, #load_file, #value, #values
Constructor Details
#initialize(layer, valid_value_list, configuration) ⇒ InputData
Returns a new instance of InputData.
43 44 45 46 47 |
# File 'lib/rggen/core/register_map/input_data.rb', line 43 def initialize(layer, valid_value_list, configuration) extend(LAYER_EXTENSIONS[layer]) @configuration = configuration super(layer, valid_value_list) end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
49 50 51 |
# File 'lib/rggen/core/register_map/input_data.rb', line 49 def configuration @configuration end |