Sha256: b78c261aa1c10c7dc208d7814cfd03cb3a0f4b872edd73a11223a3894756b0b4

Contents?: true

Size: 436 Bytes

Versions: 14

Compression:

Stored size: 436 Bytes

Contents

# This is a Ruby interface to the design under test.
<% aParseInfo.constants.each do |var| %>
<%= var.name.to_ruby_const_name %> = <%= var.value.verilog_to_ruby %>
<% end %>

# This method resets the design under test.
def <%= aOutputInfo.designClassName %>.reset!
<% aModuleInfo.ports.select { |p| p.input? }[1..-1].each do |port| # using [1..] because the first signal is the clock %>
  <%= port.name %>.hexStrVal = 'x'
<% end %>
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ruby-vpi-11.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-11.1.0 bin/generate_test_tpl/design.rb
ruby-vpi-12.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-12.0.1 bin/generate_test_tpl/design.rb
ruby-vpi-11.1.1 bin/generate_test_tpl/design.rb
ruby-vpi-14.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-13.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-12.1.0 bin/generate_test_tpl/design.rb
ruby-vpi-12.0.2 bin/generate_test_tpl/design.rb
ruby-vpi-15.0.2 bin/generate_test_tpl/design.rb
ruby-vpi-15.0.1 bin/generate_test_tpl/design.rb
ruby-vpi-15.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-16.0.0 bin/generate_test_tpl/design.rb
ruby-vpi-16.0.1 bin/generate_test_tpl/design.rb