Class: SystemRDL::Evaluator::RegFileInstance

Inherits:
Instance
  • Object
show all
Defined in:
lib/systemrdl/evaluator/regfile.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:



24
25
26
# File 'lib/systemrdl/evaluator/regfile.rb', line 24

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

#instantiable?(definition) ⇒ Boolean

Returns:



28
29
30
# File 'lib/systemrdl/evaluator/regfile.rb', line 28

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