Class: RgGen::RTL::Item
- Inherits:
-
OutputBase::Item
- Object
- Base::Item
- OutputBase::Item
- RgGen::RTL::Item
- Defined in:
- lib/rggen/core_components/rtl/item.rb
Instance Attribute Summary collapse
-
#identifiers ⇒ Object
readonly
Returns the value of attribute identifiers.
-
#localparam_declarations ⇒ Object
readonly
Returns the value of attribute localparam_declarations.
-
#parameter_declarations ⇒ Object
readonly
Returns the value of attribute parameter_declarations.
-
#port_declarations ⇒ Object
readonly
Returns the value of attribute port_declarations.
-
#signal_declarations ⇒ Object
readonly
Returns the value of attribute signal_declarations.
Attributes inherited from Base::Item
Instance Method Summary collapse
-
#initialize(owner) ⇒ Item
constructor
A new instance of Item.
Methods inherited from OutputBase::Item
#build, #generate_code, #generate_post_code, #generate_pre_code, inherited, #write_file
Methods included from OutputBase::TemplateUtility
Methods inherited from Base::Item
#available?, available?, define_helpers, inherit_class_instance_variable
Methods included from Forwardable
#def_class_delegator, #def_class_delegators
Constructor Details
#initialize(owner) ⇒ Item
Returns a new instance of Item.
6 7 8 9 10 11 12 13 |
# File 'lib/rggen/core_components/rtl/item.rb', line 6 def initialize(owner) super(owner) @identifiers = [] @signal_declarations = [] @port_declarations = [] @parameter_declarations = [] @localparam_declarations = [] end |
Instance Attribute Details
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers.
15 16 17 |
# File 'lib/rggen/core_components/rtl/item.rb', line 15 def identifiers @identifiers end |
#localparam_declarations ⇒ Object (readonly)
Returns the value of attribute localparam_declarations.
19 20 21 |
# File 'lib/rggen/core_components/rtl/item.rb', line 19 def localparam_declarations @localparam_declarations end |
#parameter_declarations ⇒ Object (readonly)
Returns the value of attribute parameter_declarations.
18 19 20 |
# File 'lib/rggen/core_components/rtl/item.rb', line 18 def parameter_declarations @parameter_declarations end |
#port_declarations ⇒ Object (readonly)
Returns the value of attribute port_declarations.
17 18 19 |
# File 'lib/rggen/core_components/rtl/item.rb', line 17 def port_declarations @port_declarations end |
#signal_declarations ⇒ Object (readonly)
Returns the value of attribute signal_declarations.
16 17 18 |
# File 'lib/rggen/core_components/rtl/item.rb', line 16 def signal_declarations @signal_declarations end |