-------- Original Message --------
Subject: [ruby-vpi-help][21829] RE: problems with vsim 6.2a
Date: Mon, 04 May 2007 00:30:00 -0500 (EST)
From: Suraj Kurapati

Hi,

I have vsim 6.2g here and it works just fine (see output below).
Perhaps vsim 6.2a has a bug regarding VPI? I will look around online
and get back to you.

In the mean time, if you have access to a newer vsim or another
simulator, try that. If not, I recommend trying the GPL Cver
simulator until this problem is resolved. It is more than adequate
for playing around with the Ruby-VPI examples.

Cheers.

-----------------------8<--------------------------

$ rake test SIMULATOR=vsim
(in /tmp/ruby-vpi)
cd samp/counter/
rake vsim
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
(in /tmp/ruby-vpi/samp/counter)
cd .
rake -f counter_rspec_runner.rake vsim
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
(in /tmp/ruby-vpi/samp/counter)
vlib work
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
** Warning: (vlib-34) Library already exists at "work".
vlog counter.v counter_rspec_bench.v
Model Technology ModelSim SE-64 vlog 6.2g Compiler 2007.02 Feb 21 2007
-- Compiling module counter
-- Compiling module counter_rspec_bench

Top level modules:
counter_rspec_bench
vsim -c counter_rspec_bench -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so -do run -all
Reading /mada/software/mentor/modeltech/tcl/vsim/pref.tcl

# 6.2g

# vsim -do {run -all} -c -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
counter_rspec_bench
# Loading /tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
# // ModelSim SE-64 6.2g Feb 21 2007 Linux 2.6.18-8.1.3.el5
# //
# // Copyright 1991-2007 Mentor Graphics Corporation
# // All Rights Reserved.
# //
# // THIS WORK CONTAINS TRADE SECRET AND
# // PROPRIETARY INFORMATION WHICH IS THE PROPERTY
# // OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS
# // AND IS SUBJECT TO LICENSE TERMS.
# //
# Loading work.counter_rspec_bench(fast)
# Loading work.counter(fast)
# run -all
#
# A resetted counter's value
# - should be zero
# - should increment by one count upon each rising clock edge
#
# A counter with the maximum value
# - should overflow upon increment
#
# Finished in 0.015958 seconds
#
# 3 specifications, 0 failures
cd -
cd .
rake -f counter_xunit_runner.rake vsim
(in /tmp/ruby-vpi/samp/counter)
vlib work
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
** Warning: (vlib-34) Library already exists at "work".
vlog counter.v counter_xunit_bench.v
Model Technology ModelSim SE-64 vlog 6.2g Compiler 2007.02 Feb 21 2007
-- Compiling module counter
-- Compiling module counter_xunit_bench

Top level modules:
counter_xunit_bench
vsim -c counter_xunit_bench -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so -do run -all
Reading /mada/software/mentor/modeltech/tcl/vsim/pref.tcl

# 6.2g

# vsim -do {run -all} -c -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
counter_xunit_bench
# Loading /tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
# // ModelSim SE-64 6.2g Feb 21 2007 Linux 2.6.18-8.1.3.el5
# //
# // Copyright 1991-2007 Mentor Graphics Corporation
# // All Rights Reserved.
# //
# // THIS WORK CONTAINS TRADE SECRET AND
# // PROPRIETARY INFORMATION WHICH IS THE PROPERTY
# // OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS
# // AND IS SUBJECT TO LICENSE TERMS.
# //
# Loading work.counter_xunit_bench(fast)
# Loading work.counter(fast)
# run -all
# Loaded suite counter_xunit_bench
# Started
# ...
# Finished in 0.01542 seconds.
#
# 3 tests, 35 assertions, 0 failures, 0 errors
cd -
cd -
cd samp/pipelined_alu/
rake vsim
(in /tmp/ruby-vpi/samp/pipelined_alu)
cd .
rake -f hw5_unit_test_runner.rake vsim
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
(in /tmp/ruby-vpi/samp/pipelined_alu)
vlib work
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:728: warning:
Insecure world writable dir /tmp, mode 041777
** Warning: (vlib-34) Library already exists at "work".
vlog hw5_unit.v hw5_unit_test_bench.v
Model Technology ModelSim SE-64 vlog 6.2g Compiler 2007.02 Feb 21 2007
-- Compiling module hw5_unit
-- Compiling module hw5_unit_test_bench

Top level modules:
hw5_unit_test_bench
vsim -c hw5_unit_test_bench -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so -do run -all
Reading /mada/software/mentor/modeltech/tcl/vsim/pref.tcl

# 6.2g

# vsim -do {run -all} -c -pli
/tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
hw5_unit_test_bench
# Loading /tmp/ruby-vpi/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so
# // ModelSim SE-64 6.2g Feb 21 2007 Linux 2.6.18-8.1.3.el5
# //
# // Copyright 1991-2007 Mentor Graphics Corporation
# // All Rights Reserved.
# //
# // THIS WORK CONTAINS TRADE SECRET AND
# // PROPRIETARY INFORMATION WHICH IS THE PROPERTY
# // OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS
# // AND IS SUBJECT TO LICENSE TERMS.
# //
# Loading work.hw5_unit_test_bench(fast)
# Loading work.hw5_unit(fast)
# run -all
# Loaded suite hw5_unit_test_bench
# Started
# .
# Finished in 2.925595 seconds.
#
# 1 tests, 10985 assertions, 0 failures, 0 errors
cd -
cd -

Reply via email to