Sha256: 85b94583c78554cafde36a0c686392e2123f294b28ccfe80170908c45955a328

Contents?: true

Size: 1.25 KB

Versions: 1

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

  #include "common.h"

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

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

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

  /**
    Transfers control to the main layer.
  */
  void relay_main();

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-vpi-13.0.0 ext/relay.h