Class: RgGen::RTL::Item

Inherits:
OutputBase::Item show all
Defined in:
lib/rggen/core_components/rtl/item.rb

Instance Attribute Summary collapse

Attributes inherited from Base::Item

#owner

Instance Method Summary collapse

Methods inherited from OutputBase::Item

#build, #generate_code, #generate_post_code, #generate_pre_code, inherited, #write_file

Methods included from OutputBase::TemplateUtility

included, #process_template

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

#identifiersObject (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_declarationsObject (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_declarationsObject (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_declarationsObject (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_declarationsObject (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