ruby-vpi 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +6 -1
- data/bin/generate_test_tpl/bench.rb +84 -1
- data/bin/generate_test_tpl/bench.v +8 -17
- data/bin/generate_test_tpl/proto.rb +1 -1
- data/doc/common.css +14 -41
- data/doc/common.tpl +1 -1
- data/doc/figures/figures.dia +274 -753
- data/doc/figures/organization_detailed.png +0 -0
- data/doc/figures/ruby_relay.png +0 -0
- data/doc/history.html +363 -276
- data/doc/history.yml +40 -0
- data/doc/intro.inc +37 -15
- data/doc/lib/doc_proxy.rb +24 -4
- data/doc/manual.doc +345 -196
- data/doc/manual.html +741 -497
- data/doc/memo.doc +15 -15
- data/doc/memo.html +28 -27
- data/doc/readme.doc +2 -2
- data/doc/readme.html +51 -15
- data/doc/rss.erb +1 -1
- data/doc/rss.xml +1624 -31
- data/ext/Rakefile +1 -6
- data/ext/main.c +8 -3
- data/ext/main.h +5 -0
- data/ext/relay.c +12 -12
- data/ext/relay.h +1 -6
- data/ext/swig_vpi.i +2 -2
- data/ext/swig_wrap.cin +37 -20
- data/ext/verilog.h +2 -2
- data/ext/vlog.c +10 -3
- data/ext/vlog.h +4 -4
- data/lib/ruby-vpi/vpi.rb +114 -0
- data/lib/ruby-vpi.rb +21 -59
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +1 -1
- data/ref/c/functions.html +1 -1
- data/ref/c/functions_vars.html +1 -1
- 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_0x6d.html +3 -2
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +4 -5
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +4 -2
- 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 +1 -1
- 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 +8 -7
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +3 -2
- data/ref/c/index.html +1 -1
- data/ref/c/main_8c.html +26 -1
- data/ref/c/main_8h.html +26 -1
- data/ref/c/relay_8c.html +11 -35
- data/ref/c/relay_8h.html +3 -27
- 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/verilog_8h.html +5 -5
- data/ref/c/vlog_8c.html +44 -6
- data/ref/c/vlog_8h.html +7 -8
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000041.html → M000045.html} +0 -0
- data/ref/ruby/classes/RubyVpi.html +10 -28
- data/ref/ruby/classes/RubyVpi.src/M000029.html +101 -124
- data/ref/ruby/classes/Vpi/Handle.html +56 -56
- data/ref/ruby/classes/Vpi/Handle.src/M000034.html +5 -9
- data/ref/ruby/classes/Vpi/Handle.src/M000035.html +5 -31
- data/ref/ruby/classes/Vpi/Handle.src/M000036.html +5 -74
- data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -17
- data/ref/ruby/classes/Vpi/Handle.src/M000038.html +9 -11
- data/ref/ruby/classes/Vpi/Handle.src/M000039.html +44 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000040.html +74 -55
- data/ref/ruby/classes/Vpi/Handle.src/M000041.html +30 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000042.html +24 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000044.html +68 -0
- data/ref/ruby/classes/Vpi.html +149 -0
- data/ref/ruby/classes/Vpi.src/M000030.html +28 -0
- data/ref/ruby/classes/Vpi.src/M000031.html +18 -0
- data/ref/ruby/classes/Vpi.src/M000032.html +39 -0
- data/ref/ruby/classes/Vpi.src/M000033.html +22 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -2
- data/ref/ruby/fr_method_index.html +18 -14
- data/samp/counter/counter_rspec_bench.rb +81 -1
- data/samp/counter/counter_rspec_bench.v +5 -12
- data/samp/counter/counter_rspec_design.rb +1 -2
- data/samp/counter/counter_rspec_proto.rb +1 -1
- data/samp/counter/counter_rspec_spec.rb +3 -3
- data/samp/counter/counter_xunit_bench.rb +81 -1
- data/samp/counter/counter_xunit_bench.v +5 -12
- data/samp/counter/counter_xunit_design.rb +1 -2
- data/samp/counter/counter_xunit_proto.rb +1 -1
- data/samp/counter/counter_xunit_spec.rb +3 -3
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +81 -1
- data/samp/pipelined_alu/hw5_unit_test_bench.v +11 -18
- data/samp/pipelined_alu/hw5_unit_test_design.rb +1 -1
- data/samp/pipelined_alu/hw5_unit_test_proto.rb +1 -1
- data/samp/pipelined_alu/hw5_unit_test_spec.rb +1 -1
- metadata +12 -9
- data/doc/figures/ruby_init.png +0 -0
- data/ext/swig_vpi.h +0 -924
- data/ref/ruby/classes/Vpi/Handle.src/M000030.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000031.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000032.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000033.html +0 -18
|
@@ -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 Dec 30 19:26:26 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 Dec 30 19:26:26 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 Dec 30 19:26:26 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/verilog_8h.html
CHANGED
|
@@ -26,13 +26,13 @@
|
|
|
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) <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>*
|
|
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>* aCallbackData)</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
|
|
|
33
33
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#2d7416b20fad644f9f4730ca02fad66c">verilog_cb_funcPtr</a>(aPtrName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> (*aPtrName)(<a class="el" href="structt__cb__data.html">p_cb_data</a>)</td></tr>
|
|
34
34
|
|
|
35
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#284b72fb83989cced485586b82bc6aa5">verilog_cb_funcSig</a>(aFuncName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="structt__cb__data.html">p_cb_data</a>
|
|
35
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#284b72fb83989cced485586b82bc6aa5">verilog_cb_funcSig</a>(aFuncName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="structt__cb__data.html">p_cb_data</a> aCallbackData)</td></tr>
|
|
36
36
|
|
|
37
37
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#cfb4343c14a167b7428be1b4c1f35240">verilog_cb_funcReturn</a>(aReturnVal) return aReturnVal</td></tr>
|
|
38
38
|
|
|
@@ -91,7 +91,7 @@ A proxy for all Verilog headers of interest to us.
|
|
|
91
91
|
<td class="paramtype">aFuncName </td>
|
|
92
92
|
<td class="paramname"> </td>
|
|
93
93
|
<td> ) </td>
|
|
94
|
-
<td width="100%"> <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="structt__cb__data.html">p_cb_data</a>
|
|
94
|
+
<td width="100%"> <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="structt__cb__data.html">p_cb_data</a> aCallbackData)</td>
|
|
95
95
|
</tr>
|
|
96
96
|
</table>
|
|
97
97
|
</div>
|
|
@@ -166,7 +166,7 @@ A proxy for all Verilog headers of interest to us.
|
|
|
166
166
|
<td class="paramtype">aFuncName </td>
|
|
167
167
|
<td class="paramname"> </td>
|
|
168
168
|
<td> ) </td>
|
|
169
|
-
<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>*
|
|
169
|
+
<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>* aCallbackData)</td>
|
|
170
170
|
</tr>
|
|
171
171
|
</table>
|
|
172
172
|
</div>
|
|
@@ -176,7 +176,7 @@ A proxy for all Verilog headers of interest to us.
|
|
|
176
176
|
|
|
177
177
|
</div>
|
|
178
178
|
</div><p>
|
|
179
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
|
179
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Dec 30 19:26:26 2006 for Ruby-VPI by
|
|
180
180
|
<a href="http://www.doxygen.org/index.html">
|
|
181
181
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
182
182
|
</body>
|
data/ref/c/vlog_8c.html
CHANGED
|
@@ -21,16 +21,20 @@
|
|
|
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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#
|
|
24
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#ca3f06abdb27a0fc0a81633d8960f50f">verilog_cb_funcSig</a> (vlog_relay_init)</td></tr>
|
|
25
25
|
|
|
26
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Relays control to the main layer. <a href="#be4b6bc16960d97061b4eea00cf1f1cf"></a><br></td></tr>
|
|
27
26
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#c74c587b2501362f8225b8ada1f8b0c0">verilog_cb_funcSig</a> (vlog_relay_ruby)</td></tr>
|
|
28
27
|
|
|
29
28
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Relays control from Verilog to Ruby. <a href="#c74c587b2501362f8225b8ada1f8b0c0"></a><br></td></tr>
|
|
29
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__cb__data.html">s_cb_data</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#d6adf9454678287bd05e9df18859f2a5">vlog_relay_ruby_reason</a> ()</td></tr>
|
|
30
|
+
|
|
31
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data corresponding to the callback that caused the relay from Verilog to Ruby. <a href="#d6adf9454678287bd05e9df18859f2a5"></a><br></td></tr>
|
|
30
32
|
<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>
|
|
31
33
|
|
|
32
34
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers a callback at start of simulation to vlog_relay_main();. <a href="#dc9eaadf567421f239b8b647a3ea0eb2"></a><br></td></tr>
|
|
33
35
|
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
36
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__cb__data.html">s_cb_data</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#18eaa93bf30b318a70eb68473d7597b1">vlog__relayReason</a> = NULL</td></tr>
|
|
37
|
+
|
|
34
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>
|
|
35
39
|
|
|
36
40
|
</table>
|
|
@@ -57,14 +61,33 @@ Relays control from Verilog to Ruby.
|
|
|
57
61
|
|
|
58
62
|
</div>
|
|
59
63
|
</div><p>
|
|
60
|
-
<a class="anchor" name="
|
|
64
|
+
<a class="anchor" name="ca3f06abdb27a0fc0a81633d8960f50f"></a><!-- doxytag: member="vlog.c::verilog_cb_funcSig" ref="ca3f06abdb27a0fc0a81633d8960f50f" args="(vlog_relay_init)" -->
|
|
61
65
|
<div class="memitem">
|
|
62
66
|
<div class="memproto">
|
|
63
67
|
<table class="memname">
|
|
64
68
|
<tr>
|
|
65
69
|
<td class="memname">verilog_cb_funcSig </td>
|
|
66
70
|
<td>(</td>
|
|
67
|
-
<td class="paramtype">
|
|
71
|
+
<td class="paramtype">vlog_relay_init </td>
|
|
72
|
+
<td class="paramname"> </td>
|
|
73
|
+
<td> ) </td>
|
|
74
|
+
<td width="100%"></td>
|
|
75
|
+
</tr>
|
|
76
|
+
</table>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="memdoc">
|
|
79
|
+
|
|
80
|
+
<p>
|
|
81
|
+
|
|
82
|
+
</div>
|
|
83
|
+
</div><p>
|
|
84
|
+
<a class="anchor" name="d6adf9454678287bd05e9df18859f2a5"></a><!-- doxytag: member="vlog.c::vlog_relay_ruby_reason" ref="d6adf9454678287bd05e9df18859f2a5" args="()" -->
|
|
85
|
+
<div class="memitem">
|
|
86
|
+
<div class="memproto">
|
|
87
|
+
<table class="memname">
|
|
88
|
+
<tr>
|
|
89
|
+
<td class="memname"><a class="el" href="structt__cb__data.html">s_cb_data</a>* vlog_relay_ruby_reason </td>
|
|
90
|
+
<td>(</td>
|
|
68
91
|
<td class="paramname"> </td>
|
|
69
92
|
<td> ) </td>
|
|
70
93
|
<td width="100%"></td>
|
|
@@ -74,7 +97,7 @@ Relays control from Verilog to Ruby.
|
|
|
74
97
|
<div class="memdoc">
|
|
75
98
|
|
|
76
99
|
<p>
|
|
77
|
-
|
|
100
|
+
Returns the data corresponding to the callback that caused the relay from Verilog to Ruby.
|
|
78
101
|
<p>
|
|
79
102
|
|
|
80
103
|
</div>
|
|
@@ -101,6 +124,21 @@ Registers a callback at start of simulation to vlog_relay_main();.
|
|
|
101
124
|
</div>
|
|
102
125
|
</div><p>
|
|
103
126
|
<hr><h2>Variable Documentation</h2>
|
|
127
|
+
<a class="anchor" name="18eaa93bf30b318a70eb68473d7597b1"></a><!-- doxytag: member="vlog.c::vlog__relayReason" ref="18eaa93bf30b318a70eb68473d7597b1" args="" -->
|
|
128
|
+
<div class="memitem">
|
|
129
|
+
<div class="memproto">
|
|
130
|
+
<table class="memname">
|
|
131
|
+
<tr>
|
|
132
|
+
<td class="memname"><a class="el" href="structt__cb__data.html">s_cb_data</a>* <a class="el" href="vlog_8c.html#18eaa93bf30b318a70eb68473d7597b1">vlog__relayReason</a> = NULL </td>
|
|
133
|
+
</tr>
|
|
134
|
+
</table>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="memdoc">
|
|
137
|
+
|
|
138
|
+
<p>
|
|
139
|
+
|
|
140
|
+
</div>
|
|
141
|
+
</div><p>
|
|
104
142
|
<a class="anchor" name="c1228ec9528d9c9be4de1c8e42cd3835"></a><!-- doxytag: member="vlog.c::vlog_startup_routines" ref="c1228ec9528d9c9be4de1c8e42cd3835" args="()" -->
|
|
105
143
|
<div class="memitem">
|
|
106
144
|
<div class="memproto">
|
|
@@ -116,7 +154,7 @@ Registers a callback at start of simulation to vlog_relay_main();.
|
|
|
116
154
|
|
|
117
155
|
</div>
|
|
118
156
|
</div><p>
|
|
119
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
|
157
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Dec 30 19:26:26 2006 for Ruby-VPI by
|
|
120
158
|
<a href="http://www.doxygen.org/index.html">
|
|
121
159
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
122
160
|
</body>
|
data/ref/c/vlog_8h.html
CHANGED
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
24
24
|
<tr><td></td></tr>
|
|
25
25
|
<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="vlog_8h.html#be4b6bc16960d97061b4eea00cf1f1cf">verilog_cb_funcSig</a> (vlog_relay_main)</td></tr>
|
|
27
|
-
|
|
28
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Relays control to the main layer. <a href="#be4b6bc16960d97061b4eea00cf1f1cf"></a><br></td></tr>
|
|
29
26
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8h.html#c74c587b2501362f8225b8ada1f8b0c0">verilog_cb_funcSig</a> (vlog_relay_ruby)</td></tr>
|
|
30
27
|
|
|
31
28
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Relays control from Verilog to Ruby. <a href="#c74c587b2501362f8225b8ada1f8b0c0"></a><br></td></tr>
|
|
29
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__cb__data.html">s_cb_data</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8h.html#d6adf9454678287bd05e9df18859f2a5">vlog_relay_ruby_reason</a> ()</td></tr>
|
|
30
|
+
|
|
31
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data corresponding to the callback that caused the relay from Verilog to Ruby. <a href="#d6adf9454678287bd05e9df18859f2a5"></a><br></td></tr>
|
|
32
32
|
</table>
|
|
33
33
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
34
34
|
Interface between C and Verilog code.
|
|
@@ -56,14 +56,13 @@ Relays control from Verilog to Ruby.
|
|
|
56
56
|
|
|
57
57
|
</div>
|
|
58
58
|
</div><p>
|
|
59
|
-
<a class="anchor" name="
|
|
59
|
+
<a class="anchor" name="d6adf9454678287bd05e9df18859f2a5"></a><!-- doxytag: member="vlog.h::vlog_relay_ruby_reason" ref="d6adf9454678287bd05e9df18859f2a5" args="()" -->
|
|
60
60
|
<div class="memitem">
|
|
61
61
|
<div class="memproto">
|
|
62
62
|
<table class="memname">
|
|
63
63
|
<tr>
|
|
64
|
-
<td class="memname">
|
|
64
|
+
<td class="memname"><a class="el" href="structt__cb__data.html">s_cb_data</a>* vlog_relay_ruby_reason </td>
|
|
65
65
|
<td>(</td>
|
|
66
|
-
<td class="paramtype">vlog_relay_main </td>
|
|
67
66
|
<td class="paramname"> </td>
|
|
68
67
|
<td> ) </td>
|
|
69
68
|
<td width="100%"></td>
|
|
@@ -73,12 +72,12 @@ Relays control from Verilog to Ruby.
|
|
|
73
72
|
<div class="memdoc">
|
|
74
73
|
|
|
75
74
|
<p>
|
|
76
|
-
|
|
75
|
+
Returns the data corresponding to the callback that caused the relay from Verilog to Ruby.
|
|
77
76
|
<p>
|
|
78
77
|
|
|
79
78
|
</div>
|
|
80
79
|
</div><p>
|
|
81
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
|
80
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Dec 30 19:26:26 2006 for Ruby-VPI by
|
|
82
81
|
<a href="http://www.doxygen.org/index.html">
|
|
83
82
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
84
83
|
</body>
|
data/ref/c/vpi__user_8h.html
CHANGED
|
@@ -8732,7 +8732,7 @@ alias 1364-1995 system function subtypes to 1364-2001 function subtypes
|
|
|
8732
8732
|
|
|
8733
8733
|
</div>
|
|
8734
8734
|
</div><p>
|
|
8735
|
-
<hr size="1"><address style="align: right;"><small>Generated on
|
|
8735
|
+
<hr size="1"><address style="align: right;"><small>Generated on Sat Dec 30 19:26:26 2006 for Ruby-VPI by
|
|
8736
8736
|
<a href="http://www.doxygen.org/index.html">
|
|
8737
8737
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
8738
8738
|
</body>
|
data/ref/ruby/classes/RDoc.html
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
|
81
81
|
|
|
82
82
|
<div class="name-list">
|
|
83
|
-
<a href="#
|
|
83
|
+
<a href="#M000045">usage_from_file</a>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
<div id="methods">
|
|
103
103
|
<h3 class="section-bar">Public Class methods</h3>
|
|
104
104
|
|
|
105
|
-
<div id="method-
|
|
106
|
-
<a name="
|
|
105
|
+
<div id="method-M000045" class="method-detail">
|
|
106
|
+
<a name="M000045"></a>
|
|
107
107
|
|
|
108
108
|
<div class="method-heading">
|
|
109
|
-
<a href="RDoc.src/
|
|
110
|
-
onclick="popupCode('RDoc.src/
|
|
109
|
+
<a href="RDoc.src/M000045.html" target="Code" class="method-signature"
|
|
110
|
+
onclick="popupCode('RDoc.src/M000045.html');return false;">
|
|
111
111
|
<span class="method-name">usage_from_file</span><span class="method-args">(input_file, *args)</span>
|
|
112
112
|
</a>
|
|
113
113
|
</div>
|
|
File without changes
|
|
@@ -143,56 +143,38 @@
|
|
|
143
143
|
<div class="method-heading">
|
|
144
144
|
<a href="RubyVpi.src/M000029.html" target="Code" class="method-signature"
|
|
145
145
|
onclick="popupCode('RubyVpi.src/M000029.html');return false;">
|
|
146
|
-
<span class="method-name">init_bench</span><span class="method-args">(aDesignId, aSpecFormat
|
|
146
|
+
<span class="method-name">init_bench</span><span class="method-args">(aDesignId, aSpecFormat, &aSimulationCycle)</span>
|
|
147
147
|
</a>
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
<div class="method-description">
|
|
151
151
|
<p>
|
|
152
|
-
Initializes the bench by
|
|
152
|
+
Initializes the bench by setting up code coverage, the interactive
|
|
153
|
+
debugger, and so on:
|
|
153
154
|
</p>
|
|
154
155
|
<ol>
|
|
155
|
-
<li>the design.rb file
|
|
156
|
+
<li>loads the design.rb file
|
|
156
157
|
|
|
157
158
|
</li>
|
|
158
|
-
<li>the proto.rb file if prototyping is enabled
|
|
159
|
+
<li>loads the proto.rb file if prototyping is enabled
|
|
159
160
|
|
|
160
161
|
</li>
|
|
161
|
-
<li>the spec.rb file
|
|
162
|
+
<li>loads the spec.rb file
|
|
162
163
|
|
|
163
164
|
</li>
|
|
164
165
|
</ol>
|
|
165
166
|
<table>
|
|
166
|
-
<tr><td valign="top">aDesignId:</td><td>The name of the Ruby design
|
|
167
|
+
<tr><td valign="top">aDesignId:</td><td>The name of the Ruby object which gives access to the design under test.
|
|
167
168
|
|
|
168
169
|
</td></tr>
|
|
169
|
-
<tr><td valign="top">aSpecFormat:</td><td>The format being used by the specification.
|
|
170
|
+
<tr><td valign="top">aSpecFormat:</td><td>The name of the format being used by the specification.
|
|
170
171
|
|
|
171
172
|
</td></tr>
|
|
172
|
-
<tr><td valign="top">
|
|
173
|
-
|
|
174
|
-
the clock signal that drives the design under test. If this block is not
|
|
175
|
-
specified, relay_verilog will always return upon the next positive edge of
|
|
176
|
-
the clock signal.
|
|
173
|
+
<tr><td valign="top">aSimulationCycle:</td><td>A block that simulates the design under test by, for example, toggling the
|
|
174
|
+
clock signal.
|
|
177
175
|
|
|
178
176
|
</td></tr>
|
|
179
177
|
</table>
|
|
180
|
-
<pre>
|
|
181
|
-
# return upon positive edge
|
|
182
|
-
RubyVpi.init_bench ... |clk|
|
|
183
|
-
clk.intVal == 1
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
# return upon negative edge
|
|
187
|
-
RubyVpi.init_bench ... do |clk|
|
|
188
|
-
clk.intVal == 0
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
# return whenever clock changes
|
|
192
|
-
RubyVpi.init_bench ... do |clk|
|
|
193
|
-
true
|
|
194
|
-
end
|
|
195
|
-
</pre>
|
|
196
178
|
</div>
|
|
197
179
|
</div>
|
|
198
180
|
|