Class: RgGen::VerilogUtility::InterfaceInstantiation
- Inherits:
-
Object
- Object
- RgGen::VerilogUtility::InterfaceInstantiation
- Defined in:
- lib/rggen/core_components/verilog_utility/interface_instantiation.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ InterfaceInstantiation
constructor
A new instance of InterfaceInstantiation.
- #to_s ⇒ Object
Constructor Details
#initialize(attributes) ⇒ InterfaceInstantiation
Returns a new instance of InterfaceInstantiation.
4 5 6 |
# File 'lib/rggen/core_components/verilog_utility/interface_instantiation.rb', line 4 def initialize(attributes) @attributes = attributes end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/rggen/core_components/verilog_utility/interface_instantiation.rb', line 8 def to_s "#{interface_type} #{identifier}()" end |