Sha256: 742f4043ebbcf20b37b475643c0aea9e5965c14bdeb59b5d0511ab9763abb6f8
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# Path to a Ruby script that will be invoked before the Verilog # simulation begins. This script shall then load the appropriate # tests to exercise the desired designs in the Verilog simulation. TEST_LOADER = <%= aOutputInfo.loaderPath.inspect %> # Array of paths and shell globs (see the Dir.glob method's documentation for # details) to source files and directories that contain source files. These # source files will be loaded by the simulator before the simulation begins. SIMULATOR_SOURCES = FileList[ '<%= aModuleInfo.name %>.v' ] # Command-line arguments for the simulator. These arguments can be # specified as a string or an array of strings, as demonstrated below: # # :cver => "this is a single string argument", # :cver => ["these", "are", "separate", "arguments"], # :cver => %w[these are also separate arguments], # SIMULATOR_ARGUMENTS = { <% RubyVPI::SIMULATORS.each do |sim| %> # <%= sim.name %> :<%= sim.id %> => "<%= aModuleInfo.name if sim.id == :vsim %>", <% end %> } # This task is invoked before the simulator runs. It # can be used to make preprations, such as converting # Verilog header files into Ruby, for the simulation. task :setup do # To learn how to write Rake tasks, please see: # http://docs.rubyrake.org/read/chapter/4#page16 end # This command loads the Ruby-VPI runner template, # which starts the simulator with the above parameters. require 'ruby-vpi/runner'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-21.0.0 | bin/generate/runner.rake |
ruby-vpi-21.1.0 | bin/generate/runner.rake |