ruby-vpi 12.1.0 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. data/bin/generate_test.rb +4 -5
  2. data/bin/generate_test_tpl/bench.rb +2 -0
  3. data/bin/generate_test_tpl/bench.v +4 -11
  4. data/bin/header_to_ruby.rb +0 -1
  5. data/doc/history.html +281 -206
  6. data/doc/history.rb +1 -1
  7. data/doc/history.yml +66 -35
  8. data/doc/manual.html +3 -3
  9. data/doc/memo.doc +2 -0
  10. data/doc/memo.html +5 -0
  11. data/doc/readme.doc +16 -8
  12. data/doc/readme.html +19 -13
  13. data/doc/rss.xml +7 -0
  14. data/ext/common.h +1 -0
  15. data/ext/{swig.c → main.c} +32 -6
  16. data/ext/{swig.h → main.h} +8 -7
  17. data/ext/relay.c +7 -83
  18. data/ext/relay.h +7 -5
  19. data/ext/swig_vpi.i +10 -3
  20. data/ext/swig_wrap.cin +4 -1
  21. data/ext/verilog.h +26 -10
  22. data/ext/vlog.c +16 -23
  23. data/ext/vlog.h +5 -19
  24. data/lib/ruby-vpi/rcov.rb +3 -3
  25. data/lib/ruby-vpi/runner.rb +5 -2
  26. data/lib/ruby-vpi/vpi.rb +1 -1
  27. data/lib/ruby-vpi.rb +57 -5
  28. data/ref/c/annotated.html +1 -7
  29. data/ref/c/common_8h.html +2 -1
  30. data/ref/c/files.html +3 -5
  31. data/ref/c/functions.html +24 -46
  32. data/ref/c/functions_vars.html +24 -46
  33. data/ref/c/globals.html +5 -210
  34. data/ref/c/globals_0x63.html +32 -48
  35. data/ref/c/globals_0x65.html +3 -9
  36. data/ref/c/globals_0x66.html +3 -19
  37. data/ref/c/globals_0x6d.html +5 -10
  38. data/ref/c/globals_0x70.html +19 -25
  39. data/ref/c/globals_0x72.html +8 -18
  40. data/ref/c/globals_0x73.html +11 -198
  41. data/ref/c/globals_0x74.html +2 -8
  42. data/ref/c/globals_0x76.html +419 -427
  43. data/ref/c/globals_0x78.html +3 -9
  44. data/ref/c/globals_defs.html +30 -35
  45. data/ref/c/globals_defs_0x65.html +2 -7
  46. data/ref/c/globals_defs_0x70.html +3 -8
  47. data/ref/c/globals_defs_0x76.html +416 -420
  48. data/ref/c/globals_defs_0x78.html +2 -7
  49. data/ref/c/globals_enum.html +1 -1
  50. data/ref/c/globals_eval.html +1 -1
  51. data/ref/c/globals_func.html +13 -173
  52. data/ref/c/globals_type.html +26 -29
  53. data/ref/c/globals_vars.html +4 -88
  54. data/ref/c/index.html +1 -1
  55. data/ref/c/{swig_8c.html → main_8c.html} +16 -14
  56. data/ref/c/{swig_8h.html → main_8h.html} +15 -14
  57. data/ref/c/relay_8c.html +25 -38
  58. data/ref/c/relay_8h.html +16 -15
  59. data/ref/c/structt__cb__data.html +6 -23
  60. data/ref/c/structt__vpi__delay.html +3 -20
  61. data/ref/c/structt__vpi__error__info.html +3 -71
  62. data/ref/c/structt__vpi__strengthval.html +3 -3
  63. data/ref/c/structt__vpi__systf__data.html +12 -46
  64. data/ref/c/structt__vpi__time.html +3 -3
  65. data/ref/c/structt__vpi__value.html +3 -113
  66. data/ref/c/structt__vpi__vecval.html +3 -3
  67. data/ref/c/structt__vpi__vlog__info.html +3 -54
  68. data/ref/c/verilog_8h.html +69 -3
  69. data/ref/c/vlog_8c.html +16 -61
  70. data/ref/c/vlog_8h.html +14 -57
  71. data/ref/c/vpi__user_8h.html +16 -16
  72. data/ref/ruby/classes/ERB.html +5 -5
  73. data/ref/ruby/classes/ERB.src/{M000032.html → M000026.html} +0 -0
  74. data/ref/ruby/classes/FileUtils.html +10 -10
  75. data/ref/ruby/classes/FileUtils.src/{M000034.html → M000027.html} +0 -0
  76. data/ref/ruby/classes/FileUtils.src/{M000035.html → M000028.html} +0 -0
  77. data/ref/ruby/classes/Float.html +5 -5
  78. data/ref/ruby/classes/Float.src/{M000027.html → M000022.html} +0 -0
  79. data/ref/ruby/classes/Integer.html +68 -68
  80. data/ref/ruby/classes/Integer.src/M000008.html +25 -0
  81. data/ref/ruby/classes/Integer.src/M000009.html +18 -0
  82. data/ref/ruby/classes/Integer.src/{M000014.html → M000010.html} +0 -0
  83. data/ref/ruby/classes/Integer.src/{M000015.html → M000011.html} +0 -0
  84. data/ref/ruby/classes/Integer.src/M000012.html +5 -12
  85. data/ref/ruby/classes/Integer.src/M000013.html +5 -5
  86. data/ref/ruby/classes/Integer.src/M000016.html +9 -5
  87. data/ref/ruby/classes/Integer.src/M000017.html +9 -5
  88. data/ref/ruby/classes/Integer.src/{M000022.html → M000018.html} +0 -0
  89. data/ref/ruby/classes/Integer.src/{M000023.html → M000019.html} +0 -0
  90. data/ref/ruby/classes/Integer.src/M000020.html +12 -9
  91. data/ref/ruby/classes/Integer.src/M000021.html +17 -9
  92. data/ref/ruby/classes/RDoc.html +5 -5
  93. data/ref/ruby/classes/RDoc.src/{M000050.html → M000041.html} +0 -0
  94. data/ref/ruby/classes/RubyVpi.html +29 -24
  95. data/ref/ruby/classes/RubyVpi.src/M000029.html +142 -0
  96. data/ref/ruby/classes/String.html +15 -15
  97. data/ref/ruby/classes/String.src/{M000029.html → M000023.html} +0 -0
  98. data/ref/ruby/classes/String.src/{M000030.html → M000024.html} +0 -0
  99. data/ref/ruby/classes/String.src/{M000031.html → M000025.html} +0 -0
  100. data/ref/ruby/classes/VerilogParser/Module/Parameter.html +5 -5
  101. data/ref/ruby/classes/VerilogParser/Module/Parameter.src/{M000011.html → M000007.html} +0 -0
  102. data/ref/ruby/classes/VerilogParser/Module/Port.html +20 -20
  103. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000007.html → M000003.html} +0 -0
  104. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000008.html → M000004.html} +0 -0
  105. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000009.html → M000005.html} +0 -0
  106. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000010.html → M000006.html} +0 -0
  107. data/ref/ruby/classes/VerilogParser/Module.html +5 -5
  108. data/ref/ruby/classes/VerilogParser/Module.src/{M000006.html → M000002.html} +0 -0
  109. data/ref/ruby/classes/VerilogParser.html +5 -5
  110. data/ref/ruby/classes/VerilogParser.src/{M000005.html → M000001.html} +0 -0
  111. data/ref/ruby/classes/Vpi/Handle.html +56 -62
  112. data/ref/ruby/classes/Vpi/Handle.src/M000030.html +18 -0
  113. data/ref/ruby/classes/Vpi/Handle.src/{M000039.html → M000031.html} +0 -0
  114. data/ref/ruby/classes/Vpi/Handle.src/M000032.html +18 -0
  115. data/ref/ruby/classes/Vpi/Handle.src/{M000041.html → M000033.html} +0 -0
  116. data/ref/ruby/classes/Vpi/Handle.src/{M000042.html → M000034.html} +0 -0
  117. data/ref/ruby/classes/Vpi/Handle.src/{M000043.html → M000035.html} +0 -0
  118. data/ref/ruby/classes/Vpi/Handle.src/{M000044.html → M000036.html} +0 -0
  119. data/ref/ruby/classes/Vpi/Handle.src/{M000045.html → M000037.html} +0 -0
  120. data/ref/ruby/classes/Vpi/Handle.src/M000038.html +11 -5
  121. data/ref/ruby/classes/Vpi/Handle.src/M000040.html +55 -5
  122. data/ref/ruby/created.rid +1 -1
  123. data/ref/ruby/files/bin/generate_test_rb.html +1 -49
  124. data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
  125. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
  126. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -48
  127. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  128. data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
  129. data/ref/ruby/fr_class_index.html +0 -5
  130. data/ref/ruby/fr_method_index.html +41 -50
  131. data/samp/counter/counter_rspec_bench.rb +2 -0
  132. data/samp/counter/counter_rspec_bench.v +4 -11
  133. data/samp/counter/counter_rspec_design.rb +2 -2
  134. data/samp/counter/counter_xunit_bench.rb +2 -0
  135. data/samp/counter/counter_xunit_bench.v +4 -11
  136. data/samp/counter/counter_xunit_design.rb +2 -2
  137. data/samp/pipelined_alu/hw5_unit_test_bench.rb +2 -0
  138. data/samp/pipelined_alu/hw5_unit_test_bench.v +4 -11
  139. metadata +37 -85
  140. data/ref/c/globals_0x62.html +0 -62
  141. data/ref/c/globals_0x67.html +0 -64
  142. data/ref/c/globals_0x69.html +0 -62
  143. data/ref/c/globals_0x6c.html +0 -64
  144. data/ref/c/globals_0x6e.html +0 -63
  145. data/ref/c/globals_0x75.html +0 -63
  146. data/ref/c/globals_defs_0x6c.html +0 -57
  147. data/ref/c/globals_defs_0x6e.html +0 -56
  148. data/ref/c/globals_defs_0x72.html +0 -57
  149. data/ref/c/globals_defs_0x73.html +0 -164
  150. data/ref/c/globals_defs_0x75.html +0 -56
  151. data/ref/c/globals_func_0x66.html +0 -62
  152. data/ref/c/globals_func_0x67.html +0 -55
  153. data/ref/c/globals_func_0x69.html +0 -53
  154. data/ref/c/globals_func_0x70.html +0 -53
  155. data/ref/c/globals_func_0x72.html +0 -57
  156. data/ref/c/globals_func_0x73.html +0 -114
  157. data/ref/c/globals_func_0x76.html +0 -57
  158. data/ref/c/structrelay____RubyOptions____def.html +0 -73
  159. data/ref/c/structswig__cast__info.html +0 -98
  160. data/ref/c/structswig__class.html +0 -115
  161. data/ref/c/structswig__module__info.html +0 -132
  162. data/ref/c/structswig__type__info.html +0 -132
  163. data/ref/c/swig__vpi_8h.html +0 -8739
  164. data/ref/c/swig__wrap_8cin.html +0 -11556
  165. data/ref/c/unions__vpi__value__value.html +0 -166
  166. data/ref/ruby/classes/Integer.src/M000024.html +0 -25
  167. data/ref/ruby/classes/Integer.src/M000025.html +0 -30
  168. data/ref/ruby/classes/OutputInfo.html +0 -294
  169. data/ref/ruby/classes/OutputInfo.src/M000026.html +0 -50
  170. data/ref/ruby/classes/RubyVpi.src/M000036.html +0 -107
  171. data/ref/ruby/classes/RubyVpi.src/M000037.html +0 -20
  172. data/ref/ruby/classes/Template.html +0 -158
  173. data/ref/ruby/classes/Template.src/M000028.html +0 -18
  174. data/ref/ruby/classes/Vpi/Handle/Property.html +0 -130
  175. data/ref/ruby/classes/Vpi/Handle/Property.src/M000049.html +0 -80
  176. data/ref/ruby/classes/Vpi/Handle.src/M000046.html +0 -24
  177. data/ref/ruby/classes/Vpi/Handle.src/M000048.html +0 -68
  178. data/ref/ruby/classes/XX/XMLish.html +0 -138
  179. data/ref/ruby/classes/XX/XMLish.src/M000033.html +0 -18
  180. data/ref/ruby/classes/XX.html +0 -111
  181. data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +0 -18
  182. data/ref/ruby/files/bin/generate_test_rb.src/M000002.html +0 -38
  183. data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000003.html +0 -24
  184. data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html +0 -26
