Hi,

 

I am fairly new to ruby, but I came across ruby-vpi and I think it looks
very interesting so I thought I would give it a go. After installing
rubygems I installed ruby-vpi and tried to run the example from the
ruby-vpi user guide. 

 

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 also get a similar message when I run it on the verilog module with
'rake ncsim'. Any idea what I'm doing wrong?

 

I have included all the files I'm using, including the ncverilog log-file.

 

I am running this on Cadence ncsim64 version 09.20-s014, ruby-vpi version
21.1.0 and ruby version 1.8.5.

 

Best regards

 

Nikolaj Andersen

Attachment: counter.v
Description: Binary data

Attachment: counter_design.rb
Description: Binary data

Attachment: counter_loader.rb
Description: Binary data

Attachment: counter_proto.rb
Description: Binary data

Attachment: counter_runner.rake
Description: Binary data

Attachment: counter_spec.rb
Description: Binary data

Attachment: ncverilog.log
Description: Binary data

Attachment: Rakefile
Description: Binary data

Reply via email to