Sha256: d33559cc88574e4f8ab7a400ca7ff24c271839851e1a7757d4eeb6bd4ce92d6e
Contents?: true
Size: 1.41 KB
Versions: 2
Compression:
Stored size: 1.41 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 = "register_file_loader.rb" # 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[ 'register_file.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 = { # GPL Cver :cver => "", # Icarus Verilog :ivl => "", # Cadence NC-Sim :ncsim => "", # Synopsys VCS :vcs => "", # Mentor Modelsim :vsim => "register_file", } # 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 runs the simulator using the above parameters. require 'ruby-vpi/runner'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-21.0.0 | examples/register_file/register_file_runner.rake |
ruby-vpi-21.1.0 | examples/register_file/register_file_runner.rake |