@@ -138,17 +138,17 @@ names (strings or symbols) or integer constants.
138
138
  <h3 class="section-bar">Methods</h3>
139
139
 
140
140
  <div class="name-list">
141
- <a href="#M000045">[]</a>&nbsp;&nbsp;
142
- <a href="#M000043">get_value</a>&nbsp;&nbsp;
143
- <a href="#M000042">get_value_wrapper</a>&nbsp;&nbsp;
144
- <a href="#M000046">inspect</a>&nbsp;&nbsp;
145
- <a href="#M000048">method_missing</a>&nbsp;&nbsp;
146
- <a href="#M000044">put_value</a>&nbsp;&nbsp;
147
- <a href="#M000047">to_s</a>&nbsp;&nbsp;
148
- <a href="#M000039">x!</a>&nbsp;&nbsp;
149
- <a href="#M000038">x?</a>&nbsp;&nbsp;
150
- <a href="#M000041">z!</a>&nbsp;&nbsp;
151
- <a href="#M000040">z?</a>&nbsp;&nbsp;
141
+ <a href="#M000037">[]</a>&nbsp;&nbsp;
142
+ <a href="#M000035">get_value</a>&nbsp;&nbsp;
143
+ <a href="#M000034">get_value_wrapper</a>&nbsp;&nbsp;
144
+ <a href="#M000038">inspect</a>&nbsp;&nbsp;
145
+ <a href="#M000040">method_missing</a>&nbsp;&nbsp;
146
+ <a href="#M000036">put_value</a>&nbsp;&nbsp;
147
+ <a href="#M000039">to_s</a>&nbsp;&nbsp;
148
+ <a href="#M000031">x!</a>&nbsp;&nbsp;
149
+ <a href="#M000030">x?</a>&nbsp;&nbsp;
150
+ <a href="#M000033">z!</a>&nbsp;&nbsp;
151
+ <a href="#M000032">z?</a>&nbsp;&nbsp;
152
152
  </div>
