-------- Original Message -------- Subject: [ruby-vpi-help][21822] problems Date: Mon, 03 May 2007 22:30:00 -0500 (EST) From: Scott Hughes
I have ruby 1.8.6, gems 0.9.2, rake 0.7.3, rcov 0.8.0.2, and ruby-vpi 16.0.0. I'm trying to use vsim 6.2a. I am running all of this on Linux 2.6.9-42.ELsmp x86_64. I have ruby and all my gems installed in a user directory if that matters. When I cd into the samp/counter folder and run 'rake vsim', I get the following output: $ rake vsim (in /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/samp/counter) rake -f counter_rspec_runner.rake vsim (in /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/samp/counter) /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/rake.rb:13: warning: `*' interpreted as argument prefix vlib work ** Warning: (vlib-34) Library already exists at "work". vlog counter.v counter_rspec_bench.v Model Technology ModelSim SE-64 vlog 6.2a Compiler 2006.06 Jun 16 2006 -- Compiling module counter -- Compiling module counter_rspec_bench Top level modules: counter_rspec_bench vsim -c counter_rspec_bench -pli /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so -do run -all Reading /engtools/mentorgraphics/modelsim/6.2a/tcl/vsim/pref.tcl # 6.2a # vsim -do {run -all} -c -pli /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so counter_rspec_bench # Loading /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/../../obj/ruby-vpi.vsim.so # // ModelSim SE-64 6.2a Jun 16 2006 Linux 2.6.9-42.ELsmp # // # // Copyright 2006 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 ** Fatal: Trouble with Simulation Kernel. # - 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.126155 seconds # # 3 examples, 0 failures rake aborted! Command failed with status (218): [vsim -c counter_rspec_bench -pli /users/sh...] (See full trace by running task with --trace) /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:719:in `sh': Command failed with status (1): [rake -f counter_rspec_runner.rake vsim...] (RuntimeError) from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:726:in `call' from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:726:in `sh' from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:805:in `sh' from /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/runner_proxy.rb:21 from /users/shughes/ruby/lib/ruby/1.8/fileutils.rb:121:in `chdir' from /users/shughes/ruby/lib/ruby/1.8/fileutils.rb:121:in `cd' from /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/runner_proxy.rb:20 from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:1003:in `each' from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:1003:in `send' from /users/shughes/ruby/lib/ruby/site_ruby/1.8/rake.rb:1003:in `each' from /users/shughes/ruby/gems/gems/ruby-vpi-16.0.0/lib/ruby-vpi/runner_proxy.rb:17 from /users/shughes/ruby/bin/rake:8 I'd appreciate any pointers you could offer to debug this. Btw, great project! I'll be really excited when I can get it to work, but I'm very excited about the prospect of using it now.