ruby-vpi 11.1.0 → 11.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. data/Rakefile +8 -37
  2. data/bin/generate_test_tpl/bench.v +1 -1
  3. data/doc/{src/LICENSE → LICENSE} +0 -0
  4. data/doc/Rakefile +39 -14
  5. data/doc/common.css +144 -0
  6. data/doc/common.tpl +49 -0
  7. data/doc/figures/figures.dia +1589 -0
  8. data/doc/history.erb +18 -0
  9. data/doc/history.html +1726 -0
  10. data/doc/history.rb +14 -0
  11. data/doc/history.yml +686 -0
  12. data/doc/images/{COPYING → LICENSE} +0 -0
  13. data/doc/intro.inc +48 -0
  14. data/doc/lib/doc_format.rb +62 -0
  15. data/doc/lib/doc_proxy.rb +160 -0
  16. data/doc/lib/erb_content.rb +67 -0
  17. data/doc/lib/erb_proxy.rb +48 -0
  18. data/doc/manual.erb +768 -0
  19. data/doc/manual.html +2107 -0
  20. data/doc/manual.rb +5 -0
  21. data/{MEMO → doc/memo.erb} +0 -0
  22. data/{memo.part.html → doc/memo.html} +38 -5
  23. data/doc/readme.erb +36 -0
  24. data/doc/readme.html +171 -0
  25. data/index.html +1 -0
  26. data/lib/ruby-vpi/float.rb +52 -0
  27. data/lib/ruby-vpi/rspec.rb +6 -1
  28. data/lib/ruby-vpi/verilog_parser.rb +4 -5
  29. data/ref/c/annotated.html +1 -6
  30. data/ref/c/common_8h.html +1 -1
  31. data/ref/c/files.html +1 -3
  32. data/ref/c/functions.html +24 -44
  33. data/ref/c/functions_vars.html +24 -44
  34. data/ref/c/globals.html +5 -211
  35. data/ref/c/globals_0x63.html +32 -49
  36. data/ref/c/globals_0x65.html +3 -10
  37. data/ref/c/globals_0x66.html +3 -20
  38. data/ref/c/globals_0x70.html +19 -26
  39. data/ref/c/globals_0x72.html +4 -15
  40. data/ref/c/globals_0x73.html +13 -199
  41. data/ref/c/globals_0x74.html +2 -9
  42. data/ref/c/globals_0x76.html +415 -426
  43. data/ref/c/globals_0x78.html +3 -10
  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 +413 -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 +14 -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/relay_8c.html +1 -1
  56. data/ref/c/relay_8h.html +1 -1
  57. data/ref/c/structrelay____RubyOptions____def.html +1 -1
  58. data/ref/c/structt__cb__data.html +6 -23
  59. data/ref/c/structt__vpi__delay.html +3 -20
  60. data/ref/c/structt__vpi__error__info.html +3 -71
  61. data/ref/c/structt__vpi__strengthval.html +3 -3
  62. data/ref/c/structt__vpi__systf__data.html +12 -46
  63. data/ref/c/structt__vpi__time.html +3 -3
  64. data/ref/c/structt__vpi__value.html +3 -113
  65. data/ref/c/structt__vpi__vecval.html +3 -3
  66. data/ref/c/structt__vpi__vlog__info.html +3 -54
  67. data/ref/c/swig_8c.html +2 -2
  68. data/ref/c/swig_8h.html +1 -1
  69. data/ref/c/verilog_8h.html +1 -1
  70. data/ref/c/vlog_8c.html +1 -1
  71. data/ref/c/vlog_8h.html +1 -1
  72. data/ref/c/vpi__user_8h.html +16 -16
  73. data/ref/ruby/classes/ERB.html +5 -5
  74. data/ref/ruby/classes/ERB.src/{M000034.html → M000036.html} +0 -0
  75. data/ref/ruby/classes/FileUtils.html +10 -10
  76. data/ref/ruby/classes/FileUtils.src/{M000081.html → M000083.html} +0 -0
  77. data/ref/ruby/classes/FileUtils.src/{M000082.html → M000084.html} +0 -0
  78. data/ref/ruby/classes/Float.html +140 -0
  79. data/ref/ruby/classes/Float.src/M000031.html +19 -0
  80. data/ref/ruby/classes/RDoc.html +5 -5
  81. data/ref/ruby/classes/RDoc.src/{M000095.html → M000097.html} +0 -0
  82. data/ref/ruby/classes/RubyVpi.html +10 -10
  83. data/ref/ruby/classes/RubyVpi.src/{M000083.html → M000085.html} +0 -0
  84. data/ref/ruby/classes/RubyVpi.src/{M000084.html → M000086.html} +0 -0
  85. data/ref/ruby/classes/String.html +33 -10
  86. data/ref/ruby/classes/String.src/M000033.html +28 -5
  87. data/ref/ruby/classes/String.src/M000034.html +18 -0
  88. data/ref/ruby/classes/String.src/M000035.html +36 -0
  89. data/ref/ruby/classes/Template.html +5 -5
  90. data/ref/ruby/classes/Template.src/{M000031.html → M000032.html} +0 -0
  91. data/ref/ruby/classes/VerilogParser/Module.src/M000006.html +9 -8
  92. data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000011.html +5 -7
  93. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html +7 -7
  94. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +4 -4
  95. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000009.html +4 -4
  96. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000010.html +4 -4
  97. data/ref/ruby/classes/Vpi/Handle.html +46 -46
  98. data/ref/ruby/classes/Vpi/Handle.src/M000087.html +5 -9
  99. data/ref/ruby/classes/Vpi/Handle.src/M000088.html +5 -31
  100. data/ref/ruby/classes/Vpi/Handle.src/M000089.html +9 -74
  101. data/ref/ruby/classes/Vpi/Handle.src/M000090.html +31 -17
  102. data/ref/ruby/classes/Vpi/Handle.src/M000091.html +74 -11
  103. data/ref/ruby/classes/Vpi/Handle.src/M000092.html +30 -0
  104. data/ref/ruby/classes/Vpi/Handle.src/M000093.html +11 -55
  105. data/ref/ruby/classes/Vpi/Handle.src/M000095.html +68 -0
  106. data/ref/ruby/classes/Vpi/Handle/Property.html +5 -5
  107. data/ref/ruby/classes/Vpi/Handle/Property.src/{M000094.html → M000096.html} +0 -0
  108. data/ref/ruby/classes/XX/Document.html +45 -45
  109. data/ref/ruby/classes/XX/Document.src/M000074.html +9 -7
  110. data/ref/ruby/classes/XX/Document.src/M000075.html +7 -7
  111. data/ref/ruby/classes/XX/Document.src/M000076.html +7 -9
  112. data/ref/ruby/classes/XX/Document.src/M000077.html +7 -8
  113. data/ref/ruby/classes/XX/Document.src/M000078.html +9 -8
  114. data/ref/ruby/classes/XX/Document.src/M000079.html +8 -21
  115. data/ref/ruby/classes/XX/Document.src/M000080.html +8 -85
  116. data/ref/ruby/classes/XX/Document.src/M000081.html +34 -0
  117. data/ref/ruby/classes/XX/Document.src/M000082.html +98 -0
  118. data/ref/ruby/classes/XX/HTML4.html +5 -5
  119. data/ref/ruby/classes/XX/HTML4.src/{M000036.html → M000038.html} +0 -0
  120. data/ref/ruby/classes/XX/HTML4/Strict.html +5 -5
  121. data/ref/ruby/classes/XX/HTML4/Strict.src/{M000038.html → M000040.html} +0 -0
  122. data/ref/ruby/classes/XX/HTML4/Transitional.html +5 -5
  123. data/ref/ruby/classes/XX/HTML4/Transitional.src/{M000037.html → M000039.html} +0 -0
  124. data/ref/ruby/classes/XX/Markup.html +5 -5
  125. data/ref/ruby/classes/XX/Markup.src/{M000043.html → M000045.html} +0 -0
  126. data/ref/ruby/classes/XX/Markup/ClassMethods.html +40 -40
  127. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000046.html +9 -12
  128. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000047.html +7 -7
  129. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000048.html +12 -14
  130. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000049.html +7 -7
  131. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000050.html +14 -14
  132. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000051.html +7 -9
  133. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000052.html +27 -0
  134. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000053.html +22 -0
  135. data/ref/ruby/classes/XX/Markup/InstanceMethods.html +100 -100
  136. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +43 -18
  137. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +20 -35
  138. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000056.html +18 -7
  139. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000057.html +35 -18
  140. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000058.html +7 -19
  141. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000059.html +18 -19
  142. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000060.html +19 -15
  143. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000061.html +19 -10
  144. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000062.html +15 -13
  145. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000063.html +10 -7
  146. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000064.html +13 -7
  147. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000065.html +7 -7
  148. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000066.html +7 -7
  149. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000067.html +7 -7
  150. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000068.html +7 -8
  151. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000069.html +7 -7
  152. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000070.html +8 -7
  153. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000071.html +7 -7
  154. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000072.html +20 -0
  155. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000073.html +20 -0
  156. data/ref/ruby/classes/XX/XHTML.html +5 -5
  157. data/ref/ruby/classes/XX/XHTML.src/{M000039.html → M000041.html} +0 -0
  158. data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
  159. data/ref/ruby/classes/XX/XHTML/Strict.src/{M000041.html → M000043.html} +0 -0
  160. data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
  161. data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000040.html → M000042.html} +0 -0
  162. data/ref/ruby/classes/XX/XML.html +5 -5
  163. data/ref/ruby/classes/XX/XML.src/{M000035.html → M000037.html} +0 -0
  164. data/ref/ruby/classes/XX/XMLish.html +5 -5
  165. data/ref/ruby/classes/XX/XMLish.src/{M000042.html → M000044.html} +0 -0
  166. data/ref/ruby/created.rid +1 -1
  167. data/ref/ruby/files/lib/ruby-vpi/float_rb.html +101 -0
  168. data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
  169. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
  170. data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
  171. data/ref/ruby/fr_class_index.html +1 -0
  172. data/ref/ruby/fr_file_index.html +1 -0
  173. data/ref/ruby/fr_method_index.html +69 -67
  174. data/samp/counter/counter.v +4 -4
  175. data/samp/counter/counter_rspec_spec.rb +4 -8
  176. data/samp/counter/counter_xunit_spec.rb +4 -8
  177. metadata +112 -196
  178. data/HEADER +0 -97
  179. data/HISTORY +0 -687
  180. data/README +0 -23
  181. data/doc/background.html +0 -3
  182. data/doc/background.methodology.html +0 -3
  183. data/doc/background.organization.html +0 -10
  184. data/doc/background.running-tests.html +0 -3
  185. data/doc/background.terminology.html +0 -3
  186. data/doc/gfdl-0.html +0 -18
  187. data/doc/gfdl-1.html +0 -70
  188. data/doc/gfdl-10.html +0 -15
  189. data/doc/gfdl-2.html +0 -13
  190. data/doc/gfdl-3.html +0 -31
  191. data/doc/gfdl-4.html +0 -75
  192. data/doc/gfdl-5.html +0 -20
  193. data/doc/gfdl-6.html +0 -12
  194. data/doc/gfdl-7.html +0 -16
  195. data/doc/gfdl-8.html +0 -17
  196. data/doc/gfdl-9.html +0 -9
  197. data/doc/gfdl-addendum.html +0 -25
  198. data/doc/gfdl.html +0 -11
  199. data/doc/glossary.html +0 -3
  200. data/doc/hacking.html +0 -3
  201. data/doc/hacking.release-packages.html +0 -7
  202. data/doc/images/ChangeLog +0 -27
  203. data/doc/images/blank.png +0 -0
  204. data/doc/images/callouts/1.png +0 -0
  205. data/doc/images/callouts/10.png +0 -0
  206. data/doc/images/callouts/11.png +0 -0
  207. data/doc/images/callouts/12.png +0 -0
  208. data/doc/images/callouts/13.png +0 -0
  209. data/doc/images/callouts/14.png +0 -0
  210. data/doc/images/callouts/15.png +0 -0
  211. data/doc/images/callouts/2.png +0 -0
  212. data/doc/images/callouts/3.png +0 -0
  213. data/doc/images/callouts/4.png +0 -0
  214. data/doc/images/callouts/5.png +0 -0
  215. data/doc/images/callouts/6.png +0 -0
  216. data/doc/images/callouts/7.png +0 -0
  217. data/doc/images/callouts/8.png +0 -0
  218. data/doc/images/callouts/9.png +0 -0
  219. data/doc/images/callouts/ChangeLog +0 -15
  220. data/doc/images/copyright +0 -55
  221. data/doc/images/draft.png +0 -0
  222. data/doc/images/toc-blank.png +0 -0
  223. data/doc/images/toc-minus.png +0 -0
  224. data/doc/images/toc-plus.png +0 -0
  225. data/doc/index.html +0 -4
  226. data/doc/introduction.html +0 -3
  227. data/doc/introduction.license.html +0 -3
  228. data/doc/introduction.manifest.html +0 -3
  229. data/doc/introduction.related-works.html +0 -3
  230. data/doc/introduction.resources.html +0 -3
  231. data/doc/manual.txt +0 -1852
  232. data/doc/problem.ivl.html +0 -18
  233. data/doc/problems.html +0 -3
  234. data/doc/problems.ruby.html +0 -3
  235. data/doc/problems.vsim.html +0 -3
  236. data/doc/setup.html +0 -3
  237. data/doc/setup.installation.html +0 -9
  238. data/doc/setup.maintenance.html +0 -3
  239. data/doc/setup.reqs.html +0 -3
  240. data/doc/src/figures.dia +0 -0
  241. data/doc/src/license.xml +0 -446
  242. data/doc/src/manual.xml +0 -1824
  243. data/doc/src/manual.xsl +0 -23
  244. data/doc/src/shared.dtd +0 -62
  245. data/doc/styles/manual.css +0 -91
  246. data/doc/usage.examples.html +0 -3
  247. data/doc/usage.html +0 -3
  248. data/doc/usage.tools.html +0 -9
  249. data/doc/usage.tutorial.html +0 -189
  250. data/header.html +0 -95
  251. data/header.part.html +0 -95
  252. data/history.html +0 -1442
  253. data/history.part.html +0 -1346
  254. data/memo.html +0 -211
  255. data/readme.html +0 -138
  256. data/readme.part.html +0 -42
  257. data/ref/c/globals_0x62.html +0 -62
  258. data/ref/c/globals_0x67.html +0 -64
  259. data/ref/c/globals_0x69.html +0 -62
  260. data/ref/c/globals_0x6c.html +0 -64
  261. data/ref/c/globals_0x6d.html +0 -62
  262. data/ref/c/globals_0x6e.html +0 -63
  263. data/ref/c/globals_0x75.html +0 -63
  264. data/ref/c/globals_defs_0x6c.html +0 -57
  265. data/ref/c/globals_defs_0x6e.html +0 -56
  266. data/ref/c/globals_defs_0x72.html +0 -57
  267. data/ref/c/globals_defs_0x73.html +0 -164
  268. data/ref/c/globals_defs_0x75.html +0 -56
  269. data/ref/c/globals_func_0x66.html +0 -62
  270. data/ref/c/globals_func_0x67.html +0 -55
  271. data/ref/c/globals_func_0x69.html +0 -53
  272. data/ref/c/globals_func_0x70.html +0 -53
  273. data/ref/c/globals_func_0x72.html +0 -57
  274. data/ref/c/globals_func_0x73.html +0 -114
  275. data/ref/c/globals_func_0x76.html +0 -57
  276. data/ref/c/structswig__cast__info.html +0 -98
  277. data/ref/c/structswig__class.html +0 -115
  278. data/ref/c/structswig__module__info.html +0 -132
  279. data/ref/c/structswig__type__info.html +0 -132
  280. data/ref/c/swig__vpi_8h.html +0 -8739
  281. data/ref/c/swig__wrap_8cin.html +0 -11556
  282. data/ref/c/unions__vpi__value__value.html +0 -166
  283. data/ref/ruby/classes/String.src/M000032.html +0 -41
  284. data/ref/ruby/classes/Vpi/Handle.src/M000085.html +0 -18
  285. data/ref/ruby/classes/Vpi/Handle.src/M000086.html +0 -18
  286. data/ref/ruby/classes/XX/Document.src/M000072.html +0 -22
  287. data/ref/ruby/classes/XX/Document.src/M000073.html +0 -20
  288. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000044.html +0 -22
  289. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000045.html +0 -20
  290. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +0 -56
  291. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +0 -33
  292. data/style.css +0 -47