153
153
  </div>
154
154
 
@@ -166,12 +166,6 @@ names (strings or symbols) or integer constants.
166
166
 
167
167
  <div id="section">
168
168
 
169
- <div id="class-list">
170
- <h3 class="section-bar">Classes and Modules</h3>
171
-
172
- Module <a href="Handle/Property.html" class="link">Vpi::Handle::Property</a><br />
173
-
174
- </div>
175
169
 
176
170
  <div id="constants-list">
177
171
  <h3 class="section-bar">Constants</h3>
@@ -196,12 +190,12 @@ names (strings or symbols) or integer constants.
196
190
  <div id="methods">
197
191
  <h3 class="section-bar">Public Instance methods</h3>
198
192
 
199
- <div id="method-M000045" class="method-detail">
200
- <a name="M000045"></a>
193
+ <div id="method-M000037" class="method-detail">
194
+ <a name="M000037"></a>
201
195
 
202
196
  <div class="method-heading">
203
- <a href="Handle.src/M000045.html" target="Code" class="method-signature"
204
- onclick="popupCode('Handle.src/M000045.html');return false;">
197
+ <a href="Handle.src/M000037.html" target="Code" class="method-signature"
198
+ onclick="popupCode('Handle.src/M000037.html');return false;">
205
199
  <span class="method-name">[]</span><span class="method-args">(*aTypes)</span>
