ruby-vpi 14.0.0 → 15.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.
Files changed (124) hide show
  1. data/bin/generate_test_tpl/proto.rb +8 -6
  2. data/doc/common.css +1 -0
  3. data/doc/history.html +357 -281
  4. data/doc/history.yml +35 -1
  5. data/doc/intro.inc +1 -1
  6. data/doc/manual.doc +38 -29
  7. data/doc/manual.html +109 -63
  8. data/doc/readme.html +6 -6
  9. data/doc/rss.xml +69 -1
  10. data/ext/Rakefile +1 -5
  11. data/ext/extconf.rb +0 -5
  12. data/ext/relay.c +1 -1
  13. data/ext/vlog.c +1 -1
  14. data/lib/ruby-vpi/vpi.rb +50 -4
  15. data/lib/ruby-vpi.rb +7 -7
  16. data/ref/c/annotated.html +6 -1
  17. data/ref/c/common_8h.html +1 -1
  18. data/ref/c/files.html +2 -1
  19. data/ref/c/functions.html +40 -20
  20. data/ref/c/functions_vars.html +40 -20
  21. data/ref/c/globals.html +212 -5
  22. data/ref/c/globals_0x62.html +62 -0
  23. data/ref/c/globals_0x63.html +19 -3
  24. data/ref/c/globals_0x65.html +8 -2
  25. data/ref/c/globals_0x66.html +19 -3
  26. data/ref/c/globals_0x67.html +64 -0
  27. data/ref/c/globals_0x69.html +62 -0
  28. data/ref/c/globals_0x6c.html +64 -0
  29. data/ref/c/globals_0x6d.html +10 -3
  30. data/ref/c/globals_0x6e.html +63 -0
  31. data/ref/c/globals_0x70.html +8 -2
  32. data/ref/c/globals_0x72.html +14 -4
  33. data/ref/c/globals_0x73.html +189 -3
  34. data/ref/c/globals_0x74.html +8 -2
  35. data/ref/c/globals_0x75.html +63 -0
  36. data/ref/c/globals_0x76.html +14 -4
  37. data/ref/c/globals_0x78.html +8 -2
  38. data/ref/c/globals_defs.html +6 -1
  39. data/ref/c/globals_defs_0x65.html +6 -1
  40. data/ref/c/globals_defs_0x6c.html +57 -0
  41. data/ref/c/globals_defs_0x6e.html +56 -0
  42. data/ref/c/globals_defs_0x70.html +6 -1
  43. data/ref/c/globals_defs_0x72.html +57 -0
  44. data/ref/c/globals_defs_0x73.html +165 -0
  45. data/ref/c/globals_defs_0x75.html +56 -0
  46. data/ref/c/globals_defs_0x76.html +10 -3
  47. data/ref/c/globals_defs_0x78.html +6 -1
  48. data/ref/c/globals_enum.html +1 -1
  49. data/ref/c/globals_eval.html +1 -1
  50. data/ref/c/globals_func.html +174 -14
  51. data/ref/c/globals_func_0x66.html +63 -0
  52. data/ref/c/globals_func_0x67.html +56 -0
  53. data/ref/c/globals_func_0x69.html +54 -0
  54. data/ref/c/globals_func_0x6d.html +56 -0
  55. data/ref/c/globals_func_0x70.html +54 -0
  56. data/ref/c/globals_func_0x72.html +57 -0
  57. data/ref/c/globals_func_0x73.html +113 -0
  58. data/ref/c/globals_func_0x76.html +58 -0
  59. data/ref/c/globals_type.html +6 -3
  60. data/ref/c/globals_vars.html +89 -3
  61. data/ref/c/index.html +1 -1
  62. data/ref/c/main_8c.html +2 -2
  63. data/ref/c/main_8h.html +1 -1
  64. data/ref/c/relay_8c.html +1 -1
  65. data/ref/c/relay_8h.html +1 -1
  66. data/ref/c/structswig__cast__info.html +98 -0
  67. data/ref/c/structswig__class.html +115 -0
  68. data/ref/c/structswig__module__info.html +132 -0
  69. data/ref/c/structswig__type__info.html +132 -0
  70. data/ref/c/structt__cb__data.html +1 -1
  71. data/ref/c/structt__vpi__delay.html +1 -1
  72. data/ref/c/structt__vpi__error__info.html +1 -1
  73. data/ref/c/structt__vpi__strengthval.html +1 -1
  74. data/ref/c/structt__vpi__systf__data.html +1 -1
  75. data/ref/c/structt__vpi__time.html +1 -1
  76. data/ref/c/structt__vpi__value.html +1 -1
  77. data/ref/c/structt__vpi__vecval.html +1 -1
  78. data/ref/c/structt__vpi__vlog__info.html +1 -1
  79. data/ref/c/swig__wrap_8cin.html +11610 -0
  80. data/ref/c/unions__vpi__value__value.html +166 -0
  81. data/ref/c/verilog_8h.html +1 -1
  82. data/ref/c/vlog_8c.html +3 -3
  83. data/ref/c/vlog_8h.html +1 -1
  84. data/ref/c/vpi__user_8h.html +1 -1
  85. data/ref/ruby/classes/RDoc.html +5 -5
  86. data/ref/ruby/classes/RDoc.src/{M000045.html → M000053.html} +0 -0
  87. data/ref/ruby/classes/RubyVpi.src/M000029.html +27 -27
  88. data/ref/ruby/classes/Vpi/Handle.html +93 -57
  89. data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -5
  90. data/ref/ruby/classes/Vpi/Handle.src/M000038.html +5 -9
  91. data/ref/ruby/classes/Vpi/Handle.src/M000039.html +5 -31
  92. data/ref/ruby/classes/Vpi/Handle.src/M000040.html +5 -74
  93. data/ref/ruby/classes/Vpi/Handle.src/M000041.html +8 -17
  94. data/ref/ruby/classes/Vpi/Handle.src/M000042.html +8 -11
  95. data/ref/ruby/classes/Vpi/Handle.src/M000043.html +22 -0
  96. data/ref/ruby/classes/Vpi/Handle.src/M000044.html +31 -55
  97. data/ref/ruby/classes/Vpi/Handle.src/M000045.html +87 -0
  98. data/ref/ruby/classes/Vpi/Handle.src/M000046.html +30 -0
  99. data/ref/ruby/classes/Vpi/Handle.src/M000047.html +24 -0
  100. data/ref/ruby/classes/Vpi/Handle.src/M000049.html +68 -0
  101. data/ref/ruby/classes/Vpi/S_vpi_time.html +186 -0
  102. data/ref/ruby/classes/Vpi/S_vpi_time.src/M000050.html +18 -0
  103. data/ref/ruby/classes/Vpi/S_vpi_time.src/M000051.html +19 -0
  104. data/ref/ruby/classes/Vpi/S_vpi_value.html +167 -0
  105. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html +18 -0
  106. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000035.html +18 -0
  107. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000036.html +18 -0
  108. data/ref/ruby/classes/Vpi.html +3 -1
  109. data/ref/ruby/classes/Vpi.src/M000030.html +14 -14
  110. data/ref/ruby/classes/Vpi.src/M000031.html +4 -4
  111. data/ref/ruby/classes/Vpi.src/M000032.html +24 -25
  112. data/ref/ruby/classes/Vpi.src/M000033.html +8 -8
  113. data/ref/ruby/created.rid +1 -1
  114. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  115. data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
  116. data/ref/ruby/fr_class_index.html +2 -0
  117. data/ref/ruby/fr_method_index.html +22 -14
  118. data/samp/counter/counter_rspec_proto.rb +8 -6
  119. data/samp/counter/counter_xunit_proto.rb +8 -6
  120. data/samp/pipelined_alu/hw5_unit_test_proto.rb +2 -2
  121. metadata +42 -6
  122. data/ref/ruby/classes/Vpi/Handle.src/M000034.html +0 -18
  123. data/ref/ruby/classes/Vpi/Handle.src/M000035.html +0 -18
  124. data/ref/ruby/classes/Vpi/Handle.src/M000036.html +0 -18
