BY: Calvin Wong (cawong)
DATE: 2007-07-27 22:47
SUBJECT: Can't seem to get ruby-vpi to work with VCS


I need some help. Here's my current situation.

# Under bash

% tar xvfz ruby-vpi-17.0.0.tgz

% rake

# Rake is fine

% export SIMULATOR=vcs
% rake test
(in /scratch/testing/ruby-vpi-17.0.0)
rake -f hw5_unit_runner.rake vcs
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:725:
warning: Insecure world writable dir /scratch/testing in PATH, mode
040777
(in /scratch/testing/ruby-vpi-17.0.0/samp/pipelined_alu)
vcs -R +v2k +vpi -load
/scratch/testing/ruby-vpi-17.0.0/lib/ruby-vpi/../../obj/vcs:vlog_startup_routines_bootstrap
hw5_unit.v
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:725:
warning: Insecure world writable dir /scratch/testing in PATH, mode
040777
Chronologic VCS (TM)
Version X-2005.06-SP1-11 -- Fri Jul 27 15:45:19 2007
Copyright (c) 1991-2005 by Synopsys Inc.
ALL RIGHTS RESERVED

This program is proprietary and confidential information of Synopsys
Inc.
and may be used and disclosed only as authorized in a license agreement
controlling such use and disclosure.

Could not open library specified in -load option
/scratch/testing/ruby-vpi-17.0.0/lib/ruby-vpi/../../obj/vcs
/scratch/testing/ruby-vpi-17.0.0/lib/ruby-vpi/../../obj/vcs:
undefined symbol: rb_string_value_ptr
Bad command line arg encountered
CPU time: .040 seconds to compile
rake aborted!
Command failed with status (1): [vcs -R +v2k +vpi -load
/scratch/testing/ru...]

(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake -f hw5_unit_runner.rake vcs...]
/scratch/testing/ruby-vpi-17.0.0/Rakefile:255
(See full trace by running task with --trace)

%


I have tried using export SIMULATOR=ncsim with rake test and that
works fine.
I prefer to use VCS since our company has over
1000 vcs licenses compared to 100 ncsim licenses.

Calvin

Reply via email to