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