runner.rb

Path: lib/ruby-vpi/runner.rb
Last Update: Wed Dec 06 17:27:53 PST 2006

A template to simplify building and running examples. This file is meant to be embedded in another Rakefile, which bears the responsibility of defining the following variables.

Required variables

SIMULATOR_SOURCES:Array of paths to source files needed by the simulator.
SIMULATOR_TARGET:Name of the Verilog module to be simulated.
SIMULATOR_ARGUMENTS:A hash containing keys for each simulator task (same as Rakefile task names) and values containing command-line arguments for each simulator.

Required files

rake/clean   ruby-vpi   ruby-vpi/rake  

Methods

Included Modules

RubyVpi::Config

Constants

SIMULATOR_INCLUDES = [] unless defined? SIMULATOR_INCLUDES
OBJECT_PATH = File.join(File.dirname(__FILE__), '..', '..', 'obj')
BOOTSTAP_FUNC = 'vlog_startup_routines_bootstrap'

Public Instance methods

Returns an array of include-directory options.

Returns the path to the Ruby-VPI object file for the given simulator.

[Validate]