Class: SystemRDL::Evaluator::AddrMapInstance

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

Instance Attribute Summary

Attributes included from BlockInstance

#address, #alignment, #stride

Attributes included from ArrayInstance

#array_info

Attributes inherited from Instance

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

Instance Method Summary collapse

Methods included from BlockInstance

#accesswidth, #size, #sw_readable?, #sw_writable?

Methods included from ArrayInstance

#array?, #array_indices, #array_sizes, #first_element?, #last_element?

Methods inherited from Instance

#addrmap?, #array?, #element_name, #field?, #finalize, #find_addrmap, #full_name, #initialize, #layer, #mem?, #property, #property_value, #reg?, #regfile?, #revalidate, #root?, #structural_component?, #to_value, #upper_instances, #validate

Constructor Details

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

Instance Method Details

#definable?(definition) ⇒ Boolean

Returns:



67
68
69
# File 'lib/systemrdl/evaluator/addrmap.rb', line 67

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

#instantiable?(definition) ⇒ Boolean

Returns:



71
72
73
# File 'lib/systemrdl/evaluator/addrmap.rb', line 71

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