ruby-vpi 7.3.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/HEADER +19 -4
  2. data/HISTORY +34 -1
  3. data/MEMO +2 -2
  4. data/README +14 -1
  5. data/Rakefile +39 -66
  6. data/bin/generate_test.rb +5 -23
  7. data/bin/generate_test_tpl/bench.rb +1 -1
  8. data/bin/generate_test_tpl/bench.v +2 -2
  9. data/bin/generate_test_tpl/proto.rb +8 -3
  10. data/bin/header_to_ruby.rb +3 -3
  11. data/doc/Rakefile +9 -26
  12. data/doc/{xhtml/background.html → background.html} +1 -1
  13. data/doc/{xhtml/background.methodology.html → background.methodology.html} +1 -1
  14. data/doc/{xhtml/background.organization.html → background.organization.html} +1 -1
  15. data/doc/{xhtml/background.running-tests.html → background.running-tests.html} +0 -0
  16. data/doc/{xhtml/background.terminology.html → background.terminology.html} +0 -0
  17. data/doc/{src/figures → figures}/organization.png +0 -0
  18. data/doc/{src/figures → figures}/organization_detailed.png +0 -0
  19. data/doc/{src/figures → figures}/ruby_init.png +0 -0
  20. data/doc/{src/figures → figures}/ruby_relay.png +0 -0
  21. data/doc/{xhtml/gfdl-0.html → gfdl-0.html} +0 -0
  22. data/doc/{xhtml/gfdl-1.html → gfdl-1.html} +0 -0
  23. data/doc/{xhtml/gfdl-10.html → gfdl-10.html} +0 -0
  24. data/doc/{xhtml/gfdl-2.html → gfdl-2.html} +0 -0
  25. data/doc/{xhtml/gfdl-3.html → gfdl-3.html} +0 -0
  26. data/doc/{xhtml/gfdl-4.html → gfdl-4.html} +0 -0
  27. data/doc/{xhtml/gfdl-5.html → gfdl-5.html} +0 -0
  28. data/doc/{xhtml/gfdl-6.html → gfdl-6.html} +0 -0
  29. data/doc/{xhtml/gfdl-7.html → gfdl-7.html} +0 -0
  30. data/doc/{xhtml/gfdl-8.html → gfdl-8.html} +0 -0
  31. data/doc/{xhtml/gfdl-9.html → gfdl-9.html} +0 -0
  32. data/doc/{xhtml/gfdl-addendum.html → gfdl-addendum.html} +0 -0
  33. data/doc/{xhtml/gfdl.html → gfdl.html} +0 -0
  34. data/doc/glossary.html +3 -0
  35. data/doc/{src/images → images}/COPYING +0 -0
  36. data/doc/{src/images → images}/ChangeLog +0 -0
  37. data/doc/{src/images → images}/blank.png +0 -0
  38. data/doc/{src/images → images}/callouts/1.png +0 -0
  39. data/doc/{src/images → images}/callouts/10.png +0 -0
  40. data/doc/{src/images → images}/callouts/11.png +0 -0
  41. data/doc/{src/images → images}/callouts/12.png +0 -0
  42. data/doc/{src/images → images}/callouts/13.png +0 -0
  43. data/doc/{src/images → images}/callouts/14.png +0 -0
  44. data/doc/{src/images → images}/callouts/15.png +0 -0
  45. data/doc/{src/images → images}/callouts/2.png +0 -0
  46. data/doc/{src/images → images}/callouts/3.png +0 -0
  47. data/doc/{src/images → images}/callouts/4.png +0 -0
  48. data/doc/{src/images → images}/callouts/5.png +0 -0
  49. data/doc/{src/images → images}/callouts/6.png +0 -0
  50. data/doc/{src/images → images}/callouts/7.png +0 -0
  51. data/doc/{src/images → images}/callouts/8.png +0 -0
  52. data/doc/{src/images → images}/callouts/9.png +0 -0
  53. data/doc/{src/images → images}/callouts/ChangeLog +0 -0
  54. data/doc/{src/images → images}/caution.png +0 -0
  55. data/doc/{src/images → images}/caution.svg +0 -0
  56. data/doc/{src/images → images}/copyright +0 -0
  57. data/doc/{src/images → images}/draft.png +0 -0
  58. data/doc/{src/images → images}/home.png +0 -0
  59. data/doc/{src/images → images}/home.svg +0 -0
  60. data/doc/{src/images → images}/important.png +0 -0
  61. data/doc/{src/images → images}/important.svg +0 -0
  62. data/doc/{src/images → images}/next.png +0 -0
  63. data/doc/{src/images → images}/next.svg +0 -0
  64. data/doc/{src/images → images}/note.png +0 -0
  65. data/doc/{src/images → images}/note.svg +0 -0
  66. data/doc/{src/images → images}/prev.png +0 -0
  67. data/doc/{src/images → images}/prev.svg +0 -0
  68. data/doc/{src/images → images}/tip.png +0 -0
  69. data/doc/{src/images → images}/tip.svg +0 -0
  70. data/doc/{src/images → images}/toc-blank.png +0 -0
  71. data/doc/{src/images → images}/toc-minus.png +0 -0
  72. data/doc/{src/images → images}/toc-plus.png +0 -0
  73. data/doc/{src/images → images}/up.png +0 -0
  74. data/doc/{src/images → images}/up.svg +0 -0
  75. data/doc/{src/images → images}/warning.png +0 -0
  76. data/doc/{src/images → images}/warning.svg +0 -0
  77. data/doc/{xhtml/index.html → index.html} +2 -2
  78. data/doc/{xhtml/introduction.html → introduction.html} +0 -0
  79. data/doc/{xhtml/introduction.license.html → introduction.license.html} +0 -0
  80. data/doc/{xhtml/introduction.manifest.html → introduction.manifest.html} +1 -1
  81. data/doc/{xhtml/introduction.related-works.html → introduction.related-works.html} +0 -0
  82. data/doc/{xhtml/introduction.resources.html → introduction.resources.html} +1 -1
  83. data/doc/{txt/manual.txt → manual.txt} +50 -49
  84. data/doc/{xhtml/problem.ivl.html → problem.ivl.html} +0 -0
  85. data/doc/{xhtml/problems.html → problems.html} +0 -0
  86. data/doc/{xhtml/problems.ruby.html → problems.ruby.html} +0 -0
  87. data/doc/{xhtml/problems.vsim.html → problems.vsim.html} +0 -0
  88. data/doc/src/manual.xml +53 -39
  89. data/doc/src/shared.dtd +1 -2
  90. data/doc/{xhtml/styles → styles}/manual.css +6 -10
  91. data/doc/{xhtml/usage.examples.html → usage.examples.html} +0 -0
  92. data/doc/{xhtml/usage.html → usage.html} +0 -0
  93. data/doc/{xhtml/usage.installation.html → usage.installation.html} +0 -0
  94. data/doc/{xhtml/usage.requirements.html → usage.requirements.html} +0 -0
  95. data/doc/{xhtml/usage.tools.html → usage.tools.html} +0 -0
  96. data/doc/{xhtml/usage.tutorial.html → usage.tutorial.html} +14 -18
  97. data/gem_extconf.rb +1 -1
  98. data/header.html +18 -4
  99. data/header.part.html +18 -4
  100. data/history.html +87 -5
  101. data/history.part.html +69 -1
  102. data/lib/ruby-vpi.rb +5 -5
  103. data/lib/ruby-vpi/rcov.rb +2 -2
  104. data/lib/ruby-vpi/runner.rb +4 -7
  105. data/lib/ruby-vpi/vpi_util.rb +2 -2
  106. data/memo.html +23 -9
  107. data/memo.part.html +5 -5
  108. data/readme.html +40 -5
  109. data/readme.part.html +22 -1
  110. data/ref/c/annotated.html +1 -1
  111. data/ref/c/common_8h.html +1 -1
  112. data/ref/c/files.html +1 -1
  113. data/ref/c/functions.html +1 -1
  114. data/ref/c/functions_vars.html +1 -1
  115. data/ref/c/globals.html +1 -1
  116. data/ref/c/globals_0x63.html +1 -1
  117. data/ref/c/globals_0x65.html +1 -1
  118. data/ref/c/globals_0x66.html +1 -1
  119. data/ref/c/globals_0x70.html +1 -1
  120. data/ref/c/globals_0x72.html +1 -1
  121. data/ref/c/globals_0x73.html +1 -1
  122. data/ref/c/globals_0x74.html +1 -1
  123. data/ref/c/globals_0x76.html +1 -1
  124. data/ref/c/globals_0x78.html +1 -1
  125. data/ref/c/globals_defs.html +1 -1
  126. data/ref/c/globals_defs_0x65.html +1 -1
  127. data/ref/c/globals_defs_0x70.html +1 -1
  128. data/ref/c/globals_defs_0x76.html +1 -1
  129. data/ref/c/globals_defs_0x78.html +1 -1
  130. data/ref/c/globals_enum.html +1 -1
  131. data/ref/c/globals_eval.html +1 -1
  132. data/ref/c/globals_func.html +1 -1
  133. data/ref/c/globals_type.html +1 -1
  134. data/ref/c/globals_vars.html +1 -1
  135. data/ref/c/hierarchy.html +1 -1
  136. data/ref/c/index.html +1 -1
  137. data/ref/c/relay_8cin.html +1 -1
  138. data/ref/c/relay_8hin.html +1 -1
  139. data/ref/c/ruby-vpi_8c.html +1 -1
  140. data/ref/c/structrelay____RubyOptions____def.html +1 -1
  141. data/ref/c/structt__cb__data.html +1 -1
  142. data/ref/c/structt__vpi__delay.html +1 -1
  143. data/ref/c/structt__vpi__error__info.html +1 -1
  144. data/ref/c/structt__vpi__strengthval.html +1 -1
  145. data/ref/c/structt__vpi__systf__data.html +1 -1
  146. data/ref/c/structt__vpi__time.html +1 -1
  147. data/ref/c/structt__vpi__value.html +1 -1
  148. data/ref/c/structt__vpi__vecval.html +1 -1
  149. data/ref/c/structt__vpi__vlog__info.html +1 -1
  150. data/ref/c/swig_8cin.html +1 -1
  151. data/ref/c/swig_8hin.html +1 -1
  152. data/ref/c/verilog_8h.html +1 -1
  153. data/ref/c/vlog_8cin.html +1 -1
  154. data/ref/c/vlog_8hin.html +1 -1
  155. data/ref/c/vpi__user_8h.html +1 -1
  156. data/ref/ruby/classes/OutputInfo.src/M000014.html +36 -36
  157. data/ref/ruby/classes/{RubyVPI.html → RubyVpi.html} +6 -6
  158. data/ref/ruby/classes/{RubyVPI.src → RubyVpi.src}/M000075.html +5 -5
  159. data/ref/ruby/classes/{RubyVPI.src → RubyVpi.src}/M000076.html +2 -2
  160. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000070.html +2 -2
  161. data/ref/ruby/classes/Template.src/M000015.html +4 -4
  162. data/ref/ruby/classes/XX.html +4 -4
  163. data/ref/ruby/classes/XX/XHTML.html +5 -5
  164. data/ref/ruby/classes/XX/XHTML.src/{M000024.html → M000023.html} +0 -0
  165. data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
  166. data/ref/ruby/classes/XX/XHTML/Strict.src/{M000026.html → M000025.html} +0 -0
  167. data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
  168. data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000025.html → M000024.html} +0 -0
  169. data/ref/ruby/classes/XX/XMLish.html +5 -5
  170. data/ref/ruby/classes/XX/XMLish.src/{M000023.html → M000026.html} +0 -0
  171. data/ref/ruby/created.rid +1 -1
  172. data/ref/ruby/files/bin/generate_test_rb.html +7 -39
  173. data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +15 -15
  174. data/ref/ruby/files/bin/header_to_ruby_rb.html +12 -4
  175. data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
  176. data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
  177. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
  178. data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
  179. data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
  180. data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
  181. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +2 -7
  182. data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000002.html +6 -6
  183. data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
  184. data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +1 -1
  185. data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +1 -1
  186. data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
  187. data/ref/ruby/fr_class_index.html +1 -1
  188. data/ref/ruby/fr_method_index.html +10 -10
  189. data/samp/counter/counter_rspecTest_bench.rb +1 -1
  190. data/samp/counter/counter_rspecTest_proto.rb +1 -1
  191. data/samp/counter/counter_unitTest_bench.rb +1 -1
  192. data/samp/counter/counter_unitTest_proto.rb +1 -1
  193. data/samp/pipelined_alu/hw5_unit_test_bench.rb +1 -1
  194. data/samp/pipelined_alu/hw5_unit_test_proto.rb +1 -1
  195. metadata +183 -237
  196. data/doc/src/styles/manual.css +0 -87
  197. data/doc/xhtml/figures/organization.png +0 -0
  198. data/doc/xhtml/figures/organization_detailed.png +0 -0
  199. data/doc/xhtml/figures/ruby_init.png +0 -0
  200. data/doc/xhtml/figures/ruby_relay.png +0 -0
  201. data/doc/xhtml/glossary.html +0 -3
  202. data/doc/xhtml/images/COPYING +0 -67
  203. data/doc/xhtml/images/ChangeLog +0 -27
  204. data/doc/xhtml/images/blank.png +0 -0
  205. data/doc/xhtml/images/callouts/1.png +0 -0
  206. data/doc/xhtml/images/callouts/10.png +0 -0
  207. data/doc/xhtml/images/callouts/11.png +0 -0
  208. data/doc/xhtml/images/callouts/12.png +0 -0
  209. data/doc/xhtml/images/callouts/13.png +0 -0
  210. data/doc/xhtml/images/callouts/14.png +0 -0
  211. data/doc/xhtml/images/callouts/15.png +0 -0
  212. data/doc/xhtml/images/callouts/2.png +0 -0
  213. data/doc/xhtml/images/callouts/3.png +0 -0
  214. data/doc/xhtml/images/callouts/4.png +0 -0
  215. data/doc/xhtml/images/callouts/5.png +0 -0
  216. data/doc/xhtml/images/callouts/6.png +0 -0
  217. data/doc/xhtml/images/callouts/7.png +0 -0
  218. data/doc/xhtml/images/callouts/8.png +0 -0
  219. data/doc/xhtml/images/callouts/9.png +0 -0
  220. data/doc/xhtml/images/callouts/ChangeLog +0 -15
  221. data/doc/xhtml/images/caution.png +0 -0
  222. data/doc/xhtml/images/caution.svg +0 -290
  223. data/doc/xhtml/images/copyright +0 -55
  224. data/doc/xhtml/images/draft.png +0 -0
  225. data/doc/xhtml/images/home.png +0 -0
  226. data/doc/xhtml/images/home.svg +0 -386
  227. data/doc/xhtml/images/important.png +0 -0
  228. data/doc/xhtml/images/important.svg +0 -163
  229. data/doc/xhtml/images/next.png +0 -0
  230. data/doc/xhtml/images/next.svg +0 -191
  231. data/doc/xhtml/images/note.png +0 -0
  232. data/doc/xhtml/images/note.svg +0 -483
  233. data/doc/xhtml/images/prev.png +0 -0
  234. data/doc/xhtml/images/prev.svg +0 -852
  235. data/doc/xhtml/images/tip.png +0 -0
  236. data/doc/xhtml/images/tip.svg +0 -1145
  237. data/doc/xhtml/images/toc-blank.png +0 -0
  238. data/doc/xhtml/images/toc-minus.png +0 -0
  239. data/doc/xhtml/images/toc-plus.png +0 -0
  240. data/doc/xhtml/images/up.png +0 -0
  241. data/doc/xhtml/images/up.svg +0 -195
  242. data/doc/xhtml/images/warning.png +0 -0
  243. data/doc/xhtml/images/warning.svg +0 -334
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>with_coverage_analysis (RubyVPI)</title>
8
+ <title>with_coverage_analysis (RubyVpi)</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
13
  <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/rcov.rb, line 57</span>
