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.



1470
1471
1472
1473
# File 'lib/HDLRuby/hruby_viz.rb', line 1470

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



1468
1469
1470
# File 'lib/HDLRuby/hruby_viz.rb', line 1468

def path
  @path
end

#portsObject (readonly)

Returns the value of attribute ports.



1468
1469
1470
# File 'lib/HDLRuby/hruby_viz.rb', line 1468

def ports
  @ports
end