[ANN] Ruby-VPI 18.0.0

Discussion in 'Ruby' started by Suraj Kurapati, Aug 1, 2007.

  1. Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI
    and a platform for unit testing, rapid prototyping, and
    systems integration of Verilog modules through Ruby. It
    lets you create complex Verilog test benches easily and
    wholly in Ruby.

    • See http://ruby-vpi.rubyforge.org for details.

    â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”

    Version 18.0.0 (2007-07-31)

    This release restores support for Synopsys VCS and Cadence
    NC-Sim, improves portability and performance, and enhances
    the VPI abstraction layer.

    Thanks

    • Calvin Wong discovered how to bypass the following
    error emitted by Synopsys VCS when loading the Ruby-VPI
    shared object file.

    Could not open library specified in -load option obj/vcs
    obj/vcs: undefined symbol: vpi_put_data



    Caution

    • SWIG is now required in order to compile and install
    Ruby-VPI.

    • Vpi::Handle.put_value no longer checks whether the
    value written matches the value read back after writing
    because that only works when there is no VPI delay
    associated with the write.

    • When Vpi::Handle.put_value is used to write a value to
    a wire (VpiNet), it now forces the value. This is done
    to ensure portability:

    Synopsys VCS and Cadence NC-Sim forget the value
    written to a wire during the next simulation time step,
    whereas Mentor Modelsim and GPL Cver remember the value
    (thereby treating wires as registers).

    Note that you have to release a forced value (using
    Vpi::Handle.release_value) on a wire after writing to
    the wire if you want the design under test have the
    ability to update the value of the wire later on:

    your_wire.intVal = 15
    your_wire.release_value
    advance_time # let the Verilog DUT modify your_wire


    In addition, you can check if a wire has a forced value
    using the Vpi::Handle.value_forced? method.

    • If the format is not specified, Vpi::Handle.get_value
    now assumes that you want to read the value in
    VpiIntVal format (because this is the most common
    case).

    • The definition of “Derivatives†has been reworded for
    clarity in the project license.

    Repairs

    • Synopsys VCS and Cadence NC-Sim simulators now
    correctly load Ruby-VPI. Also, the 64-bit versions of
    these simulators are now supported.

    Improvements

    • Added “force_valueâ€, “release_valueâ€, and
    “value_forced?†methods to the Vpi::Handle class.

    • Vpi::Handle.put_value now tries to automatically detect
    the format of the value to be written. As a result, you
    can now write your_handle.put_value 35 in lieu of
    writing your_handle.intVal = 35.

    • Vpi::Handle.inspect now shows the hexStrVal of the
    handle (because it is a common case to want to see a
    handle’s logic value along with its other information).

    • Added method caching (memoizing) for VPI property
    accesses on handles.
    --
    Posted via http://www.ruby-forum.com/.
     
    Suraj Kurapati, Aug 1, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Suraj Kurapati

    [ANN] Ruby-VPI 0.1

    Suraj Kurapati, Feb 28, 2006, in forum: Ruby
    Replies:
    0
    Views:
    92
    Suraj Kurapati
    Feb 28, 2006
  2. Suraj N. Kurapati

    [ANN] Ruby-VPI 0.7

    Suraj N. Kurapati, Jul 23, 2006, in forum: Ruby
    Replies:
    2
    Views:
    102
    Suraj N. Kurapati
    Jul 23, 2006
  3. Suraj N. Kurapati

    [ANN] Ruby-VPI 0.8

    Suraj N. Kurapati, Jul 30, 2006, in forum: Ruby
    Replies:
    0
    Views:
    102
    Suraj N. Kurapati
    Jul 30, 2006
  4. Suraj N. Kurapati

    [ANN] Ruby-VPI 0.8.1

    Suraj N. Kurapati, Aug 5, 2006, in forum: Ruby
    Replies:
    0
    Views:
    129
    Suraj N. Kurapati
    Aug 5, 2006
  5. Suraj N. Kurapati

    [ANN] Ruby-VPI 0.9

    Suraj N. Kurapati, Aug 8, 2006, in forum: Ruby
    Replies:
    0
    Views:
    94
    Suraj N. Kurapati
    Aug 8, 2006
Loading...

Share This Page