# File lib/ruby-vpi/vpi.rb, line 435
435:   def advance_time aNumSteps = 1
436:     # schedule wake-up callback from verilog
437:       time = S_vpi_time.new
438:       time.low = aNumSteps & INTEGER_MASK
439:       time.high = (aNumSteps >> INTEGER_BITS) & INTEGER_MASK
440:       time.type = VpiSimTime
441: 
442:       value = S_vpi_value.new
443:       value.format = VpiSuppressVal
444: 
445:       alarm = S_cb_data.new
446:       alarm.reason = CbAfterDelay
447:       alarm.cb_rtn = Vlog_relay_ruby
448:       alarm.obj = nil
449:       alarm.time = time
450:       alarm.value = value
451:       alarm.index = 0
452:       alarm.user_data = nil
453: 
454:       vpi_free_object(vpi_register_cb_old(alarm))
455: 
456:     # relay to verilog
457:       relay_verilog_proxy
458:   end