Class: HDLRuby::High::Std::ChannelPort

Inherits:
Object
  • Object
show all
Defined in:
lib/HDLRuby/std/channel.rb

Overview

Describes a channel port.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scopeObject (readonly)

The scope the port has been declared in.



103
104
105
# File 'lib/HDLRuby/std/channel.rb', line 103

def scope
  @scope
end

Instance Method Details

#wrap(*args) ⇒ Object

Wrap with +args+ arguments.



98
99
100
# File 'lib/HDLRuby/std/channel.rb', line 98

def wrap(*args)
    return ChannelPortB.new(self,*args)
end