14
- 57: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RubyVPI</span>.<span class="ruby-identifier">with_coverage_analysis</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">aBlock</span> <span class="ruby-comment cmt"># :yields: Rcov::CodeCoverageAnalyzer</span>
14
+ 57: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RubyVpi</span>.<span class="ruby-identifier">with_coverage_analysis</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">aBlock</span> <span class="ruby-comment cmt"># :yields: Rcov::CodeCoverageAnalyzer</span>
15
15
  58: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aBlock</span>
16
16
  59: <span class="ruby-constant">COVERAGE_ANALYSIS_HANDLERS</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">aBlock</span>
17
17
  60: <span class="ruby-keyword kw">end</span>
@@ -43,7 +43,7 @@
43
43
  218: <span class="ruby-keyword kw">begin</span>
44
44
  219: <span class="ruby-identifier">prop</span> = <span class="ruby-constant">Vpi</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">propName</span>)
45
45
  220: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NameError</span>
46
- 221: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">&quot;invalid VPI property `#{propName}'&quot;</span>
46
+ 221: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">&quot;invalid VPI property #{propName.inspect}&quot;</span>
47
47
  222: <span class="ruby-keyword kw">end</span>
48
48
  223:
49
49
  224: <span class="ruby-comment cmt"># access the VPI property</span>