206
200
  </a>
207
201
  </div>
@@ -214,12 +208,12 @@ constant).
214
208
  </div>
215
209
  </div>
216
210
 
217
- <div id="method-M000043" class="method-detail">
218
- <a name="M000043"></a>
211
+ <div id="method-M000035" class="method-detail">
212
+ <a name="M000035"></a>
219
213
 
220
214
  <div class="method-heading">
221
- <a href="Handle.src/M000043.html" target="Code" class="method-signature"
222
- onclick="popupCode('Handle.src/M000043.html');return false;">
215
+ <a href="Handle.src/M000035.html" target="Code" class="method-signature"
216
+ onclick="popupCode('Handle.src/M000035.html');return false;">
223
217
  <span class="method-name">get_value</span><span class="method-args">(aFormat = VpiObjTypeVal)</span>
224
218
  </a>
225
219
  </div>
@@ -233,12 +227,12 @@ attempt to determine the correct format.
233
227
  </div>
234
228
  </div>
235
229
 
236
- <div id="method-M000042" class="method-detail">
237
- <a name="M000042"></a>
230
+ <div id="method-M000034" class="method-detail">
231
+ <a name="M000034"></a>
238
232
 
239
233
  <div class="method-heading">
240
- <a href="Handle.src/M000042.html" target="Code" class="method-signature"
241
- onclick="popupCode('Handle.src/M000042.html');return false;">
234
+ <a href="Handle.src/M000034.html" target="Code" class="method-signature"
235
+ onclick="popupCode('Handle.src/M000034.html');return false;">
242
236
  <span class="method-name">get_value_wrapper</span><span class="method-args">(aFormat)</span>
243
237
  </a>
244
238
  </div>
@@ -251,12 +245,12 @@ Reads the value using the given format (integer constant) and returns a
251
245
  </div>
252
246
  </div>
253
247
 
254
- <div id="method-M000046" class="method-detail">
255
- <a name="M000046"></a>
248
+ <div id="method-M000038" class="method-detail">
249
+ <a name="M000038"></a>
256
250
 
257
251
  <div class="method-heading">
258
- <a href="Handle.src/M000046.html" target="Code" class="method-signature"
259
- onclick="popupCode('Handle.src/M000046.html');return false;">
252
+ <a href="Handle.src/M000038.html" target="Code" class="method-signature"
253
+ onclick="popupCode('Handle.src/M000038.html');return false;">
260
254
  <span class="method-name">inspect</span><span class="method-args">(*aPropNames)</span>
261
255
  </a>
262
256
  </div>
@@ -269,12 +263,12 @@ handles.
269
263
  </div>
