Module RubyVPI
In: lib/ruby-vpi/rcov.rb
lib/ruby-vpi/core.rb
lib/ruby-vpi/core/callback.rb
lib/ruby-vpi/core/edge-methods.rb
lib/ruby-vpi/core/scheduler.rb
lib/ruby-vpi/core/edge.rb
lib/ruby-vpi.rb

General project information.

Methods

load_test  

Classes and Modules

Module RubyVPI::SIMULATORS

Constants

USE_SIMULATOR = ENV['RUBYVPI_SIMULATOR'].to_sym
USE_DEBUGGER = ENV['DEBUGGER'].to_i == 1
USE_COVERAGE = ENV['COVERAGE'].to_i == 1
USE_PROTOTYPE = ENV['PROTOTYPE'].to_i == 1
USE_PROFILER = ENV['PROFILER'].to_i == 1
Callback = CallbackClass.instance
Scheduler = SchedulerClass.instance
Edge = EdgeClass.instance
Project = { :name => 'ruby-vpi', :version => '20.0.0', :release => '2008-01-27', :website => "http://ruby-vpi.rubyforge.org", :home => File.expand_path(File.join(File.dirname(__FILE__), '..'))
Simulator = Struct.new(:id, :name, :compiler_args, :linker_args)
SIMULATORS = [ Simulator.new(:cver, 'GPL Cver', '-DPRAGMATIC_CVER', ''), Simulator.new(:ivl, 'Icarus Verilog', '-DICARUS_VERILOG', ''), Simulator.new(:ncsim, 'Cadence NC-Sim', '-DCADENCE_NCSIM', ''), Simulator.new(:vcs, 'Synopsys VCS', '-DSYNOPSYS_VCS', ''), Simulator.new(:vsim, 'Mentor Modelsim', '-DMENTOR_MODELSIM', ''), ]   List of supported Verilog simulators.

Public Class methods

Loads a test to exercise a design (the given VPI handle).

  1. Creates a sandbox (an anonymous module).
  2. Defines a constant named "DUT" (which points to the given VPI handle) inside the sandbox.
  3. Loads the given test files into the sandbox.
  4. Returns the sandbox.
aDesignHandleOrPath:either a VPI handle or a path to an object in the Verilog simulation

[Validate]