@@ -121,7 +121,7 @@
121
121
  296: <span class="ruby-keyword kw">end</span>
122
122
  297: <span class="ruby-keyword kw">end</span>
123
123
  298:
124
- 299: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NoMethodError</span>, <span class="ruby-node">&quot;unable to access VPI property `#{propName}' through method `#{aMsg}' with arguments `#{aArgs.inspect}' for handle #{self}&quot;</span>
124
+ 299: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NoMethodError</span>, <span class="ruby-node">&quot;unable to access VPI property #{propName.inspect} through method #{aMsg.inspect} with arguments #{aArgs.inspect} for handle #{self}&quot;</span>
125
125
  300: <span class="ruby-keyword kw">end</span></pre>
126
126
  </body>
127
127
  </html>
@@ -10,9 +10,9 @@
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 bin/generate_test.rb, line 73</span>
14
- 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aName</span>
15
- 74: <span class="ruby-keyword kw">super</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TEMPLATE_PATH</span>, <span class="ruby-identifier">aName</span>))
16
- 75: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File bin/generate_test.rb, line 55</span>
14
+ 55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aName</span>
15
+ 56: <span class="ruby-keyword kw">super</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TEMPLATE_PATH</span>, <span class="ruby-identifier">aName</span>))
16
+ 57: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -55,13 +55,13 @@
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../files/lib/ruby-vpi/xx_rb.html">
59
- lib/ruby-vpi/xx.rb
60
- </a>
61
- <br />
62
58
  <a href="../files/lib/ruby-vpi/rcov_rb.html">