data/doc/history.rb ADDED
@@ -0,0 +1,14 @@
1
+ require 'yaml'
2
+ @history = YAML.load_file(File.join(File.dirname(__FILE__), 'history.yml'))
3
+
4
+ def format_history_entry aEntry
5
+ output = "h1. Version #{aEntry['Version']} (#{aEntry['Date']})\n\n"
6
+
7
+ %w[Summary Acknowledgment Notice Detail].each do |key|
8
+ if content = aEntry[key]
9
+ output << "h2. #{key}\n\n#{content}\n\n"
10
+ end
11
+ end
12
+
13
+ output
14
+ end
data/doc/history.yml ADDED
@@ -0,0 +1,686 @@
1
+ -
2
+ Version: 11.1.1
3
+
4
+ Date: 2006-11-15
5
+
6
+ Summary: |
7
+ This release fixes a bug in the automated test generator, unifies the user manual and the website into a single documentation system, and adds support for rSpec 0.7.2.
8
+
9
+ Acknowledgment: |
10
+ Thanks to John Burr for finding the bug in the automated test generator.
11
+
12
+ Notice: |
13
+ * The user manual is now available _only_ in HTML format. If you still wish to have a plain-text version, you can use a text-based browser, such as "lynx":http://lynx.browser.org/, to perform the necessary conversion.
14
+
15
+ Detail: |
16
+ * The automated test generator no longer crashes when parsing a Verilog module declaration that contains multiple module parameters.
17
+
18
+ * The user manual and the website are now written using a custom documentation system based on RedCloth and ERB instead of DocBook-XML. This makes it easier to edit the user manual and reuse its content in other areas of the website.
19
+
20
+
21
+ -
22
+ Version: 11.1.0
23
+
24
+ Date: 2006-11-08
25
+
26
+ Summary: |
27
+ This release fixes a bug in generated benches, improves the "the @Vpi::Handle@ class":../ref/ruby/classes/Vpi/Handle.html, and improves performance by roughly 20%.
28
+
29
+ Acknowledgment: |
30
+ Thanks to Matt Fischler for finding the bug in generated benches (see below).
31
+
32
+ Notice: |
33
+ * A bug in generated Verilog and Ruby benches, which caused the <pre>ruby: no such file to load -- ruby-vpi (LoadError)</pre> error, has been fixed. Please regenerate your tests to apply this bug fix to your tests.
34
+
35
+ Detail: |
36
+ * The class @SWIG::TYPE_p_unsigned_int@ has been aliased as @Vpi::Handle@ for easier access.
37
+
38
+ * @Vpi::Handle.to_s@ and @Vpi::Handle.inspect@ now produce more informative output. For example, what used to appear as <pre>#<SWIG::TYPE_p_unsigned_int:0x2aaab6574fa0></pre> now appears as <pre>#<Vpi::Handle vpiModule fullName=counter_rspec_bench, size=-1, file=counter_rspec_bench.v, lineNo=2></pre> in this release.
39
+ ** You can also provide a list of VPI properties, as names or integer constants, to those methods to see additional information in the output.
40
+
41
+ * @Vpi::Handle@ now implements all methods from @Enumerable@, such as @map@, @each@, @select@, and so on. However, unlike their counterparts in @Enumerable@, these methods also accept a list of VPI properties, as names or integer constants. Thus, you are now able to write @handle.select(:reg, :net) {|h| h.size > 5}@ to obtain a list of child handles to registers and nets whose capacity is greater than 5 bits.
42
+
43
+ * The @Vpi::Handle.[]@, @Vpi::Handle.get_value@, and @Vpi::Handle.put_value@ methods now accept names of VPI properties as well as their integer constants. Thus, you are now able to write @handle[:reg, :net]@ to obtain a list of handles to all child registers and nets.
44
+
45
+ * @Vpi::Handle.method_missing@ has been refactored to cache queries. There is now, approximately, 20% improvement in performance.
46
+
47
+ * @Vpi::Handle.method_missing@ has been fixed to accept operations with multiple underscores. For example, before this release, you could not write @handle.find_all_reg {|r| r.name =~ /foo/}@ because the "find_all_reg" method would be interpreted as the operation "find" and the VPI property "all_reg".
48
+
49
+ * @Vpi::Handle.method_missing@ no longer requires that the first letter of a method be lower case. For example, now you can now write @handle.IntVal@ in addition to @handle.intVal@.
50
+
51
+ * The @IntegerGenerator@ class, in the pipelined ALU example, has been fixed so that multiple instances do not interfere with the generation of each other's prime integers.
52
+
53
+ * Due to a bug in the <tt>Rakefile</tt>, the reference documentation was not included in the previous few releases. This has been fixed.
54
+
55
+
56
+ -
57
+ Version: 11.0.0
58
+
59
+ Date: 2006-11-05
60
+
61
+ Summary: |
62
+ This release shortens generated Ruby benches and uses the less confusing notation for defining "singleton methods":http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial in generated designs and prototypes.
63
+
64
+ Notice: |
65
+ * The arguments for the "@RubyVPI.init_bench@ method":../ref/ruby/classes/RubyVpi.html have changed.
66
+
67
+ * *generate_test.rb* no longer emits undocumented status indicators: _name_ and _format_.
68
+
69
+ * The source code is no longer distributed as a *zip* package, because it seems to be quite underutilized in comparison to the *tgz* and *gem* packages.
70
+
71
+ Detail: |
72
+ * Generated Ruby benches have been shortened to just _one_ line of code!
73
+
74
+ * The less confusing notation of <code>def some_object.a_singleton_method
75
+ do_stuff
76
+ end</code> is now used instead of the <code>class << some_object
77
+ def a_singleton_method
78
+ do_stuff
79
+ end
80
+ end</code> notation.
81
+ ** The tutorial and examples have been updated accordingly.
82
+
83
+ * The pipelined ALU example now has an updated @IntegerGenerator@ class.
84
+
85
+
86
+ -
87
+ Version: 10.0.0
88
+
89
+ Date: 2006-11-05
90
+
91
+ Summary: |
92
+ This release adds the ability to access a handle's children and reduces the amount of code produced by the automated test generator.
93
+
94
+ Acknowledgment: |
95
+ Thanks to Matt Fischler for finding the problem of misdirected compilation errors in Verilog benches.
96
+
97
+ Notice: |
98
+ * The way in which Ruby-VPI and generated tests interact has changed: the design is now a VPI handle object and the <tt>design.rb</tt> and <tt>proto.rb</tt> files define "singleton methods":http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial for that object.
99
+ ** I suggest that you regenerate your existing tests (just run *generate_test.rb* again) whilst employing the service of a text merging tool (see the user manual).
100
+
101
+ * You can now access a handle's children by simply calling methods on it. In the event that a child handle has the same name as a VPI property, the child is given priority. However, you can always access VPI properties explicitly via the @get_value@ and @put_value@ methods.
102
+
103
+ * *generate_test.rb* no longer accepts the <pre>-s</pre> and <pre>-u</pre> options. Use their longer counterparts <pre>--rspec</pre> and <pre>--xunit</pre> instead.
104
+
105
+
106
+ Detail: |
107
+ h3. Automated test generator
108
+
109
+ * Generated Verilog benches no longer divert compilation errors from Verilog design files. That is, if the Verilog simulator finds compilation errors in a Verilog design file, it will report that the Verilog design file is at fault (instead of reporting that the generated Verilog bench is at fault).
110
+
111
+ * The user is now notified when a backup of an existing file is made.
112
+
113
+ * Generated tests have been greatly simplified to reduce the amount of work for the user.
114
+ ** The design is now just a handle to the module in the Verilog bench.
115
+ ** @include Vpi@ and @@design@ are no longer generated.
116
+ ** The tutorial and examples have been updated accordingly.
117
+
118
+ h3. User manual
119
+
120
+ * Revised the stylesheet to make disjoint sections readily distinguishable from each other, through generous spacing and minor coloring.
121
+
122
+ * Added tips about <tt>ruby-vpi/runner_proxy</tt>, <pre>rake -T</pre>, and using *kdiff3* with *generate_test.rb*.
123
+
124
+ * Moved installation information into a new "setup" chapter.
125
+
126
+
127
+ -
128
+ Version: 9.0.0
129
+
130
+ Date: 2006-10-28
131
+
132
+ Summary: |
133
+ This release improves the automated test generator and adds new content to the user manual.
134
+
135
+ Acknowledgment: |
136
+ Thanks to Matt Fischler for helping test and debug the installation of Ruby-VPI on Windows.
137
+
138
+ Notice: |
139
+ * The command-line options for *generate_test.rb* have changed. Run the command <pre>generate_test.rb --help</pre> for details.
140
+
141
+ Detail: |
142
+ * Test runners now attempt to resolve paths in @SIMULATOR_SOURCES@ by searching for them within the directories specified in @SIMULATOR_INCLUDES@.
143
+
144
+ * Synopsys VCS is now used in a better way (via the <pre>-load</pre> option).
145
+ ** The old PLI table file (<tt>synopsys_vcs.tab</tt>) has been removed.
146
+ ** The C extension has been revised accordingly.
147
+
148
+ ** The C extension now compiles without errors in Cygwin.
149
+
150
+ * The automated test generator now:
151
+ ** Only creates output files when necessary.
152
+ ** Updates existing output files using "text merging tools":manual.html#setup.recom if possible. (Refer to @MERGER@ in the help information of *generate_test.rb*.)
153
+ ** Emits progress information similar to Ruby on Rails.
154
+
155
+ * The user manual now:
156
+ ** Includes instructions for installing on Windows (via Cygwin).
157
+ ** Has a recommended software section, with links to text merging tools.
158
+ ** Uses the term "xUnit":http://en.wikipedia.org/wiki/XUnit instead of "unit test".
159
+ ** Correctly spells "rSpec".
160
+
161
+
162
+ -
163
+ Version: 8.2.0
164
+
165
+ Date: 2006-10-24
166
+
167
+ Summary: |
168
+ This release simplifies configuration of generated tests.
169
+
170
+ Acknowledgment: |
171
+ Thanks to "students in CMPE-126":http://www.soe.ucsc.edu/classes/cmpe126/Fall06/ for their comments.
172
+
173
+ Notice: |
174
+ * Generated runners now have a @SIMULATOR_INCLUDES@ array, whose entries specify places where Verilog source files, needed by the Verilog design, reside.
175
+
176
+ Detail: |
177
+ * Generated Verilog benches now inherit all @`include@ and @`define@ directives from the Verilog design in a simpler manner.
178
+ * A generated test no longer requires its Verilog design to reside in the same directory.
179
+ * The sample tests have been updated accordingly.
180
+
181
+
182
+ -
183
+ Version: 8.1.0
184
+
185
+ Date: 2006-10-21
186
+
187
+ Summary: |
188
+ This release adds an integer library and renames the vpi_util library.
189
+
190
+ Notice: |
191
+ * The *vpi_util* library has been renamed to *vpi*. This change should not affect your code unless you explicitly imported this library via @require 'ruby-vpi/vpi_util'@. In which case, you should update your code to use @require 'ruby-vpi/vpi'@ accordingly.
192
+
193
+ Detail: |
194
+ * An integer library has been added to simplify common tasks related to hardware and the binary number system. You can import this library for use via @require 'ruby-vpi/integer'@.
195
+
196
+
197
+ -
198
+ Version: 8.0.0
199
+
200
+ Date: 2006-10-13
201
+
202
+ Summary: |
203
+ This release renames some identifiers for consistency, updates the documentation, and improves integration with RubyGems.
204
+
205
+ Notice: |
206
+ * The @RubyVPI@ module has been renamed to @RubyVpi@.
207
+
208
+ * The @PROTO@ environment variable has been renamed to @PROTOTYPE@.
209
+ ** In addition to using *unset*, you can now disable simulation of the prototype by assigning an empty value to this variable.
210
+
211
+ Detail: |
212
+ * We now use "Darcs":http://darcs.net for revision control, instead of Subversion. The source repository can now be accessed at "http://ruby-vpi.rubyforge.org/src/ruby-vpi":http://ruby-vpi.rubyforge.org/src/ruby-vpi.
213
+
214
+ * The source code is now distributed in tar.gz and zip form, in addition to gem.
215
+
216
+ * Some identifiers have been renamed for better consistency.
217
+
218
+ * The user manual now resides directly within the <tt>doc/</tt> directory.
219
+ ** The integration of documentation in *gem_server* has been improved.
220
+
221
+ * The glossary and tutorial in the user manual have been revised.
222
+
223
+
224
+ -
225
+ Version: 7.3.0
226
+
227
+ Date: 2006-09-30
228
+
229
+ Summary: |
230
+ This release fixes a bug in generated Verilog benches, includes parsed constants in generated tests, and adds new methods to handles.
231
+
232
+ Notice: |
233
+ * Handles now have two new methods:
234
+ ** @handle.x?@ checks if the logic value is "don't care"
235
+ ** @handle.z?@ checks if the logic value is high impedance
236
+
237
+ Detail: |
238
+ * Module instantiation code in generated Verilog benches has been fixed. Whitespace between the module type and instance variable was missing.
239
+
240
+ * The test generator tool now provides parsed Verilog constants and include-directives in generated Verilog benches; and parsed Verilog constants in generated Ruby designs.
241
+ ** The pipelined ALU example has been revised accordingly.
242
+
243
+ * A library for parsing Verilog source code has been added as <tt>lib/ruby-vpi/verilog_parser.rb</tt>.
244
+
245
+
246
+ -
247
+ Version: 7.2.0
248
+
249
+ Date: 2006-09-15
250
+
251
+ Summary: |
252
+ This release adds initial[1] support for code coverage analysis via the "rcov library":http://eigenclass.org/hiki.rb?rcov.
253
+
254
+ Acknowledgment: |
255
+ Thanks to Mauricio Fernandez for helping me use rcov without its runner.
256
+
257
+ Detail: |
258
+ * Added initial support (full capabilites of the rcov library, such as its various analysis modes, are not yet utilized) for code coverage analysis, which can be enabled by setting the @COVERAGE@ environment variable to a non-empty value before running a test.
259
+ ** For example, you can run a test with the GPL Cver simulator while enabling the generation of code coverage reports as follows: <pre>export COVERAGE=1; rake cver</pre>
260
+
261
+ * Coverage reports are generated in text and HTML formats.
262
+
263
+
264
+ -
265
+ Version: 7.1.0
266
+
267
+ Date: 2006-08-29
268
+
269
+ Summary: |
270
+ This release simplifies running of multiple tests, restores compatibility with Synopsys VCS, and better integrates with RubyGems.
271
+
272
+ Detail: |
273
+ * Added <tt>lib/ruby-vpi/runner_proxy.rb</tt> library which, when embedded into a Rakefile, runs all generated tests in the working directory with any specified arguments. For example, have a look at the <tt>samp/counter/Rakefile</tt> file.
274
+
275
+ * Fixed a bug that prevented one from running tests with Synopsys VCS.
276
+
277
+ * Ruby-VPI documentation is now available through RubyGems' "*gem_server* web interface":http://docs.rubygems.org/read/chapter/2#page10.
278
+
279
+ * The user manual now discusses how to determine the location of a Ruby-VPI installation.
280
+
281
+ * The <tt>tpl/</tt> directory has been removed.
282
+
283
+
284
+ -
285
+ Version: 7.0.0
286
+
287
+ Date: 2006-08-29
288
+
289
+ Summary: |
290
+ This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.
291
+
292
+ Notice: |
293
+ * @put_value()@ now accomodates register value overflows when verifying the value it has written.
294
+
295
+ * The test generator's templates and the examples have been updated as follows:
296
+ ** Test runners no longer have to specify the path to Ruby-VPI installation directory. Instead, they simply @require 'ruby-vpi/runner'@. Thus, you can run your tests on any machine with Ruby-VPI without having to know where it is installed.
297
+ ** Ruby benches now invoke @RubyVPI.init_bench@ instead of @require 'bench'; setup_bench@ to become initialized.
298
+
299
+ * All Ruby libraries in the <tt>lib/</tt> directory have been moved into <tt>lib/ruby-vpi/</tt> to prevent load-path clashes with other gems. You should access these libraries by prefixing their path with "ruby-vpi". For example, @require 'vpi_util'@ should now be written as @require 'ruby-vpi/vpi_util'@.
300
+
301
+ * The <tt>src/</tt> directory has been renamed to <tt>ext/</tt> to follow RubyGems convention.
302
+
303
+ Detail: |
304
+ * Ruby-VPI is now distributed only as a "source gem":http://www.rubygems.org. You can decompress the gem without installing it onto your system by running the command <pre>gem install -i output_directory ruby-vpi-7.0.0.gem</pre>. In addition, you can still obtain the source code directly from the Subversion repository.
305
+
306
+ * The tools in <tt>bin/</tt> become available in your system's <tt>bin/</tt> directory when the gem is installed.
307
+ ** Usage and help information has been added to the *header_to_ruby.rb* tool.
308
+
309
+ * Incorrect spelling of GPL Cver (v should be uncapitalized) has been fixed.
310
+
311
+ * Incorrect link to GPL Cver website has been fixed.
312
+
313
+ * The user manual has been updated according to all of the above changes.
314
+
315
+
316
+ -
317
+ Version: 6.3.0
318
+
319
+ Date: 2006-08-27
320
+
321
+ Summary: |
322
+ This release adds support for the GPL Cver simulator, provides both binary and source packages, and explicitly defines the version numbering system.
323
+
324
+ Notice: |
325
+ * Ruby-VPI now only needs to be built once.
326
+ ** You can run tests with different Verilog simulators without having to re-compile Ruby-VPI.
327
+
328
+ Detail: |
329
+ * The GPL Cver simulator is now supported.
330
+
331
+ * Release packages are now available in both source and binary form.
332
+
333
+ * The RSpec based specifications for the counter example now use the @should_equal@ instead of the @should_be@ assertion, because the latter ensures strict equivalence. For instance, it will fail when a Fixnum is compared to a Bignum.
334
+
335
+ * We now follow the RubyGems project's "rational versioning policy":http://www.rubygems.org/read/chapter/7. The version numbers of previous releases have been revised accordingly:
336
+ |_. Release date |_. Original version number |_. New version number |
337
+ | 1999-10-31 | 0.0 | 0.0.0 |
338
+ | 2006-02-26 | 0.1 | 1.0.0 |
339
+ | 2006-04-17 | 0.2 | 2.0.0 |
340
+ | 2006-04-23 | 0.3 | 3.0.0 |
341
+ | 2006-04-28 | 0.4 | 3.1.0 |
342
+ | 2006-05-13 | 0.5 | 3.2.0 |
343
+ | 2006-05-25 | 0.6 | 4.0.0 |
344
+ | 2006-07-22 | 0.7 | 5.0.0 |
345
+ | 2006-07-29 | 0.8 | 5.1.0 |
346
+ | 2006-08-04 | 0.8.1 | 5.1.1 |
347
+ | 2006-08-07 | 0.9 | 6.0.0 |
348
+ | 2006-08-09 | 0.9.1 | 6.1.0 |
349
+ | 2006-08-26 | 0.9.2 | 6.2.0 |
350
+
351
+ -
352
+ Version: 6.2.0
353
+
354
+ Date: 2006-08-26
355
+
356
+ Summary: |
357
+ This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.
358
+
359
+ Notice: |
360
+ * @put_value()@ now returns the value it puts. Therefore, it is easier to chain together a series of assignments: @foo.intVal = bar.intVal = baz.intVal = 10@
361
+
362
+ * @put_value()@ now verifies that the value it puts was written correctly. This helps to find bugs regarding invalid assumptions about the number of bits supported by a signal.
363
+
364
+ Detail: |
365
+ * The test generator now uses ERB templates which ensures nice indentation of generated output.
366
+
367
+ * The test generator now decouples Ruby-VPI paths from Verilog benches via the RUBYLIB environment variable.
368
+
369
+ * A tool which converts Verilog headers into Ruby has been added.
370
+
371
+ * The source code is now indented with two spaces instead of one tab character.
372
+
373
+
374
+ -
375
+ Version: 6.1.0
376
+
377
+ Date: 2006-08-09
378
+
379
+ Summary: |
380
+ This release simplifies generated tests and fixes a bug.
381
+
382
+ Detail: |
383
+ * The test generator now produces simpler Ruby benches and specifications.
384
+ ** A template used by generated specifications has been added.
385
+ ** The counter example and tutorial have also been simplified accordingly.
386
+
387
+ * Boolean VPI property values are now correctly converted into Ruby truth values.
388
+
389
+
390
+ -
391
+ Version: 6.0.0
392
+
393
+ Date: 2006-08-07
394
+
395
+ Summary: |
396
+ This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.
397
+
398
+ Notice: |
399
+ * The directory structure has been reorganized as follows:
400
+ ** <tt>ext</tt> &rarr; <tt>src</tt>
401
+ ** <tt>tools</tt> &rarr; <tt>bin</tt>
402
+ ** <tt>examples</tt> &rarr; <tt>samp</tt>
403
+
404
+ * All template files have been moved into the <tt>tpl</tt> directory.
405
+
406
+ Detail: |
407
+ * Support for prototyping designs in Ruby, before they are implemented in Verilog, has been added.
408
+ ** The _same_ specification can be used to verify both prototype _and_ design! :-)
409
+ ** The tutorial in the user manual has been updated to discuss prototyping.
410
+ *** Prototypes have been added to the counter example.
411
+
412
+ * The user manual has been revised for consistency.
413
+
414
+
415
+ -
416
+ Version: 5.1.1
417
+
418
+ Date: 2006-08-04
419
+
420
+ Summary: |
421
+ This release fixes unreadable syntax coloring in the user manual.
422
+
423
+ Acknowledgment: |
424
+ * Thanks to Todd Nagengast and Matt Fischler for notifying me about unreadable text in the user manual.
425
+
426
+ Detail: |
427
+ * Source code comments in the user manual are now readable.
428
+
429
+ * The <tt>README</tt> and <tt>HISTORY</tt> files have been converted to "textile":http://www.textism.com/tools/textile/ format.
430
+
431
+
432
+ -
433
+ Version: 5.1.0
434
+
435
+ Date: 2006-07-29
436
+
437
+ Summary: |
438
+ This release adds a tutorial to the user manual, and improves the tools and examples.
439
+
440
+ Acknowledgment: |
441
+ * Thanks to Phil Tomson for correcting the URL of the RHDL website, in the user manual.
442
+
443
+ Detail: |
444
+ h3. User manual
445
+
446
+ * A tutorial, based on the counter example, has been added to the user manual.
447
+
448
+ * The user manual's appearance has been dramatically improved with syntax coloring for source code, and "graphics for admonitions and navigation":http://tango.freedesktop.org.
449
+
450
+ h3. Examples
451
+
452
+ * A specification, expressed in unit test format, has been added to the counter example.
453
+
454
+ * The <pre>--name</pre> and <pre>-n</pre> options, which lets you specify an identifier for a generated test, have been added to the *generate_test.rb* tool.
455
+
456
+ * Running <pre>rake clobber</pre> in an example directory no longer destroys documentation in the Ruby-VPI directory.
457
+
458
+ * The examples' Rakefiles now invoke all tests present in the directory via the <tt>launcher_template.rake</tt> template.
459
+
460
+ * The Rake template for test runners (generated by <tt>tools/generate_test.rb</tt>) has moved from <tt>examples/template.rake</tt> to <tt>examples/runner_template.rake</tt>.
461
+
462
+ h3. VPI utility layer
463
+
464
+ * The value of a handle's boolean VPI property is treated as @false@ if it is zero, because zero is @false@ in the C language.
465
+
466
+
467
+ -
468
+ Version: 5.0.0
469
+
470
+ Date: 2006-07-22
471
+
472
+ Summary: |
473
+ This release enhances the VPI utility layer and adds new content to the user manual.
474
+
475
+ Acknowledgment: |
476
+ * Thanks to Jan Decaluwe for correcting the description of MyHDL in the user manual.
477
+
478
+ Notice: |
479
+ * SWIG is no longer required for users because its output is included in the release package.
480
+
481
+ * The @handle.value@ and @handle.value=@ methods have been removed.
482
+
483
+ Detail: |
484
+ * The VPI utility layer provides access to VPI properties of handles in a "simpler, more powerful way":manual.html#background.org.vpi.
485
+
486
+ ** All VPI properties, except delay values, are now accessible from a handle.
487
+
488
+ * The user manual has been revised and new content in the organization and usage sections has been added.
489
+
490
+ * This release was tested and developed using:
491
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
492
+ ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
493
+
494
+
495
+ -
496
+ Version: 4.0.0
497
+
498
+ Date: 2006-05-25
499
+
500
+ Summary: |
501
+ This release adds a comprehensive user manual, upgrades from make to "Rake":http://rake.rubyforge.org, and improves the test generation tool.
502
+
503
+ Acknowledgment: |
504
+ * Thanks to Jose Renau for solving the problem of strange delays that occurred whenever a design was reset.
505
+
506
+ Notice: |
507
+ * Rake has replaced the role of *make*. All makefiles have been converted accordingly.
508
+
509
+ * The test generation tool now generates multiple files (runner, bench, design, spec) and makes backups of existing files. See its help information for details.
510
+
511
+ Detail: |
512
+ * A comprehensive user manual, written in DocBook-XML, has been added.
513
+
514
+ * Support for RSpec 0.5.4 has been added.
515
+ ** The counter example now makes use of RSpec.
516
+
517
+ * This release was tested and developed using:
518
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
519
+ ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
520
+
521
+
522
+ -
523
+ Version: 3.2.0
524
+
525
+ Date: 2006-05-13
526
+
527
+ Summary: |
528
+ This release adds a tool which generates test benches, and adds support for "Behavior Driven Development":http://behaviour-driven.org via the "RSpec":http://rspec.rubyforge.org library.
529
+
530
+ Acknowledgment: |
531
+ * Thanks to Scott L Holmes for helping me "use the RSpec library without its runner":http://article.gmane.org/gmane.comp.lang.ruby.general/150087 program.
532
+
533
+ Detail: |
534
+ * A tool, which generates most of a Ruby-VPI test bench from a Verilog 2001 module declaration, has been added.
535
+
536
+ * Ability to use RSpec in a test bench has been added.
537
+
538
+ * Ability to specify arbitrary command-line arguments to Verilog simulators has been added in the examples' makefile template.
539
+
540
+ * This release was tested and developed using:
541
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
542
+ ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
543
+
544
+
545
+ -
546
+ Version: 3.1.0
547
+
548
+ Date: 2006-04-28
549
+
550
+ Summary: |
551
+ This release adds simple ways of reading and writing values to VPI handles, adds documentation for the VPI utility layer, and fixes the pipelined ALU example.
552
+
553
+ Notice: |
554
+ * The *msim* Makefile target for Mentor Modelsim has been renamed back to *vsim*.
555
+
556
+ Detail: |
557
+ * Simple, consistent ways of reading and writing values to handles have been added to the VPI utility layer. These ways are described in the @SWIG::TYPE_p_unsigned_int@ class' documentation.
558
+
559
+ * The makefiles now use the *rbconfig* library to determine the default compiler and linker flags for Ruby.
560
+
561
+ * A race condition in the pipelined ALU example has been fixed. This example should now run successfully in all Verilog simulators.
562
+
563
+ * The project wiki has been abandoned in favor of RDoc.
564
+
565
+ * The project website is now generated by RDoc.
566
+
567
+ * This release was tested and developed using:
568
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
569
+ ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
570
+
571
+
572
+ -
573
+ Version: 3.0.0
574
+
575
+ Date: 2006-04-23
576
+
577
+ Summary: |
578
+ This release adds support for the _entire_ "IEEE Std. 1364-2005":http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=33945 VPI interface, and updates the examples into unit tests.
579
+
580
+ Acknowledgment: |
581
+ * Thanks to the "SWIG developers":http://www.swig.org/guilty.html for making this project _much_ easier! ;-)
582
+
583
+ Notice: |
584
+ * The *vsim* Makefile target for Mentor Modelsim has been renamed to *msim*.
585
+
586
+ Detail: |
587
+ * The Ruby interface to VPI is now generated by "SWIG":http://www.swig.org.
588
+ ** The main @VPI@ module has been renamed to @Vpi@.
589
+ ** The @VPI::Handle@ class has been removed.
590
+ ** The @VPI::stop@, @VPI::finish@, and @VPI::reset@ methods have been removed.
591
+
592
+ * The "_final ballot_ version":http://www.boydtechinc.com/ptf/archive/ptf_2005/0737.html of the <tt>vpi_user.h</tt> header file is now packaged along with and used by Ruby-VPI.
593
+
594
+ * The VPI module, its sub-classes, and its functionality have been replaced by the VPI utility layer (see <tt>src/vpi_util.rb</tt>).
595
+
596
+ * The examples now make use of the *test/unit* unit testing framework.
597
+
598
+ * The makefiles for the examples have been simplified through the use of a common template.
599
+
600
+ * This release was tested and developed using:
601
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
602
+ ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
603
+
604
+
605
+ -
606
+ Version: 2.0.0
607
+
608
+ Date: 2006-04-17
609
+
610
+ Summary: |
611
+ This release fixes major bugs, adds support for Mentor Modelsim, and removes the @$ruby_task@ callback.
612
+
613
+ Acknowledgment: |
614
+ * Thanks to Nobu Nakada for explaining the "cross-thread violation on rb_gc()":http://article.gmane.org/gmane.comp.lang.ruby.general/146653 error.
615
+
616
+ Notice: |
617
+ * Removed @$ruby_task@ callback and ability to dynamically register system tasks from Ruby because inter-process communication is complicated at present.
618
+
619
+ Detail: |
620
+ * The "cross-thread violation on rb_gc()" error has been fixed.
621
+ ** The "stack level too deep (SystemStackError)" error has been fixed.
622
+ ** The test/unit library can be used in Ruby test bench.
623
+ ** Mentor Modelsim Verilog simulator works with Ruby-VPI.
624
+
625
+ * Added piplelined ALU example.
626
+
627
+ * This release was tested and developed using:
628
+ ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
629
+ ** Ruby 1.8.4 and Modelsim 6.1d on x86_64 GNU/Linux
630
+ ** Ruby 1.8.4 and Synopsys VCS-MX X-2005.06-SP1 on SPARC4 SunOS 5.10
631
+
632
+
633
+ -
634
+ Version: 1.0.0
635
+
636
+ Date: 2006-02-26
637
+
638
+ Summary: |
639
+ This release adds enough Verilog VPI functionality to make Ruby-VPI usable for simple test benches:
640
+ * access Verilog objects through VPI handles
641
+ * read and change VPI handle values
642
+ * stop, finish, restart the simulation
643
+
644
+ Acknowledgment: |
645
+ * Thanks to Jose Renau for helping me debug how Synopsys VCS works with Verilog VPI. The problem was that VCS required calltf signatures to be @void (*)(void)@, whereas the Verilog standard defines a calltf signature as @PLI_INT32 (*)(PLI_BYTE8*)@.
646
+
647
+ * Thanks to Ross Bamford, Eric Hodel, and Yukihiro Matsumoto for "helping me discover":http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/180662 why the @SystemStackError@ was happening.
648
+
649
+ Detail: |
650
+ * Implemented some Verilog VPI functionality:
651
+ ** @VPI::handle_by_name(string, VPI::Handle)@ &rarr; @VPI::Handle@
652
+ ** @VPI::handle_by_name(string)@ &rarr; @VPI::Handle@
653
+ ** @VPI::Handle.put_value(integer)@
654
+ ** @VPI::Handle.value = integer@
655
+ ** @VPI::Handle.get_value@ &rarr; @integer@
656
+ ** @VPI::Handle.value@ &rarr; @integer@
657
+ ** @VPI::stop@
658
+ ** @VPI::finish@
659
+ ** @VPI::reset@
660
+
661
+ * Implemented some additional functionality:
662
+ ** @VPI::register_task(string, &proc)@
663
+
664
+ * Added ability to pass arbitrary command-line arguments to the Ruby interpreter (using @$ruby_init@). Now you can invoke any Ruby script you want, instead of <tt>pli_init.rb</tt>.
665
+
666
+ * Added ability to dynamically register system tasks from Ruby, using @VPI::register_task("task name")@, and call them from Verilog, using @$ruby_task("task name")@.
667
+
668
+ * Added @VPI::Handle@ class which encapsulates a @vpiHandle@ VPI object.
669
+
670
+ * This release was tested and developed using:
671
+ ** Ruby 1.8.2 and Icarus Verilog 0.8 on i686 GNU/Linux
672
+ ** Ruby 1.8.4, Synopsys VCS X-2005.06, and Mentor Modelsim 6.1b on i686 GNU/Linux
673
+
674
+
675
+ -
676
+ Version: 0.0.0
677
+
678
+ Date: 1999-10-31
679
+
680
+ Summary: |
681
+ This is Kazuhiro HIWADA's initial testing release of Ruby-VPI. See its "original announcement":http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-list/18193 and "source code":http://easter.kuee.kyoto-u.ac.jp/~hiwada/ruby/memo/src/ruby-vpi-test.tgz.
682
+
683
+ Detail: |
684
+ * Added ability to relay control from Verilog test bench to Ruby (using @$ruby_callback@) and vice versa (using @PLI::relay_Verilog@).
685
+
686
+ * Tested and developed using Ruby 1.4 and Verilog-XL from Cadence systems, on a SPARC machine running Solaris 2.6.