Class: RgGen::RTL::Item
- Inherits:
-
OutputBase::Item
- Object
- Base::Item
- OutputBase::Item
- RgGen::RTL::Item
- Includes:
- VerilogUtility
- Defined in:
- lib/rggen/core_components/rtl/item.rb
Constant Summary
Constants inherited from OutputBase::Item
OutputBase::Item::CODE_GENERATION_METHODS
Instance Attribute Summary collapse
-
#identifiers ⇒ Object
readonly
Returns the value of attribute identifiers.
Attributes inherited from Base::Item
Instance Method Summary collapse
-
#initialize(owner) ⇒ Item
constructor
A new instance of Item.
Methods included from VerilogUtility
Methods included from CodeUtility
Methods inherited from OutputBase::Item
#build, inherited, #write_file
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.
7 8 9 10 11 12 13 14 |
# File 'lib/rggen/core_components/rtl/item.rb', line 7 def initialize(owner) super(owner) @identifiers = [] @signal_declarations = Hash.new { |h, d| h[d] = [] } @port_declarations = Hash.new { |h, d| h[d] = [] } @parameter_declarations = Hash.new { |h, d| h[d] = [] } @localparam_declarations = Hash.new { |h, d| h[d] = [] } end |
Instance Attribute Details
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers.
16 17 18 |
# File 'lib/rggen/core_components/rtl/item.rb', line 16 def identifiers @identifiers end |