@@ -10,30 +10,29 @@
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 435</span>
14
- 435: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advance_time</span> <span class="ruby-identifier">aNumSteps</span> = <span class="ruby-value">1</span>
15
- 436: <span class="ruby-comment cmt"># schedule wake-up callback from verilog</span>
16
- 437: <span class="ruby-identifier">time</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
17
- 438: <span class="ruby-identifier">time</span>.<span class="ruby-identifier">low</span> = <span class="ruby-identifier">aNumSteps</span> <span class="ruby-operator">&amp;</span> <span class="ruby-constant">INTEGER_MASK</span>
18
- 439: <span class="ruby-identifier">time</span>.<span class="ruby-identifier">high</span> = (<span class="ruby-identifier">aNumSteps</span> <span class="ruby-operator">&gt;&gt;</span> <span class="ruby-constant">INTEGER_BITS</span>) <span class="ruby-operator">&amp;</span> <span class="ruby-constant">INTEGER_MASK</span>
19
- 440: <span class="ruby-identifier">time</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
20
- 441:
21
- 442: <span class="ruby-identifier">value</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>
22
- 443: <span class="ruby-identifier">value</span>.<span class="ruby-identifier">format</span> = <span class="ruby-constant">VpiSuppressVal</span>
23
- 444:
24
- 445: <span class="ruby-identifier">alarm</span> = <span class="ruby-constant">S_cb_data</span>.<span class="ruby-identifier">new</span>
25
- 446: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">reason</span> = <span class="ruby-constant">CbAfterDelay</span>
26
- 447: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">cb_rtn</span> = <span class="ruby-constant">Vlog_relay_ruby</span>
27
- 448: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">obj</span> = <span class="ruby-keyword kw">nil</span>
28
- 449: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">time</span> = <span class="ruby-identifier">time</span>
29
- 450: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">value</span>
30
- 451: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">index</span> = <span class="ruby-value">0</span>
31
- 452: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">user_data</span> = <span class="ruby-keyword kw">nil</span>
32
- 453:
33
- 454: <span class="ruby-identifier">vpi_free_object</span>(<span class="ruby-identifier">vpi_register_cb_old</span>(<span class="ruby-identifier">alarm</span>))
34
- 455:
35
- 456: <span class="ruby-comment cmt"># relay to verilog</span>
36
- 457: <span class="ruby-identifier">relay_verilog_proxy</span>
37
- 458: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 451</span>
14
+ 451: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advance_time</span> <span class="ruby-identifier">aNumSteps</span> = <span class="ruby-value">1</span>
15
+ 452: <span class="ruby-comment cmt"># schedule wake-up callback from verilog</span>
16
+ 453: <span class="ruby-identifier">time</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
17
+ 454: <span class="ruby-identifier">time</span>.<span class="ruby-identifier">integer</span> = <span class="ruby-identifier">aNumSteps</span>
18
+ 455: <span class="ruby-identifier">time</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
19
+ 456:
20
+ 457: <span class="ruby-identifier">value</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>
21
+ 458: <span class="ruby-identifier">value</span>.<span class="ruby-identifier">format</span> = <span class="ruby-constant">VpiSuppressVal</span>
22
+ 459:
23
+ 460: <span class="ruby-identifier">alarm</span> = <span class="ruby-constant">S_cb_data</span>.<span class="ruby-identifier">new</span>
24
+ 461: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">reason</span> = <span class="ruby-constant">CbAfterDelay</span>
25
+ 462: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">cb_rtn</span> = <span class="ruby-constant">Vlog_relay_ruby</span>
26
+ 463: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">obj</span> = <span class="ruby-keyword kw">nil</span>
27
+ 464: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">time</span> = <span class="ruby-identifier">time</span>
28
+ 465: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">value</span> = <span class="ruby-identifier">value</span>
29
+ 466: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">index</span> = <span class="ruby-value">0</span>
30
+ 467: <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">user_data</span> = <span class="ruby-keyword kw">nil</span>
31
+ 468:
32
+ 469: <span class="ruby-identifier">vpi_free_object</span>(<span class="ruby-identifier">vpi_register_cb_old</span>(<span class="ruby-identifier">alarm</span>))
33
+ 470:
34
+ 471: <span class="ruby-comment cmt"># relay to verilog</span>
35
+ 472: <span class="ruby-identifier">relay_verilog_proxy</span>
36
+ 473: <span class="ruby-keyword kw">end</span></pre>
38
37
  </body>