63
59
  lib/ruby-vpi/rcov.rb
64
60
  </a>
61
+ <br />
62
+ <a href="../files/lib/ruby-vpi/xx_rb.html">
63
+ lib/ruby-vpi/xx.rb
64
+ </a>
65
65
  <br />
66
66
  </td>
67
67
  </tr>
@@ -80,7 +80,7 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000024">xhtml_</a>&nbsp;&nbsp;
83
+ <a href="#M000023">xhtml_</a>&nbsp;&nbsp;
84
84
  </div>
85
85
  </div>
86
86
 
@@ -116,12 +116,12 @@ Module <a href="XHTML/Transitional.html" class="link">XX::XHTML::Transitional</a
116
116
  <div id="methods">
117
117
  <h3 class="section-bar">Public Instance methods</h3>
118
118
 
119
- <div id="method-M000024" class="method-detail">
120
- <a name="M000024"></a>
119
+ <div id="method-M000023" class="method-detail">
120
+ <a name="M000023"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="XHTML.src/M000024.html" target="Code" class="method-signature"
124
- onclick="popupCode('XHTML.src/M000024.html');return false;">
123
+ <a href="XHTML.src/M000023.html" target="Code" class="method-signature"
124
+ onclick="popupCode('XHTML.src/M000023.html');return false;">
125
125
  <span class="method-name">xhtml_</span><span class="method-args">(which = XHTML, *a, &amp;b)</span>
