ruby-vpi 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. data/HISTORY +398 -0
  2. data/LICENSE +340 -0
  3. data/MEMO +38 -0
  4. data/README +9 -0
  5. data/Rakefile +271 -0
  6. data/bin/generate_test.rb +258 -0
  7. data/bin/generate_test_tpl/bench.rb +31 -0
  8. data/bin/generate_test_tpl/bench.v +54 -0
  9. data/bin/generate_test_tpl/design.rb +26 -0
  10. data/bin/generate_test_tpl/proto.rb +8 -0
  11. data/bin/generate_test_tpl/runner.rake +28 -0
  12. data/bin/generate_test_tpl/spec.rb +46 -0
  13. data/bin/header_to_ruby.rb +70 -0
  14. data/doc/Rakefile +55 -0
  15. data/doc/src/LICENSE +397 -0
  16. data/doc/src/figures/organization.png +0 -0
  17. data/doc/src/figures/organization_detailed.png +0 -0
  18. data/doc/src/figures/ruby_init.png +0 -0
  19. data/doc/src/figures/ruby_relay.png +0 -0
  20. data/doc/src/figures.dia +0 -0
  21. data/doc/src/images/COPYING +67 -0
  22. data/doc/src/images/ChangeLog +27 -0
  23. data/doc/src/images/blank.png +0 -0
  24. data/doc/src/images/callouts/1.png +0 -0
  25. data/doc/src/images/callouts/10.png +0 -0
  26. data/doc/src/images/callouts/11.png +0 -0
  27. data/doc/src/images/callouts/12.png +0 -0
  28. data/doc/src/images/callouts/13.png +0 -0
  29. data/doc/src/images/callouts/14.png +0 -0
  30. data/doc/src/images/callouts/15.png +0 -0
  31. data/doc/src/images/callouts/2.png +0 -0
  32. data/doc/src/images/callouts/3.png +0 -0
  33. data/doc/src/images/callouts/4.png +0 -0
  34. data/doc/src/images/callouts/5.png +0 -0
  35. data/doc/src/images/callouts/6.png +0 -0
  36. data/doc/src/images/callouts/7.png +0 -0
  37. data/doc/src/images/callouts/8.png +0 -0
  38. data/doc/src/images/callouts/9.png +0 -0
  39. data/doc/src/images/callouts/ChangeLog +15 -0
  40. data/doc/src/images/caution.png +0 -0
  41. data/doc/src/images/caution.svg +290 -0
  42. data/doc/src/images/copyright +55 -0
  43. data/doc/src/images/draft.png +0 -0
  44. data/doc/src/images/home.png +0 -0
  45. data/doc/src/images/home.svg +386 -0
  46. data/doc/src/images/important.png +0 -0
  47. data/doc/src/images/important.svg +163 -0
  48. data/doc/src/images/next.png +0 -0
  49. data/doc/src/images/next.svg +191 -0
  50. data/doc/src/images/note.png +0 -0
  51. data/doc/src/images/note.svg +483 -0
  52. data/doc/src/images/prev.png +0 -0
  53. data/doc/src/images/prev.svg +852 -0
  54. data/doc/src/images/tip.png +0 -0
  55. data/doc/src/images/tip.svg +1145 -0
  56. data/doc/src/images/toc-blank.png +0 -0
  57. data/doc/src/images/toc-minus.png +0 -0
  58. data/doc/src/images/toc-plus.png +0 -0
  59. data/doc/src/images/up.png +0 -0
  60. data/doc/src/images/up.svg +195 -0
  61. data/doc/src/images/warning.png +0 -0
  62. data/doc/src/images/warning.svg +334 -0
  63. data/doc/src/license.xml +446 -0
  64. data/doc/src/manual.xml +1582 -0
  65. data/doc/src/manual.xsl +23 -0
  66. data/doc/src/shared.dtd +63 -0
  67. data/doc/src/styles/manual.css +87 -0
  68. data/doc/txt/manual.txt +1657 -0
  69. data/doc/xhtml/background.html +3 -0
  70. data/doc/xhtml/background.methodology.html +3 -0
  71. data/doc/xhtml/background.organization.html +10 -0
  72. data/doc/xhtml/background.running-tests.html +3 -0
  73. data/doc/xhtml/background.terminology.html +3 -0
  74. data/doc/xhtml/figures/organization.png +0 -0
  75. data/doc/xhtml/figures/organization_detailed.png +0 -0
  76. data/doc/xhtml/figures/ruby_init.png +0 -0
  77. data/doc/xhtml/figures/ruby_relay.png +0 -0
  78. data/doc/xhtml/gfdl-0.html +18 -0
  79. data/doc/xhtml/gfdl-1.html +70 -0
  80. data/doc/xhtml/gfdl-10.html +15 -0
  81. data/doc/xhtml/gfdl-2.html +13 -0
  82. data/doc/xhtml/gfdl-3.html +31 -0
  83. data/doc/xhtml/gfdl-4.html +75 -0
  84. data/doc/xhtml/gfdl-5.html +20 -0
  85. data/doc/xhtml/gfdl-6.html +12 -0
  86. data/doc/xhtml/gfdl-7.html +16 -0
  87. data/doc/xhtml/gfdl-8.html +17 -0
  88. data/doc/xhtml/gfdl-9.html +9 -0
  89. data/doc/xhtml/gfdl-addendum.html +25 -0
  90. data/doc/xhtml/gfdl.html +11 -0
  91. data/doc/xhtml/glossary.html +3 -0
  92. data/doc/xhtml/images/COPYING +67 -0
  93. data/doc/xhtml/images/ChangeLog +27 -0
  94. data/doc/xhtml/images/blank.png +0 -0
  95. data/doc/xhtml/images/callouts/1.png +0 -0
  96. data/doc/xhtml/images/callouts/10.png +0 -0
  97. data/doc/xhtml/images/callouts/11.png +0 -0
  98. data/doc/xhtml/images/callouts/12.png +0 -0
  99. data/doc/xhtml/images/callouts/13.png +0 -0
  100. data/doc/xhtml/images/callouts/14.png +0 -0
  101. data/doc/xhtml/images/callouts/15.png +0 -0
  102. data/doc/xhtml/images/callouts/2.png +0 -0
  103. data/doc/xhtml/images/callouts/3.png +0 -0
  104. data/doc/xhtml/images/callouts/4.png +0 -0
  105. data/doc/xhtml/images/callouts/5.png +0 -0
  106. data/doc/xhtml/images/callouts/6.png +0 -0
  107. data/doc/xhtml/images/callouts/7.png +0 -0
  108. data/doc/xhtml/images/callouts/8.png +0 -0
  109. data/doc/xhtml/images/callouts/9.png +0 -0
  110. data/doc/xhtml/images/callouts/ChangeLog +15 -0
  111. data/doc/xhtml/images/caution.png +0 -0
  112. data/doc/xhtml/images/caution.svg +290 -0
  113. data/doc/xhtml/images/copyright +55 -0
  114. data/doc/xhtml/images/draft.png +0 -0
  115. data/doc/xhtml/images/home.png +0 -0
  116. data/doc/xhtml/images/home.svg +386 -0
  117. data/doc/xhtml/images/important.png +0 -0
  118. data/doc/xhtml/images/important.svg +163 -0
  119. data/doc/xhtml/images/next.png +0 -0
  120. data/doc/xhtml/images/next.svg +191 -0
  121. data/doc/xhtml/images/note.png +0 -0
  122. data/doc/xhtml/images/note.svg +483 -0
  123. data/doc/xhtml/images/prev.png +0 -0
  124. data/doc/xhtml/images/prev.svg +852 -0
  125. data/doc/xhtml/images/tip.png +0 -0
  126. data/doc/xhtml/images/tip.svg +1145 -0
  127. data/doc/xhtml/images/toc-blank.png +0 -0
  128. data/doc/xhtml/images/toc-minus.png +0 -0
  129. data/doc/xhtml/images/toc-plus.png +0 -0
  130. data/doc/xhtml/images/up.png +0 -0
  131. data/doc/xhtml/images/up.svg +195 -0
  132. data/doc/xhtml/images/warning.png +0 -0
  133. data/doc/xhtml/images/warning.svg +334 -0
  134. data/doc/xhtml/index.html +4 -0
  135. data/doc/xhtml/introduction.html +3 -0
  136. data/doc/xhtml/introduction.license.html +3 -0
  137. data/doc/xhtml/introduction.manifest.html +3 -0
  138. data/doc/xhtml/introduction.related-works.html +3 -0
  139. data/doc/xhtml/introduction.resources.html +3 -0
  140. data/doc/xhtml/problem.ivl.html +18 -0
  141. data/doc/xhtml/problems.html +3 -0
  142. data/doc/xhtml/problems.ruby.html +3 -0
  143. data/doc/xhtml/problems.vsim.html +3 -0
  144. data/doc/xhtml/styles/manual.css +87 -0
  145. data/doc/xhtml/usage.examples.html +3 -0
  146. data/doc/xhtml/usage.html +3 -0
  147. data/doc/xhtml/usage.installation.html +3 -0
  148. data/doc/xhtml/usage.requirements.html +3 -0
  149. data/doc/xhtml/usage.tools.html +3 -0
  150. data/doc/xhtml/usage.tutorial.html +199 -0
  151. data/ext/Doxyfile +272 -0
  152. data/ext/README +124 -0
  153. data/ext/Rakefile +65 -0
  154. data/ext/common.h +56 -0
  155. data/ext/extconf.rb +4 -0
  156. data/ext/relay.cin +146 -0
  157. data/ext/relay.hin +48 -0
  158. data/ext/ruby-vpi.c +36 -0
  159. data/ext/swig.cin +38 -0
  160. data/ext/swig.hin +39 -0
  161. data/ext/swig_vpi.h +924 -0
  162. data/ext/swig_vpi.i +8 -0
  163. data/ext/swig_wrap.cin +4613 -0
  164. data/ext/verilog.h +59 -0
  165. data/ext/vlog.cin +92 -0
  166. data/ext/vlog.hin +57 -0
  167. data/ext/vpi_user.h +924 -0
  168. data/gem_extconf.rb +8 -0
  169. data/history.html +809 -0
  170. data/lib/ruby-vpi/erb.rb +41 -0
  171. data/lib/ruby-vpi/rake.rb +35 -0
  172. data/lib/ruby-vpi/rdoc.rb +51 -0
  173. data/lib/ruby-vpi/rspec.rb +32 -0
  174. data/lib/ruby-vpi/runner.rb +22 -0
  175. data/lib/ruby-vpi/vpi_util.rb +310 -0
  176. data/lib/ruby-vpi.rb +58 -0
  177. data/memo.html +86 -0
  178. data/readme.html +19 -0
  179. data/ref/c/annotated.html +36 -0
  180. data/ref/c/common_8h.html +178 -0
  181. data/ref/c/doxygen.css +310 -0
  182. data/ref/c/doxygen.png +0 -0
  183. data/ref/c/files.html +35 -0
  184. data/ref/c/functions.html +135 -0
  185. data/ref/c/functions_vars.html +135 -0
  186. data/ref/c/globals.html +55 -0
  187. data/ref/c/globals_0x63.html +86 -0
  188. data/ref/c/globals_0x65.html +55 -0
  189. data/ref/c/globals_0x66.html +55 -0
  190. data/ref/c/globals_0x70.html +71 -0
  191. data/ref/c/globals_0x72.html +62 -0
  192. data/ref/c/globals_0x73.html +65 -0
  193. data/ref/c/globals_0x74.html +55 -0
  194. data/ref/c/globals_0x76.html +472 -0
  195. data/ref/c/globals_0x78.html +55 -0
  196. data/ref/c/globals_defs.html +81 -0
  197. data/ref/c/globals_defs_0x65.html +50 -0
  198. data/ref/c/globals_defs_0x70.html +51 -0
  199. data/ref/c/globals_defs_0x76.html +463 -0
  200. data/ref/c/globals_defs_0x78.html +50 -0
  201. data/ref/c/globals_enum.html +39 -0
  202. data/ref/c/globals_eval.html +40 -0
  203. data/ref/c/globals_func.html +49 -0
  204. data/ref/c/globals_type.html +63 -0
  205. data/ref/c/globals_vars.html +42 -0
  206. data/ref/c/hierarchy.html +36 -0
  207. data/ref/c/index.html +20 -0
  208. data/ref/c/relay_8cin.html +268 -0
  209. data/ref/c/relay_8hin.html +161 -0
  210. data/ref/c/ruby-vpi_8c.html +34 -0
  211. data/ref/c/structrelay____RubyOptions____def.html +84 -0
  212. data/ref/c/structt__cb__data.html +208 -0
  213. data/ref/c/structt__vpi__delay.html +183 -0
  214. data/ref/c/structt__vpi__error__info.html +208 -0
  215. data/ref/c/structt__vpi__strengthval.html +108 -0
  216. data/ref/c/structt__vpi__systf__data.html +208 -0
  217. data/ref/c/structt__vpi__time.html +133 -0
  218. data/ref/c/structt__vpi__value.html +285 -0
  219. data/ref/c/structt__vpi__vecval.html +83 -0
  220. data/ref/c/structt__vpi__vlog__info.html +133 -0
  221. data/ref/c/swig_8cin.html +91 -0
  222. data/ref/c/swig_8hin.html +99 -0
  223. data/ref/c/tab_b.gif +0 -0
  224. data/ref/c/tab_l.gif +0 -0
  225. data/ref/c/tab_r.gif +0 -0
  226. data/ref/c/tabs.css +102 -0
  227. data/ref/c/verilog_8h.html +149 -0
  228. data/ref/c/vlog_8cin.html +199 -0
  229. data/ref/c/vlog_8hin.html +152 -0
  230. data/ref/c/vpi__user_8h.html +12747 -0
  231. data/ref/ruby/classes/Counter.html +258 -0
  232. data/ref/ruby/classes/Counter.src/M000037.html +20 -0
  233. data/ref/ruby/classes/Counter.src/M000038.html +22 -0
  234. data/ref/ruby/classes/Counter.src/M000039.html +20 -0
  235. data/ref/ruby/classes/Counter.src/M000040.html +22 -0
  236. data/ref/ruby/classes/CounterProto.html +164 -0
  237. data/ref/ruby/classes/CounterProto.src/M000004.html +22 -0
  238. data/ref/ruby/classes/CounterProto.src/M000005.html +22 -0
  239. data/ref/ruby/classes/ERB.html +158 -0
  240. data/ref/ruby/classes/ERB.src/M000034.html +29 -0
  241. data/ref/ruby/classes/FileUtils.html +165 -0
  242. data/ref/ruby/classes/FileUtils.src/M000047.html +18 -0
  243. data/ref/ruby/classes/FileUtils.src/M000048.html +18 -0
  244. data/ref/ruby/classes/Hw5UnitModel/Operation.html +216 -0
  245. data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000011.html +25 -0
  246. data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000012.html +33 -0
  247. data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000013.html +18 -0
  248. data/ref/ruby/classes/Hw5UnitModel.html +256 -0
  249. data/ref/ruby/classes/Hw5UnitModel.src/M000006.html +24 -0
  250. data/ref/ruby/classes/Hw5UnitModel.src/M000008.html +20 -0
  251. data/ref/ruby/classes/Hw5UnitModel.src/M000009.html +38 -0
  252. data/ref/ruby/classes/Hw5UnitModel.src/M000010.html +22 -0
  253. data/ref/ruby/classes/Hw5_unit.html +196 -0
  254. data/ref/ruby/classes/Hw5_unit.src/M000003.html +27 -0
  255. data/ref/ruby/classes/Hw5_unit_spec.html +237 -0
  256. data/ref/ruby/classes/Hw5_unit_spec.src/M000023.html +21 -0
  257. data/ref/ruby/classes/Hw5_unit_spec.src/M000024.html +21 -0
  258. data/ref/ruby/classes/Hw5_unit_spec.src/M000025.html +67 -0
  259. data/ref/ruby/classes/InputGenerator.html +260 -0
  260. data/ref/ruby/classes/InputGenerator.src/M000027.html +18 -0
  261. data/ref/ruby/classes/InputGenerator.src/M000028.html +18 -0
  262. data/ref/ruby/classes/InputGenerator.src/M000029.html +19 -0
  263. data/ref/ruby/classes/InputGenerator.src/M000030.html +38 -0
  264. data/ref/ruby/classes/InputGenerator.src/M000031.html +19 -0
  265. data/ref/ruby/classes/InputGenerator.src/M000032.html +19 -0
  266. data/ref/ruby/classes/MaximumCounterValue.html +159 -0
  267. data/ref/ruby/classes/MaximumCounterValue.src/M000035.html +23 -0
  268. data/ref/ruby/classes/MaximumCounterValue.src/M000036.html +21 -0
  269. data/ref/ruby/classes/ModuleInfo.html +199 -0
  270. data/ref/ruby/classes/ModuleInfo.src/M000018.html +44 -0
  271. data/ref/ruby/classes/ModuleInfo.src/M000019.html +26 -0
  272. data/ref/ruby/classes/OutputInfo.html +304 -0
  273. data/ref/ruby/classes/OutputInfo.src/M000017.html +51 -0
  274. data/ref/ruby/classes/RDoc.html +135 -0
  275. data/ref/ruby/classes/RDoc.src/M000051.html +40 -0
  276. data/ref/ruby/classes/ResettedCounterValue.html +174 -0
  277. data/ref/ruby/classes/ResettedCounterValue.src/M000014.html +19 -0
  278. data/ref/ruby/classes/ResettedCounterValue.src/M000015.html +18 -0
  279. data/ref/ruby/classes/ResettedCounterValue.src/M000016.html +23 -0
  280. data/ref/ruby/classes/RubyVPI.html +186 -0
  281. data/ref/ruby/classes/RubyVPI.src/M000049.html +18 -0
  282. data/ref/ruby/classes/RubyVPI.src/M000050.html +39 -0
  283. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +370 -0
  284. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000041.html +22 -0
  285. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000042.html +44 -0
  286. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000043.html +82 -0
  287. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000044.html +127 -0
  288. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000045.html +26 -0
  289. data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000046.html +18 -0
  290. data/ref/ruby/classes/SWIG.html +111 -0
  291. data/ref/ruby/classes/String.html +140 -0
  292. data/ref/ruby/classes/String.src/M000033.html +37 -0
  293. data/ref/ruby/classes/Template.html +158 -0
  294. data/ref/ruby/classes/Template.src/M000026.html +18 -0
  295. data/ref/ruby/classes/TestHw5UnitModel.html +180 -0
  296. data/ref/ruby/classes/TestHw5UnitModel.src/M000020.html +19 -0
  297. data/ref/ruby/classes/TestHw5UnitModel.src/M000021.html +19 -0
  298. data/ref/ruby/classes/TestHw5UnitModel.src/M000022.html +64 -0
  299. data/ref/ruby/created.rid +1 -0
  300. data/ref/ruby/files/bin/generate_test_rb.html +236 -0
  301. data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +29 -0
  302. data/ref/ruby/files/bin/generate_test_tpl/bench_rb.html +115 -0
  303. data/ref/ruby/files/bin/generate_test_tpl/design_rb.html +107 -0
  304. data/ref/ruby/files/bin/generate_test_tpl/proto_rb.html +107 -0
  305. data/ref/ruby/files/bin/generate_test_tpl/spec_rb.html +140 -0
  306. data/ref/ruby/files/bin/generate_test_tpl/spec_rb.src/M000002.html +22 -0
  307. data/ref/ruby/files/bin/header_to_ruby_rb.html +116 -0
  308. data/ref/ruby/files/ext/extconf_rb.html +108 -0
  309. data/ref/ruby/files/gem_extconf_rb.html +114 -0
  310. data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +108 -0
  311. data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +108 -0
  312. data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +108 -0
  313. data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +115 -0
  314. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +108 -0
  315. data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +108 -0
  316. data/ref/ruby/files/lib/ruby-vpi_rb.html +108 -0
  317. data/ref/ruby/files/samp/counter/counter_rspecTest_bench_rb.html +115 -0
  318. data/ref/ruby/files/samp/counter/counter_rspecTest_design_rb.html +107 -0
  319. data/ref/ruby/files/samp/counter/counter_rspecTest_proto_rb.html +107 -0
  320. data/ref/ruby/files/samp/counter/counter_rspecTest_spec_rb.html +142 -0
  321. data/ref/ruby/files/samp/counter/counter_unitTest_bench_rb.html +115 -0
  322. data/ref/ruby/files/samp/counter/counter_unitTest_design_rb.html +107 -0
  323. data/ref/ruby/files/samp/counter/counter_unitTest_proto_rb.html +107 -0
  324. data/ref/ruby/files/samp/counter/counter_unitTest_spec_rb.html +135 -0
  325. data/ref/ruby/files/samp/pipelined_alu/Hw5UnitModel_rb.html +101 -0
  326. data/ref/ruby/files/samp/pipelined_alu/InputGenerator_rb.html +101 -0
  327. data/ref/ruby/files/samp/pipelined_alu/TestHw5UnitModel_rb.html +111 -0
  328. data/ref/ruby/files/samp/pipelined_alu/hw5_unit_bench_rb.html +108 -0
  329. data/ref/ruby/files/samp/pipelined_alu/hw5_unit_design_rb.html +107 -0
  330. data/ref/ruby/files/samp/pipelined_alu/hw5_unit_spec_rb.html +112 -0
  331. data/ref/ruby/fr_class_index.html +46 -0
  332. data/ref/ruby/fr_file_index.html +55 -0
  333. data/ref/ruby/fr_method_index.html +77 -0
  334. data/ref/ruby/index.html +24 -0
  335. data/ref/ruby/rdoc-style.css +208 -0
  336. data/samp/counter/Rakefile +1 -0
  337. data/samp/counter/counter.v +20 -0
  338. data/samp/counter/counter_rspecTest_bench.rb +9 -0
  339. data/samp/counter/counter_rspecTest_bench.v +28 -0
  340. data/samp/counter/counter_rspecTest_design.rb +22 -0
  341. data/samp/counter/counter_rspecTest_proto.rb +10 -0
  342. data/samp/counter/counter_rspecTest_runner.rake +28 -0
  343. data/samp/counter/counter_rspecTest_spec.rb +47 -0
  344. data/samp/counter/counter_unitTest_bench.rb +9 -0
  345. data/samp/counter/counter_unitTest_bench.v +28 -0
  346. data/samp/counter/counter_unitTest_design.rb +22 -0
  347. data/samp/counter/counter_unitTest_proto.rb +10 -0
  348. data/samp/counter/counter_unitTest_runner.rake +28 -0
  349. data/samp/counter/counter_unitTest_spec.rb +49 -0
  350. data/samp/pipelined_alu/Hw5UnitModel.rb +134 -0
  351. data/samp/pipelined_alu/InputGenerator.rb +94 -0
  352. data/samp/pipelined_alu/README +127 -0
  353. data/samp/pipelined_alu/Rakefile +1 -0
  354. data/samp/pipelined_alu/TestHw5UnitModel.rb +88 -0
  355. data/samp/pipelined_alu/hw5_unit.v +186 -0
  356. data/samp/pipelined_alu/hw5_unit_bench.rb +8 -0
  357. data/samp/pipelined_alu/hw5_unit_bench.v +45 -0
  358. data/samp/pipelined_alu/hw5_unit_design.rb +18 -0
  359. data/samp/pipelined_alu/hw5_unit_runner.rake +10 -0
  360. data/samp/pipelined_alu/hw5_unit_spec.rb +123 -0
  361. data/tpl/launcher.rake +30 -0
  362. data/tpl/runner.rake +96 -0
  363. data/tpl/synopsys_vcs.tab +2 -0
  364. metadata +484 -0