270
264
  </div>
271
265
 
272
- <div id="method-M000048" class="method-detail">
273
- <a name="M000048"></a>
266
+ <div id="method-M000040" class="method-detail">
267
+ <a name="M000040"></a>
274
268
 
275
269
  <div class="method-heading">
276
- <a href="Handle.src/M000048.html" target="Code" class="method-signature"
277
- onclick="popupCode('Handle.src/M000048.html');return false;">
270
+ <a href="Handle.src/M000040.html" target="Code" class="method-signature"
271
+ onclick="popupCode('Handle.src/M000040.html');return false;">
278
272
  <span class="method-name">method_missing</span><span class="method-args">(aMeth, *aArgs, &amp;aBlockArg)</span>
279
273
  </a>
280
274
  </div>
@@ -295,18 +289,18 @@ Provides access to this handle&#8217;s
295
289
  through method calls. In the case that a child handle has the same name as
296
290
  a VPI property, the child handle will be accessed instead of the VPI
297
291
  property. However, you can still access the VPI property via <a
298
- href="Handle.html#M000043">get_value</a> and <a
299
- href="Handle.html#M000044">put_value</a>.
292
+ href="Handle.html#M000035">get_value</a> and <a
293
+ href="Handle.html#M000036">put_value</a>.
300
294
  </p>
301
295
  </div>
302
296
  </div>
303
297
 
304
- <div id="method-M000044" class="method-detail">
305
- <a name="M000044"></a>
298
+ <div id="method-M000036" class="method-detail">
299
+ <a name="M000036"></a>
306
300
 
307
301
  <div class="method-heading">
308
- <a href="Handle.src/M000044.html" target="Code" class="method-signature"
309
- onclick="popupCode('Handle.src/M000044.html');return false;">
302
+ <a href="Handle.src/M000036.html" target="Code" class="method-signature"
303
+ onclick="popupCode('Handle.src/M000036.html');return false;">
310
304
  <span class="method-name">put_value</span><span class="method-args">(aValue, aFormat = nil, aTime = nil, aDelay = VpiNoDelay)</span>
311
305
  </a>
312
306
  </div>
@@ -321,8 +315,8 @@ format.
321
315
  </div>
322
316
  </div>
323
317
 
324
- <div id="method-M000047" class="method-detail">
325
- <a name="M000047"></a>
318
+ <div id="method-M000039" class="method-detail">
319
+ <a name="M000039"></a>
326
320
 
327
321
  <div class="method-heading">
328
322
  <span class="method-name">to_s</span><span class="method-args">(*aPropNames)</span>
@@ -330,17 +324,17 @@ format.
330
324
 
331
325
  <div class="method-description">
332
326
  <p>
333
- Alias for <a href="Handle.html#M000046">inspect</a>
327
+ Alias for <a href="Handle.html#M000038">inspect</a>
334
328
  </p>
335
329
  </div>
336
330
  </div>
337
331
 
338
- <div id="method-M000039" class="method-detail">
339
- <a name="M000039"></a>
332
+ <div id="method-M000031" class="method-detail">
333
+ <a name="M000031"></a>
340
334
 
341
335
  <div class="method-heading">
342
- <a href="Handle.src/M000039.html" target="Code" class="method-signature"
343
- onclick="popupCode('Handle.src/M000039.html');return false;">
336
+ <a href="Handle.src/M000031.html" target="Code" class="method-signature"
337
+ onclick="popupCode('Handle.src/M000031.html');return false;">
344
338
  <span class="method-name">x!</span><span class="method-args">()</span>
345
339
  </a>
346
340
  </div>
@@ -352,12 +346,12 @@ Sets the logic value of this handle to unknown (x).
352
346
  </div>
353
347
  </div>
354
348
 
355
- <div id="method-M000038" class="method-detail">
356
- <a name="M000038"></a>
349
+ <div id="method-M000030" class="method-detail">
350
+ <a name="M000030"></a>
357
351
 
358
352
  <div class="method-heading">
359
- <a href="Handle.src/M000038.html" target="Code" class="method-signature"
360
- onclick="popupCode('Handle.src/M000038.html');return false;">
353
+ <a href="Handle.src/M000030.html" target="Code" class="method-signature"
354
+ onclick="popupCode('Handle.src/M000030.html');return false;">
361
355
  <span class="method-name">x?</span><span class="method-args">()</span>
362
356
  </a>
363
357
  </div>
@@ -369,12 +363,12 @@ Tests if the logic value of this handle is unknown (x).
369
363
  </div>
370
364
  </div>
371
365
 
372
- <div id="method-M000041" class="method-detail">
373
- <a name="M000041"></a>
366
+ <div id="method-M000033" class="method-detail">
367
+ <a name="M000033"></a>
374
368
 
