Module: RgGen::Core::Base::ComponentLayerExtension::Common
- Included in:
- BitField, Register, RegisterBlock, RegisterFile, Root
- Defined in:
- lib/rggen/core/base/component_layer_extension.rb
Instance Method Summary collapse
- #bit_field? ⇒ Boolean
- #register? ⇒ Boolean
- #register_block? ⇒ Boolean
- #register_file? ⇒ Boolean
- #root? ⇒ Boolean
Instance Method Details
#bit_field? ⇒ Boolean
26 27 28 |
# File 'lib/rggen/core/base/component_layer_extension.rb', line 26 def bit_field? layer == :bit_field end |
#register? ⇒ Boolean
22 23 24 |
# File 'lib/rggen/core/base/component_layer_extension.rb', line 22 def register? layer == :register end |
#register_block? ⇒ Boolean
14 15 16 |
# File 'lib/rggen/core/base/component_layer_extension.rb', line 14 def register_block? layer == :register_block end |
#register_file? ⇒ Boolean
18 19 20 |
# File 'lib/rggen/core/base/component_layer_extension.rb', line 18 def register_file? layer == :register_file end |
#root? ⇒ Boolean
10 11 12 |
# File 'lib/rggen/core/base/component_layer_extension.rb', line 10 def root? layer == :root end |