Sha256: da83b644957ff3368f6be8318bd79dbb61b68868c503c59e6cb58e87ce2bb46f

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

/*
  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
  The C extension for Ruby-VPI.
*/

#ifndef MAIN_H
#define MAIN_H

  #include "common.h"
  #include <ruby.h>

  /**
    Runs the test bench.
  */
  void main_init();

  /**
    Transfers control from Ruby to Verilog.
  */
  VALUE main_relay_verilog(VALUE arSelf);

  /**
    Gets the reason (Vpi::S_cb_data) why Verilog relayed to Ruby.
  */
  VALUE main_relay_ruby_reason(VALUE arSelf);

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-vpi-14.0.0 ext/main.h
ruby-vpi-15.0.1 ext/main.h
ruby-vpi-15.0.2 ext/main.h
ruby-vpi-15.0.0 ext/main.h