39
38
  </html>
@@ -10,13 +10,13 @@
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 464</span>
14
- 464: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simulation_time</span>
15
- 465: <span class="ruby-identifier">t</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
16
- 466: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
17
- 467:
18
- 468: <span class="ruby-identifier">vpi_get_time</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>
19
- 469: (<span class="ruby-identifier">t</span>.<span class="ruby-identifier">high</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">INTEGER_BITS</span>) <span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">low</span>
20
- 470: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 479</span>
14
+ 479: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simulation_time</span>
15
+ 480: <span class="ruby-identifier">t</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
16
+ 481: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
17
+ 482:
18
+ 483: <span class="ruby-identifier">vpi_get_time</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>
19
+ 484: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">to_i</span>
20
+ 485: <span class="ruby-keyword kw">end</span></pre>
21
21
  </body>
22
22
  </html>
data/ref/ruby/created.rid CHANGED
@@ -1 +1 @@
1
- Sat Dec 30 19:26:26 PST 2006
1
+ Sat Jan 13 16:42:16 PST 2007
@@ -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 29 15:08:37 PST 2006</td>
59
+ <td>Sat Jan 13 11:18:05 PST 2007</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 29 15:04:26 PST 2006</td>
59
+ <td>Sat Jan 13 13:43:42 PST 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -34,6 +34,8 @@
34
34
  <a href="classes/VerilogParser/Module/Port.html">VerilogParser::Module::Port</a><br />
35
35
  <a href="classes/Vpi.html">Vpi</a><br />
36
36
  <a href="classes/Vpi/Handle.html">Vpi::Handle</a><br />
37
+ <a href="classes/Vpi/S_vpi_time.html">Vpi::S_vpi_time</a><br />
38
+ <a href="classes/Vpi/S_vpi_value.html">Vpi::S_vpi_value</a><br />
37
39
  </div>
38
40
  </div>
39
41
  </body>
@@ -20,51 +20,59 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
- <a href="classes/Vpi/Handle.html#M000041">[] (Vpi::Handle)</a><br />
23
+ <a href="classes/Vpi/Handle.html#M000046">[] (Vpi::Handle)</a><br />
24
24
  <a href="classes/Vpi.html#M000032">advance_time (Vpi)</a><br />
25
25
  <a href="classes/FileUtils.html#M000028">collect_args (FileUtils)</a><br />
26
26
  <a href="classes/Integer.html#M000017">ensure_max (Integer)</a><br />
27
27
  <a href="classes/Integer.html#M000016">ensure_min (Integer)</a><br />
28
28
  <a href="classes/Integer.html#M000020">extend_sign (Integer)</a><br />
29
- <a href="classes/Vpi/Handle.html#M000039">get_value (Vpi::Handle)</a><br />
30
- <a href="classes/Vpi/Handle.html#M000038">get_value_wrapper (Vpi::Handle)</a><br />
29
+ <a href="classes/Vpi/Handle.html#M000044">get_value (Vpi::Handle)</a><br />
30
+ <a href="classes/Vpi/Handle.html#M000043">get_value_wrapper (Vpi::Handle)</a><br />
31
31
  <a href="classes/RubyVpi.html#M000029">init_bench (RubyVpi)</a><br />
32
32
  <a href="classes/VerilogParser/Module/Port.html#M000004">input? (VerilogParser::Module::Port)</a><br />
33
- <a href="classes/Vpi/Handle.html#M000042">inspect (Vpi::Handle)</a><br />
33
+ <a href="classes/Vpi/Handle.html#M000047">inspect (Vpi::Handle)</a><br />
34
+ <a href="classes/Vpi/S_vpi_time.html#M000050">integer (Vpi::S_vpi_time)</a><br />
35
+ <a href="classes/Vpi/S_vpi_time.html#M000051">integer= (Vpi::S_vpi_time)</a><br />
34
36
  <a href="classes/Integer.html#M000009">length (Integer)</a><br />
35
37
  <a href="classes/Integer.html#M000010">limit (Integer)</a><br />
36
38
  <a href="classes/Integer.html#M000008">log2 (Integer)</a><br />
37
39
  <a href="classes/Float.html#M000022">mantissa (Float)</a><br />
38
40
  <a href="classes/Integer.html#M000012">mask (Integer)</a><br />
39
41
  <a href="classes/Integer.html#M000014">max (Integer)</a><br />
40
- <a href="classes/Vpi/Handle.html#M000044">method_missing (Vpi::Handle)</a><br />
42
+ <a href="classes/Vpi/Handle.html#M000049">method_missing (Vpi::Handle)</a><br />
43
+ <a href="classes/Vpi/Handle.html#M000042">negedge? (Vpi::Handle)</a><br />
41
44
  <a href="classes/VerilogParser.html#M000001">new (VerilogParser)</a><br />
42
- <a href="classes/ERB.html#M000026">new (ERB)</a><br />
45
+ <a href="classes/VerilogParser/Module/Port.html#M000003">new (VerilogParser::Module::Port)</a><br />
43
46
  <a href="classes/VerilogParser/Module.html#M000002">new (VerilogParser::Module)</a><br />
44
47
  <a href="classes/VerilogParser/Module/Parameter.html#M000007">new (VerilogParser::Module::Parameter)</a><br />
45
- <a href="classes/VerilogParser/Module/Port.html#M000003">new (VerilogParser::Module::Port)</a><br />
48
+ <a href="classes/ERB.html#M000026">new (ERB)</a><br />
46
49
  <a href="classes/VerilogParser/Module/Port.html#M000005">output? (VerilogParser::Module::Port)</a><br />
47
50
  <a href="classes/Integer.html#M000018">pack (Integer)</a><br />
48
- <a href="classes/Vpi/Handle.html#M000040">put_value (Vpi::Handle)</a><br />
51
+ <a href="classes/Vpi/Handle.html#M000041">posedge? (Vpi::Handle)</a><br />
52
+ <a href="classes/Vpi/Handle.html#M000045">put_value (Vpi::Handle)</a><br />
49
53
  <a href="classes/VerilogParser/Module/Port.html#M000006">reg? (VerilogParser::Module::Port)</a><br />
50
54
  <a href="classes/FileUtils.html#M000027">sh (FileUtils)</a><br />
51
55
  <a href="classes/Vpi.html#M000031">simulate (Vpi)</a><br />
52
56
  <a href="classes/Vpi.html#M000033">simulation_time (Vpi)</a><br />
53
57
  <a href="classes/Integer.html#M000021">split (Integer)</a><br />
58
+ <a href="classes/Vpi/S_vpi_value.html#M000035">to_f (Vpi::S_vpi_value)</a><br />
54
59
  <a href="classes/String.html#M000023">to_f (String)</a><br />
60
+ <a href="classes/Vpi/S_vpi_time.html#M000052">to_i (Vpi::S_vpi_time)</a><br />
61
+ <a href="classes/Vpi/S_vpi_value.html#M000034">to_i (Vpi::S_vpi_value)</a><br />
55
62
  <a href="classes/Integer.html#M000011">to_limit (Integer)</a><br />
56
63
  <a href="classes/Integer.html#M000013">to_mask (Integer)</a><br />
57
64
  <a href="classes/Integer.html#M000015">to_max (Integer)</a><br />
58
65
  <a href="classes/String.html#M000025">to_ruby_const_name (String)</a><br />
59
- <a href="classes/Vpi/Handle.html#M000043">to_s (Vpi::Handle)</a><br />
66
+ <a href="classes/Vpi/Handle.html#M000048">to_s (Vpi::Handle)</a><br />
67
+ <a href="classes/Vpi/S_vpi_value.html#M000036">to_s (Vpi::S_vpi_value)</a><br />
60
68
  <a href="classes/Integer.html#M000019">unpack (Integer)</a><br />
61
- <a href="classes/RDoc.html#M000045">usage_from_file (RDoc)</a><br />
69
+ <a href="classes/RDoc.html#M000053">usage_from_file (RDoc)</a><br />
62
70
  <a href="classes/String.html#M000024">verilog_to_ruby (String)</a><br />
63
71
  <a href="classes/Vpi.html#M000030">vpi_register_cb (Vpi)</a><br />
64
- <a href="classes/Vpi/Handle.html#M000035">x! (Vpi::Handle)</a><br />
65
- <a href="classes/Vpi/Handle.html#M000034">x? (Vpi::Handle)</a><br />
66
- <a href="classes/Vpi/Handle.html#M000037">z! (Vpi::Handle)</a><br />
67
- <a href="classes/Vpi/Handle.html#M000036">z? (Vpi::Handle)</a><br />
72
+ <a href="classes/Vpi/Handle.html#M000038">x! (Vpi::Handle)</a><br />
73
+ <a href="classes/Vpi/Handle.html#M000037">x? (Vpi::Handle)</a><br />
74
+ <a href="classes/Vpi/Handle.html#M000040">z! (Vpi::Handle)</a><br />
75
+ <a href="classes/Vpi/Handle.html#M000039">z? (Vpi::Handle)</a><br />
68
76
  </div>
69
77
  </div>
70
78
  </body>
@@ -1,11 +1,13 @@
1
1
  # This is a prototype of the design under test.
2
2
 
3
- # When prototyping is enabled, Vpi::simulate invokes this method
4
- # instead of transferring control to the Verilog simulator.
3
+ # When prototyping is enabled, Vpi::advance_time invokes this
4
+ # method instead of transferring control to the Verilog simulator.
5
5
  def Counter.simulate!
6
- if reset.intVal == 1
7
- count.intVal = 0
8
- else
9
- count.intVal += 1
6
+ if clock.posedge?
7
+ if reset.intVal == 1
8
+ count.intVal = 0
9
+ else
10
+ count.intVal += 1
11
+ end
10
12
  end
11
13
  end
@@ -1,11 +1,13 @@
1
1
  # This is a prototype of the design under test.
2
2
 
3
- # When prototyping is enabled, Vpi::simulate invokes this method
4
- # instead of transferring control to the Verilog simulator.
3
+ # When prototyping is enabled, Vpi::advance_time invokes this
4
+ # method instead of transferring control to the Verilog simulator.
5
5
  def Counter.simulate!
6
- if reset.intVal == 1
7
- count.intVal = 0
8
- else
9
- count.intVal += 1
6
+ if clock.posedge?
7
+ if reset.intVal == 1
8
+ count.intVal = 0
9
+ else
10
+ count.intVal += 1
11
+ end
10
12
  end
11
13
  end
@@ -1,7 +1,7 @@
1
1
  # This is a prototype of the design under test.
2
2
 
3
- # When prototyping is enabled, Vpi::simulate invokes this method
4
- # instead of transferring control to the Verilog simulator.
3
+ # When prototyping is enabled, Vpi::advance_time invokes this
4
+ # method instead of transferring control to the Verilog simulator.
5
5
  def Hw5_unit.simulate!
6
6
  raise NotImplementedError, "Prototype is not yet implemented."
7
7
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: ruby-vpi
5
5
  version: !ruby/object:Gem::Version
6
- version: 14.0.0
7
- date: 2006-12-30 00:00:00 -08:00
6
+ version: 15.0.0
7
+ date: 2007-01-13 00:00:00 -08:00
8
8
  summary: Ruby interface to IEEE 1364-2005 Verilog VPI
9
9
  require_paths:
10
10
  - lib
@@ -167,6 +167,7 @@ files:
167
167
  - ref/c/main_8h.html
168
168
  - ref/c/relay_8c.html
169
169
  - ref/c/relay_8h.html
170
+ - ref/c/swig__wrap_8cin.html
170
171
  - ref/c/verilog_8h.html
171
172
  - ref/c/vlog_8c.html
172
173
  - ref/c/vlog_8h.html
@@ -174,6 +175,11 @@ files:
174
175
  - ref/c/annotated.html
175
176
  - ref/c/functions.html
176
177
  - ref/c/functions_vars.html
178
+ - ref/c/unions__vpi__value__value.html
179
+ - ref/c/structswig__cast__info.html
180
+ - ref/c/structswig__class.html
181
+ - ref/c/structswig__module__info.html
182
+ - ref/c/structswig__type__info.html
177
183
  - ref/c/structt__cb__data.html
178
184
  - ref/c/structt__vpi__delay.html
179
185
  - ref/c/structt__vpi__error__info.html
@@ -185,24 +191,43 @@ files:
185
191
  - ref/c/structt__vpi__vlog__info.html
186
192
  - ref/c/files.html
187
193
  - ref/c/globals.html
194
+ - ref/c/globals_0x62.html
188
195
  - ref/c/globals_0x63.html
189
196
  - ref/c/globals_0x65.html
190
197
  - ref/c/globals_0x66.html
198
+ - ref/c/globals_0x67.html
199
+ - ref/c/globals_0x69.html
200
+ - ref/c/globals_0x6c.html
191
201
  - ref/c/globals_0x6d.html
202
+ - ref/c/globals_0x6e.html
192
203
  - ref/c/globals_0x70.html
193
204
  - ref/c/globals_0x72.html
194
205
  - ref/c/globals_0x73.html
195
206
  - ref/c/globals_0x74.html
207
+ - ref/c/globals_0x75.html
196
208
  - ref/c/globals_0x76.html
197
209
  - ref/c/globals_0x78.html
198
210
  - ref/c/globals_func.html
211
+ - ref/c/globals_func_0x66.html
212
+ - ref/c/globals_func_0x67.html
213
+ - ref/c/globals_func_0x69.html
214
+ - ref/c/globals_func_0x6d.html
215
+ - ref/c/globals_func_0x70.html
216
+ - ref/c/globals_func_0x72.html
217
+ - ref/c/globals_func_0x73.html
218
+ - ref/c/globals_func_0x76.html
199
219
  - ref/c/globals_vars.html
200
220
  - ref/c/globals_type.html
201
221
  - ref/c/globals_enum.html
202
222
  - ref/c/globals_eval.html
203
223
  - ref/c/globals_defs.html
204
224
  - ref/c/globals_defs_0x65.html
225
+ - ref/c/globals_defs_0x6c.html
226
+ - ref/c/globals_defs_0x6e.html
205
227
  - ref/c/globals_defs_0x70.html
228
+ - ref/c/globals_defs_0x72.html
229
+ - ref/c/globals_defs_0x73.html
230
+ - ref/c/globals_defs_0x75.html
206
231
  - ref/c/globals_defs_0x76.html
207
232
  - ref/c/globals_defs_0x78.html
208
233
  - ref/ruby/created.rid
@@ -288,19 +313,30 @@ files:
288
313
  - ref/ruby/classes/Vpi.src/M000031.html
289
314
  - ref/ruby/classes/Vpi.src/M000032.html
290
315
  - ref/ruby/classes/Vpi.src/M000033.html
316
+ - ref/ruby/classes/Vpi/S_vpi_value.src
291
317
  - ref/ruby/classes/Vpi/Handle.src
318
+ - ref/ruby/classes/Vpi/S_vpi_time.src
319
+ - ref/ruby/classes/Vpi/S_vpi_value.html
292
320
  - ref/ruby/classes/Vpi/Handle.html
293
- - ref/ruby/classes/Vpi/Handle.src/M000034.html
294
- - ref/ruby/classes/Vpi/Handle.src/M000035.html
295
- - ref/ruby/classes/Vpi/Handle.src/M000036.html
321
+ - ref/ruby/classes/Vpi/S_vpi_time.html
322
+ - ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html
323
+ - ref/ruby/classes/Vpi/S_vpi_value.src/M000035.html
324
+ - ref/ruby/classes/Vpi/S_vpi_value.src/M000036.html
296
325
  - ref/ruby/classes/Vpi/Handle.src/M000037.html
297
326
  - ref/ruby/classes/Vpi/Handle.src/M000038.html
298
327
  - ref/ruby/classes/Vpi/Handle.src/M000039.html
299
328
  - ref/ruby/classes/Vpi/Handle.src/M000040.html
300
329
  - ref/ruby/classes/Vpi/Handle.src/M000041.html
301
330
  - ref/ruby/classes/Vpi/Handle.src/M000042.html
331
+ - ref/ruby/classes/Vpi/Handle.src/M000043.html
302
332
  - ref/ruby/classes/Vpi/Handle.src/M000044.html
303
- - ref/ruby/classes/RDoc.src/M000045.html
333
+ - ref/ruby/classes/Vpi/Handle.src/M000045.html
334
+ - ref/ruby/classes/Vpi/Handle.src/M000046.html
335
+ - ref/ruby/classes/Vpi/Handle.src/M000047.html
336
+ - ref/ruby/classes/Vpi/Handle.src/M000049.html
337
+ - ref/ruby/classes/Vpi/S_vpi_time.src/M000050.html
338
+ - ref/ruby/classes/Vpi/S_vpi_time.src/M000051.html
339
+ - ref/ruby/classes/RDoc.src/M000053.html
304
340
  - ref/ruby/classes/RubyVpi/Config.html
305
341
  test_files: []
306
342
 
@@ -1,18 +0,0 @@
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 65</span>
14
- 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x?</span>
15
- 66: <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
- 67: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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 70</span>
14
- 70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x!</span>
15
- 71: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> = <span class="ruby-value str">'x'</span>
16
- 72: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
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 75</span>
14
- 75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">z?</span>
15
- 76: <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
- 77: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>