126
126
  </a>
127
127
  </div>
@@ -80,7 +80,7 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000026">xhtml_</a>&nbsp;&nbsp;
83
+ <a href="#M000025">xhtml_</a>&nbsp;&nbsp;
84
84
  </div>
85
85
  </div>
86
86
 
@@ -109,12 +109,12 @@
109
109
  <div id="methods">
110
110
  <h3 class="section-bar">Public Instance methods</h3>
111
111
 
112
- <div id="method-M000026" class="method-detail">
113
- <a name="M000026"></a>
112
+ <div id="method-M000025" class="method-detail">
113
+ <a name="M000025"></a>
114
114
 
115
115
  <div class="method-heading">
116
- <a href="Strict.src/M000026.html" target="Code" class="method-signature"
117
- onclick="popupCode('Strict.src/M000026.html');return false;">
116
+ <a href="Strict.src/M000025.html" target="Code" class="method-signature"
117
+ onclick="popupCode('Strict.src/M000025.html');return false;">
118
118
  <span class="method-name">xhtml_</span><span class="method-args">(which = XHTML::Strict, *a, &amp;b)</span>
119
119
  </a>
120
120
  </div>
@@ -80,7 +80,7 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000025">xhtml_</a>&nbsp;&nbsp;
83
+ <a href="#M000024">xhtml_</a>&nbsp;&nbsp;
84
84
  </div>
