Sha256: 78f1c18ca86b0086bc52ad7f960e1a84c324c320e0a4bcbbb0ff7a61917697e5

Contents?: true

Size: 279 Bytes

Versions: 16

Compression:

Stored size: 279 Bytes

Contents

# This is a prototype of the design under test.

# When prototyping is enabled, relay_verilog invokes this method
# instead of transferring control to the Verilog simulator.
def Counter.simulate!
  if reset.intVal == 1
    count.intVal = 0
  else
    count.intVal += 1
  end
end

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
ruby-vpi-11.0.0 samp/counter/counter_xunit_proto.rb
ruby-vpi-11.0.0 samp/counter/counter_rspec_proto.rb
ruby-vpi-11.1.1 samp/counter/counter_xunit_proto.rb
ruby-vpi-11.1.1 samp/counter/counter_rspec_proto.rb
ruby-vpi-12.0.0 samp/counter/counter_rspec_proto.rb
ruby-vpi-12.0.0 samp/counter/counter_xunit_proto.rb
ruby-vpi-11.1.0 samp/counter/counter_rspec_proto.rb
ruby-vpi-12.0.1 samp/counter/counter_rspec_proto.rb
ruby-vpi-11.1.0 samp/counter/counter_xunit_proto.rb
ruby-vpi-12.0.1 samp/counter/counter_xunit_proto.rb
ruby-vpi-12.0.2 samp/counter/counter_xunit_proto.rb
ruby-vpi-13.0.0 samp/counter/counter_xunit_proto.rb
ruby-vpi-12.1.0 samp/counter/counter_rspec_proto.rb
ruby-vpi-13.0.0 samp/counter/counter_rspec_proto.rb
ruby-vpi-12.0.2 samp/counter/counter_rspec_proto.rb
ruby-vpi-12.1.0 samp/counter/counter_xunit_proto.rb