Class: RgGen::SystemVerilog::Common::Utility::ModuleDefinition

Inherits:
StructureDefinition
  • Object
show all
Defined in:
lib/rggen/systemverilog/common/utility/module_definition.rb

Instance Method Summary collapse

Methods inherited from StructureDefinition

#initialize

Constructor Details

This class inherits a constructor from RgGen::SystemVerilog::Common::Utility::StructureDefinition

Instance Method Details

#package_import(package) ⇒ Object



19
20
21
# File 'lib/rggen/systemverilog/common/utility/module_definition.rb', line 19

def package_import(package)
  package_imports([package])
end

#package_imports(packages) ⇒ Object



14
15
16
17
# File 'lib/rggen/systemverilog/common/utility/module_definition.rb', line 14

def package_imports(packages)
  @package_imports ||= []
  @package_imports.concat(Array(packages))
end