85
85
  </div>
86
86
 
@@ -109,12 +109,12 @@
109
109
  <div id="methods">
110
110
  <h3 class="section-bar">Public Instance methods</h3>
111
111
 
112
- <div id="method-M000025" class="method-detail">
113
- <a name="M000025"></a>
112
+ <div id="method-M000024" class="method-detail">
113
+ <a name="M000024"></a>
114
114
 
115
115
  <div class="method-heading">
116
- <a href="Transitional.src/M000025.html" target="Code" class="method-signature"
117
- onclick="popupCode('Transitional.src/M000025.html');return false;">
116
+ <a href="Transitional.src/M000024.html" target="Code" class="method-signature"
117
+ onclick="popupCode('Transitional.src/M000024.html');return false;">
118
118
  <span class="method-name">xhtml_</span><span class="method-args">(which = XHTML::Transitional, *a, &amp;b)</span>
119
119
  </a>
120
120
  </div>
@@ -80,7 +80,7 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000023">xmlish_</a>&nbsp;&nbsp;
83
+ <a href="#M000026">xmlish_</a>&nbsp;&nbsp;
84
84
  </div>
85
85
  </div>
86
86
 
@@ -109,12 +109,12 @@
109
109
  <div id="methods">
110
110
  <h3 class="section-bar">Public Instance methods</h3>
111
111
 
112
- <div id="method-M000023" class="method-detail">
113
- <a name="M000023"></a>
112
+ <div id="method-M000026" class="method-detail">
113
+ <a name="M000026"></a>
114
114
 
115
115
  <div class="method-heading">
116
- <a href="XMLish.src/M000023.html" target="Code" class="method-signature"
117
- onclick="popupCode('XMLish.src/M000023.html');return false;">
116
+ <a href="XMLish.src/M000026.html" target="Code" class="method-signature"
117
+ onclick="popupCode('XMLish.src/M000026.html');return false;">
118
118
  <span class="method-name">xmlish_</span><span class="method-args">(*a, &amp;b)</span>
