Sha256: 199528dd5247181232bd21fa3b14414f406159c7de318bc52b86be5b523ba142
Contents?: true
Size: 319 Bytes
Versions: 10
Compression:
Stored size: 319 Bytes
Contents
# This is a prototype of the design under test. # When prototyping is enabled, Vpi::advance_time invokes this # method instead of transferring control to the Verilog simulator. def Counter.simulate! if clock.posedge? if reset.intVal == 1 count.intVal = 0 else count.intVal += 1 end end end
Version data entries
10 entries across 5 versions & 1 rubygems