375
369
  <div class="method-heading">
376
- <a href="Handle.src/M000041.html" target="Code" class="method-signature"
377
- onclick="popupCode('Handle.src/M000041.html');return false;">
370
+ <a href="Handle.src/M000033.html" target="Code" class="method-signature"
371
+ onclick="popupCode('Handle.src/M000033.html');return false;">
378
372
  <span class="method-name">z!</span><span class="method-args">()</span>
379
373
  </a>
380
374
  </div>
@@ -386,12 +380,12 @@ Sets the logic value of this handle to high impedance (z).
386
380
  </div>
387
381
  </div>
388
382
 
389
- <div id="method-M000040" class="method-detail">
390
- <a name="M000040"></a>
383
+ <div id="method-M000032" class="method-detail">
384
+ <a name="M000032"></a>
391
385
 
392
386
  <div class="method-heading">
393
- <a href="Handle.src/M000040.html" target="Code" class="method-signature"
394
- onclick="popupCode('Handle.src/M000040.html');return false;">
387
+ <a href="Handle.src/M000032.html" target="Code" class="method-signature"
388
+ onclick="popupCode('Handle.src/M000032.html');return false;">
395
389
  <span class="method-name">z?</span><span class="method-args">()</span>
396
390
  </a>
397
391
  </div>
@@ -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>x? (Vpi::Handle)</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/vpi.rb, line 53</span>
14
+ 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x?</span>
15
+ 54: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x/i</span>
16
+ 55: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </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>z? (Vpi::Handle)</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/vpi.rb, line 63</span>
14
+ 63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">z?</span>
15
+ 64: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/z/i</span>
16
+ 65: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -5,14 +5,20 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>x? (Vpi::Handle)</title>
8
+ <title>inspect (Vpi::Handle)</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/vpi.rb, line 53</span>
14
- 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x?</span>
15
- 54: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x/i</span>
16
- 55: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 204</span>
14
+ 204: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aPropNames</span>
15
+ 205: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">:fullName</span>, <span class="ruby-identifier">:size</span>, <span class="ruby-identifier">:file</span>, <span class="ruby-identifier">:lineNo</span>
16
+ 206:
17
+ 207: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">map!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
18
+ 208: <span class="ruby-node">&quot;#{name}=#{self.send(name.to_sym)}&quot;</span>
19
+ 209: <span class="ruby-keyword kw">end</span>
20
+ 210:
21
+ 211: <span class="ruby-node">&quot;#&lt;Vpi::Handle #{vpiType_s} #{aPropNames.join(', ')}&gt;&quot;</span>
22
+ 212: <span class="ruby-keyword kw">end</span></pre>
17
23
  </body>
18
24
  </html>