119
119
  </a>
120
120
  </div>
data/ref/ruby/created.rid CHANGED
@@ -1 +1 @@
1
- Sat Sep 30 12:12:59 PDT 2006
1
+ Fri Oct 13 09:38:22 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Fri Oct 13 08:52:41 PDT 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,48 +69,16 @@
69
69
  <div id="contextContent">
70
70
 
71
71
  <div id="description">
72
- <h2>Synopsis</h2>
73
- <p>
74
- Generates Ruby-VPI tests from Verilog 2001 module declarations. A generated
75
- test is composed of the following parts.
72
+ <p>
73
+ Generates Ruby-VPI tests from Verilog 2001 module declarations.
76
74
  </p>
77
- <table>
78
- <tr><td valign="top">Runner:</td><td>Written in Rake, this file builds and runs the test bench.
79
-
80
- </td></tr>
81
- <tr><td valign="top">Bench:</td><td>Written in Verilog and Ruby, these files define the testing environment.
82
-
83
- </td></tr>
84
- <tr><td valign="top">Design:</td><td>Written in Ruby, this file provides an interface to the Verilog module
85
- under test.
86
-
87
- </td></tr>
88
- <tr><td valign="top">Prototype:</td><td>Written in Ruby, this file defines a prototype of the design under test.
89
-
90
- </td></tr>
91
- <tr><td valign="top">Specification:</td><td>Written in Ruby, this file verifies the design.
92
-
93
- </td></tr>
94
- </table>
95
- <p>
96
- The reason for dividing a single test into these parts is mainly to
97
- decouple the design from the specification. This allows humans to focus on
98
- writing the specification while the remainder is automatically generated by
99
- this tool.
100
- </p>
101
- <p>
102
- For example, when the interface of a Verilog module changes, you would
103
- simply re-run this tool to incorporate those changes into the test without
104
- diverting your focus from the specification.
105
- </p>
106
- <h2>Notes</h2>
107
75
  <ul>
108
- <li>If no input files are specified, then the standard input stream will be
109
- read instead.
76
+ <li>If no input files are specified, then the standard input stream is assumed
77
+ to be the input.
110
78
 
111
79
  </li>
112
- <li>The first signal parameter in a module&#8217;s declaration is assumed to be
113
- the clocking signal.
80
+ <li>The first input signal in a module&#8217;s declaration is assumed to be the
81
+ clocking signal.
114
82
 
115
83
  </li>
116
84
  <li>Existing output files will be backed-up before being over-written. A
@@ -10,20 +10,20 @@
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 bin/generate_test.rb, line 51</span>
14
- 51: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_file</span> <span class="ruby-identifier">aPath</span>, <span class="ruby-identifier">aContent</span>
15
- 52: <span class="ruby-comment cmt"># create a backup</span>
16
- 53: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">aPath</span>
17
- 54: <span class="ruby-identifier">backupPath</span> = <span class="ruby-identifier">aPath</span>.<span class="ruby-identifier">dup</span>
18
- 55:
19
- 56: <span class="ruby-keyword kw">while</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">backupPath</span>
20
- 57: <span class="ruby-identifier">backupPath</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'~'</span>
21
- 58: <span class="ruby-keyword kw">end</span>
22
- 59:
23
- 60: <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">cp</span> <span class="ruby-identifier">aPath</span>, <span class="ruby-identifier">backupPath</span>, <span class="ruby-identifier">:preserve</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>
24
- 61: <span class="ruby-keyword kw">end</span>
25
- 62:
26
- 63: <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">aPath</span>, <span class="ruby-value str">'w'</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">aContent</span>}
27
- 64: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File bin/generate_test.rb, line 33</span>
14
+ 33: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_file</span> <span class="ruby-identifier">aPath</span>, <span class="ruby-identifier">aContent</span>
15
+ 34: <span class="ruby-comment cmt"># create a backup</span>
16
+ 35: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">aPath</span>
17
+ 36: <span class="ruby-identifier">backupPath</span> = <span class="ruby-identifier">aPath</span>.<span class="ruby-identifier">dup</span>
18
+ 37:
19
+ 38: <span class="ruby-keyword kw">while</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">backupPath</span>
20
+ 39: <span class="ruby-identifier">backupPath</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'~'</span>
21
+ 40: <span class="ruby-keyword kw">end</span>
22
+ 41:
23
+ 42: <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">cp</span> <span class="ruby-identifier">aPath</span>, <span class="ruby-identifier">backupPath</span>, <span class="ruby-identifier">:preserve</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>
24
+ 43: <span class="ruby-keyword kw">end</span>
25
+ 44:
26
+ 45: <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">aPath</span>, <span class="ruby-value str">'w'</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">aContent</span>}
27
+ 46: <span class="ruby-keyword kw">end</span></pre>
28
28
  </body>