data/history.html ADDED
@@ -0,0 +1,809 @@
1
+ <h1>Release history</h1>
2
+
3
+
4
+ <p>This is a record of important changes that have occurred with each release of <a href="http://ruby-vpi.rubyforge.org">Ruby-VPI</a>.</p>
5
+
6
+
7
+ <h2>Version numbering system</h2>
8
+
9
+
10
+ We <em>strictly</em> follow the RubyGems project&#8217;s <a href="http://www.rubygems.org/read/chapter/7">rational versioning policy</a> since release 6.3.0. To summarize<sup><a href="#fn1">1</a></sup> this &#8220;major.minor.build&#8221; numbering policy,
11
+ <ul>
12
+ <li>an increase in the <strong>major</strong> number indicates that <strong>functionally incompatible</strong> have occurred. Thus, what may have worked in the previous version may not work in the new one.</li>
13
+ <li>an increase in the <strong>minor</strong> number indicates that <strong>functionally compatible</strong> changes have occurred. Thus, what worked in the previous version will work in the new one.</li>
14
+ <li>an increase in the <strong>build</strong> number indicates that the <strong>underlying implementation</strong> 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.</li>
15
+ </ul>
16
+
17
+
18
+ <p id="fn1"><sup>1</sup> C. Gross, &#8220;Explaining Open Source Version Numbers&#8221;, [Online document], 2005 Nov 28, [cited 2006 Aug 27], Available <span class="caps">HTTP</span>: <a href="http://ablog.apress.com/?p=738">http://ablog.apress.com/?p=738</a></p>
19
+
20
+
21
+ <h1>Version 7.0.0 (2006-08-29)</h1>
22
+
23
+
24
+ <h2>Summary</h2>
25
+
26
+
27
+ <p>This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.</p>
28
+
29
+
30
+ <h2>Details</h2>
31
+
32
+
33
+ <ul>
34
+ <li><code>put_value()</code> now accomodates register value overflows when verifying the value it has written.</li>
35
+ </ul>
36
+
37
+
38
+ <ul>
39
+ <li>Ruby-VPI is now distributed only as a <a href="http://www.rubygems.org">source gem</a>. You can decompress the gem without installing it onto your system by running the command <code>gem install -i output_directory ruby-vpi-7.0.0.gem</code>. In addition, you can still obtain the source code directly from the Subversion repository.</li>
40
+ </ul>
41
+
42
+
43
+ <ul>
44
+ <li>The test generator&#8217;s templates and the examples have been updated as follows:
45
+ <ul>
46
+ <li>Test runners no longer have to specify the path to Ruby-VPI installation directory. Instead, they simply <code>require 'ruby-vpi/runner'</code>. Thus, you can run your tests on any machine with Ruby-VPI without having to know where it is installed.</li>
47
+ <li>Ruby benches now invoke <code>RubyVPI.init_bench</code> instead of <code>require 'bench'; setup_bench</code> to become initialized.</li>
48
+ </ul></li>
49
+ </ul>
50
+
51
+
52
+ <ul>
53
+ <li>All Ruby libraries in the <code>lib/</code> directory have been moved into <code>lib/ruby-vpi/</code> to prevent load-path clashes with other gems. You should access these libraries by prefixing their path with &#8220;ruby-vpi&#8221;. For example, <code>require 'vpi_util'</code> should now be written as <code>require 'ruby-vpi/vpi_util'</code>.</li>
54
+ </ul>
55
+
56
+
57
+ <ul>
58
+ <li>The <code>src/</code> directory has been renamed to <code>ext/</code> to follow RubyGems convention.</li>
59
+ </ul>
60
+
61
+
62
+ <ul>
63
+ <li>The tools in <code>bin/</code> become available in your system&#8217;s <code>bin/</code> directory when the gem is installed.
64
+ <ul>
65
+ <li>Usage and help information has been added to the <code>header_to_ruby.rb</code> tool.</li>
66
+ </ul></li>
67
+ </ul>
68
+
69
+
70
+ <ul>
71
+ <li>Incorrect spelling of <span class="caps">GPL</span> Cver (v should be uncapitalized) has been fixed.</li>
72
+ </ul>
73
+
74
+
75
+ <ul>
76
+ <li>Incorrect link to <span class="caps">GPL</span> Cver website has been fixed.</li>
77
+ </ul>
78
+
79
+
80
+ <ul>
81
+ <li>The user manual has been updated according to all of the above changes.</li>
82
+ </ul>
83
+
84
+
85
+ <h1>Version 6.3.0 (2006-08-27)</h1>
86
+
87
+
88
+ <h2>Summary</h2>
89
+
90
+
91
+ <p>This release adds support for the <span class="caps">GPL</span> Cver simulator, provides both binary and source packages, and explicitly defines the version numbering system.</p>
92
+
93
+
94
+ <h2>Details</h2>
95
+
96
+
97
+ <ul>
98
+ <li>The <span class="caps">GPL</span> Cver simulator is now supported.</li>
99
+ </ul>
100
+
101
+
102
+ <ul>
103
+ <li>Ruby-VPI now only needs to be built once.
104
+ <ul>
105
+ <li>You can run tests with different Verilog simulators without having to re-compile Ruby-VPI.</li>
106
+ <li>Release packages are now available in both source and binary form.</li>
107
+ </ul></li>
108
+ </ul>
109
+
110
+
111
+ <ul>
112
+ <li>The RSpec based specifications for the counter example now use the <code>should_equal</code> instead of the <code>should_be</code> assertion, because the latter ensures strict equivalence. For instance, it will fail when a Fixnum is compared to a Bignum.</li>
113
+ </ul>
114
+
115
+
116
+ <ul>
117
+ <li>We now follow the RubyGems project&#8217;s <a href="http://www.rubygems.org/read/chapter/7">rational versioning policy</a>. The version numbers of previous releases have been revised accordingly:
118
+ <table>
119
+ <tr>
120
+ <th>Release date </th>
121
+ <th>Original version number </th>
122
+ <th>New version number </th>
123
+ </tr>
124
+ <tr>
125
+ <td> 1999-10-31 </td>
126
+ <td> 0.0 </td>
127
+ <td> 0.0.0 </td>
128
+ </tr>
129
+ <tr>
130
+ <td> 2006-02-26 </td>
131
+ <td> 0.1 </td>
132
+ <td> 1.0.0 </td>
133
+ </tr>
134
+ <tr>
135
+ <td> 2006-04-17 </td>
136
+ <td> 0.2 </td>
137
+ <td> 2.0.0 </td>
138
+ </tr>
139
+ <tr>
140
+ <td> 2006-04-23 </td>
141
+ <td> 0.3 </td>
142
+ <td> 3.0.0 </td>
143
+ </tr>
144
+ <tr>
145
+ <td> 2006-04-28 </td>
146
+ <td> 0.4 </td>
147
+ <td> 3.1.0 </td>
148
+ </tr>
149
+ <tr>
150
+ <td> 2006-05-13 </td>
151
+ <td> 0.5 </td>
152
+ <td> 3.2.0 </td>
153
+ </tr>
154
+ <tr>
155
+ <td> 2006-05-25 </td>
156
+ <td> 0.6 </td>
157
+ <td> 4.0.0 </td>
158
+ </tr>
159
+ <tr>
160
+ <td> 2006-07-22 </td>
161
+ <td> 0.7 </td>
162
+ <td> 5.0.0 </td>
163
+ </tr>
164
+ <tr>
165
+ <td> 2006-07-29 </td>
166
+ <td> 0.8 </td>
167
+ <td> 5.1.0 </td>
168
+ </tr>
169
+ <tr>
170
+ <td> 2006-08-04 </td>
171
+ <td> 0.8.1 </td>
172
+ <td> 5.1.1 </td>
173
+ </tr>
174
+ <tr>
175
+ <td> 2006-08-07 </td>
176
+ <td> 0.9 </td>
177
+ <td> 6.0.0 </td>
178
+ </tr>
179
+ <tr>
180
+ <td> 2006-08-09 </td>
181
+ <td> 0.9.1 </td>
182
+ <td> 6.1.0 </td>
183
+ </tr>
184
+ <tr>
185
+ <td> 2006-08-26 </td>
186
+ <td> 0.9.2 </td>
187
+ <td> 6.2.0 </td>
188
+ </tr>
189
+ </table></li>
190
+ </ul>
191
+
192
+
193
+ <h1>Version 6.2.0 (2006-08-26)</h1>
194
+
195
+
196
+ <h2>Summary</h2>
197
+
198
+
199
+ <p>This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.</p>
200
+
201
+
202
+ <h2>Details</h2>
203
+
204
+
205
+ <ul>
206
+ <li>The test generator now uses <span class="caps">ERB</span> templates which ensures nice indentation of generated output.</li>
207
+ </ul>
208
+
209
+
210
+ <ul>
211
+ <li>The test generator now decouples Ruby-VPI paths from Verilog benches via the <span class="caps">RUBYLIB</span> environment variable.</li>
212
+ </ul>
213
+
214
+
215
+ <ul>
216
+ <li>A tool which converts Verilog headers into Ruby has been added.</li>
217
+ </ul>
218
+
219
+
220
+ <ul>
221
+ <li><code>put_value()</code> now returns the value it puts. Therefore, it is easier to chain together a series of assignments: <code>foo.intVal = bar.intVal = baz.intVal = 10</code></li>
222
+ </ul>
223
+
224
+
225
+ <ul>
226
+ <li><code>put_value()</code> 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.</li>
227
+ </ul>
228
+
229
+
230
+ <ul>
231
+ <li>The source code is now indented with two spaces instead of one tab character.</li>
232
+ </ul>
233
+
234
+
235
+ <h1>Version 6.1.0 (2006-08-09)</h1>
236
+
237
+
238
+ <h2>Summary</h2>
239
+
240
+
241
+ <p>This release simplifies generated tests and fixes a bug.</p>
242
+
243
+
244
+ <h2>Details</h2>
245
+
246
+
247
+ <ul>
248
+ <li>The test generator now produces simpler Ruby benches and specifications.
249
+ <ul>
250
+ <li>A template used by generated specifications has been added.</li>
251
+ <li>The counter example and tutorial have also been simplified accordingly.</li>
252
+ </ul></li>
253
+ </ul>
254
+
255
+
256
+ <ul>
257
+ <li>Boolean <span class="caps">VPI</span> property values are now correctly converted into Ruby truth values.</li>
258
+ </ul>
259
+
260
+
261
+ <h1>Version 6.0.0 (2006-08-07)</h1>
262
+
263
+
264
+ <h2>Summary</h2>
265
+
266
+
267
+ <p>This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.</p>
268
+
269
+
270
+ <h2>Details</h2>
271
+
272
+
273
+ <ul>
274
+ <li>Support for prototyping designs in Ruby, before they are implemented in Verilog, has been added.
275
+ <ul>
276
+ <li>The <em>same</em> specification can be used to verify both prototype <em>and</em> design! :-)</li>
277
+ <li>The tutorial in the user manual has been updated to discuss prototyping.
278
+ <ul>
279
+ <li>Prototypes have been added to the counter example.</li>
280
+ </ul></li>
281
+ </ul></li>
282
+ </ul>
283
+
284
+
285
+ <ul>
286
+ <li>The directory structure has been reorganized as follows:
287
+ <ul>
288
+ <li><code>ext</code> &rarr; <code>src</code></li>
289
+ <li><code>tools</code> &rarr; <code>bin</code></li>
290
+ <li><code>examples</code> &rarr; <code>samp</code></li>
291
+ </ul></li>
292
+ </ul>
293
+
294
+
295
+ <ul>
296
+ <li>All template files have been moved into the <code>tpl</code> directory.</li>
297
+ </ul>
298
+
299
+
300
+ <ul>
301
+ <li>The user manual has been revised for consistency.</li>
302
+ </ul>
303
+
304
+
305
+ <h1>Version 5.1.1 (2006-08-04)</h1>
306
+
307
+
308
+ <h2>Summary</h2>
309
+
310
+
311
+ <p>This release fixes unreadable syntax coloring in the user manual.</p>
312
+
313
+
314
+ <h2>Details</h2>
315
+
316
+
317
+ <ul>
318
+ <li>Source code comments in the user manual are now readable.</li>
319
+ </ul>
320
+
321
+
322
+ <ul>
323
+ <li>The <code>README</code> and <code>HISTORY</code> files have been converted to <a href="http://www.textism.com/tools/textile/">textile</a> format.</li>
324
+ </ul>
325
+
326
+
327
+ <h2>Acknowledgment</h2>
328
+
329
+
330
+ <ul>
331
+ <li>Thanks to Todd Nagengast and Matt Fischler for notifying me about unreadable text in the user manual.</li>
332
+ </ul>
333
+
334
+
335
+ <h1>Version 5.1.0 (2006-07-29)</h1>
336
+
337
+
338
+ <h2>Summary</h2>
339
+
340
+
341
+ <p>This release adds a tutorial to the user manual, and improves the tools and examples.</p>
342
+
343
+
344
+ <h2>Details</h2>
345
+
346
+
347
+ <h3>User manual</h3>
348
+
349
+
350
+ <ul>
351
+ <li>A tutorial, based on the counter example, has been added to the user manual.</li>
352
+ </ul>
353
+
354
+
355
+ <ul>
356
+ <li>The user manual&#8217;s appearance has been dramatically improved with syntax coloring for source code, and <a href="http://tango.freedesktop.org">graphics for admonitions and navigation</a>.</li>
357
+ </ul>
358
+
359
+
360
+ <h3>Examples</h3>
361
+
362
+
363
+ <ul>
364
+ <li>A specification, expressed in unit test format, has been added to the counter example.</li>
365
+ </ul>
366
+
367
+
368
+ <ul>
369
+ <li>The <code>--name</code> and <code>-n</code> options, which lets you specify an identifier for a generated test, have been added to the <code>generate_test.rb</code> tool.</li>
370
+ </ul>
371
+
372
+
373
+ <ul>
374
+ <li>Running <code>rake clobber</code> in an example directory no longer destroys documentation in the Ruby-VPI directory.</li>
375
+ </ul>
376
+
377
+
378
+ <ul>
379
+ <li>The examples&#8217; Rakefiles now invoke all tests present in the directory via the <code>launcher_template.rake</code> template.</li>
380
+ </ul>
381
+
382
+
383
+ <ul>
384
+ <li>The Rake template for test runners (generated by <code>tools/generate_test.rb</code>) has moved from <code>examples/template.rake</code> to <code>examples/runner_template.rake</code>.</li>
385
+ </ul>
386
+
387
+
388
+ <h3><span class="caps">VPI</span> utility layer</h3>
389
+
390
+
391
+ <ul>
392
+ <li>The value of a handle&#8217;s boolean <span class="caps">VPI</span> property is treated as <code>false</code> if it is zero, because zero is <code>false</code> in the C language.</li>
393
+ </ul>
394
+
395
+
396
+ <h2>Acknowledgment</h2>
397
+
398
+
399
+ <ul>
400
+ <li>Thanks to Phil Tomson for correcting the <span class="caps">URL</span> of the <span class="caps">RHDL</span> website, in the user manual.</li>
401
+ </ul>
402
+
403
+
404
+ <h1>Version 5.0.0 (2006-07-22)</h1>
405
+
406
+
407
+ <h2>Summary</h2>
408
+
409
+
410
+ <p>This release enhances the <span class="caps">VPI</span> utility layer and adds new content to the user manual.</p>
411
+
412
+
413
+ <h2>Details</h2>
414
+
415
+
416
+ <ul>
417
+ <li><span class="caps">SWIG</span> is no longer required for users because its output is included in the release package.</li>
418
+ </ul>
419
+
420
+
421
+ <ul>
422
+ <li>The <span class="caps">VPI</span> utility layer provides access to <span class="caps">VPI</span> properties of handles in a <a href="http://ruby-vpi.rubyforge.org/doc/background.organization.html#organization.vpi">simpler, more powerful way</a>.</li>
423
+ </ul>
424
+
425
+
426
+ <ul>
427
+ <li>All <span class="caps">VPI</span> properties, except delay values, are now accessible from a handle.</li>
428
+ </ul>
429
+
430
+
431
+ <ul>
432
+ <li>The <code>handle.value</code> and <code>handle.value=</code> methods have been removed.</li>
433
+ </ul>
434
+
435
+
436
+ <ul>
437
+ <li>The user manual has been revised and new content in the organization and usage sections has been added.</li>
438
+ </ul>
439
+
440
+
441
+ <ul>
442
+ <li>This release was tested and developed using:
443
+ <ul>
444
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
445
+ <li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
446
+ </ul></li>
447
+ </ul>
448
+
449
+
450
+ <h2>Acknowledgment</h2>
451
+
452
+
453
+ <ul>
454
+ <li>Thanks to Jan Decaluwe for correcting the description of MyHDL in the user manual.</li>
455
+ </ul>
456
+
457
+
458
+ <h1>Version 4.0.0 (2006-05-25)</h1>
459
+
460
+
461
+ <h2>Summary</h2>
462
+
463
+
464
+ <p>This release adds a comprehensive user manual, upgrades from make to <a href="http://rake.rubyforge.org">Rake</a>, and improves the test generation tool.</p>
465
+
466
+
467
+ <h2>Details</h2>
468
+
469
+
470
+ <ul>
471
+ <li>A comprehensive user manual, written in DocBook-XML, has been added.</li>
472
+ </ul>
473
+
474
+
475
+ <ul>
476
+ <li>Rake has replaced the role of <strong>make</strong>. All makefiles have been converted accordingly.</li>
477
+ </ul>
478
+
479
+
480
+ <ul>
481
+ <li>The test generation tool now generates multiple files (runner, bench, design, spec) and makes backups of existing files. See its help information for details.</li>
482
+ </ul>
483
+
484
+
485
+ <ul>
486
+ <li>Support for RSpec 0.5.4 has been added.
487
+ <ul>
488
+ <li>The counter example now makes use of RSpec.</li>
489
+ </ul></li>
490
+ </ul>
491
+
492
+
493
+ <ul>
494
+ <li>This release was tested and developed using:
495
+ <ul>
496
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
497
+ <li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
498
+ </ul></li>
499
+ </ul>
500
+
501
+
502
+ <h2>Acknowledgment</h2>
503
+
504
+
505
+ <ul>
506
+ <li>Thanks to Jose Renau for solving the problem of strange delays that occurred whenever a design was reset.</li>
507
+ </ul>
508
+
509
+
510
+ <h1>Version 3.2.0 (2006-05-13)</h1>
511
+
512
+
513
+ <h2>Summary</h2>
514
+
515
+
516
+ <p>This release adds a tool which generates test benches, and adds support for <a href="http://behaviour-driven.org">Behavior Driven Development</a> via the <a href="http://rspec.rubyforge.org">RSpec</a> library.</p>
517
+
518
+
519
+ <h2>Details</h2>
520
+
521
+
522
+ <ul>
523
+ <li>A tool, which generates most of a Ruby-VPI test bench from a Verilog 2001 module declaration, has been added.</li>
524
+ </ul>
525
+
526
+
527
+ <ul>
528
+ <li>Ability to use RSpec in a test bench has been added.</li>
529
+ </ul>
530
+
531
+
532
+ <ul>
533
+ <li>Ability to specify arbitrary command-line arguments to Verilog simulators has been added in the examples&#8217; makefile template.</li>
534
+ </ul>
535
+
536
+
537
+ <ul>
538
+ <li>This release was tested and developed using:
539
+ <ul>
540
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
541
+ <li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
542
+ </ul></li>
543
+ </ul>
544
+
545
+
546
+ <h2>Acknowledgment</h2>
547
+
548
+
549
+ <ul>
550
+ <li>Thanks to Scott L Holmes for helping me <a href="http://article.gmane.org/gmane.comp.lang.ruby.general/150087">use the RSpec library without its runner</a> program.</li>
551
+ </ul>
552
+
553
+
554
+ <h1>Version 3.1.0 (2006-04-28)</h1>
555
+
556
+
557
+ <h2>Summary</h2>
558
+
559
+
560
+ <p>This release adds simple ways of reading and writing values to <span class="caps">VPI</span> handles, adds documentation for the <span class="caps">VPI</span> utility layer, and fixes the pipelined <span class="caps">ALU</span> example.</p>
561
+
562
+
563
+ <h2>Details</h2>
564
+
565
+
566
+ <ul>
567
+ <li>Simple, consistent ways of reading and writing values to handles have been added to the <span class="caps">VPI</span> utility layer. These ways are described in the <code>SWIG::TYPE_p_unsigned_int</code> class&#8217; documentation.</li>
568
+ </ul>
569
+
570
+
571
+ <ul>
572
+ <li>The makefiles now use the <strong>rbconfig</strong> library to determine the default compiler and linker flags for Ruby.</li>
573
+ </ul>
574
+
575
+
576
+ <ul>
577
+ <li>A race condition in the pipelined <span class="caps">ALU</span> example has been fixed. This example should now run successfully in all Verilog simulators.</li>
578
+ </ul>
579
+
580
+
581
+ <ul>
582
+ <li>The project wiki has been abandoned in favor of RDoc.</li>
583
+ </ul>
584
+
585
+
586
+ <ul>
587
+ <li>The project website is now generated by RDoc.</li>
588
+ </ul>
589
+
590
+
591
+ <ul>
592
+ <li>This release was tested and developed using:
593
+ <ul>
594
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
595
+ <li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
596
+ </ul></li>
597
+ </ul>
598
+
599
+
600
+ <h1>Version 3.0.0 (2006-04-23)</h1>
601
+
602
+
603
+ <h2>Summary</h2>
604
+
605
+
606
+ <p>This release adds support for the <em>entire</em> <a href="http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=33945"><span class="caps">IEEE</span> Std. 1364-2005</a> VPI interface, and updates the examples into unit tests.</p>
607
+
608
+
609
+ <h2>Details</h2>
610
+
611
+
612
+ <ul>
613
+ <li>The Ruby interface to <span class="caps">VPI</span> is now generated by <a href="http://www.swig.org"><span class="caps">SWIG</span></a>.
614
+ <ul>
615
+ <li>The main <code>VPI</code> module has been renamed to <code>Vpi</code>.</li>
616
+ <li>The <code>VPI::Handle</code> class has been removed.</li>
617
+ <li>The <code>VPI::stop</code>, <code>VPI::finish</code>, and <code>VPI::reset</code> methods have been removed.</li>
618
+ </ul></li>
619
+ </ul>
620
+
621
+
622
+ <ul>
623
+ <li>The <a href="http://www.boydtechinc.com/ptf/archive/ptf_2005/0737.html"><em>final ballot</em> version</a> of the <code>vpi_user.h</code> header file is now packaged along with and used by Ruby-VPI.</li>
624
+ </ul>
625
+
626
+
627
+ <ul>
628
+ <li>The <span class="caps">VPI</span> module, its sub-classes, and its functionality have been replaced by the <span class="caps">VPI</span> utility layer (see <code>src/vpi_util.rb</code>).</li>
629
+ </ul>
630
+
631
+
632
+ <ul>
633
+ <li>The examples now make use of the <strong>test/unit</strong> unit testing framework.</li>
634
+ </ul>
635
+
636
+
637
+ <ul>
638
+ <li>The makefiles for the examples have been simplified through the use of a common template.
639
+ <ul>
640
+ <li>The <strong>vsim</strong> target for Mentor Modelsim has been renamed to <strong>msim</strong>.</li>
641
+ </ul></li>
642
+ </ul>
643
+
644
+
645
+ <ul>
646
+ <li>This release was tested and developed using:
647
+ <ul>
648
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
649
+ <li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
650
+ </ul></li>
651
+ </ul>
652
+
653
+
654
+ <h2>Acknowledgment</h2>
655
+
656
+
657
+ <ul>
658
+ <li>Thanks to the <a href="http://www.swig.org/guilty.html"><span class="caps">SWIG</span> developers</a> for making this project <em>much</em> easier! ;-)</li>
659
+ </ul>
660
+
661
+
662
+ <h1>Version 2.0.0 (2006-04-17)</h1>
663
+
664
+
665
+ <h2>Summary</h2>
666
+
667
+
668
+ <p>This release fixes major bugs, adds support for Mentor Modelsim, and removes the <code>$ruby_task</code> callback.</p>
669
+
670
+
671
+ <h2>Details</h2>
672
+
673
+
674
+ <ul>
675
+ <li>The <strong>cross-thread violation on rb_gc()</strong> error has been fixed.
676
+ <ul>
677
+ <li>The <strong>stack level too deep (SystemStackError)</strong> error has been fixed.</li>
678
+ <li>The <strong>test/unit</strong> library can be used in Ruby test bench.</li>
679
+ <li>Mentor Modelsim Verilog simulator works with Ruby-VPI.</li>
680
+ </ul></li>
681
+ </ul>
682
+
683
+
684
+ <ul>
685
+ <li>Removed <code>$ruby_task</code> callback and ability to dynamically register system tasks from Ruby because inter-process communication is complicated at present.</li>
686
+ </ul>
687
+
688
+
689
+ <ul>
690
+ <li>Added piplelined <span class="caps">ALU</span> example.</li>
691
+ </ul>
692
+
693
+
694
+ <ul>
695
+ <li>This release was tested and developed using:
696
+ <ul>
697
+ <li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
698
+ <li>Ruby 1.8.4 and Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
699
+ <li>Ruby 1.8.4 and Synopsys <span class="caps">VCS</span>-MX X-2005.06-SP1 on <span class="caps">SPARC4</span> SunOS 5.10</li>
700
+ </ul></li>
701
+ </ul>
702
+
703
+
704
+ <h2>Acknowledgment</h2>
705
+
706
+
707
+ <ul>
708
+ <li>Thanks to Nobu Nakada for explaining the <a href="http://article.gmane.org/gmane.comp.lang.ruby.general/146653">cross-thread violation on rb_gc()</a> error.</li>
709
+ </ul>
710
+
711
+
712
+ <h1>Version 1.0.0 (2006-02-26)</h1>
713
+
714
+
715
+ <h2>Summary</h2>
716
+
717
+
718
+ This release adds enough Verilog <span class="caps">VPI</span> functionality to make Ruby-VPI usable for simple test benches:
719
+ <ul>
720
+ <li>access Verilog objects through <span class="caps">VPI</span> handles</li>
721
+ <li>read and change <span class="caps">VPI</span> handle values</li>
722
+ <li>stop, finish, restart the simulation</li>
723
+ </ul>
724
+
725
+
726
+ <h2>Details</h2>
727
+
728
+
729
+ <ul>
730
+ <li>Implemented some Verilog <span class="caps">VPI</span> functionality:
731
+ <ul>
732
+ <li><code>VPI::handle_by_name(string, VPI::Handle)</code> &rarr; <code>VPI::Handle</code></li>
733
+ <li><code>VPI::handle_by_name(string)</code> &rarr; <code>VPI::Handle</code></li>
734
+ <li><code>VPI::Handle#put_value(integer)</code></li>
735
+ <li><code>VPI::Handle#value = integer</code></li>
736
+ <li><code>VPI::Handle#get_value</code> &rarr; <code>integer</code></li>
737
+ <li><code>VPI::Handle#value</code> &rarr; <code>integer</code></li>
738
+ <li><code>VPI::stop</code></li>
739
+ <li><code>VPI::finish</code></li>
740
+ <li><code>VPI::reset</code></li>
741
+ </ul></li>
742
+ </ul>
743
+
744
+
745
+ <ul>
746
+ <li>Implemented some additional functionality:
747
+ <ul>
748
+ <li><code>VPI::register_task(string, &#38;proc)</code></li>
749
+ </ul></li>
750
+ </ul>
751
+
752
+
753
+ <ul>
754
+ <li>Added ability to pass arbitrary command-line arguments to the Ruby interpreter (using <code>$ruby_init</code>). Now you can invoke any Ruby script you want, instead of <code>pli_init.rb</code>.</li>
755
+ </ul>
756
+
757
+
758
+ <ul>
759
+ <li>Added ability to dynamically register system tasks from Ruby, using <code>VPI::register_task("task name")</code>, and call them from Verilog, using <code>$ruby_task("task name")</code>.</li>
760
+ </ul>
761
+
762
+
763
+ <ul>
764
+ <li>Added <code>VPI::Handle</code> class which encapsulates a <code>vpiHandle</code> VPI object.</li>
765
+ </ul>
766
+
767
+
768
+ <ul>
769
+ <li>This release was tested and developed using:
770
+ <ul>
771
+ <li>Ruby 1.8.2 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
772
+ <li>Ruby 1.8.4, Synopsys <span class="caps">VCS X</span>-2005.06, and Mentor Modelsim 6.1b on i686 <span class="caps">GNU</span>/Linux</li>
773
+ </ul></li>
774
+ </ul>
775
+
776
+
777
+ <h2>Acknowledgment</h2>
778
+
779
+
780
+ <ul>
781
+ <li>Thanks to Jose Renau for helping me debug how Synopsys <span class="caps">VCS</span> works with Verilog <span class="caps">VPI</span>. The problem was that <span class="caps">VCS</span> required calltf signatures to be <code>void (*)(void)</code>, whereas the Verilog standard defines a calltf signature as <code>PLI_INT32 (*)(PLI_BYTE8*)</code>.</li>
782
+ </ul>
783
+
784
+
785
+ <ul>
786
+ <li>Thanks to Ross Bamford, Eric Hodel, and Yukihiro Matsumoto for <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/180662">helping me discover</a> why the <code>SystemStackError</code> was happening.</li>
787
+ </ul>
788
+
789
+
790
+ <h1>Version 0.0.0 (1999-10-31)</h1>
791
+
792
+
793
+ <h2>Summary</h2>
794
+
795
+
796
+ <p>This is Kazuhiro <span class="caps">HIWADA</span>&#8217;s initial testing release of Ruby-VPI. See its <a href="http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-list/18193">original announcement</a> and <a href="http://easter.kuee.kyoto-u.ac.jp/~hiwada/ruby/memo/src/ruby-vpi-test.tgz">source code</a>.</p>
797
+
798
+
799
+ <h2>Details</h2>
800
+
801
+
802
+ <ul>
803
+ <li>Added ability to relay control from Verilog test bench to Ruby (using <code>$ruby_callback</code>) and vice versa (using <code>PLI::relay_verilog</code>).</li>
804
+ </ul>
805
+
806
+
807
+ <ul>
808
+ <li>Tested and developed using Ruby 1.4 and Verilog-XL from Cadence systems, on a <span class="caps">SPARC</span> machine running Solaris 2.6.</li>
809
+ </ul>