Class: RgGen::VerilogUtility::LocalScope

Inherits:
StructureDefinition show all
Defined in:
lib/rggen/core_components/verilog_utility/local_scope.rb

Instance Method Summary collapse

Methods inherited from StructureDefinition

#body, #initialize

Methods included from CodeUtility

#create_blank_code

Constructor Details

This class inherits a constructor from RgGen::VerilogUtility::StructureDefinition

Instance Method Details

#to_codeObject



11
12
13
14
15
16
17
# File 'lib/rggen/core_components/verilog_utility/local_scope.rb', line 11

def to_code
  code_block do |c|
    header_code(c)
    body_code(c)
    footer_code(c)
  end
end

#without_generate_keywordObject



7
8
9
# File 'lib/rggen/core_components/verilog_utility/local_scope.rb', line 7

def without_generate_keyword
  @without_generate_keyword = true
end