Sha256: a3d9811c170d937c6b674a93d424cbf3da708c52ec7bb1aff5a847d10f4c1a30

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

# This is a prototype of the design under test.

# When prototyping is enabled, Vpi::simulate invokes this method
# instead of transferring control to the Verilog simulator.
def <%= aOutputInfo.designClassName %>.simulate!
  # discard old outputs
<% aModuleInfo.ports.reject { |p| p.input? }.each do |port| %>
    <%= port.name %>.hexStrVal = 'x'
<% end %>

  # process new inputs

  # produce new outputs
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-vpi-14.0.0 bin/generate_test_tpl/proto.rb