Sha256: 19b0596d58f094a202408c34596eaff48a941777b11036ebb8f163743788b1bb
Contents?: true
Size: 1.26 KB
Versions: 9
Compression:
Stored size: 1.26 KB
Contents
# This file runs the test. # These are Verilog source files that need to be loaded # by the simulator before they can be simulated. SIMULATOR_SOURCES = [ 'hw5_unit.v', 'hw5_unit_test_bench.v', ] # These are paths to directories which contain the # sources listed above, the files they `include, or both. SIMULATOR_INCLUDES = [] # This specifies the "top module" that is to be simulated. SIMULATOR_TARGET = 'hw5_unit_test_bench' # These are command-line arguments for the simulator. # They can be specified as a string or an array of strings: # # :cver => "this is one single argument", # :cver => ['these', 'are', 'separate', 'arguments'], # :cver => %w[these are also separate arguments], # SIMULATOR_ARGUMENTS = { # GPL Cver :cver => '', # Icarus Verilog :ivl => '', # Synopsys VCS :vcs => '', # Mentor Modelsim :vsim => '', } # 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 according to the information above. require 'ruby-vpi/runner'
Version data entries
9 entries across 9 versions & 1 rubygems