Method: HDLRuby::Viz::Node#place_and_route_seq
- Defined in:
- lib/HDLRuby/hruby_viz.rb
#place_and_route_seq(x = 1, y = 1) ⇒ Object
Do the full place and route for a seq block with initial position +x+ and +y+.
3314 3315 3316 3317 3318 3319 3320 3321 3322 |
# File 'lib/HDLRuby/hruby_viz.rb', line 3314 def place_and_route_seq(x = 1, y = 1) puts "place_and_route_seq for node: #{self.name} at x=#{x} y=#{y}" stmnt = @branches[0] w, h = self.place_and_route_statement_vertically(stmnt,x,y) puts "Result: width=#{w} height=#{h}" # Update the size of the block. @width = w @height = h + 1 end |