<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Ruby-VPI: main.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>main.c File Reference</h1><code>#include "<a class="el" href="main_8h.html">main.h</a>"</code><br> <code>#include "<a class="el" href="relay_8h.html">relay.h</a>"</code><br> <code>#include <stdlib.h></code><br> <code>#include <stdio.h></code><br> <code>#include "swig_wrap.cin"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#0b8da71bf10f209b0dfa41f04551c4fc">main_init</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Runs the test bench. <a href="#0b8da71bf10f209b0dfa41f04551c4fc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">VALUE </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#5744de41392bc2f3a3285c7203a77229">main_relay_verilog</a> (VALUE arSelf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control from Ruby to Verilog. <a href="#5744de41392bc2f3a3285c7203a77229"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">VALUE </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#b16d15ee5de4d3649f104484f4563c59">main_relay_ruby_reason</a> (VALUE arSelf)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the reason (Vpi::S_cb_data) why Verilog relayed to Ruby. <a href="#b16d15ee5de4d3649f104484f4563c59"></a><br></td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="0b8da71bf10f209b0dfa41f04551c4fc"></a><!-- doxytag: member="main.c::main_init" ref="0b8da71bf10f209b0dfa41f04551c4fc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void main_init </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Runs the test bench. <p> </div> </div><p> <a class="anchor" name="b16d15ee5de4d3649f104484f4563c59"></a><!-- doxytag: member="main.c::main_relay_ruby_reason" ref="b16d15ee5de4d3649f104484f4563c59" args="(VALUE arSelf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">VALUE main_relay_ruby_reason </td> <td>(</td> <td class="paramtype">VALUE </td> <td class="paramname"> <em>arSelf</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Gets the reason (Vpi::S_cb_data) why Verilog relayed to Ruby. <p> </div> </div><p> <a class="anchor" name="5744de41392bc2f3a3285c7203a77229"></a><!-- doxytag: member="main.c::main_relay_verilog" ref="5744de41392bc2f3a3285c7203a77229" args="(VALUE arSelf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">VALUE main_relay_verilog </td> <td>(</td> <td class="paramtype">VALUE </td> <td class="paramname"> <em>arSelf</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Transfers control from Ruby to Verilog. <p> </div> </div><p> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Jan 27 22:47:05 2008 for Ruby-VPI by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> </body> </html>