relay.c File Reference

#include "relay.h"
#include "main.h"
#include <pthread.h>

Functions

void * relay_ruby_thread (void *dummy)
void relay_init ()
 Initialize the relay mechanism, which enables Verilog to transfer control to Ruby and vice versa, and start Ruby.
void relay_ruby ()
 Transfers control to Ruby.
void relay_verilog ()
 Transfers control to Verilog.

Variables

pthread_t relay__rubyThread
pthread_mutex_t relay__rubyLock
pthread_mutex_t relay__verilogLock

Function Documentation

void relay_init (  ) 

Initialize the relay mechanism, which enables Verilog to transfer control to Ruby and vice versa, and start Ruby.

void relay_ruby (  ) 

Transfers control to Ruby.

void* relay_ruby_thread ( void *  dummy  ) 

void relay_verilog (  ) 

Transfers control to Verilog.


Variable Documentation

pthread_mutex_t relay__rubyLock

pthread_t relay__rubyThread

pthread_mutex_t relay__verilogLock


Generated on Sat Dec 30 19:26:26 2006 for Ruby-VPI by  doxygen 1.4.7