Hi Suraj,

Thank you for your response! I upgraded ruby to 1.8.7 but I still get the 
same error. I also tried to install Icarus verilog on a different computer 
(Ubuntu this time, the first one was running RHEL 5) but with no luck, I get 
the same error message again..

Then I tried to install an older version of Ruby-VPI. 21.0.0 crashes with 
the same error, but 20.0.0 works a lot better! However, the example didn't 
run right away. It complains about the setup methods in the specification:

counter_spec.rb:27:in `load_test': undefined method `setup' for 
Spec::Example::ExampleGroup::Subclass_2:Class (NoMethodError)

I played around with it and changed 'setup do' --> 'before :each'. Now it 
runs without any complaints, but I'm not very familiar with RSpec so I don't 
know if the two lines actually do the same thing?

-Nikolaj

> -----Original Message-----
> From: ruby-vpi-discuss-boun...@rubyforge.org [mailto:ruby-vpi-discuss-
> boun...@rubyforge.org] On Behalf Of Suraj Kurapati
> Sent: 7. september 2010 18:58
> To: ruby-vpi-discuss@rubyforge.org
> Subject: Re: NameError when simulating with ncsim
>
> On Tue, Sep 7, 2010 at 12:49 AM, Nikolaj Andersen <niko...@novelda.no>
> wrote:
> > When I run ‘rake ncsim PROTOTYPE=1’ the simulator crashes with the
> following
> > error message:
> >
> > [user.c:23] Ruby-VPI: error: rb_require('ruby-vpi/boot/relay') failed
> with
> > status 6
> > [user.c:23] Ruby-VPI: error: rb_require('ruby-vpi/boot/loader')
> failed with
> > status 6
> > ruby: uninitialized constant RubyVPI (NameError)
> > ncsim: *F,INTERR: INTERNAL ERROR
> >
> > I am running this on Cadence ncsim64 version 09.20-s014, ruby-vpi
> version
> > 21.1.0 and ruby version 1.8.5.
>
> Please try using Ruby 1.8.6 or 1.8.7.  I'm afraid that 1.8.5 is too
> old.

Reply via email to