Method: HDLRuby::Viz::Node#place_and_route_deep

Defined in:
lib/HDLRuby/hruby_viz.rb

#place_and_route_deepObject

Deeply place and route.



3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
# File 'lib/HDLRuby/hruby_viz.rb', line 3527

def place_and_route_deep
  # puts "place_and_route_deep @type=#{@type}"
  case @type
  when :par, :seq
    # Place and route current block.
    if @type == :seq
      self.place_and_route_seq
    else
      self.place_and_route_par
    end
    # Place and route each of its statements.
    stmnt = @branches[0]
    while stmnt
      stmnt.place_and_route_deep
      stmnt = stmnt.successor
    end
  end
end