@@ -5,14 +5,64 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>z? (Vpi::Handle)</title>
8
+ <title>method_missing (Vpi::Handle)</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/vpi.rb, line 63</span>
14
- 63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">z?</span>
15
- 64: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/z/i</span>
16
- 65: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 223</span>
14
+ 223: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">aMeth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">aBlockArg</span>
15
+ 224: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">child</span> = <span class="ruby-identifier">vpi_handle_by_name</span>(<span class="ruby-identifier">aMeth</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-keyword kw">self</span>)
16
+ 225: <span class="ruby-comment cmt"># cache the child for future accesses, in order to cut down number of calls to method_missing</span>
17
+ 226: (<span class="ruby-keyword kw">class</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">end</span>).<span class="ruby-identifier">class_eval</span> <span class="ruby-keyword kw">do</span>
18
+ 227: <span class="ruby-identifier">define_method</span> <span class="ruby-identifier">aMeth</span> <span class="ruby-keyword kw">do</span>
19
+ 228: <span class="ruby-identifier">child</span>
20
+ 229: <span class="ruby-keyword kw">end</span>
21
+ 230: <span class="ruby-keyword kw">end</span>
22
+ 231:
23
+ 232: <span class="ruby-identifier">child</span>
24
+ 233:
25
+ 234: <span class="ruby-keyword kw">else</span>
26
+ 235: <span class="ruby-identifier">prop</span> = <span class="ruby-ivar">@@propCache</span>[<span class="ruby-identifier">aMeth</span>]
27
+ 236:
28
+ 237: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">operation</span>
29
+ 238: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">operation</span>, <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">aBlockArg</span>)
30
+ 239:
31
+ 240: <span class="ruby-keyword kw">else</span>
32
+ 241: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">accessor</span>
33
+ 242: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:d</span> <span class="ruby-comment cmt"># delay values</span>
34
+ 243: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>, <span class="ruby-value str">'processing of delay values is not yet implemented.'</span>
35
+ 244: <span class="ruby-comment cmt"># TODO: vpi_put_delays</span>
36
+ 245: <span class="ruby-comment cmt"># TODO: vpi_get_delays</span>
37
+ 246:
38
+ 247: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:l</span> <span class="ruby-comment cmt"># logic values</span>
39
+ 248: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">assignment</span>
40
+ 249: <span class="ruby-identifier">value</span> = <span class="ruby-identifier">aArgs</span>.<span class="ruby-identifier">shift</span>
41
+ 250: <span class="ruby-identifier">put_value</span>(<span class="ruby-identifier">value</span>, <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>)
42
+ 251: <span class="ruby-keyword kw">else</span>
43
+ 252: <span class="ruby-identifier">get_value</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>)
44
+ 253: <span class="ruby-keyword kw">end</span>
45
+ 254:
46
+ 255: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:i</span> <span class="ruby-comment cmt"># integer values</span>
47
+ 256: <span class="ruby-identifier">vpi_get</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>, <span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">assignment</span>
48
+ 257:
49
+ 258: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:b</span> <span class="ruby-comment cmt"># boolean values</span>
50
+ 259: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">assignment</span>
51
+ 260: <span class="ruby-identifier">value</span> = <span class="ruby-identifier">vpi_get</span>(<span class="ruby-identifier">prop</span>, <span class="ruby-keyword kw">self</span>)
52
+ 261: <span class="ruby-identifier">value</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">value</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>) <span class="ruby-comment cmt"># zero is false in C</span>
53
+ 262: <span class="ruby-keyword kw">end</span>
54
+ 263:
55
+ 264: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:s</span> <span class="ruby-comment cmt"># string values</span>
56
+ 265: <span class="ruby-identifier">vpi_get_str</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>, <span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">assignment</span>
57
+ 266:
58
+ 267: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:h</span> <span class="ruby-comment cmt"># handle values</span>
59
+ 268: <span class="ruby-identifier">vpi_handle</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">type</span>, <span class="ruby-keyword kw">self</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">prop</span>.<span class="ruby-identifier">assignment</span>
60
+ 269:
61
+ 270: <span class="ruby-keyword kw">else</span>
62
+ 271: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NoMethodError</span>, <span class="ruby-node">&quot;unable to access VPI property #{prop.name.inspect} through method #{aMeth.inspect} with arguments #{aArgs.inspect} for handle #{self}&quot;</span>
63
+ 272: <span class="ruby-keyword kw">end</span>
64
+ 273: <span class="ruby-keyword kw">end</span>
65
+ 274: <span class="ruby-keyword kw">end</span>
66
+ 275: <span class="ruby-keyword kw">end</span></pre>
17
67
  </body>
18
68
  </html>
data/ref/ruby/created.rid CHANGED
@@ -1 +1 @@
1
- Fri Dec 22 21:43:03 PST 2006
1
+ Wed Dec 27 22:29:46 PST 2006
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 08 10:52:26 PST 2006</td>
59
+ <td>Wed Dec 27 22:20:28 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -125,14 +125,6 @@ written to the output file.
125
125
 
126
126
  </div>
127
127
 
128
- <div id="method-list">
129
- <h3 class="section-bar">Methods</h3>
130
-
131
- <div class="name-list">
132
- <a href="#M000001">notify</a>&nbsp;&nbsp;
133
- <a href="#M000002">write_file</a>&nbsp;&nbsp;
134
- </div>
135
- </div>
136
128
 
137
129
  </div>
138
130
 
@@ -192,46 +184,6 @@ obtain templates for output generation
192
184
 
193
185
 
194
186
  <!-- if method_list -->
195
- <div id="methods">
196
- <h3 class="section-bar">Public Instance methods</h3>
197
-
198
- <div id="method-M000001" class="method-detail">
199
- <a name="M000001"></a>
200
-
201
- <div class="method-heading">
202
- <a href="generate_test_rb.src/M000001.html" target="Code" class="method-signature"
203
- onclick="popupCode('generate_test_rb.src/M000001.html');return false;">
204
- <span class="method-name">notify</span><span class="method-args">(*args)</span>
205
- </a>
206
- </div>
207
-
208
- <div class="method-description">
209
- <p>
210
- Notify the user about some action being performed.
211
- </p>
212
- </div>
213
- </div>
214
-
215
- <div id="method-M000002" class="method-detail">
216
- <a name="M000002"></a>
217
-
218
- <div class="method-heading">
219
- <a href="generate_test_rb.src/M000002.html" target="Code" class="method-signature"
220
- onclick="popupCode('generate_test_rb.src/M000002.html');return false;">
221
- <span class="method-name">write_file</span><span class="method-args">(aPath, aContent)</span>
222
- </a>
223
- </div>
224
-
225
- <div class="method-description">
226
- <p>
227
- Writes the given contents to the file at the given path. If the given path
228
- already exists, then a backup is created before invoking the merging tool.
229
- </p>
230
- </div>
231
- </div>
232
-
233
-
234
- </div>
235
187
 
