ruby-vpi 8.2.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HEADER +0 -19
- data/HISTORY +40 -0
- data/README +20 -2
- data/Rakefile +38 -42
- data/bin/generate_test.rb +50 -35
- data/bin/generate_test_tpl/bench.rb +3 -3
- data/bin/generate_test_tpl/bench.v +1 -1
- data/bin/generate_test_tpl/runner.rake +3 -2
- data/bin/generate_test_tpl/spec.rb +2 -2
- data/doc/background.organization.html +1 -1
- data/doc/glossary.html +1 -1
- data/doc/index.html +2 -2
- data/doc/manual.txt +163 -83
- data/doc/problems.html +1 -1
- data/doc/problems.ruby.html +1 -1
- data/doc/src/manual.xml +132 -49
- data/doc/usage.examples.html +1 -1
- data/doc/usage.html +1 -1
- data/doc/usage.installation.html +2 -2
- data/doc/usage.recommendations.html +3 -0
- data/doc/usage.requirements.html +1 -1
- data/doc/usage.tutorial.html +46 -42
- data/ext/extconf.rb +5 -2
- data/ext/relay.c +138 -0
- data/ext/{relay.hin → relay.h} +7 -7
- data/ext/{swig.cin → swig.c} +5 -7
- data/ext/{swig.hin → swig.h} +4 -4
- data/ext/verilog.h +1 -2
- data/ext/vlog.c +86 -0
- data/ext/{vlog.hin → vlog.h} +9 -12
- data/header.html +0 -31
- data/header.part.html +0 -31
- data/history.html +72 -31
- data/history.part.html +72 -0
- data/lib/ruby-vpi.rb +16 -0
- data/lib/ruby-vpi/runner.rb +34 -16
- data/memo.html +0 -31
- data/readme.html +33 -33
- data/readme.part.html +34 -3
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +7 -8
- data/ref/c/functions.html +2 -2
- data/ref/c/functions_vars.html +2 -2
- data/ref/c/globals.html +1 -1
- data/ref/c/globals_0x63.html +1 -1
- data/ref/c/globals_0x65.html +1 -1
- data/ref/c/globals_0x66.html +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +9 -9
- data/ref/c/globals_0x73.html +3 -3
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +5 -5
- data/ref/c/globals_0x78.html +1 -1
- data/ref/c/globals_defs.html +1 -1
- data/ref/c/globals_defs_0x65.html +1 -1
- data/ref/c/globals_defs_0x70.html +1 -1
- data/ref/c/globals_defs_0x76.html +2 -2
- data/ref/c/globals_defs_0x78.html +1 -1
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +11 -11
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +5 -5
- data/ref/c/index.html +1 -1
- data/ref/c/relay_8c.html +214 -0
- data/ref/c/{relay_8hin.html → relay_8h.html} +23 -23
- data/ref/c/structrelay____RubyOptions____def.html +6 -6
- data/ref/c/structt__cb__data.html +1 -1
- data/ref/c/structt__vpi__delay.html +1 -1
- data/ref/c/structt__vpi__error__info.html +1 -1
- data/ref/c/structt__vpi__strengthval.html +1 -1
- data/ref/c/structt__vpi__systf__data.html +1 -1
- data/ref/c/structt__vpi__time.html +1 -1
- data/ref/c/structt__vpi__value.html +1 -1
- data/ref/c/structt__vpi__vecval.html +1 -1
- data/ref/c/structt__vpi__vlog__info.html +1 -1
- data/ref/c/swig_8c.html +80 -0
- data/ref/c/{swig_8hin.html → swig_8h.html} +13 -13
- data/ref/c/verilog_8h.html +3 -3
- data/ref/c/{vlog_8cin.html → vlog_8c.html} +30 -21
- data/ref/c/{vlog_8hin.html → vlog_8h.html} +12 -12
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/ERB.src/{M000033.html → M000034.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +10 -10
- data/ref/ruby/classes/FileUtils.src/M000089.html +5 -5
- data/ref/ruby/classes/FileUtils.src/M000090.html +18 -0
- data/ref/ruby/classes/Integer.html +68 -68
- data/ref/ruby/classes/Integer.src/M000012.html +12 -5
- data/ref/ruby/classes/Integer.src/M000013.html +5 -5
- data/ref/ruby/classes/Integer.src/M000014.html +5 -5
- data/ref/ruby/classes/Integer.src/M000015.html +5 -5
- data/ref/ruby/classes/Integer.src/M000016.html +5 -5
- data/ref/ruby/classes/Integer.src/M000017.html +18 -0
- data/ref/ruby/classes/Integer.src/M000020.html +9 -9
- data/ref/ruby/classes/Integer.src/M000021.html +9 -12
- data/ref/ruby/classes/Integer.src/M000022.html +12 -18
- data/ref/ruby/classes/Integer.src/M000023.html +18 -12
- data/ref/ruby/classes/Integer.src/M000024.html +12 -17
- data/ref/ruby/classes/Integer.src/M000025.html +30 -0
- data/ref/ruby/classes/OutputInfo.html +6 -6
- data/ref/ruby/classes/OutputInfo.src/{M000029.html → M000030.html} +37 -37
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000092.html → M000093.html} +0 -0
- data/ref/ruby/classes/RubyVpi.html +16 -10
- data/ref/ruby/classes/RubyVpi.src/M000091.html +37 -7
- data/ref/ruby/classes/RubyVpi.src/M000092.html +20 -0
- data/ref/ruby/classes/RubyVpi/Config.html +148 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +45 -45
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000081.html +5 -5
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000082.html +5 -9
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000083.html +9 -31
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000084.html +31 -69
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000085.html +69 -114
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000086.html +114 -13
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000087.html +13 -5
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000088.html +18 -0
- data/ref/ruby/classes/String.html +10 -10
- data/ref/ruby/classes/String.src/M000032.html +28 -5
- data/ref/ruby/classes/String.src/M000033.html +18 -0
- data/ref/ruby/classes/Table.html +20 -20
- data/ref/ruby/classes/Table.src/M000026.html +25 -5
- data/ref/ruby/classes/Table.src/M000027.html +5 -5
- data/ref/ruby/classes/Table.src/M000028.html +5 -5
- data/ref/ruby/classes/Table.src/M000029.html +18 -0
- data/ref/ruby/classes/Template.html +5 -5
- data/ref/ruby/classes/Template.src/{M000030.html → M000031.html} +4 -4
- data/ref/ruby/classes/VerilogParser.html +5 -5
- data/ref/ruby/classes/VerilogParser.src/{M000004.html → M000005.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module.html +5 -5
- data/ref/ruby/classes/VerilogParser/Module.src/{M000005.html → M000006.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.html +5 -5
- data/ref/ruby/classes/VerilogParser/Module/Parameter.src/{M000010.html → M000011.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +20 -20
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html +8 -5
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +5 -5
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000009.html +5 -5
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000010.html +18 -0
- data/ref/ruby/classes/XX/Document.html +45 -45
- data/ref/ruby/classes/XX/Document.src/M000072.html +9 -7
- data/ref/ruby/classes/XX/Document.src/M000073.html +7 -7
- data/ref/ruby/classes/XX/Document.src/M000074.html +7 -7
- data/ref/ruby/classes/XX/Document.src/M000075.html +7 -9
- data/ref/ruby/classes/XX/Document.src/M000076.html +9 -8
- data/ref/ruby/classes/XX/Document.src/M000077.html +8 -8
- data/ref/ruby/classes/XX/Document.src/M000078.html +8 -21
- data/ref/ruby/classes/XX/Document.src/M000079.html +21 -85
- data/ref/ruby/classes/XX/Document.src/M000080.html +98 -0
- data/ref/ruby/classes/XX/HTML4.html +5 -5
- data/ref/ruby/classes/XX/HTML4.src/{M000035.html → M000036.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Strict.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Strict.src/{M000037.html → M000038.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Transitional.src/{M000036.html → M000037.html} +0 -0
- data/ref/ruby/classes/XX/Markup.html +5 -5
- data/ref/ruby/classes/XX/Markup.src/{M000042.html → M000043.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.html +40 -40
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000044.html +9 -7
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000045.html +7 -12
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000046.html +12 -7
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000047.html +7 -14
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000048.html +14 -7
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000049.html +7 -14
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000050.html +14 -9
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000051.html +22 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.html +100 -100
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +43 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +20 -18
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +18 -35
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +35 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000056.html +7 -18
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000057.html +18 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000058.html +19 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000059.html +19 -15
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000060.html +15 -10
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000061.html +10 -13
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000062.html +13 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000063.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000064.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000065.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000066.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000067.html +7 -8
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000068.html +8 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000069.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000070.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000071.html +20 -0
- data/ref/ruby/classes/XX/XHTML.html +5 -5
- data/ref/ruby/classes/XX/XHTML.src/{M000038.html → M000039.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Strict.src/{M000040.html → M000041.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000039.html → M000040.html} +0 -0
- data/ref/ruby/classes/XX/XML.html +5 -5
- data/ref/ruby/classes/XX/XML.src/{M000034.html → M000035.html} +0 -0
- data/ref/ruby/classes/XX/XMLish.html +5 -5
- data/ref/ruby/classes/XX/XMLish.src/{M000041.html → M000042.html} +0 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_test_rb.html +49 -9
- data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +5 -16
- data/ref/ruby/files/bin/generate_test_rb.src/M000002.html +39 -0
- data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +22 -21
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000003.html +11 -13
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html +26 -0
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/ref/ruby/fr_class_index.html +1 -0
- data/ref/ruby/fr_method_index.html +93 -92
- data/samp/counter/{counter_rspecTest_bench.rb → counter_rspec_bench.rb} +2 -2
- data/samp/counter/{counter_rspecTest_bench.v → counter_rspec_bench.v} +3 -3
- data/samp/counter/{counter_unitTest_design.rb → counter_rspec_design.rb} +3 -3
- data/samp/counter/{counter_rspecTest_proto.rb → counter_rspec_proto.rb} +0 -0
- data/samp/counter/{counter_unitTest_runner.rake → counter_rspec_runner.rake} +5 -4
- data/samp/counter/{counter_rspecTest_spec.rb → counter_rspec_spec.rb} +0 -0
- data/samp/counter/{counter_unitTest_bench.rb → counter_xunit_bench.rb} +2 -2
- data/samp/counter/{counter_unitTest_bench.v → counter_xunit_bench.v} +3 -3
- data/samp/counter/{counter_rspecTest_design.rb → counter_xunit_design.rb} +3 -3
- data/samp/counter/{counter_unitTest_proto.rb → counter_xunit_proto.rb} +0 -0
- data/samp/counter/{counter_rspecTest_runner.rake → counter_xunit_runner.rake} +5 -4
- data/samp/counter/{counter_unitTest_spec.rb → counter_xunit_spec.rb} +0 -0
- data/samp/pipelined_alu/hw5_unit_test_runner.rake +3 -2
- metadata +177 -177
- data/ext/README +0 -124
- data/ext/relay.cin +0 -146
- data/ext/ruby-vpi.c +0 -36
- data/ext/vlog.cin +0 -92
- data/lib/ruby-vpi/synopsys_vcs.tab +0 -2
- data/ref/c/relay_8cin.html +0 -204
- data/ref/c/ruby-vpi_8c.html +0 -34
- data/ref/c/swig_8cin.html +0 -75
- data/ref/ruby/classes/FileUtils.src/M000088.html +0 -18
- data/ref/ruby/classes/Integer.src/M000011.html +0 -25
- data/ref/ruby/classes/Integer.src/M000019.html +0 -22
- data/ref/ruby/classes/RubyVpi.src/M000090.html +0 -50
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000080.html +0 -18
- data/ref/ruby/classes/String.src/M000031.html +0 -41
- data/ref/ruby/classes/Table.src/M000025.html +0 -38
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +0 -21
- data/ref/ruby/classes/XX/Document.src/M000071.html +0 -22
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000043.html +0 -22
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000051.html +0 -56
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000002.html +0 -20
@@ -1,6 +1,6 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
2
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
-
<title>Ruby-VPI: relay.
|
3
|
+
<title>Ruby-VPI: relay.h File Reference</title>
|
4
4
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
5
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
6
|
</head><body>
|
@@ -16,38 +16,38 @@
|
|
16
16
|
<li><a href="files.html"><span>File List</span></a></li>
|
17
17
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
18
|
</ul></div>
|
19
|
-
<h1>relay.
|
19
|
+
<h1>relay.h File Reference</h1>Logic for transferring control between Ruby and Verilog. <a href="#_details">More...</a>
|
20
20
|
<p>
|
21
21
|
<table border="0" cellpadding="0" cellspacing="0">
|
22
22
|
<tr><td></td></tr>
|
23
23
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
24
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
24
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="relay_8h.html#ea9df559615cf5edbf6fc237b9781a8f">relay_init</a> ()</td></tr>
|
25
25
|
|
26
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the relay mechanism, which enables Verilog code to transfer control to Ruby code and vice versa. <a href="#
|
27
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
26
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the relay mechanism, which enables Verilog code to transfer control to Ruby code and vice versa. <a href="#ea9df559615cf5edbf6fc237b9781a8f"></a><br></td></tr>
|
27
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="relay_8h.html#fbc70fcd80a9e815a6800861428d7294">relay_ruby</a> ()</td></tr>
|
28
28
|
|
29
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control to Ruby code. <a href="#
|
30
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
29
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control to Ruby code. <a href="#fbc70fcd80a9e815a6800861428d7294"></a><br></td></tr>
|
30
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="relay_8h.html#c1a02ebdb76a321bac689ac9b30f0422">relay_verilog</a> ()</td></tr>
|
31
31
|
|
32
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control to Verilog code. <a href="#
|
33
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
32
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control to Verilog code. <a href="#c1a02ebdb76a321bac689ac9b30f0422"></a><br></td></tr>
|
33
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="relay_8h.html#746b991056f045f975634a6dad38cae7">relay_ruby_run</a> ()</td></tr>
|
34
34
|
|
35
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Starts the Ruby interpreter. <a href="#
|
35
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Starts the Ruby interpreter. <a href="#746b991056f045f975634a6dad38cae7"></a><br></td></tr>
|
36
36
|
</table>
|
37
37
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
38
38
|
Logic for transferring control between Ruby and Verilog.
|
39
39
|
<p>
|
40
40
|
<hr><h2>Function Documentation</h2>
|
41
|
-
<a class="anchor" name="
|
41
|
+
<a class="anchor" name="ea9df559615cf5edbf6fc237b9781a8f"></a><!-- doxytag: member="relay.h::relay_init" ref="ea9df559615cf5edbf6fc237b9781a8f" args="()" -->
|
42
42
|
<div class="memitem">
|
43
43
|
<div class="memproto">
|
44
44
|
<table class="memname">
|
45
45
|
<tr>
|
46
|
-
<td class="memname">
|
46
|
+
<td class="memname">void relay_init </td>
|
47
47
|
<td>(</td>
|
48
48
|
<td class="paramname"> </td>
|
49
49
|
<td> ) </td>
|
50
|
-
<td width="100%"
|
50
|
+
<td width="100%"></td>
|
51
51
|
</tr>
|
52
52
|
</table>
|
53
53
|
</div>
|
@@ -59,16 +59,16 @@ Initialize the relay mechanism, which enables Verilog code to transfer control t
|
|
59
59
|
|
60
60
|
</div>
|
61
61
|
</div><p>
|
62
|
-
<a class="anchor" name="
|
62
|
+
<a class="anchor" name="fbc70fcd80a9e815a6800861428d7294"></a><!-- doxytag: member="relay.h::relay_ruby" ref="fbc70fcd80a9e815a6800861428d7294" args="()" -->
|
63
63
|
<div class="memitem">
|
64
64
|
<div class="memproto">
|
65
65
|
<table class="memname">
|
66
66
|
<tr>
|
67
|
-
<td class="memname">
|
67
|
+
<td class="memname">void relay_ruby </td>
|
68
68
|
<td>(</td>
|
69
69
|
<td class="paramname"> </td>
|
70
70
|
<td> ) </td>
|
71
|
-
<td width="100%"
|
71
|
+
<td width="100%"></td>
|
72
72
|
</tr>
|
73
73
|
</table>
|
74
74
|
</div>
|
@@ -80,16 +80,16 @@ Transfers control to Ruby code.
|
|
80
80
|
|
81
81
|
</div>
|
82
82
|
</div><p>
|
83
|
-
<a class="anchor" name="
|
83
|
+
<a class="anchor" name="746b991056f045f975634a6dad38cae7"></a><!-- doxytag: member="relay.h::relay_ruby_run" ref="746b991056f045f975634a6dad38cae7" args="()" -->
|
84
84
|
<div class="memitem">
|
85
85
|
<div class="memproto">
|
86
86
|
<table class="memname">
|
87
87
|
<tr>
|
88
|
-
<td class="memname">
|
88
|
+
<td class="memname">void relay_ruby_run </td>
|
89
89
|
<td>(</td>
|
90
90
|
<td class="paramname"> </td>
|
91
91
|
<td> ) </td>
|
92
|
-
<td width="100%"><code> [inline
|
92
|
+
<td width="100%"><code> [inline]</code></td>
|
93
93
|
</tr>
|
94
94
|
</table>
|
95
95
|
</div>
|
@@ -101,16 +101,16 @@ Starts the Ruby interpreter.
|
|
101
101
|
|
102
102
|
</div>
|
103
103
|
</div><p>
|
104
|
-
<a class="anchor" name="
|
104
|
+
<a class="anchor" name="c1a02ebdb76a321bac689ac9b30f0422"></a><!-- doxytag: member="relay.h::relay_verilog" ref="c1a02ebdb76a321bac689ac9b30f0422" args="()" -->
|
105
105
|
<div class="memitem">
|
106
106
|
<div class="memproto">
|
107
107
|
<table class="memname">
|
108
108
|
<tr>
|
109
|
-
<td class="memname">
|
109
|
+
<td class="memname">void relay_verilog </td>
|
110
110
|
<td>(</td>
|
111
111
|
<td class="paramname"> </td>
|
112
112
|
<td> ) </td>
|
113
|
-
<td width="100%"
|
113
|
+
<td width="100%"></td>
|
114
114
|
</tr>
|
115
115
|
</table>
|
116
116
|
</div>
|
@@ -122,7 +122,7 @@ Transfers control to Verilog code.
|
|
122
122
|
|
123
123
|
</div>
|
124
124
|
</div><p>
|
125
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
125
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
126
126
|
<a href="http://www.doxygen.org/index.html">
|
127
127
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
128
128
|
</body>
|
@@ -21,9 +21,9 @@
|
|
21
21
|
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
22
22
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structrelay____RubyOptions____def.html#2d622fe378089ce840530cb8866f304f">mArgs</a></td></tr>
|
23
23
|
|
24
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
24
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structrelay____RubyOptions____def.html#de218feb16c6d7fca853d2f376c4c6c3">mCount</a></td></tr>
|
25
25
|
|
26
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Array of command-line arguments. <a href="#
|
26
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Array of command-line arguments. <a href="#de218feb16c6d7fca853d2f376c4c6c3"></a><br></td></tr>
|
27
27
|
</table>
|
28
28
|
<hr><h2>Field Documentation</h2>
|
29
29
|
<a class="anchor" name="2d622fe378089ce840530cb8866f304f"></a><!-- doxytag: member="relay__RubyOptions__def::mArgs" ref="2d622fe378089ce840530cb8866f304f" args="" -->
|
@@ -41,12 +41,12 @@
|
|
41
41
|
|
42
42
|
</div>
|
43
43
|
</div><p>
|
44
|
-
<a class="anchor" name="
|
44
|
+
<a class="anchor" name="de218feb16c6d7fca853d2f376c4c6c3"></a><!-- doxytag: member="relay__RubyOptions__def::mCount" ref="de218feb16c6d7fca853d2f376c4c6c3" args="" -->
|
45
45
|
<div class="memitem">
|
46
46
|
<div class="memproto">
|
47
47
|
<table class="memname">
|
48
48
|
<tr>
|
49
|
-
<td class="memname">
|
49
|
+
<td class="memname">unsigned int <a class="el" href="structrelay____RubyOptions____def.html#de218feb16c6d7fca853d2f376c4c6c3">relay__RubyOptions__def::mCount</a> </td>
|
50
50
|
</tr>
|
51
51
|
</table>
|
52
52
|
</div>
|
@@ -59,8 +59,8 @@ Array of command-line arguments.
|
|
59
59
|
</div>
|
60
60
|
</div><p>
|
61
61
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
62
|
-
<li><a class="el" href="
|
63
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
62
|
+
<li><a class="el" href="relay_8c.html">relay.c</a></ul>
|
63
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
64
64
|
<a href="http://www.doxygen.org/index.html">
|
65
65
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
66
66
|
</body>
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</div><p>
|
145
145
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
146
146
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
147
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
147
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
148
148
|
<a href="http://www.doxygen.org/index.html">
|
149
149
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
150
150
|
</body>
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div><p>
|
128
128
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
129
129
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
130
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
130
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
131
131
|
<a href="http://www.doxygen.org/index.html">
|
132
132
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
133
133
|
</body>
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</div><p>
|
145
145
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
146
146
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
147
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
147
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
148
148
|
<a href="http://www.doxygen.org/index.html">
|
149
149
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
150
150
|
</body>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</div><p>
|
77
77
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
78
78
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
79
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
79
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
80
80
|
<a href="http://www.doxygen.org/index.html">
|
81
81
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
82
82
|
</body>
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</div><p>
|
145
145
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
146
146
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
147
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
147
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
148
148
|
<a href="http://www.doxygen.org/index.html">
|
149
149
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
150
150
|
</body>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
</div><p>
|
94
94
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
95
95
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
96
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
96
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
97
97
|
<a href="http://www.doxygen.org/index.html">
|
98
98
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
99
99
|
</body>
|
@@ -197,7 +197,7 @@
|
|
197
197
|
</div><p>
|
198
198
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
199
199
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
200
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
200
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
201
201
|
<a href="http://www.doxygen.org/index.html">
|
202
202
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
203
203
|
</body>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</div><p>
|
60
60
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
61
61
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
62
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
62
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
63
63
|
<a href="http://www.doxygen.org/index.html">
|
64
64
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
65
65
|
</body>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
</div><p>
|
94
94
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
95
95
|
<li><a class="el" href="vpi__user_8h.html">vpi_user.h</a></ul>
|
96
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
96
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
97
97
|
<a href="http://www.doxygen.org/index.html">
|
98
98
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
99
99
|
</body>
|
data/ref/c/swig_8c.html
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
+
<title>Ruby-VPI: swig.c File Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.4.7 -->
|
8
|
+
<div class="tabs">
|
9
|
+
<ul>
|
10
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
11
|
+
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
12
|
+
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
13
|
+
</ul></div>
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
17
|
+
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
|
+
</ul></div>
|
19
|
+
<h1>swig.c File Reference</h1><code>#include "<a class="el" href="swig_8h.html">swig.h</a>"</code><br>
|
20
|
+
<code>#include "<a class="el" href="relay_8h.html">relay.h</a>"</code><br>
|
21
|
+
<code>#include "swig_wrap.cin"</code><br>
|
22
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
23
|
+
<tr><td></td></tr>
|
24
|
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
25
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="swig_8c.html#fb31a3a8e1674c2ca6f32a9772bfb491">swig_init</a> ()</td></tr>
|
26
|
+
|
27
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers the SWIG-generated VPI interface with Ruby, so that Ruby code can access it. <a href="#fb31a3a8e1674c2ca6f32a9772bfb491"></a><br></td></tr>
|
28
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">VALUE </td><td class="memItemRight" valign="bottom"><a class="el" href="swig_8c.html#8ddc9ef9bf799f418bfe09959e695b0f">swig_rb_relay_verilog</a> (VALUE arSelf)</td></tr>
|
29
|
+
|
30
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control from Ruby code to Verilog code. <a href="#8ddc9ef9bf799f418bfe09959e695b0f"></a><br></td></tr>
|
31
|
+
</table>
|
32
|
+
<hr><h2>Function Documentation</h2>
|
33
|
+
<a class="anchor" name="fb31a3a8e1674c2ca6f32a9772bfb491"></a><!-- doxytag: member="swig.c::swig_init" ref="fb31a3a8e1674c2ca6f32a9772bfb491" args="()" -->
|
34
|
+
<div class="memitem">
|
35
|
+
<div class="memproto">
|
36
|
+
<table class="memname">
|
37
|
+
<tr>
|
38
|
+
<td class="memname">void swig_init </td>
|
39
|
+
<td>(</td>
|
40
|
+
<td class="paramname"> </td>
|
41
|
+
<td> ) </td>
|
42
|
+
<td width="100%"></td>
|
43
|
+
</tr>
|
44
|
+
</table>
|
45
|
+
</div>
|
46
|
+
<div class="memdoc">
|
47
|
+
|
48
|
+
<p>
|
49
|
+
Registers the SWIG-generated VPI interface with Ruby, so that Ruby code can access it.
|
50
|
+
<p>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
</div><p>
|
54
|
+
<a class="anchor" name="8ddc9ef9bf799f418bfe09959e695b0f"></a><!-- doxytag: member="swig.c::swig_rb_relay_verilog" ref="8ddc9ef9bf799f418bfe09959e695b0f" args="(VALUE arSelf)" -->
|
55
|
+
<div class="memitem">
|
56
|
+
<div class="memproto">
|
57
|
+
<table class="memname">
|
58
|
+
<tr>
|
59
|
+
<td class="memname">VALUE swig_rb_relay_verilog </td>
|
60
|
+
<td>(</td>
|
61
|
+
<td class="paramtype">VALUE </td>
|
62
|
+
<td class="paramname"> <em>arSelf</em> </td>
|
63
|
+
<td> ) </td>
|
64
|
+
<td width="100%"></td>
|
65
|
+
</tr>
|
66
|
+
</table>
|
67
|
+
</div>
|
68
|
+
<div class="memdoc">
|
69
|
+
|
70
|
+
<p>
|
71
|
+
Transfers control from Ruby code to Verilog code.
|
72
|
+
<p>
|
73
|
+
|
74
|
+
</div>
|
75
|
+
</div><p>
|
76
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
77
|
+
<a href="http://www.doxygen.org/index.html">
|
78
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
79
|
+
</body>
|
80
|
+
</html>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
2
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
-
<title>Ruby-VPI: swig.
|
3
|
+
<title>Ruby-VPI: swig.h File Reference</title>
|
4
4
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
5
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
6
|
</head><body>
|
@@ -16,33 +16,33 @@
|
|
16
16
|
<li><a href="files.html"><span>File List</span></a></li>
|
17
17
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
18
|
</ul></div>
|
19
|
-
<h1>swig.
|
19
|
+
<h1>swig.h File Reference</h1>C interface to the SWIG-generated VPI interface. <a href="#_details">More...</a>
|
20
20
|
<p>
|
21
21
|
<code>#include <ruby.h></code><br>
|
22
22
|
<table border="0" cellpadding="0" cellspacing="0">
|
23
23
|
<tr><td></td></tr>
|
24
24
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
25
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
25
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="swig_8h.html#fb31a3a8e1674c2ca6f32a9772bfb491">swig_init</a> ()</td></tr>
|
26
26
|
|
27
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers the SWIG-generated VPI interface with Ruby, so that Ruby code can access it. <a href="#
|
28
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
27
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers the SWIG-generated VPI interface with Ruby, so that Ruby code can access it. <a href="#fb31a3a8e1674c2ca6f32a9772bfb491"></a><br></td></tr>
|
28
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">VALUE </td><td class="memItemRight" valign="bottom"><a class="el" href="swig_8h.html#8ddc9ef9bf799f418bfe09959e695b0f">swig_rb_relay_verilog</a> (VALUE arSelf)</td></tr>
|
29
29
|
|
30
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control from Ruby code to Verilog code. <a href="#
|
30
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Transfers control from Ruby code to Verilog code. <a href="#8ddc9ef9bf799f418bfe09959e695b0f"></a><br></td></tr>
|
31
31
|
</table>
|
32
32
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
33
33
|
C interface to the SWIG-generated VPI interface.
|
34
34
|
<p>
|
35
35
|
<hr><h2>Function Documentation</h2>
|
36
|
-
<a class="anchor" name="
|
36
|
+
<a class="anchor" name="fb31a3a8e1674c2ca6f32a9772bfb491"></a><!-- doxytag: member="swig.h::swig_init" ref="fb31a3a8e1674c2ca6f32a9772bfb491" args="()" -->
|
37
37
|
<div class="memitem">
|
38
38
|
<div class="memproto">
|
39
39
|
<table class="memname">
|
40
40
|
<tr>
|
41
|
-
<td class="memname">
|
41
|
+
<td class="memname">void swig_init </td>
|
42
42
|
<td>(</td>
|
43
43
|
<td class="paramname"> </td>
|
44
44
|
<td> ) </td>
|
45
|
-
<td width="100%"
|
45
|
+
<td width="100%"></td>
|
46
46
|
</tr>
|
47
47
|
</table>
|
48
48
|
</div>
|
@@ -54,17 +54,17 @@ Registers the SWIG-generated VPI interface with Ruby, so that Ruby code can acce
|
|
54
54
|
|
55
55
|
</div>
|
56
56
|
</div><p>
|
57
|
-
<a class="anchor" name="
|
57
|
+
<a class="anchor" name="8ddc9ef9bf799f418bfe09959e695b0f"></a><!-- doxytag: member="swig.h::swig_rb_relay_verilog" ref="8ddc9ef9bf799f418bfe09959e695b0f" args="(VALUE arSelf)" -->
|
58
58
|
<div class="memitem">
|
59
59
|
<div class="memproto">
|
60
60
|
<table class="memname">
|
61
61
|
<tr>
|
62
|
-
<td class="memname">
|
62
|
+
<td class="memname">VALUE swig_rb_relay_verilog </td>
|
63
63
|
<td>(</td>
|
64
64
|
<td class="paramtype">VALUE </td>
|
65
65
|
<td class="paramname"> <em>arSelf</em> </td>
|
66
66
|
<td> ) </td>
|
67
|
-
<td width="100%"
|
67
|
+
<td width="100%"></td>
|
68
68
|
</tr>
|
69
69
|
</table>
|
70
70
|
</div>
|
@@ -76,7 +76,7 @@ Transfers control from Ruby code to Verilog code.
|
|
76
76
|
|
77
77
|
</div>
|
78
78
|
</div><p>
|
79
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
79
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
80
80
|
<a href="http://www.doxygen.org/index.html">
|
81
81
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
82
82
|
</body>
|
data/ref/c/verilog_8h.html
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#6e8374d012a82e20b7e93415b95cf33d">verilog_tf_funcPtr</a> verilog_tf_funcPtr_strict</td></tr>
|
28
28
|
|
29
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#d3ce96438bf5e9101337a49bac4507f7">verilog_tf_funcSig</a>(aFuncName)  
|
29
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#d3ce96438bf5e9101337a49bac4507f7">verilog_tf_funcSig</a>(aFuncName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* aDummy)</td></tr>
|
30
30
|
|
31
31
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#0895cc43ee6708ed1a7fa8b9829665ba">verilog_tf_funcReturn</a>(aReturnVal) return aReturnVal</td></tr>
|
32
32
|
|
@@ -100,7 +100,7 @@ A proxy for all Verilog headers of interest to us.
|
|
100
100
|
<td class="paramtype">aFuncName </td>
|
101
101
|
<td class="paramname"> </td>
|
102
102
|
<td> ) </td>
|
103
|
-
<td width="100%">  
|
103
|
+
<td width="100%"> <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* aDummy)</td>
|
104
104
|
</tr>
|
105
105
|
</table>
|
106
106
|
</div>
|
@@ -110,7 +110,7 @@ A proxy for all Verilog headers of interest to us.
|
|
110
110
|
|
111
111
|
</div>
|
112
112
|
</div><p>
|
113
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
113
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
114
114
|
<a href="http://www.doxygen.org/index.html">
|
115
115
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
116
116
|
</body>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
2
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
-
<title>Ruby-VPI: vlog.
|
3
|
+
<title>Ruby-VPI: vlog.c File Reference</title>
|
4
4
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
5
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
6
|
</head><body>
|
@@ -16,30 +16,30 @@
|
|
16
16
|
<li><a href="files.html"><span>File List</span></a></li>
|
17
17
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
18
|
</ul></div>
|
19
|
-
<h1>vlog.
|
20
|
-
<code>#include "<a class="el" href="
|
21
|
-
<code>#include &
|
22
|
-
<code>#include "<a class="el" href="vlog_8hin.html">vlog.hin</a>"</code><br>
|
19
|
+
<h1>vlog.c File Reference</h1><code>#include "<a class="el" href="vlog_8h.html">vlog.h</a>"</code><br>
|
20
|
+
<code>#include "<a class="el" href="relay_8h.html">relay.h</a>"</code><br>
|
21
|
+
<code>#include <stdlib.h></code><br>
|
23
22
|
<table border="0" cellpadding="0" cellspacing="0">
|
24
23
|
<tr><td></td></tr>
|
25
24
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
26
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="
|
25
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#2e0274a583a8e9f28e0a99003053a354">verilog_tf_funcSig</a> (vlog_ruby_relay)</td></tr>
|
27
26
|
|
28
27
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_relay VPI task. <a href="#2e0274a583a8e9f28e0a99003053a354"></a><br></td></tr>
|
29
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="
|
28
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#1b39935aef93f96d0dfb959639b00754">verilog_tf_funcSig</a> (vlog_ruby_init)</td></tr>
|
30
29
|
|
31
30
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_init VPI task. <a href="#1b39935aef93f96d0dfb959639b00754"></a><br></td></tr>
|
32
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">
|
31
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#152829ae9d28417665d4d15a059e096c">vlog_bind_task</a> (<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> *apTaskName, verilog_tf_funcPtr(apTaskDef))</td></tr>
|
33
32
|
|
34
|
-
<tr><td class="
|
33
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Binds a C function to a VPI task, so that Verilog code can invoke the C function by calling the VPI task. <a href="#152829ae9d28417665d4d15a059e096c"></a><br></td></tr>
|
34
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#dc9eaadf567421f239b8b647a3ea0eb2">vlog_startup</a> ()</td></tr>
|
35
35
|
|
36
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator begins to simulate. <a href="#
|
36
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator begins to simulate. <a href="#dc9eaadf567421f239b8b647a3ea0eb2"></a><br></td></tr>
|
37
37
|
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
38
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*[]) </td><td class="memItemRight" valign="bottom"><a class="el" href="
|
38
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*[]) </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#c1228ec9528d9c9be4de1c8e42cd3835">vlog_startup_routines</a> () = { vlog_startup, 0 }</td></tr>
|
39
39
|
|
40
40
|
</table>
|
41
41
|
<hr><h2>Function Documentation</h2>
|
42
|
-
<a class="anchor" name="1b39935aef93f96d0dfb959639b00754"></a><!-- doxytag: member="vlog.
|
42
|
+
<a class="anchor" name="1b39935aef93f96d0dfb959639b00754"></a><!-- doxytag: member="vlog.c::verilog_tf_funcSig" ref="1b39935aef93f96d0dfb959639b00754" args="(vlog_ruby_init)" -->
|
43
43
|
<div class="memitem">
|
44
44
|
<div class="memproto">
|
45
45
|
<table class="memname">
|
@@ -64,7 +64,7 @@ For example, to start the Ruby interpreter with the "-w" option and with the "he
|
|
64
64
|
|
65
65
|
</div>
|
66
66
|
</div><p>
|
67
|
-
<a class="anchor" name="2e0274a583a8e9f28e0a99003053a354"></a><!-- doxytag: member="vlog.
|
67
|
+
<a class="anchor" name="2e0274a583a8e9f28e0a99003053a354"></a><!-- doxytag: member="vlog.c::verilog_tf_funcSig" ref="2e0274a583a8e9f28e0a99003053a354" args="(vlog_ruby_relay)" -->
|
68
68
|
<div class="memitem">
|
69
69
|
<div class="memproto">
|
70
70
|
<table class="memname">
|
@@ -86,12 +86,12 @@ Callback for the $ruby_relay VPI task.
|
|
86
86
|
Transfers control from Verilog to Ruby code.
|
87
87
|
</div>
|
88
88
|
</div><p>
|
89
|
-
<a class="anchor" name="
|
89
|
+
<a class="anchor" name="152829ae9d28417665d4d15a059e096c"></a><!-- doxytag: member="vlog.c::vlog_bind_task" ref="152829ae9d28417665d4d15a059e096c" args="(PLI_BYTE8 *apTaskName, verilog_tf_funcPtr(apTaskDef))" -->
|
90
90
|
<div class="memitem">
|
91
91
|
<div class="memproto">
|
92
92
|
<table class="memname">
|
93
93
|
<tr>
|
94
|
-
<td class="memname">
|
94
|
+
<td class="memname">void vlog_bind_task </td>
|
95
95
|
<td>(</td>
|
96
96
|
<td class="paramtype"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td>
|
97
97
|
<td class="paramname"> <em>apTaskName</em>, </td>
|
@@ -105,26 +105,35 @@ Transfers control from Verilog to Ruby code.
|
|
105
105
|
<tr>
|
106
106
|
<td></td>
|
107
107
|
<td>)</td>
|
108
|
-
<td></td><td></td><td width="100%"
|
108
|
+
<td></td><td></td><td width="100%"></td>
|
109
109
|
</tr>
|
110
110
|
</table>
|
111
111
|
</div>
|
112
112
|
<div class="memdoc">
|
113
113
|
|
114
114
|
<p>
|
115
|
+
Binds a C function to a VPI task, so that Verilog code can invoke the C function by calling the VPI task.
|
116
|
+
<p>
|
117
|
+
For example, if we bound a VPI task named "$hello_world" to the C function hello_world(), then the hello_world() function would be invoked whenever Verilog code called the "$hello_world" VPI task.<p>
|
118
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
119
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
120
|
+
<tr><td valign="top"></td><td valign="top"><em>apTaskName</em> </td><td>Name of the VPI task. For example, "$hello_world".</td></tr>
|
121
|
+
<tr><td valign="top"></td><td valign="top"><em>apTaskDef</em> </td><td>The C function which you want to associate with the given VPI task. For example, hello_world(). </td></tr>
|
122
|
+
</table>
|
123
|
+
</dl>
|
115
124
|
|
116
125
|
</div>
|
117
126
|
</div><p>
|
118
|
-
<a class="anchor" name="
|
127
|
+
<a class="anchor" name="dc9eaadf567421f239b8b647a3ea0eb2"></a><!-- doxytag: member="vlog.c::vlog_startup" ref="dc9eaadf567421f239b8b647a3ea0eb2" args="()" -->
|
119
128
|
<div class="memitem">
|
120
129
|
<div class="memproto">
|
121
130
|
<table class="memname">
|
122
131
|
<tr>
|
123
|
-
<td class="memname">
|
132
|
+
<td class="memname">void vlog_startup </td>
|
124
133
|
<td>(</td>
|
125
134
|
<td class="paramname"> </td>
|
126
135
|
<td> ) </td>
|
127
|
-
<td width="100%"
|
136
|
+
<td width="100%"></td>
|
128
137
|
</tr>
|
129
138
|
</table>
|
130
139
|
</div>
|
@@ -137,7 +146,7 @@ Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator
|
|
137
146
|
</div>
|
138
147
|
</div><p>
|
139
148
|
<hr><h2>Variable Documentation</h2>
|
140
|
-
<a class="anchor" name="c1228ec9528d9c9be4de1c8e42cd3835"></a><!-- doxytag: member="vlog.
|
149
|
+
<a class="anchor" name="c1228ec9528d9c9be4de1c8e42cd3835"></a><!-- doxytag: member="vlog.c::vlog_startup_routines" ref="c1228ec9528d9c9be4de1c8e42cd3835" args="()" -->
|
141
150
|
<div class="memitem">
|
142
151
|
<div class="memproto">
|
143
152
|
<table class="memname">
|
@@ -152,7 +161,7 @@ Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator
|
|
152
161
|
|
153
162
|
</div>
|
154
163
|
</div><p>
|
155
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
164
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Oct 28 02:24:01 2006 for Ruby-VPI by
|
156
165
|
<a href="http://www.doxygen.org/index.html">
|
157
166
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
158
167
|
</body>
|