ruby-vpi 18.0.2 → 19.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 +15 -19
- data/bin/generate/proto.rb +15 -10
- data/bin/ruby-vpi +2 -0
- data/doc/README +3 -5
- data/doc/Rakefile +3 -3
- data/doc/common.css +24 -136
- data/doc/common.tpl +48 -37
- data/doc/figures/figures.dia +19 -19
- data/doc/figures/ruby_relay.png +0 -0
- data/doc/history.html +252 -67
- data/doc/history.inc +98 -1
- data/doc/history.yaml +105 -0
- data/doc/intro.inc +43 -32
- data/doc/lib/doc_format.rb +19 -13
- data/doc/lib/doc_proxy.rb +7 -7
- data/doc/manual.doc +156 -117
- data/doc/manual.html +601 -560
- data/doc/memo.html +29 -25
- data/doc/print.css +63 -4
- data/doc/readme.doc +4 -6
- data/doc/readme.html +129 -111
- data/doc/rss.xml +168 -7
- data/doc/screen.css +146 -0
- data/doc/spacing.css +57 -0
- data/{samp → examples}/counter/RSpec/Rakefile +0 -0
- data/{samp → examples}/counter/RSpec/counter_design.rb +0 -0
- data/examples/counter/RSpec/counter_proto.rb +9 -0
- data/{samp → examples}/counter/RSpec/counter_runner.rake +0 -0
- data/{samp → examples}/counter/RSpec/counter_spec.rb +0 -0
- data/{samp → examples}/counter/Rakefile +0 -0
- data/{samp → examples}/counter/counter.v +0 -0
- data/{samp → examples}/counter/xUnit/Rakefile +0 -0
- data/{samp → examples}/counter/xUnit/counter_bench.rb +0 -0
- data/{samp → examples}/counter/xUnit/counter_bench.v +0 -0
- data/{samp → examples}/counter/xUnit/counter_design.rb +0 -0
- data/examples/counter/xUnit/counter_proto.rb +9 -0
- data/{samp → examples}/counter/xUnit/counter_runner.rake +0 -0
- data/{samp → examples}/counter/xUnit/counter_spec.rb +0 -0
- data/{samp → examples}/pipelined_alu/Hw5UnitModel.rb +0 -0
- data/{samp → examples}/pipelined_alu/README +0 -0
- data/{samp → examples}/pipelined_alu/Rakefile +0 -0
- data/{samp → examples}/pipelined_alu/TestHw5UnitModel.rb +0 -0
- data/{samp → examples}/pipelined_alu/hw5_unit.v +0 -0
- data/{samp → examples}/pipelined_alu/hw5_unit_design.rb +0 -7
- data/examples/pipelined_alu/hw5_unit_proto.rb +2 -0
- data/{samp → examples}/pipelined_alu/hw5_unit_runner.rake +0 -0
- data/{samp → examples}/pipelined_alu/hw5_unit_spec.rb +0 -0
- data/{samp → examples}/pipelined_alu/int_gen.rb +0 -0
- data/{samp → examples}/register_file/LICENSE +0 -0
- data/{samp → examples}/register_file/README +0 -0
- data/{samp → examples}/register_file/Rakefile +0 -0
- data/{samp → examples}/register_file/register_file.v +0 -0
- data/{samp → examples}/register_file/register_file_design.rb +0 -0
- data/examples/register_file/register_file_proto.rb +11 -0
- data/{samp → examples}/register_file/register_file_runner.rake +0 -0
- data/{samp → examples}/register_file/register_file_spec.rb +0 -0
- data/ext/main.c +5 -5
- data/ext/swig_vpi.i +6 -2
- data/lib/ruby-vpi/core/callback.rb +142 -0
- data/lib/ruby-vpi/core/edge.rb +128 -0
- data/lib/ruby-vpi/core/handle.rb +421 -0
- data/lib/ruby-vpi/core/scheduler.rb +244 -0
- data/lib/ruby-vpi/core/struct.rb +123 -0
- data/lib/ruby-vpi/core.rb +41 -0
- data/lib/ruby-vpi/rcov.rb +25 -12
- data/lib/ruby-vpi/runner.rb +30 -26
- data/lib/ruby-vpi/runner_boot_loader.rb +67 -37
- data/lib/ruby-vpi.rb +2 -2
- 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 +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +1 -1
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +1 -1
- 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 +1 -1
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +1 -1
- data/ref/c/index.html +1 -1
- data/ref/c/main_8c.html +1 -1
- data/ref/c/main_8h.html +1 -1
- data/ref/c/relay_8c.html +1 -1
- data/ref/c/relay_8h.html +1 -1
- 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 +1 -1
- data/ref/c/vlog_8c.html +1 -1
- data/ref/c/vlog_8h.html +1 -1
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/ERB.html +7 -5
- data/ref/ruby/classes/ERB.src/{M000026.html → M000024.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +11 -11
- data/ref/ruby/classes/FileUtils.src/{M000027.html → M000025.html} +0 -0
- data/ref/ruby/classes/FileUtils.src/{M000028.html → M000026.html} +0 -0
- data/ref/ruby/classes/Float.html +8 -6
- data/ref/ruby/classes/Float.src/{M000021.html → M000019.html} +0 -0
- data/ref/ruby/classes/Integer.html +67 -65
- data/ref/ruby/classes/Integer.src/M000007.html +25 -0
- data/ref/ruby/classes/Integer.src/{M000014.html → M000008.html} +5 -5
- data/ref/ruby/classes/Integer.src/M000009.html +5 -12
- data/ref/ruby/classes/Integer.src/M000010.html +5 -5
- data/ref/ruby/classes/Integer.src/M000011.html +5 -5
- data/ref/ruby/classes/Integer.src/M000012.html +5 -5
- data/ref/ruby/classes/Integer.src/M000015.html +25 -0
- data/ref/ruby/classes/Integer.src/M000016.html +31 -0
- data/ref/ruby/classes/Integer.src/M000017.html +12 -12
- data/ref/ruby/classes/Integer.src/M000018.html +17 -18
- data/ref/ruby/classes/Object.html +126 -0
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000061.html → M000081.html} +0 -0
- data/ref/ruby/classes/RubyVPI.html +50 -9
- data/ref/ruby/classes/String.html +22 -20
- data/ref/ruby/classes/String.src/M000020.html +36 -0
- data/ref/ruby/classes/String.src/M000021.html +41 -0
- data/ref/ruby/classes/String.src/M000022.html +5 -23
- data/ref/ruby/classes/String.src/M000023.html +5 -28
- data/ref/ruby/classes/{Vpi → VPI}/Handle.html +442 -140
- data/ref/ruby/classes/{Vpi/Handle.src/M000042.html → VPI/Handle.src/M000037.html} +4 -4
- data/ref/ruby/classes/VPI/Handle.src/M000038.html +21 -0
- data/ref/ruby/classes/VPI/Handle.src/M000039.html +18 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000036.html → VPI/Handle.src/M000040.html} +5 -5
- data/ref/ruby/classes/VPI/Handle.src/M000045.html +18 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000038.html → VPI/Handle.src/M000046.html} +5 -5
- data/ref/ruby/classes/VPI/Handle.src/M000057.html +18 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000040.html → VPI/Handle.src/M000058.html} +5 -5
- data/ref/ruby/classes/VPI/Handle.src/M000061.html +18 -0
- data/ref/ruby/classes/VPI/Handle.src/M000062.html +18 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000054.html → VPI/Handle.src/M000065.html} +11 -11
- data/ref/ruby/classes/VPI/Handle.src/M000067.html +21 -0
- data/ref/ruby/classes/VPI/Handle.src/M000068.html +28 -0
- data/ref/ruby/classes/VPI/Handle.src/M000069.html +50 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000048.html → VPI/Handle.src/M000070.html} +6 -6
- data/ref/ruby/classes/{Vpi/Handle.src/M000049.html → VPI/Handle.src/M000071.html} +6 -6
- data/ref/ruby/classes/{Vpi/Handle.src/M000050.html → VPI/Handle.src/M000072.html} +5 -5
- data/ref/ruby/classes/{Vpi/Handle.src/M000051.html → VPI/Handle.src/M000073.html} +17 -17
- data/ref/ruby/classes/VPI/Handle.src/M000075.html +18 -0
- data/ref/ruby/classes/VPI/Handle.src/M000076.html +40 -0
- data/ref/ruby/classes/{Vpi/Handle.src/M000056.html → VPI/Handle.src/M000077.html} +18 -18
- data/ref/ruby/classes/{Vpi → VPI}/S_vpi_time.html +22 -20
- data/ref/ruby/classes/VPI/S_vpi_time.src/M000078.html +18 -0
- data/ref/ruby/classes/VPI/S_vpi_time.src/M000079.html +19 -0
- data/ref/ruby/classes/{Vpi → VPI}/S_vpi_value.html +37 -23
- data/ref/ruby/classes/VPI/S_vpi_value.src/M000034.html +35 -0
- data/ref/ruby/classes/VPI/S_vpi_value.src/M000035.html +42 -0
- data/ref/ruby/classes/VPI/S_vpi_value.src/M000036.html +42 -0
- data/ref/ruby/classes/{Vpi.html → VPI.html} +129 -34
- data/ref/ruby/classes/VPI.src/M000027.html +19 -0
- data/ref/ruby/classes/VPI.src/M000028.html +18 -0
- data/ref/ruby/classes/VPI.src/M000029.html +19 -0
- data/ref/ruby/classes/VPI.src/M000031.html +25 -0
- data/ref/ruby/classes/VPI.src/M000032.html +26 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +17 -15
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000004.html +23 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000007.html → M000005.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +5 -10
- data/ref/ruby/classes/VerilogParser/Module.html +7 -5
- data/ref/ruby/classes/VerilogParser/Module.src/{M000005.html → M000003.html} +0 -0
- data/ref/ruby/classes/VerilogParser.html +7 -5
- data/ref/ruby/classes/VerilogParser.src/{M000004.html → M000002.html} +0 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_rb.html +2 -2
- data/ref/ruby/files/lib/ruby-vpi/{vpi_rb.html → core/callback_rb.html} +7 -8
- data/ref/ruby/files/lib/ruby-vpi/core/edge_rb.html +114 -0
- data/ref/ruby/files/lib/ruby-vpi/core/handle_rb.html +107 -0
- data/ref/ruby/files/lib/ruby-vpi/core/scheduler_rb.html +114 -0
- data/ref/ruby/files/lib/ruby-vpi/core/struct_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/core_rb.html +121 -0
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.html +5 -41
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000001.html +3 -3
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/ref/ruby/fr_class_index.html +5 -4
- data/ref/ruby/fr_file_index.html +6 -1
- data/ref/ruby/fr_method_index.html +80 -60
- metadata +126 -103
- data/ext/swig_vpi.h +0 -924
- data/ext/swig_wrap.cin +0 -7083
- data/lib/ruby-vpi/vpi.rb +0 -651
- data/ref/ruby/classes/Integer.src/M000013.html +0 -18
- data/ref/ruby/classes/Integer.src/M000019.html +0 -25
- data/ref/ruby/classes/Integer.src/M000020.html +0 -30
- data/ref/ruby/classes/String.src/M000024.html +0 -18
- data/ref/ruby/classes/String.src/M000025.html +0 -18
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000035.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000037.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000039.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000041.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000043.html +0 -21
- data/ref/ruby/classes/Vpi/Handle.src/M000044.html +0 -21
- data/ref/ruby/classes/Vpi/Handle.src/M000045.html +0 -22
- data/ref/ruby/classes/Vpi/Handle.src/M000046.html +0 -50
- data/ref/ruby/classes/Vpi/Handle.src/M000047.html +0 -91
- data/ref/ruby/classes/Vpi/Handle.src/M000053.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000057.html +0 -40
- data/ref/ruby/classes/Vpi/S_vpi_time.src/M000058.html +0 -18
- data/ref/ruby/classes/Vpi/S_vpi_time.src/M000059.html +0 -19
- data/ref/ruby/classes/Vpi/S_vpi_value.src/M000032.html +0 -18
- data/ref/ruby/classes/Vpi/S_vpi_value.src/M000033.html +0 -18
- data/ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html +0 -18
- data/ref/ruby/classes/Vpi.src/M000029.html +0 -28
- data/ref/ruby/classes/Vpi.src/M000030.html +0 -39
- data/ref/ruby/classes/Vpi.src/M000031.html +0 -20
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000002.html +0 -18
- data/samp/counter/RSpec/counter_proto.rb +0 -10
- data/samp/counter/xUnit/counter_proto.rb +0 -10
- data/samp/pipelined_alu/hw5_unit_proto.rb +0 -4
- data/samp/register_file/register_file_proto.rb +0 -11
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
7
|
<head>
|
|
8
|
-
<title>Module:
|
|
8
|
+
<title>Module: VPI</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
11
|
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
|
@@ -50,13 +50,33 @@
|
|
|
50
50
|
<table class="header-table">
|
|
51
51
|
<tr class="top-aligned-row">
|
|
52
52
|
<td><strong>Module</strong></td>
|
|
53
|
-
<td class="class-name-in-header">
|
|
53
|
+
<td class="class-name-in-header">VPI</td>
|
|
54
54
|
</tr>
|
|
55
55
|
<tr class="top-aligned-row">
|
|
56
56
|
<td><strong>In:</strong></td>
|
|
57
57
|
<td>
|
|
58
|
-
<a href="../files/lib/ruby-vpi/
|
|
59
|
-
lib/ruby-vpi/
|
|
58
|
+
<a href="../files/lib/ruby-vpi/core_rb.html">
|
|
59
|
+
lib/ruby-vpi/core.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
<a href="../files/lib/ruby-vpi/core/edge_rb.html">
|
|
63
|
+
lib/ruby-vpi/core/edge.rb
|
|
64
|
+
</a>
|
|
65
|
+
<br />
|
|
66
|
+
<a href="../files/lib/ruby-vpi/core/handle_rb.html">
|
|
67
|
+
lib/ruby-vpi/core/handle.rb
|
|
68
|
+
</a>
|
|
69
|
+
<br />
|
|
70
|
+
<a href="../files/lib/ruby-vpi/core/callback_rb.html">
|
|
71
|
+
lib/ruby-vpi/core/callback.rb
|
|
72
|
+
</a>
|
|
73
|
+
<br />
|
|
74
|
+
<a href="../files/lib/ruby-vpi/core/scheduler_rb.html">
|
|
75
|
+
lib/ruby-vpi/core/scheduler.rb
|
|
76
|
+
</a>
|
|
77
|
+
<br />
|
|
78
|
+
<a href="../files/lib/ruby-vpi/core/struct_rb.html">
|
|
79
|
+
lib/ruby-vpi/core/struct.rb
|
|
60
80
|
</a>
|
|
61
81
|
<br />
|
|
62
82
|
</td>
|
|
@@ -72,6 +92,12 @@
|
|
|
72
92
|
|
|
73
93
|
<div id="contextContent">
|
|
74
94
|
|
|
95
|
+
<div id="description">
|
|
96
|
+
<p>
|
|
97
|
+
<a href="VPI.html">VPI</a> structures (S_vpi_* and S_cb_*) stuff
|
|
98
|
+
</p>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
75
101
|
|
|
76
102
|
|
|
77
103
|
</div>
|
|
@@ -80,9 +106,13 @@
|
|
|
80
106
|
<h3 class="section-bar">Methods</h3>
|
|
81
107
|
|
|
82
108
|
<div class="name-list">
|
|
83
|
-
<a href="#
|
|
84
|
-
<a href="#
|
|
85
|
-
<a href="#
|
|
109
|
+
<a href="#M000029">advance_time</a>
|
|
110
|
+
<a href="#M000032">always</a>
|
|
111
|
+
<a href="#M000028">current_time</a>
|
|
112
|
+
<a href="#M000033">forever</a>
|
|
113
|
+
<a href="#M000031">process</a>
|
|
114
|
+
<a href="#M000027">vpi_register_cb</a>
|
|
115
|
+
<a href="#M000030">wait</a>
|
|
86
116
|
</div>
|
|
87
117
|
</div>
|
|
88
118
|
|
|
@@ -96,9 +126,9 @@
|
|
|
96
126
|
<div id="class-list">
|
|
97
127
|
<h3 class="section-bar">Classes and Modules</h3>
|
|
98
128
|
|
|
99
|
-
Class <a href="
|
|
100
|
-
Class <a href="
|
|
101
|
-
Class <a href="
|
|
129
|
+
Class <a href="VPI/Handle.html" class="link">VPI::Handle</a><br />
|
|
130
|
+
Class <a href="VPI/S_vpi_time.html" class="link">VPI::S_vpi_time</a><br />
|
|
131
|
+
Class <a href="VPI/S_vpi_value.html" class="link">VPI::S_vpi_value</a><br />
|
|
102
132
|
|
|
103
133
|
</div>
|
|
104
134
|
|
|
@@ -141,11 +171,6 @@ Bit-mask capable of capturing PLI_INT32.
|
|
|
141
171
|
<td class="context-item-name">Handle</td>
|
|
142
172
|
<td>=</td>
|
|
143
173
|
<td class="context-item-value">SWIG::TYPE_p_unsigned_int</td>
|
|
144
|
-
<td width="3em"> </td>
|
|
145
|
-
<td class="context-item-desc">
|
|
146
|
-
handles
|
|
147
|
-
|
|
148
|
-
</td>
|
|
149
174
|
</tr>
|
|
150
175
|
</table>
|
|
151
176
|
</div>
|
|
@@ -159,17 +184,22 @@ handles
|
|
|
159
184
|
<tr class="top-aligned-row context-row">
|
|
160
185
|
<td class="context-item-name">vpi_register_cb</td>
|
|
161
186
|
<td>-></td>
|
|
162
|
-
<td class="context-item-value">
|
|
187
|
+
<td class="context-item-value">__callback__vpi_register_cb</td>
|
|
163
188
|
</tr>
|
|
164
189
|
<tr class="top-aligned-row context-row">
|
|
165
190
|
<td class="context-item-name">vpi_remove_cb</td>
|
|
166
191
|
<td>-></td>
|
|
167
|
-
<td class="context-item-value">
|
|
192
|
+
<td class="context-item-value">__callback__vpi_remove_cb</td>
|
|
193
|
+
</tr>
|
|
194
|
+
<tr class="top-aligned-row context-row">
|
|
195
|
+
<td class="context-item-name">vpi_put_value</td>
|
|
196
|
+
<td>-></td>
|
|
197
|
+
<td class="context-item-value">__scheduler__vpi_put_value</td>
|
|
168
198
|
</tr>
|
|
169
199
|
<tr class="top-aligned-row context-row">
|
|
170
200
|
<td class="context-item-name">initialize</td>
|
|
171
201
|
<td>-></td>
|
|
172
|
-
<td class="context-item-value">
|
|
202
|
+
<td class="context-item-value">__struct__initialize</td>
|
|
173
203
|
</tr>
|
|
174
204
|
</table>
|
|
175
205
|
</div>
|
|
@@ -183,19 +213,69 @@ handles
|
|
|
183
213
|
<div id="methods">
|
|
184
214
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
185
215
|
|
|
186
|
-
<div id="method-
|
|
187
|
-
<a name="
|
|
216
|
+
<div id="method-M000029" class="method-detail">
|
|
217
|
+
<a name="M000029"></a>
|
|
218
|
+
|
|
219
|
+
<div class="method-heading">
|
|
220
|
+
<a href="VPI.src/M000029.html" target="Code" class="method-signature"
|
|
221
|
+
onclick="popupCode('VPI.src/M000029.html');return false;">
|
|
222
|
+
<span class="method-name">advance_time</span><span class="method-args">(aNumTimeSteps = 1)</span>
|
|
223
|
+
</a>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
<div class="method-description">
|
|
227
|
+
<p>
|
|
228
|
+
Wait until the simulation advances by the given number of time steps.
|
|
229
|
+
</p>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
<div id="method-M000032" class="method-detail">
|
|
234
|
+
<a name="M000032"></a>
|
|
188
235
|
|
|
189
236
|
<div class="method-heading">
|
|
190
|
-
<a href="
|
|
191
|
-
onclick="popupCode('
|
|
192
|
-
<span class="method-name">
|
|
237
|
+
<a href="VPI.src/M000032.html" target="Code" class="method-signature"
|
|
238
|
+
onclick="popupCode('VPI.src/M000032.html');return false;">
|
|
239
|
+
<span class="method-name">always</span><span class="method-args">(*aBlockArgs, &aBlock)</span>
|
|
193
240
|
</a>
|
|
194
241
|
</div>
|
|
195
242
|
|
|
196
243
|
<div class="method-description">
|
|
197
244
|
<p>
|
|
198
|
-
|
|
245
|
+
Wraps the given block inside an infinite loop and executes it inside a new
|
|
246
|
+
concurrent <a href="VPI.html#M000031">process</a> (see the VPI::process
|
|
247
|
+
method).
|
|
248
|
+
</p>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
|
|
252
|
+
<div id="method-M000028" class="method-detail">
|
|
253
|
+
<a name="M000028"></a>
|
|
254
|
+
|
|
255
|
+
<div class="method-heading">
|
|
256
|
+
<a href="VPI.src/M000028.html" target="Code" class="method-signature"
|
|
257
|
+
onclick="popupCode('VPI.src/M000028.html');return false;">
|
|
258
|
+
<span class="method-name">current_time</span><span class="method-args">()</span>
|
|
259
|
+
</a>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
<div class="method-description">
|
|
263
|
+
<p>
|
|
264
|
+
Returns the current simulation time.
|
|
265
|
+
</p>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
<div id="method-M000033" class="method-detail">
|
|
270
|
+
<a name="M000033"></a>
|
|
271
|
+
|
|
272
|
+
<div class="method-heading">
|
|
273
|
+
<span class="method-name">forever</span><span class="method-args">(*aBlockArgs, &aBlock)</span>
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
<div class="method-description">
|
|
277
|
+
<p>
|
|
278
|
+
Alias for <a href="VPI.html#M000032">always</a>
|
|
199
279
|
</p>
|
|
200
280
|
</div>
|
|
201
281
|
</div>
|
|
@@ -204,33 +284,34 @@ Advances the simulation by the given number of steps.
|
|
|
204
284
|
<a name="M000031"></a>
|
|
205
285
|
|
|
206
286
|
<div class="method-heading">
|
|
207
|
-
<a href="
|
|
208
|
-
onclick="popupCode('
|
|
209
|
-
<span class="method-name">
|
|
287
|
+
<a href="VPI.src/M000031.html" target="Code" class="method-signature"
|
|
288
|
+
onclick="popupCode('VPI.src/M000031.html');return false;">
|
|
289
|
+
<span class="method-name">process</span><span class="method-args">(*aBlockArgs) {|*aBlockArgs| ...}</span>
|
|
210
290
|
</a>
|
|
211
291
|
</div>
|
|
212
292
|
|
|
213
293
|
<div class="method-description">
|
|
214
294
|
<p>
|
|
215
|
-
|
|
295
|
+
Creates a new concurrent <a href="VPI.html#M000031">process</a>, which will
|
|
296
|
+
execute the given block with the given arguments, and returns it.
|
|
216
297
|
</p>
|
|
217
298
|
</div>
|
|
218
299
|
</div>
|
|
219
300
|
|
|
220
|
-
<div id="method-
|
|
221
|
-
<a name="
|
|
301
|
+
<div id="method-M000027" class="method-detail">
|
|
302
|
+
<a name="M000027"></a>
|
|
222
303
|
|
|
223
304
|
<div class="method-heading">
|
|
224
|
-
<a href="
|
|
225
|
-
onclick="popupCode('
|
|
226
|
-
<span class="method-name">vpi_register_cb</span><span class="method-args">(aData {|
|
|
305
|
+
<a href="VPI.src/M000027.html" target="Code" class="method-signature"
|
|
306
|
+
onclick="popupCode('VPI.src/M000027.html');return false;">
|
|
307
|
+
<span class="method-name">vpi_register_cb</span><span class="method-args">(aData {|VPI::S_cb_data| ...}</span>
|
|
227
308
|
</a>
|
|
228
309
|
</div>
|
|
229
310
|
|
|
230
311
|
<div class="method-description">
|
|
231
312
|
<p>
|
|
232
313
|
This is a Ruby version of the <a
|
|
233
|
-
href="
|
|
314
|
+
href="VPI.html#M000027">vpi_register_cb</a> C function. It is identical to
|
|
234
315
|
the C function, except for the following differences:
|
|
235
316
|
</p>
|
|
236
317
|
<ul>
|
|
@@ -246,6 +327,20 @@ the given <tt>S_cb_data</tt> object.
|
|
|
246
327
|
</div>
|
|
247
328
|
</div>
|
|
248
329
|
|
|
330
|
+
<div id="method-M000030" class="method-detail">
|
|
331
|
+
<a name="M000030"></a>
|
|
332
|
+
|
|
333
|
+
<div class="method-heading">
|
|
334
|
+
<span class="method-name">wait</span><span class="method-args">(aNumTimeSteps = 1)</span>
|
|
335
|
+
</div>
|
|
336
|
+
|
|
337
|
+
<div class="method-description">
|
|
338
|
+
<p>
|
|
339
|
+
Alias for <a href="VPI.html#M000029">advance_time</a>
|
|
340
|
+
</p>
|
|
341
|
+
</div>
|
|
342
|
+
</div>
|
|
343
|
+
|
|
249
344
|
|
|
250
345
|
</div>
|
|
251
346
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>vpi_register_cb (VPI)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/core/callback.rb, line 130</span>
|
|
14
|
+
130: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">vpi_register_cb</span> <span class="ruby-identifier">aData</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span> <span class="ruby-comment cmt"># :yields: VPI::S_cb_data</span>
|
|
15
|
+
131: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"block must be given"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
|
16
|
+
132: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Callback</span>.<span class="ruby-identifier">attach</span>(<span class="ruby-identifier">aData</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span>)
|
|
17
|
+
133: <span class="ruby-keyword kw">end</span></pre>
|
|
18
|
+
</body>
|
|
19
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>current_time (VPI)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/core/scheduler.rb, line 203</span>
|
|
14
|
+
203: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_time</span>
|
|
15
|
+
204: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">current_time</span>
|
|
16
|
+
205: <span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>advance_time (VPI)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/core/scheduler.rb, line 208</span>
|
|
14
|
+
208: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advance_time</span> <span class="ruby-identifier">aNumTimeSteps</span> = <span class="ruby-value">1</span>
|
|
15
|
+
209: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">ensure_caller_is_registered</span>
|
|
16
|
+
210: <span class="ruby-identifier">aNumTimeSteps</span>.<span class="ruby-identifier">times</span> { <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">await</span> }
|
|
17
|
+
211: <span class="ruby-keyword kw">end</span></pre>
|
|
18
|
+
</body>
|
|
19
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>process (VPI)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/core/scheduler.rb, line 218</span>
|
|
14
|
+
218: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>
|
|
15
|
+
219: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">ensure_caller_is_registered</span>
|
|
16
|
+
220: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"block must be given"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
|
17
|
+
221:
|
|
18
|
+
222: <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
|
19
|
+
223: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">attach</span>
|
|
20
|
+
224: <span class="ruby-keyword kw">yield</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>)
|
|
21
|
+
225: <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">detach</span>
|
|
22
|
+
226: <span class="ruby-keyword kw">end</span>
|
|
23
|
+
227: <span class="ruby-keyword kw">end</span></pre>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>always (VPI)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/core/scheduler.rb, line 231</span>
|
|
14
|
+
231: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">always</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>
|
|
15
|
+
232: <span class="ruby-identifier">process</span> <span class="ruby-keyword kw">do</span>
|
|
16
|
+
233: <span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
|
|
17
|
+
234: <span class="ruby-identifier">startTime</span> = <span class="ruby-constant">VPI</span>.<span class="ruby-identifier">current_time</span>
|
|
18
|
+
235: <span class="ruby-identifier">aBlock</span>.<span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>)
|
|
19
|
+
236: <span class="ruby-identifier">finishTime</span> = <span class="ruby-constant">VPI</span>.<span class="ruby-identifier">current_time</span>
|
|
20
|
+
237:
|
|
21
|
+
238: <span class="ruby-constant">VPI</span>.<span class="ruby-identifier">advance_time</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">finishTime</span> <span class="ruby-operator">></span> <span class="ruby-identifier">startTime</span>
|
|
22
|
+
239: <span class="ruby-keyword kw">end</span>
|
|
23
|
+
240: <span class="ruby-keyword kw">end</span>
|
|
24
|
+
241: <span class="ruby-keyword kw">end</span></pre>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -65,7 +65,9 @@
|
|
|
65
65
|
<tr class="top-aligned-row">
|
|
66
66
|
<td><strong>Parent:</strong></td>
|
|
67
67
|
<td>
|
|
68
|
+
<a href="../../Object.html">
|
|
68
69
|
Object
|
|
70
|
+
</a>
|
|
69
71
|
</td>
|
|
70
72
|
</tr>
|
|
71
73
|
</table>
|
|
@@ -86,9 +88,9 @@
|
|
|
86
88
|
<h3 class="section-bar">Methods</h3>
|
|
87
89
|
|
|
88
90
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
90
|
-
<a href="#
|
|
91
|
-
<a href="#
|
|
91
|
+
<a href="#M000005">input?</a>
|
|
92
|
+
<a href="#M000004">new</a>
|
|
93
|
+
<a href="#M000006">output?</a>
|
|
92
94
|
</div>
|
|
93
95
|
</div>
|
|
94
96
|
|
|
@@ -128,12 +130,12 @@
|
|
|
128
130
|
<div id="methods">
|
|
129
131
|
<h3 class="section-bar">Public Class methods</h3>
|
|
130
132
|
|
|
131
|
-
<div id="method-
|
|
132
|
-
<a name="
|
|
133
|
+
<div id="method-M000004" class="method-detail">
|
|
134
|
+
<a name="M000004"></a>
|
|
133
135
|
|
|
134
136
|
<div class="method-heading">
|
|
135
|
-
<a href="Port.src/
|
|
136
|
-
onclick="popupCode('Port.src/
|
|
137
|
+
<a href="Port.src/M000004.html" target="Code" class="method-signature"
|
|
138
|
+
onclick="popupCode('Port.src/M000004.html');return false;">
|
|
137
139
|
<span class="method-name">new</span><span class="method-args">(aDecl, aModule)</span>
|
|
138
140
|
</a>
|
|
139
141
|
</div>
|
|
@@ -144,12 +146,12 @@
|
|
|
144
146
|
|
|
145
147
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
146
148
|
|
|
147
|
-
<div id="method-
|
|
148
|
-
<a name="
|
|
149
|
+
<div id="method-M000005" class="method-detail">
|
|
150
|
+
<a name="M000005"></a>
|
|
149
151
|
|
|
150
152
|
<div class="method-heading">
|
|
151
|
-
<a href="Port.src/
|
|
152
|
-
onclick="popupCode('Port.src/
|
|
153
|
+
<a href="Port.src/M000005.html" target="Code" class="method-signature"
|
|
154
|
+
onclick="popupCode('Port.src/M000005.html');return false;">
|
|
153
155
|
<span class="method-name">input?</span><span class="method-args">()</span>
|
|
154
156
|
</a>
|
|
155
157
|
</div>
|
|
@@ -158,12 +160,12 @@
|
|
|
158
160
|
</div>
|
|
159
161
|
</div>
|
|
160
162
|
|
|
161
|
-
<div id="method-
|
|
162
|
-
<a name="
|
|
163
|
+
<div id="method-M000006" class="method-detail">
|
|
164
|
+
<a name="M000006"></a>
|
|
163
165
|
|
|
164
166
|
<div class="method-heading">
|
|
165
|
-
<a href="Port.src/
|
|
166
|
-
onclick="popupCode('Port.src/
|
|
167
|
+
<a href="Port.src/M000006.html" target="Code" class="method-signature"
|
|
168
|
+
onclick="popupCode('Port.src/M000006.html');return false;">
|
|
167
169
|
<span class="method-name">output?</span><span class="method-args">()</span>
|
|
168
170
|
</a>
|
|
169
171
|
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html>
|
|
7
|
+
<head>
|
|
8
|
+
<title>new (VerilogParser::Module::Port)</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
+
</head>
|
|
12
|
+
<body class="standalone-code">
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/verilog_parser.rb, line 47</span>
|
|
14
|
+
47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aDecl</span>, <span class="ruby-identifier">aModule</span>
|
|
15
|
+
48: <span class="ruby-ivar">@decl</span> = <span class="ruby-identifier">aDecl</span>
|
|
16
|
+
49: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">aDecl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/\S+/</span>).<span class="ruby-identifier">last</span>
|
|
17
|
+
50:
|
|
18
|
+
51: <span class="ruby-identifier">parser</span> = <span class="ruby-node">/\b(input|output|inout)\b[^;]*\b#{@name}\b/</span><span class="ruby-identifier">m</span>
|
|
19
|
+
52: <span class="ruby-identifier">aDecl</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">aModule</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span>
|
|
20
|
+
53: <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">$1</span>
|
|
21
|
+
54: <span class="ruby-keyword kw">end</span></pre>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
File without changes
|
|
@@ -5,19 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<title>
|
|
8
|
+
<title>output? (VerilogParser::Module::Port)</title>
|
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
11
|
</head>
|
|
12
12
|
<body class="standalone-code">
|
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/verilog_parser.rb, line
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
50:
|
|
18
|
-
51: <span class="ruby-identifier">parser</span> = <span class="ruby-node">/\b(input|output|inout)\b[^;]*\b#{@name}\b/</span><span class="ruby-identifier">m</span>
|
|
19
|
-
52: <span class="ruby-identifier">aDecl</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">aModule</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span>
|
|
20
|
-
53: <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">$1</span>
|
|
21
|
-
54: <span class="ruby-keyword kw">end</span></pre>
|
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/verilog_parser.rb, line 60</span>
|
|
14
|
+
60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">output?</span>
|
|
15
|
+
61: <span class="ruby-ivar">@type</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'input'</span>
|
|
16
|
+
62: <span class="ruby-keyword kw">end</span></pre>
|
|
22
17
|
</body>
|
|
23
18
|
</html>
|
|
@@ -65,7 +65,9 @@
|
|
|
65
65
|
<tr class="top-aligned-row">
|
|
66
66
|
<td><strong>Parent:</strong></td>
|
|
67
67
|
<td>
|
|
68
|
+
<a href="../Object.html">
|
|
68
69
|
Object
|
|
70
|
+
</a>
|
|
69
71
|
</td>
|
|
70
72
|
</tr>
|
|
71
73
|
</table>
|
|
@@ -86,7 +88,7 @@
|
|
|
86
88
|
<h3 class="section-bar">Methods</h3>
|
|
87
89
|
|
|
88
90
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
91
|
+
<a href="#M000003">new</a>
|
|
90
92
|
</div>
|
|
91
93
|
</div>
|
|
92
94
|
|
|
@@ -162,12 +164,12 @@
|
|
|
162
164
|
<div id="methods">
|
|
163
165
|
<h3 class="section-bar">Public Class methods</h3>
|
|
164
166
|
|
|
165
|
-
<div id="method-
|
|
166
|
-
<a name="
|
|
167
|
+
<div id="method-M000003" class="method-detail">
|
|
168
|
+
<a name="M000003"></a>
|
|
167
169
|
|
|
168
170
|
<div class="method-heading">
|
|
169
|
-
<a href="Module.src/
|
|
170
|
-
onclick="popupCode('Module.src/
|
|
171
|
+
<a href="Module.src/M000003.html" target="Code" class="method-signature"
|
|
172
|
+
onclick="popupCode('Module.src/M000003.html');return false;">
|
|
171
173
|
<span class="method-name">new</span><span class="method-args">(aDecl, aBody)</span>
|
|
172
174
|
</a>
|
|
173
175
|
</div>
|
|
File without changes
|
|
@@ -65,7 +65,9 @@
|
|
|
65
65
|
<tr class="top-aligned-row">
|
|
66
66
|
<td><strong>Parent:</strong></td>
|
|
67
67
|
<td>
|
|
68
|
+
<a href="Object.html">
|
|
68
69
|
Object
|
|
70
|
+
</a>
|
|
69
71
|
</td>
|
|
70
72
|
</tr>
|
|
71
73
|
</table>
|
|
@@ -86,7 +88,7 @@
|
|
|
86
88
|
<h3 class="section-bar">Methods</h3>
|
|
87
89
|
|
|
88
90
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
91
|
+
<a href="#M000002">new</a>
|
|
90
92
|
</div>
|
|
91
93
|
</div>
|
|
92
94
|
|
|
@@ -127,12 +129,12 @@
|
|
|
127
129
|
<div id="methods">
|
|
128
130
|
<h3 class="section-bar">Public Class methods</h3>
|
|
129
131
|
|
|
130
|
-
<div id="method-
|
|
131
|
-
<a name="
|
|
132
|
+
<div id="method-M000002" class="method-detail">
|
|
133
|
+
<a name="M000002"></a>
|
|
132
134
|
|
|
133
135
|
<div class="method-heading">
|
|
134
|
-
<a href="VerilogParser.src/
|
|
135
|
-
onclick="popupCode('VerilogParser.src/
|
|
136
|
+
<a href="VerilogParser.src/M000002.html" target="Code" class="method-signature"
|
|
137
|
+
onclick="popupCode('VerilogParser.src/M000002.html');return false;">
|
|
136
138
|
<span class="method-name">new</span><span class="method-args">(aInput)</span>
|
|
137
139
|
</a>
|
|
138
140
|
</div>
|
|
File without changes
|
data/ref/ruby/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Mon Aug 27 19:26:37 -0700 2007
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
|
|
71
71
|
<div id="description">
|
|
72
72
|
<p>
|
|
73
|
-
Generates Ruby
|
|
74
|
-
declarations.
|
|
73
|
+
Generates Ruby-<a href="../../classes/VPI.html">VPI</a> tests from Verilog
|
|
74
|
+
2001 and Verilog 95 module declarations.
|
|
75
75
|
</p>
|
|
76
76
|
<ul>
|
|
77
77
|
<li>The standard input stream is read if no input files are specified.
|