Class: SystemRDL::Evaluator::AddrMapInstance

Inherits:
Instance
  • Object
show all
Defined in:
lib/systemrdl/evaluator/addrmap.rb

Instance Attribute Summary

Attributes inherited from Instance

#array_info, #definition, #instances, #name, #parent, #properties, #token_range

Instance Method Summary collapse

Methods inherited from Instance

#addrmap?, #array?, #array_indices, #array_sizes, #element_name, #field?, #finalize, #first_element?, #full_name, #initialize, #last_element?, #layer, #property, #property_value, #reg?, #regfile?, #revalidate, #root?, #structural_component?, #to_value, #validate

Constructor Details

This class inherits a constructor from SystemRDL::Evaluator::Instance

Instance Method Details

#definable?(definition) ⇒ Boolean

Returns:



58
59
60
# File 'lib/systemrdl/evaluator/addrmap.rb', line 58

def definable?(definition)
  definition.layer in :addrmap | :regfile | :reg | :field
end

#instantiable?(definition) ⇒ Boolean

Returns:



62
63
64
# File 'lib/systemrdl/evaluator/addrmap.rb', line 62

def instantiable?(definition)
  definition.layer in :addrmap | :regfile | :reg
end