Class: HDLRuby::Viz::IC::Route

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

Overview

A route.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*ports) ⇒ Route

Returns a new instance of Route.



1448
1449
1450
1451
# File 'lib/HDLRuby/hruby_viz.rb', line 1448

def initialize(*ports)
  @ports = ports
  @path = []
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



1446
1447
1448
# File 'lib/HDLRuby/hruby_viz.rb', line 1446

def path
  @path
end

#portsObject (readonly)

Returns the value of attribute ports.



1446
1447
1448
# File 'lib/HDLRuby/hruby_viz.rb', line 1446

def ports
  @ports
end