236
188
 
237
189
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 08 10:52:26 PST 2006</td>
59
+ <td>Wed Dec 27 22:20:31 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Dec 20 19:52:54 PST 2006</td>
59
+ <td>Wed Dec 27 16:07:01 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 22 19:45:11 PST 2006</td>
59
+ <td>Wed Dec 27 19:18:07 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -102,14 +102,6 @@ names) and values containing command-line arguments for each simulator.
102
102
 
103
103
  </div>
104
104
 
105
- <div id="method-list">
106
- <h3 class="section-bar">Methods</h3>
107
-
108
- <div class="name-list">
109
- <a href="#M000004">expand_include_dir_options</a>&nbsp;&nbsp;
110
- <a href="#M000003">object_file_path</a>&nbsp;&nbsp;
111
- </div>
112
- </div>
113
105
 
114
106
  </div>
115
107
 
@@ -156,45 +148,6 @@ names) and values containing command-line arguments for each simulator.
156
148
 
157
149
 
158
150
  <!-- if method_list -->
159
- <div id="methods">
160
- <h3 class="section-bar">Public Instance methods</h3>
161
-
162
- <div id="method-M000004" class="method-detail">
163
- <a name="M000004"></a>
164
-
165
- <div class="method-heading">
166
- <a href="runner_rb.src/M000004.html" target="Code" class="method-signature"
167
- onclick="popupCode('runner_rb.src/M000004.html');return false;">
168
- <span class="method-name">expand_include_dir_options</span><span class="method-args">(aSimId, aIncludes = SIMULATOR_INCLUDES)</span>
169
- </a>
170
- </div>
171
-
172
- <div class="method-description">
173
- <p>
174
- Returns an array of include-directory options.
175
- </p>
176
- </div>
177
- </div>
178
-
179
- <div id="method-M000003" class="method-detail">
180
- <a name="M000003"></a>
181
-
182
- <div class="method-heading">
183
- <a href="runner_rb.src/M000003.html" target="Code" class="method-signature"
184
- onclick="popupCode('runner_rb.src/M000003.html');return false;">
185
- <span class="method-name">object_file_path</span><span class="method-args">(aSimId)</span>
186
- </a>
187
- </div>
188
-
189
- <div class="method-description">
190
- <p>
191
- Returns the path to the Ruby-VPI object file for the given simulator.
192
- </p>
193
- </div>
194
- </div>
195
-
196
-
197
- </div>
198
151
 
199
152
 
200
153
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 22 01:43:49 PST 2006</td>
59
+ <td>Wed Dec 27 19:14:41 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 22 18:36:16 PST 2006</td>
59
+ <td>Wed Dec 27 22:02:52 PST 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -24,21 +24,16 @@
24
24
  <a href="classes/FileUtils.html">FileUtils</a><br />
25
25
  <a href="classes/Float.html">Float</a><br />
26
26
  <a href="classes/Integer.html">Integer</a><br />
27
- <a href="classes/OutputInfo.html">OutputInfo</a><br />
28
27
  <a href="classes/RDoc.html">RDoc</a><br />
29
28
  <a href="classes/RubyVpi.html">RubyVpi</a><br />
30
29
  <a href="classes/RubyVpi/Config.html">RubyVpi::Config</a><br />
31
30
  <a href="classes/String.html">String</a><br />
32
- <a href="classes/Template.html">Template</a><br />
33
31
  <a href="classes/VerilogParser.html">VerilogParser</a><br />
34
32
  <a href="classes/VerilogParser/Module.html">VerilogParser::Module</a><br />
35
33
  <a href="classes/VerilogParser/Module/Parameter.html">VerilogParser::Module::Parameter</a><br />
36
34
  <a href="classes/VerilogParser/Module/Port.html">VerilogParser::Module::Port</a><br />
37
35
  <a href="classes/Vpi.html">Vpi</a><br />
38
36
  <a href="classes/Vpi/Handle.html">Vpi::Handle</a><br />
39
- <a href="classes/Vpi/Handle/Property.html">Vpi::Handle::Property</a><br />
40
- <a href="classes/XX.html">XX</a><br />
41
- <a href="classes/XX/XMLish.html">XX::XMLish</a><br />
42
37
  </div>
43
38
  </div>
44
39
  </body>