Class: RgGen::SystemVerilog::Common::Utility::ModuleDefinition
- Inherits:
-
StructureDefinition
- Object
- Core::Utility::CodeUtility::StructureDefinition
- StructureDefinition
- RgGen::SystemVerilog::Common::Utility::ModuleDefinition
show all
- Defined in:
- lib/rggen/systemverilog/common/utility/module_definition.rb
Instance Method Summary
collapse
#initialize
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
|