Sha256: 0ac2042d1bcc0b3b6a32d2fa8dd0379e28d67bde1621346ae4afce811ed33c47

Contents?: true

Size: 175 Bytes

Versions: 6

Compression:

Stored size: 175 Bytes

Contents

if RubyVPI::USE_PROTOTYPE
  always do
    wait until DUT.clock.posedge?

    if DUT.reset.t?
      DUT.count.intVal = 0
    else
      DUT.count.intVal += 1
    end
  end
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-20.0.0 examples/counter/xUnit/counter_proto.rb
ruby-vpi-20.0.0 examples/counter/RSpec/counter_proto.rb
ruby-vpi-21.0.0 examples/counter/xUnit/counter_proto.rb
ruby-vpi-21.0.0 examples/counter/RSpec/counter_proto.rb
ruby-vpi-21.1.0 examples/counter/xUnit/counter_proto.rb
ruby-vpi-21.1.0 examples/counter/RSpec/counter_proto.rb