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/HEADER DELETED
@@ -1,97 +0,0 @@
1
- <head>
2
- <link rel="stylesheet" type="text/css" href="style.css" />
3
- </head>
4
-
5
- <div class="variablelist">
6
- <dl>
7
-
8
- <dt>
9
- <span class="term">
10
- <a href="./doc/usage.tutorial.html" target="_top">Tutorial</a>
11
- </span>
12
- </dt>
13
- <dd>
14
- <p>Learn how to use Ruby-VPI quickly.</p>
15
- </dd>
16
-
17
- <dt>
18
- <span class="term">
19
- <a href="./doc/" target="_top">Manual</a>
20
- </span>
21
- </dt>
22
- <dd>
23
- <p>Complete documentation for users. _Start here!_</p>
24
- </dd>
25
-
26
- <dt>
27
- <span class="term">
28
- <a href="./ref/" target="_top">Reference</a>
29
- </span>
30
- </dt>
31
- <dd>
32
- <p>API reference documentation for Ruby libraries and C extension.</p>
33
- </dd>
34
-
35
- <dt>
36
- <span class="term">
37
- <a href="http://rubyforge.org/projects/ruby-vpi" target="_top">
38
- Facilities</a>
39
- </span>
40
- </dt>
41
- <dd>
42
- <p>
43
- Access the issue tracker, file downloads, support requests, discussion forums, and more at <a href="http://rubyforge.org" target="_top">
44
- RubyForge</a>.
45
- </p>
46
- </dd>
47
-
48
- <dt>
49
- <span class="term">
50
- <a href="http://ruby-vpi.rubyforge.org" target="_top">
51
- Project</a>
52
- </span>
53
- </dt>
54
- <dd>
55
- <p>
56
- Access more information at the project's home page.
57
- </p>
58
- </dd>
59
-
60
- <dt>
61
- <span class="term">
62
- <a href="http://ruby-vpi.rubyforge.org/src/ruby-vpi" target="_top">
63
- Sources</a>
64
- </span>
65
- </dt>
66
- <dd>
67
- <p>
68
- Browse or access the source code repository.</p>
69
- </dd>
70
-
71
- <dt>
72
- <span class="term">
73
- <a href="http://ruby-vpi.rubyforge.org/talks" target="_top">
74
- Talks</a>
75
- </span>
76
- </dt>
77
- <dd>
78
- <p>
79
- Access public presentations about Ruby-VPI.</p>
80
- </dd>
81
-
82
- <dt>
83
- <span class="term">
84
- <a href="http://ruby-vpi.rubyforge.org/blog" target="_top">
85
- News</a>
86
- </span>
87
- </dt>
88
- <dd>
89
- <p>
90
- See what the developers are cooking up.</p>
91
- </dd>
92
-
93
- </dl>
94
- </div>
95
- </div>
96
-
97
-
data/HISTORY DELETED
@@ -1,687 +0,0 @@
1
- h1. Release history
2
-
3
- This is a record of important changes that have occurred with each release of "Ruby-VPI":http://ruby-vpi.rubyforge.org.
4
-
5
- h2. Version numbering system
6
-
7
- We _strictly_ follow the RubyGems project's "rational versioning policy":http://www.rubygems.org/read/chapter/7 since release 6.3.0. To summarize[1] this "major.minor.build" numbering policy,
8
- * an increase in the _major_ number indicates that _functionally incompatible_ changes have occurred. Thus, what may have worked in the previous version may not work in the new one.
9
- * an increase in the _minor_ number indicates that _functionally compatible_ changes have occurred. Thus, what worked in the previous version will work in the new one.
10
- * an increase in the _build_ number indicates that the _underlying implementation_ has changed. The functionality has not changed and no features have been added. Thus, what worked in the previous version will work in the new one.
11
-
12
- fn1. C. Gross, "Explaining Open Source Version Numbers", [Online document], 2005 Nov 28, [cited 2006 Aug 27], Available HTTP: "http://ablog.apress.com/?p=738":http://ablog.apress.com/?p=738
13
-
14
-
15
- h1. Version 11.1.0 (2006-11-08)
16
-
17
- h2. Summary
18
-
19
- 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%.
20
-
21
- h2. Acknowledgment
22
-
23
- Thanks to Matt Fischler for finding the bug in generated benches (see below).
24
-
25
- h2. Notice
26
-
27
- * A bug in generated Verilog and Ruby benches, which caused this error <pre>ruby: no such file to load -- ruby-vpi (LoadError)</pre> has been fixed.
28
- ** Please regenerate your tests to apply this bug fix to your tests.
29
-
30
- h2. Detail
31
-
32
- * The class @SWIG::TYPE_p_unsigned_int@ has been aliased as @Vpi::Handle@ for easier access.
33
-
34
- * @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.
35
- ** You can also provide a list of VPI property/type names or integer constants to those methods to see additional information in the output.
36
-
37
- * @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 property/type 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.
38
-
39
- * The @Vpi::Handle#[]@, @Vpi::Handle#get_value@, and @Vpi::Handle#put_value@ methods now accept names of VPI types/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.
40
-
41
- * @Vpi::Handle#method_missing@ has been refactored to cache queries. There is now, approximately, 20% improvement in performance.
42
-
43
- * @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".
44
-
45
- * 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.
46
-
47
- * Due to a bug in the @Rakefile@, the reference documentation was not included in the previous few releases. This has been fixed.
48
-
49
-
50
- h1. Version 11.0.0 (2006-11-05)
51
-
52
- h2. Summary
53
-
54
- 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.
55
-
56
- h2. Notice
57
-
58
- * The arguments for the "@RubyVPI.init_bench@ method":ref/ruby/classes/RubyVpi.html have changed.
59
-
60
- * *generate_test.rb* no longer emits undocumented status indicators: _name_ and _format_.
61
-
62
- * 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.
63
-
64
- h2. Detail
65
-
66
- * Generated Ruby benches have been shortened to just _one_ line of code!
67
-
68
- * The less confusing notation of <pre>def some_object.a_singleton_method
69
- do_stuff
70
- end</pre> is now used instead of the <pre>class << some_object
71
- def a_singleton_method
72
- do_stuff
73
- end
74
- end</pre> notation.
75
- ** The tutorial and examples have been updated accordingly.
76
-
77
- * The pipelined ALU example now has an updated @IntegerGenerator@ class.
78
-
79
-
80
- h1. Version 10.0.0 (2006-11-05)
81
-
82
- h2. Summary
83
-
84
- This release adds the ability to access a handle's children and reduces the amount of code produced by the automated test generator.
85
-
86
- h2. Acknowledgment
87
-
88
- Thanks to Matt Fischler for finding the problem of misdirected compilation errors in Verilog benches.
89
-
90
- h2. Notice
91
-
92
- * The way in which Ruby-VPI and generated tests interact has changed: the design is now a VPI handle object and the @design.rb@ and @proto.rb@ files define "singleton methods":http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial for that object.
93
- ** 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).
94
-
95
- * 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.
96
-
97
- * *generate_test.rb* no longer accepts the @-s@ and @-u@ options. Use their longer counterparts @--rspec@ and @--xunit@ instead.
98
-
99
-
100
- h2. Detail
101
-
102
- h3. Automated test generator
103
-
104
- * 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).
105
-
106
- * The user is now notified when a backup of an existing file is made.
107
-
108
- * Generated tests have been greatly simplified to reduce the amount of work for the user.
109
- ** The design is now just a handle to the module in the Verilog bench.
110
- ** @include Vpi@ and @@design@ are no longer generated.
111
- ** The tutorial and examples have been updated accordingly.
112
-
113
- h3. User manual
114
-
115
- * Revised the stylesheet to make disjoint sections readily distinguishable from each other, through generous spacing and minor coloring.
116
-
117
- * Added tips about @ruby-vpi/runner_proxy@, @rake -T@, and using *kdiff3* with *generate_test.rb*.
118
-
119
- * Moved installation information into a new "setup" chapter.
120
-
121
-
122
- h1. Version 9.0.0 (2006-10-28)
123
-
124
- h2. Summary
125
-
126
- This release improves the automated test generator and adds new content to the user manual.
127
-
128
- h2. Acknowledgment
129
-
130
- Thanks to Matt Fischler for helping test and debug the installation of Ruby-VPI on Windows.
131
-
132
- h2. Notice
133
-
134
- * The command-line options for @generate_test.rb@ have changed. Run the command @generate_test.rb --help@ for details.
135
-
136
- h2. Detail
137
-
138
- * Test runners now attempt to resolve paths in @SIMULATOR_SOURCES@ by searching for them within the directories specified in @SIMULATOR_INCLUDES@.
139
-
140
- * Synopsys VCS is now used in a better way (via the @-load@ option).
141
- ** The old PLI table file (@synopsys_vcs.tab@) has been removed.
142
- ** The C extension has been revised accordingly.
143
-
144
- ** The C extension now compiles without errors in Cygwin.
145
-
146
- * The automated test generator now:
147
- ** Only creates output files when necessary.
148
- ** Updates existing output files using "text merging tools":./doc/usage.recommendations.html if possible. (Refer to @MERGER@ in the help information of @generate_test.rb@.)
149
- ** Emits progress information similar to Ruby on Rails.
150
-
151
- * The user manual now:
152
- ** Includes instructions for installing on Windows (via Cygwin).
153
- ** Has a recommended software section, with links to text merging tools.
154
- ** Uses the term "xUnit":http://en.wikipedia.org/wiki/XUnit instead of "unit test".
155
- ** Correctly spells "rSpec".
156
-
157
-
158
- h1. Version 8.2.0 (2006-10-24)
159
-
160
- h2. Summary
161
-
162
- This release simplifies configuration of generated tests.
163
-
164
- h2. Acknowledgment
165
-
166
- Thanks to "students in CMPE-126":http://www.soe.ucsc.edu/classes/cmpe126/Fall06/ for their constructive criticism.
167
-
168
- h2. Notice
169
-
170
- * Generated runners now have a @SIMULATOR_INCLUDES@ array, whose entries specify places where Verilog source files, needed by the Verilog design, reside.
171
-
172
- h2. Detail
173
-
174
- * Generated Verilog benches now inherit all @`include@ and @`define@ directives from the Verilog design in a simpler manner.
175
- * A generated test no longer requires its Verilog design to reside in the same directory.
176
- * The sample tests have been updated accordingly.
177
-
178
-
179
- h1. Version 8.1.0 (2006-10-21)
180
-
181
- h2. Summary
182
-
183
- This release adds an integer library and renames the vpi_util library.
184
-
185
- h2. Notice
186
-
187
- * 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.
188
-
189
- h2. Detail
190
-
191
- * 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'@.
192
-
193
-
194
- h1. Version 8.0.0 (2006-10-13)
195
-
196
- h2. Summary
197
-
198
- This release renames some identifiers for consistency, updates the documentation, and improves integration with RubyGems.
199
-
200
- h2. Notice
201
-
202
- * The @RubyVPI@ module has been renamed to @RubyVpi@.
203
-
204
- * The @PROTO@ environment variable has been renamed to @PROTOTYPE@.
205
- ** In addition to using @unset@, you can now disable simulation of the prototype by assigning an empty value to this variable.
206
-
207
- h2. Detail
208
-
209
- * 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.
210
-
211
- * The source code is now distributed in tar.gz and zip form, in addition to gem.
212
-
213
- * Some identifiers have been renamed for better consistency.
214
-
215
- * The user manual now resides directly within the @doc/@ directory.
216
- ** The integration of documentation in @gem_server@ has been improved.
217
-
218
- * The glossary and tutorial in the user manual have been revised.
219
-
220
-
221
- h1. Version 7.3.0 (2006-09-30)
222
-
223
- h2. Summary
224
-
225
- This release fixes a bug in generated Verilog benches, includes parsed constants in generated tests, and adds new methods to handles.
226
-
227
- h2. Notice
228
-
229
- * Handles now have two new methods:
230
- ** @handle.x?@ checks if the logic value is "don't care"
231
- ** @handle.z?@ checks if the logic value is high impedance
232
-
233
- h2. Detail
234
-
235
- * Module instantiation code in generated Verilog benches has been fixed. Whitespace between the module type and instance variable was missing.
236
-
237
- * The test generator tool now provides parsed Verilog constants and include-directives in generated Verilog benches; and parsed Verilog constants in generated Ruby designs.
238
- ** The pipelined ALU example has been revised accordingly.
239
-
240
- * A library for parsing Verilog source code has been added as @lib/ruby-vpi/verilog_parser.rb@.
241
-
242
-
243
- h1. Version 7.2.0 (2006-09-15)
244
-
245
- h2. Summary
246
-
247
- This release adds initial[1] support for code coverage analysis via the "rcov library":http://eigenclass.org/hiki.rb?rcov.
248
-
249
- h2. Acknowledgment
250
-
251
- Thanks to Mauricio Fernandez for helping me use rcov without its runner.
252
-
253
- h2. Detail
254
-
255
- * Added initial[1] support for code coverage analysis, which can be enabled by setting the @COVERAGE@ environment variable to a non-empty value before running a test.
256
- ** For example, you can run a test with the GPL Cver simulator while enabling the generation of code coverage reports as follows: @export COVERAGE=1; rake cver@
257
-
258
- * Coverage reports are generated in text and HTML formats.
259
-
260
- fn1. Full capabilites of the rcov library, such as its various analysis modes, are not yet utilized.
261
-
262
-
263
- h1. Version 7.1.0 (2006-08-29)
264
-
265
- h2. Summary
266
-
267
- This release simplifies running of multiple tests, restores compatibility with Synopsys VCS, and better integrates with RubyGems.
268
-
269
- h2. Detail
270
-
271
- * Added @lib/ruby-vpi/runner_proxy@ 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 @samp/counter/Rakefile@ file.
272
-
273
- * Fixed a bug that prevented one from running tests with Synopsys VCS.
274
-
275
- * Ruby-VPI documentation is now available through RubyGems' "@gem_server@ web interface":http://docs.rubygems.org/read/chapter/2#page10.
276
-
277
- * The user manual now discusses how to determine the location of a Ruby-VPI installation.
278
-
279
- * The @tpl/@ directory has been removed.
280
-
281
-
282
- h1. Version 7.0.0 (2006-08-29)
283
-
284
- h2. Summary
285
-
286
- This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.
287
-
288
- h2. Notice
289
-
290
- * @put_value()@ now accomodates register value overflows when verifying the value it has written.
291
-
292
- * The test generator's templates and the examples have been updated as follows:
293
- ** 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.
294
- ** Ruby benches now invoke @RubyVPI.init_bench@ instead of @require 'bench'; setup_bench@ to become initialized.
295
-
296
- * All Ruby libraries in the @lib/@ directory have been moved into @lib/ruby-vpi/@ 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'@.
297
-
298
- * The @src/@ directory has been renamed to @ext/@ to follow RubyGems convention.
299
-
300
- h2. Detail
301
-
302
- * 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 @gem install -i output_directory ruby-vpi-7.0.0.gem@. In addition, you can still obtain the source code directly from the Subversion repository.
303
-
304
- * The tools in @bin/@ become available in your system's @bin/@ directory when the gem is installed.
305
- ** Usage and help information has been added to the @header_to_ruby.rb@ tool.
306
-
307
- * Incorrect spelling of GPL Cver (v should be uncapitalized) has been fixed.
308
-
309
- * Incorrect link to GPL Cver website has been fixed.
310
-
311
- * The user manual has been updated according to all of the above changes.
312
-
313
-
314
- h1. Version 6.3.0 (2006-08-27)
315
-
316
- h2. Summary
317
-
318
- This release adds support for the GPL Cver simulator, provides both binary and source packages, and explicitly defines the version numbering system.
319
-
320
- h2. Notice
321
-
322
- * Ruby-VPI now only needs to be built once.
323
- ** You can run tests with different Verilog simulators without having to re-compile Ruby-VPI.
324
-
325
- h2. Detail
326
-
327
- * The GPL Cver simulator is now supported.
328
-
329
- * Release packages are now available in both source and binary form.
330
-
331
- * 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.
332
-
333
- * 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:
334
- |_. Release date |_. Original version number |_. New version number |
335
- | 1999-10-31 | 0.0 | 0.0.0 |
336
- | 2006-02-26 | 0.1 | 1.0.0 |
337
- | 2006-04-17 | 0.2 | 2.0.0 |
338
- | 2006-04-23 | 0.3 | 3.0.0 |
339
- | 2006-04-28 | 0.4 | 3.1.0 |
340
- | 2006-05-13 | 0.5 | 3.2.0 |
341
- | 2006-05-25 | 0.6 | 4.0.0 |
342
- | 2006-07-22 | 0.7 | 5.0.0 |
343
- | 2006-07-29 | 0.8 | 5.1.0 |
344
- | 2006-08-04 | 0.8.1 | 5.1.1 |
345
- | 2006-08-07 | 0.9 | 6.0.0 |
346
- | 2006-08-09 | 0.9.1 | 6.1.0 |
347
- | 2006-08-26 | 0.9.2 | 6.2.0 |
348
-
349
-
350
- h1. Version 6.2.0 (2006-08-26)
351
-
352
- h2. Summary
353
-
354
- This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.
355
-
356
- h2. Notice
357
-
358
- * @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@
359
-
360
- * @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.
361
-
362
- h2. Detail
363
-
364
- * The test generator now uses ERB templates which ensures nice indentation of generated output.
365
-
366
- * The test generator now decouples Ruby-VPI paths from Verilog benches via the RUBYLIB environment variable.
367
-
368
- * A tool which converts Verilog headers into Ruby has been added.
369
-
370
- * The source code is now indented with two spaces instead of one tab character.
371
-
372
-
373
- h1. Version 6.1.0 (2006-08-09)
374
-
375
- h2. Summary
376
-
377
- This release simplifies generated tests and fixes a bug.
378
-
379
- h2. Detail
380
-
381
- * The test generator now produces simpler Ruby benches and specifications.
382
- ** A template used by generated specifications has been added.
383
- ** The counter example and tutorial have also been simplified accordingly.
384
-
385
- * Boolean VPI property values are now correctly converted into Ruby truth values.
386
-
387
-
388
- h1. Version 6.0.0 (2006-08-07)
389
-
390
- h2. Summary
391
-
392
- This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.
393
-
394
- h2. Notice
395
-
396
- * The directory structure has been reorganized as follows:
397
- ** @ext@ &rarr; @src@
398
- ** @tools@ &rarr; @bin@
399
- ** @examples@ &rarr; @samp@
400
-
401
- * All template files have been moved into the @tpl@ directory.
402
-
403
- h2. Detail
404
-
405
- * Support for prototyping designs in Ruby, before they are implemented in Verilog, has been added.
406
- ** The _same_ specification can be used to verify both prototype _and_ design! :-)
407
- ** The tutorial in the user manual has been updated to discuss prototyping.
408
- *** Prototypes have been added to the counter example.
409
-
410
- * The user manual has been revised for consistency.
411
-
412
-
413
- h1. Version 5.1.1 (2006-08-04)
414
-
415
- h2. Summary
416
-
417
- This release fixes unreadable syntax coloring in the user manual.
418
-
419
- h2. Acknowledgment
420
-
421
- * Thanks to Todd Nagengast and Matt Fischler for notifying me about unreadable text in the user manual.
422
-
423
- h2. Detail
424
-
425
- * Source code comments in the user manual are now readable.
426
-
427
- * The @README@ and @HISTORY@ files have been converted to "textile":http://www.textism.com/tools/textile/ format.
428
-
429
-
430
- h1. Version 5.1.0 (2006-07-29)
431
-
432
- h2. Summary
433
-
434
- This release adds a tutorial to the user manual, and improves the tools and examples.
435
-
436
- h2. Acknowledgment
437
-
438
- * Thanks to Phil Tomson for correcting the URL of the RHDL website, in the user manual.
439
-
440
- h2. Detail
441
-
442
- h3. User manual
443
-
444
- * A tutorial, based on the counter example, has been added to the user manual.
445
-
446
- * 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.
447
-
448
- h3. Examples
449
-
450
- * A specification, expressed in unit test format, has been added to the counter example.
451
-
452
- * The @--name@ and @-n@ options, which lets you specify an identifier for a generated test, have been added to the @generate_test.rb@ tool.
453
-
454
- * Running @rake clobber@ in an example directory no longer destroys documentation in the Ruby-VPI directory.
455
-
456
- * The examples' Rakefiles now invoke all tests present in the directory via the @launcher_template.rake@ template.
457
-
458
- * The Rake template for test runners (generated by @tools/generate_test.rb@) has moved from @examples/template.rake@ to @examples/runner_template.rake@.
459
-
460
- h3. VPI utility layer
461
-
462
- * 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.
463
-
464
-
465
- h1. Version 5.0.0 (2006-07-22)
466
-
467
- h2. Summary
468
-
469
- This release enhances the VPI utility layer and adds new content to the user manual.
470
-
471
- h2. Acknowledgment
472
-
473
- * Thanks to Jan Decaluwe for correcting the description of MyHDL in the user manual.
474
-
475
- h2. Notice
476
-
477
- * SWIG is no longer required for users because its output is included in the release package.
478
-
479
- * The @handle.value@ and @handle.value=@ methods have been removed.
480
-
481
- h2. Detail
482
-
483
- * The VPI utility layer provides access to VPI properties of handles in a "simpler, more powerful way":http://ruby-vpi.rubyforge.org/doc/background.organization.html#organization.vpi.
484
-
485
- ** All VPI properties, except delay values, are now accessible from a handle.
486
-
487
- * The user manual has been revised and new content in the organization and usage sections has been added.
488
-
489
- * This release was tested and developed using:
490
- ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
491
- ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
492
-
493
-
494
- h1. Version 4.0.0 (2006-05-25)
495
-
496
- h2. Summary
497
-
498
- This release adds a comprehensive user manual, upgrades from make to "Rake":http://rake.rubyforge.org, and improves the test generation tool.
499
-
500
- h2. Acknowledgment
501
-
502
- * Thanks to Jose Renau for solving the problem of strange delays that occurred whenever a design was reset.
503
-
504
- h2. Notice
505
-
506
- * Rake has replaced the role of *make*. All makefiles have been converted accordingly.
507
-
508
- * The test generation tool now generates multiple files (runner, bench, design, spec) and makes backups of existing files. See its help information for details.
509
-
510
- h2. Detail
511
-
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
- h1. Version 3.2.0 (2006-05-13)
523
-
524
- h2. Summary
525
-
526
- 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.
527
-
528
- h2. Acknowledgment
529
-
530
- * 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.
531
-
532
- h2. Detail
533
-
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
- h1. Version 3.1.0 (2006-04-28)
546
-
547
- h2. Summary
548
-
549
- 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.
550
-
551
- h2. Notice
552
-
553
- * The *msim* Makefile target for Mentor Modelsim has been renamed back to *vsim*.
554
-
555
- h2. Detail
556
-
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
- h1. Version 3.0.0 (2006-04-23)
573
-
574
- h2. Summary
575
-
576
- 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.
577
-
578
- h2. Acknowledgment
579
-
580
- * Thanks to the "SWIG developers":http://www.swig.org/guilty.html for making this project _much_ easier! ;-)
581
-
582
- h2. Notice
583
-
584
- * The *vsim* Makefile target for Mentor Modelsim has been renamed to *msim*.
585
-
586
- h2. Detail
587
-
588
- * The Ruby interface to VPI is now generated by "SWIG":http://www.swig.org.
589
- ** The main @VPI@ module has been renamed to @Vpi@.
590
- ** The @VPI::Handle@ class has been removed.
591
- ** The @VPI::stop@, @VPI::finish@, and @VPI::reset@ methods have been removed.
592
-
593
- * The "_final ballot_ version":http://www.boydtechinc.com/ptf/archive/ptf_2005/0737.html of the @vpi_user.h@ header file is now packaged along with and used by Ruby-VPI.
594
-
595
- * The VPI module, its sub-classes, and its functionality have been replaced by the VPI utility layer (see @src/vpi_util.rb@).
596
-
597
- * The examples now make use of the *test/unit* unit testing framework.
598
-
599
- * The makefiles for the examples have been simplified through the use of a common template.
600
-
601
- * This release was tested and developed using:
602
- ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
603
- ** Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 GNU/Linux
604
-
605
-
606
- h1. Version 2.0.0 (2006-04-17)
607
-
608
- h2. Summary
609
-
610
- This release fixes major bugs, adds support for Mentor Modelsim, and removes the @$ruby_task@ callback.
611
-
612
- h2. Acknowledgment
613
-
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
- h2. Notice
617
-
618
- * Removed @$ruby_task@ callback and ability to dynamically register system tasks from Ruby because inter-process communication is complicated at present.
619
-
620
- h2. Detail
621
-
622
- * The *cross-thread violation on rb_gc()* error has been fixed.
623
- ** The *stack level too deep (SystemStackError)* error has been fixed.
624
- ** The *test/unit* library can be used in Ruby test bench.
625
- ** Mentor Modelsim Verilog simulator works with Ruby-VPI.
626
-
627
- * Added piplelined ALU example.
628
-
629
- * This release was tested and developed using:
630
- ** Ruby 1.8.4 and Icarus Verilog 0.8 on i686 GNU/Linux
631
- ** Ruby 1.8.4 and Modelsim 6.1d on x86_64 GNU/Linux
632
- ** Ruby 1.8.4 and Synopsys VCS-MX X-2005.06-SP1 on SPARC4 SunOS 5.10
633
-
634
-
635
- h1. Version 1.0.0 (2006-02-26)
636
-
637
- h2. Summary
638
-
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
- h2. Acknowledgment
645
-
646
- * 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*)@.
647
-
648
- * 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.
649
-
650
- h2. Detail
651
-
652
- * Implemented some Verilog VPI functionality:
653
- ** @VPI::handle_by_name(string, VPI::Handle)@ &rarr; @VPI::Handle@
654
- ** @VPI::handle_by_name(string)@ &rarr; @VPI::Handle@
655
- ** @VPI::Handle#put_value(integer)@
656
- ** @VPI::Handle#value = integer@
657
- ** @VPI::Handle#get_value@ &rarr; @integer@
658
- ** @VPI::Handle#value@ &rarr; @integer@
659
- ** @VPI::stop@
660
- ** @VPI::finish@
661
- ** @VPI::reset@
662
-
663
- * Implemented some additional functionality:
664
- ** @VPI::register_task(string, &proc)@
665
-
666
- * 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 @pli_init.rb@.
667
-
668
- * 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")@.
669
-
670
- * Added @VPI::Handle@ class which encapsulates a @vpiHandle@ VPI object.
671
-
672
- * This release was tested and developed using:
673
- ** Ruby 1.8.2 and Icarus Verilog 0.8 on i686 GNU/Linux
674
- ** Ruby 1.8.4, Synopsys VCS X-2005.06, and Mentor Modelsim 6.1b on i686 GNU/Linux
675
-
676
-
677
- h1. Version 0.0.0 (1999-10-31)
678
-
679
- h2. Summary
680
-
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
- h2. Detail
684
-
685
- * Added ability to relay control from Verilog test bench to Ruby (using @$ruby_callback@) and vice versa (using @PLI::relay_Verilog@).
686
-
687
- * Tested and developed using Ruby 1.4 and Verilog-XL from Cadence systems, on a SPARC machine running Solaris 2.6.