samp/counter/counter_xunit_design.rb in ruby-vpi-13.0.0 vs samp/counter/counter_xunit_design.rb in ruby-vpi-14.0.0
- old
+ new
@@ -1,9 +1,8 @@
# This is a Ruby interface to the design under test.
# This method resets the design under test.
def Counter.reset!
- # assert the reset signal for two clock cycles
reset.intVal = 1
- 2.times {relay_verilog}
+ simulate
reset.intVal = 0
end