29
29
  </html>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Thu Oct 12 18:12:46 PDT 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,10 +69,18 @@
69
69
  <div id="contextContent">
70
70
 
71
71
  <div id="description">
72
- <h2>Synopsis</h2>
73
- <p>
74
- Transforms Verilog header files into Ruby syntax.
72
+ <p>
73
+ Transforms Verilog header files into Ruby.
75
74
  </p>
75
+ <ul>
76
+ <li>If no input files are specified, then the standard input stream is assumed
77
+ to be the input.
78
+
79
+ </li>
80
+ <li>The resulting output is emitted to the standard output stream.
81
+
82
+ </li>
83
+ </ul>
76
84
 
77
85
  </div>
78
86
 
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 22:41:12 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:52 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Fri Oct 13 08:57:12 PDT 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -129,15 +129,10 @@ task.
129
129
 
130
130
  <div class="name-list">
131
131
  <table summary="Constants">
132
- <tr class="top-aligned-row context-row">
133
- <td class="context-item-name">LIBRARY_PATH</td>
134
- <td>=</td>
135
- <td class="context-item-value">File.join(File.dirname(__FILE__), '..')</td>
136
- </tr>
137
132
  <tr class="top-aligned-row context-row">
138
133
  <td class="context-item-name">OBJECT_PATH</td>
139
134
  <td>=</td>
140
- <td class="context-item-value">File.join(LIBRARY_PATH, '..', 'obj')</td>
135
+ <td class="context-item-value">File.join(File.dirname(__FILE__), '..', '..', 'obj')</td>
141
136
  </tr>
142
137
  </table>
143
138
  </div>
@@ -10,11 +10,11 @@
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/runner.rb, line 49</span>
14
- 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_file_path</span> <span class="ruby-identifier">aSimId</span>, <span class="ruby-identifier">aShared</span> = <span class="ruby-keyword kw">false</span>
15
- 50: <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">OBJECT_PATH</span>, <span class="ruby-node">&quot;ruby-vpi.#{aSimId}.#{aShared ? 'so' : 'o'}&quot;</span>)
16
- 51: <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Object file `#{path}' is missing.\n Please build Ruby-VPI to generate the missing file.&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">path</span>
17
- 52: <span class="ruby-identifier">path</span>
18
- 53: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/runner.rb, line 44</span>
14
+ 44: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_file_path</span> <span class="ruby-identifier">aSimId</span>, <span class="ruby-identifier">aShared</span> = <span class="ruby-keyword kw">false</span>
15
+ 45: <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">OBJECT_PATH</span>, <span class="ruby-node">&quot;ruby-vpi.#{aSimId}.#{aShared ? 'so' : 'o'}&quot;</span>)
16
+ 46: <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Object file #{path.inspect} is missing.\n Rebuild Ruby-VPI to generate the missing file.&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">path</span>
17
+ 47: <span class="ruby-identifier">path</span>
18
+ 48: <span class="ruby-keyword kw">end</span></pre>
19
19
  </body>
20
20
  </html>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Wed Oct 11 21:49:40 PDT 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>Sat Sep 30 12:12:53 PDT 2006</td>
59
+ <td>Fri Oct 13 08:51:59 PDT 2006</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>