Sha256: a8292a4a6462397528d573323fdf3d77aefd071ee65fbd66a3696b7115926b74

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

/*
  Copyright 1999 Kazuhiro HIWADA
  Copyright 2006 Suraj N. Kurapati

  This file is part of Ruby-VPI.

  Ruby-VPI is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  Ruby-VPI is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with Ruby-VPI; if not, write to the Free Software Foundation,
  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/
/**\file
  Logic for transferring control between Ruby and Verilog.
*/

#ifndef RELAY_H
#define RELAY_H

  /**
    Initialize the relay mechanism, which enables Verilog code to transfer control to Ruby code and vice versa.
  */
  void relay_init();

  /**
    Transfers control to Ruby code.
  */
  void relay_ruby();

  /**
    Transfers control to Verilog code.
  */
  void relay_verilog();

  /**
    Starts the Ruby interpreter.
  */
  inline void relay_ruby_run();

#endif

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby-vpi-11.0.0 ext/relay.h
ruby-vpi-10.0.0 ext/relay.h
ruby-vpi-11.1.1 ext/relay.h
ruby-vpi-12.0.1 ext/relay.h
ruby-vpi-12.0.0 ext/relay.h
ruby-vpi-11.1.0 ext/relay.h
ruby-vpi-12.1.0 ext/relay.h
ruby-vpi-12.0.2 ext/relay.h
ruby-vpi-9.0.0 ext/relay.h