ruby-vpi 16.0.1 → 17.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. data/LICENSE +19 -19
  2. data/README +1 -1
  3. data/Rakefile +35 -32
  4. data/bin/convert.rb +28 -0
  5. data/bin/generate/design.rb +16 -0
  6. data/bin/generate/proto.rb +13 -0
  7. data/bin/generate/runner.rake +33 -0
  8. data/bin/generate/spec.rb +45 -0
  9. data/bin/generate.rb +177 -0
  10. data/bin/ruby-vpi +56 -0
  11. data/doc/Rakefile +20 -4
  12. data/doc/common.css +92 -33
  13. data/doc/common.inc +13 -0
  14. data/doc/common.tpl +42 -28
  15. data/doc/history.doc +11 -11
  16. data/doc/history.html +769 -248
  17. data/doc/history.inc +909 -0
  18. data/doc/history.rb +9 -0
  19. data/doc/history.yaml +69 -0
  20. data/doc/intro.inc +170 -178
  21. data/doc/lib/doc_format.rb +57 -144
  22. data/doc/lib/doc_proxy.rb +504 -88
  23. data/doc/lib/erb_content.rb +8 -8
  24. data/doc/lib/erb_proxy.rb +17 -17
  25. data/doc/manual.doc +626 -777
  26. data/doc/manual.html +1541 -1031
  27. data/doc/memo.doc +38 -36
  28. data/doc/memo.html +64 -28
  29. data/doc/readme.doc +4 -31
  30. data/doc/readme.html +221 -163
  31. data/doc/rss.erb +1 -1
  32. data/doc/rss.xml +73 -1761
  33. data/ext/Rakefile +6 -5
  34. data/ext/main.c +17 -15
  35. data/ext/relay.c +4 -7
  36. data/ext/relay.h +2 -2
  37. data/ext/swig_vpi.h +2 -2
  38. data/ext/swig_vpi.i +1 -2
  39. data/ext/swig_wrap.cin +12 -16
  40. data/ext/vlog.c +5 -5
  41. data/ext/vlog.h +2 -2
  42. data/lib/ruby-vpi/erb.rb +3 -3
  43. data/lib/ruby-vpi/float.rb +2 -2
  44. data/lib/ruby-vpi/rcov.rb +5 -7
  45. data/lib/ruby-vpi/runner.rb +43 -41
  46. data/lib/ruby-vpi/runner_boot_loader.rb +117 -0
  47. data/lib/ruby-vpi/runner_proxy.rb +6 -8
  48. data/lib/ruby-vpi/util.rb +10 -0
  49. data/lib/ruby-vpi/verilog_parser.rb +28 -56
  50. data/lib/ruby-vpi/vpi.rb +168 -123
  51. data/lib/ruby-vpi.rb +22 -143
  52. data/ref/c/annotated.html +1 -1
  53. data/ref/c/common_8h.html +1 -1
  54. data/ref/c/files.html +1 -1
  55. data/ref/c/functions.html +1 -1
  56. data/ref/c/functions_vars.html +1 -1
  57. data/ref/c/globals.html +1 -1
  58. data/ref/c/globals_0x63.html +1 -1
  59. data/ref/c/globals_0x65.html +1 -1
  60. data/ref/c/globals_0x66.html +1 -1
  61. data/ref/c/globals_0x6d.html +1 -1
  62. data/ref/c/globals_0x70.html +1 -1
  63. data/ref/c/globals_0x72.html +1 -1
  64. data/ref/c/globals_0x73.html +1 -1
  65. data/ref/c/globals_0x74.html +1 -1
  66. data/ref/c/globals_0x76.html +1 -1
  67. data/ref/c/globals_0x78.html +1 -1
  68. data/ref/c/globals_defs.html +1 -1
  69. data/ref/c/globals_defs_0x65.html +1 -1
  70. data/ref/c/globals_defs_0x70.html +1 -1
  71. data/ref/c/globals_defs_0x76.html +1 -1
  72. data/ref/c/globals_defs_0x78.html +1 -1
  73. data/ref/c/globals_enum.html +1 -1
  74. data/ref/c/globals_eval.html +1 -1
  75. data/ref/c/globals_func.html +1 -1
  76. data/ref/c/globals_type.html +1 -1
  77. data/ref/c/globals_vars.html +1 -1
  78. data/ref/c/index.html +1 -1
  79. data/ref/c/main_8c.html +1 -1
  80. data/ref/c/main_8h.html +1 -1
  81. data/ref/c/relay_8c.html +1 -1
  82. data/ref/c/relay_8h.html +1 -1
  83. data/ref/c/structt__cb__data.html +1 -1
  84. data/ref/c/structt__vpi__delay.html +1 -1
  85. data/ref/c/structt__vpi__error__info.html +1 -1
  86. data/ref/c/structt__vpi__strengthval.html +1 -1
  87. data/ref/c/structt__vpi__systf__data.html +1 -1
  88. data/ref/c/structt__vpi__time.html +1 -1
  89. data/ref/c/structt__vpi__value.html +1 -1
  90. data/ref/c/structt__vpi__vecval.html +1 -1
  91. data/ref/c/structt__vpi__vlog__info.html +1 -1
  92. data/ref/c/verilog_8h.html +1 -1
  93. data/ref/c/vlog_8c.html +1 -1
  94. data/ref/c/vlog_8h.html +1 -1
  95. data/ref/c/vpi__user_8h.html +1 -1
  96. data/ref/ruby/classes/ERB.html +5 -5
  97. data/ref/ruby/classes/ERB.src/{M000024.html → M000026.html} +0 -0
  98. data/ref/ruby/classes/FileUtils.html +11 -11
  99. data/ref/ruby/classes/FileUtils.src/{M000025.html → M000027.html} +0 -0
  100. data/ref/ruby/classes/FileUtils.src/{M000026.html → M000028.html} +0 -0
  101. data/ref/ruby/classes/Float.html +6 -6
  102. data/ref/ruby/classes/Float.src/{M000020.html → M000021.html} +0 -0
  103. data/ref/ruby/classes/Integer.html +65 -65
  104. data/ref/ruby/classes/Integer.src/M000009.html +12 -5
  105. data/ref/ruby/classes/Integer.src/M000010.html +5 -5
  106. data/ref/ruby/classes/Integer.src/M000011.html +5 -5
  107. data/ref/ruby/classes/Integer.src/M000012.html +5 -5
  108. data/ref/ruby/classes/Integer.src/M000013.html +5 -5
  109. data/ref/ruby/classes/Integer.src/M000014.html +18 -0
  110. data/ref/ruby/classes/Integer.src/M000017.html +12 -18
  111. data/ref/ruby/classes/Integer.src/M000018.html +18 -12
  112. data/ref/ruby/classes/Integer.src/M000019.html +12 -17
  113. data/ref/ruby/classes/Integer.src/M000020.html +30 -0
  114. data/ref/ruby/classes/RDoc.html +5 -5
  115. data/ref/ruby/classes/RDoc.src/{M000053.html → M000058.html} +0 -0
  116. data/ref/ruby/classes/{RubyVpi/Config.html → RubyVPI.html} +20 -6
  117. data/ref/ruby/classes/String.html +34 -15
  118. data/ref/ruby/classes/String.src/M000022.html +5 -28
  119. data/ref/ruby/classes/String.src/M000023.html +5 -5
  120. data/ref/ruby/classes/String.src/{M000021.html → M000024.html} +0 -0
  121. data/ref/ruby/classes/String.src/M000025.html +41 -0
  122. data/ref/ruby/classes/VerilogParser/Module/Port.html +16 -36
  123. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +10 -5
  124. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000004.html → M000007.html} +4 -4
  125. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000005.html → M000008.html} +4 -4
  126. data/ref/ruby/classes/VerilogParser/Module.html +28 -9
  127. data/ref/ruby/classes/VerilogParser/Module.src/M000005.html +29 -0
  128. data/ref/ruby/classes/VerilogParser.html +5 -39
  129. data/ref/ruby/classes/VerilogParser.src/M000004.html +26 -0
  130. data/ref/ruby/classes/Vpi/Handle.html +179 -77
  131. data/ref/ruby/classes/Vpi/Handle.src/M000035.html +18 -0
  132. data/ref/ruby/classes/Vpi/Handle.src/M000036.html +5 -5
  133. data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -5
  134. data/ref/ruby/classes/Vpi/Handle.src/M000038.html +5 -5
  135. data/ref/ruby/classes/Vpi/Handle.src/M000039.html +5 -5
  136. data/ref/ruby/classes/Vpi/Handle.src/M000040.html +5 -8
  137. data/ref/ruby/classes/Vpi/Handle.src/M000041.html +5 -8
  138. data/ref/ruby/classes/Vpi/Handle.src/M000042.html +5 -9
  139. data/ref/ruby/classes/Vpi/Handle.src/M000043.html +8 -31
  140. data/ref/ruby/classes/Vpi/Handle.src/M000044.html +8 -74
  141. data/ref/ruby/classes/Vpi/Handle.src/M000045.html +9 -17
  142. data/ref/ruby/classes/Vpi/Handle.src/M000046.html +31 -11
  143. data/ref/ruby/classes/Vpi/Handle.src/M000047.html +86 -0
  144. data/ref/ruby/classes/Vpi/Handle.src/M000048.html +17 -18
  145. data/ref/ruby/classes/Vpi/Handle.src/M000050.html +18 -0
  146. data/ref/ruby/classes/Vpi/Handle.src/M000051.html +24 -0
  147. data/ref/ruby/classes/Vpi/Handle.src/M000053.html +31 -0
  148. data/ref/ruby/classes/Vpi/Handle.src/M000054.html +89 -0
  149. data/ref/ruby/classes/Vpi/S_vpi_time.html +16 -16
  150. data/ref/ruby/classes/Vpi/S_vpi_time.src/{M000050.html → M000055.html} +4 -4
  151. data/ref/ruby/classes/Vpi/S_vpi_time.src/{M000051.html → M000056.html} +5 -5
  152. data/ref/ruby/classes/Vpi/S_vpi_value.html +15 -15
  153. data/ref/ruby/classes/Vpi/S_vpi_value.src/{M000035.html → M000032.html} +5 -5
  154. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000033.html +5 -5
  155. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html +5 -5
  156. data/ref/ruby/classes/Vpi.html +6 -42
  157. data/ref/ruby/classes/Vpi.src/M000029.html +15 -5
  158. data/ref/ruby/classes/Vpi.src/M000030.html +24 -24
  159. data/ref/ruby/classes/Vpi.src/M000031.html +6 -8
  160. data/ref/ruby/created.rid +1 -1
  161. data/ref/ruby/files/bin/{header_to_ruby_rb.html → convert_rb.html} +5 -5
  162. data/ref/ruby/files/bin/{generate_test_rb.html → generate_rb.html} +8 -21
  163. data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
  164. data/ref/ruby/files/lib/ruby-vpi/float_rb.html +1 -1
  165. data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +1 -1
  166. data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
  167. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
  168. data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
  169. data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.html +197 -0
  170. data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000001.html +17 -0
  171. data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000002.html +18 -0
  172. data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
  173. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +6 -19
  174. data/ref/ruby/files/lib/ruby-vpi/util_rb.html +101 -0
  175. data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +8 -1
  176. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  177. data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -14
  178. data/ref/ruby/fr_class_index.html +1 -3
  179. data/ref/ruby/fr_file_index.html +4 -2
  180. data/ref/ruby/fr_method_index.html +56 -51
  181. data/ref/ruby/index.html +1 -1
  182. data/samp/counter/RSpec/Rakefile +1 -0
  183. data/samp/counter/RSpec/counter_design.rb +15 -0
  184. data/samp/counter/RSpec/counter_proto.rb +10 -0
  185. data/samp/counter/RSpec/counter_runner.rake +44 -0
  186. data/samp/counter/RSpec/counter_spec.rb +39 -0
  187. data/samp/counter/Rakefile +1 -1
  188. data/samp/counter/counter.v +7 -7
  189. data/samp/counter/xUnit/Rakefile +1 -0
  190. data/samp/counter/xUnit/counter_bench.rb +95 -0
  191. data/samp/counter/{counter_xunit_bench.v → xUnit/counter_bench.v} +0 -0
  192. data/samp/counter/xUnit/counter_design.rb +15 -0
  193. data/samp/counter/xUnit/counter_proto.rb +10 -0
  194. data/samp/counter/xUnit/counter_runner.rake +44 -0
  195. data/samp/counter/{counter_xunit_spec.rb → xUnit/counter_spec.rb} +9 -9
  196. data/samp/pipelined_alu/Rakefile +1 -1
  197. data/samp/pipelined_alu/TestHw5UnitModel.rb +4 -5
  198. data/samp/pipelined_alu/hw5_unit.v +55 -85
  199. data/samp/pipelined_alu/hw5_unit_design.rb +51 -0
  200. data/samp/pipelined_alu/hw5_unit_proto.rb +4 -0
  201. data/samp/pipelined_alu/hw5_unit_runner.rake +43 -0
  202. data/samp/pipelined_alu/hw5_unit_spec.rb +64 -0
  203. data/samp/register_file/LICENSE +20 -0
  204. data/samp/register_file/README +4 -0
  205. data/samp/register_file/Rakefile +1 -0
  206. data/samp/register_file/register_file.v +18 -0
  207. data/samp/register_file/register_file_design.rb +11 -0
  208. data/samp/register_file/register_file_proto.rb +11 -0
  209. data/samp/register_file/register_file_runner.rake +43 -0
  210. data/samp/register_file/register_file_spec.rb +58 -0
  211. metadata +78 -66
  212. data/bin/generate_test.rb +0 -200
  213. data/bin/generate_test_tpl/bench.rb +0 -89
  214. data/bin/generate_test_tpl/bench.v +0 -26
  215. data/bin/generate_test_tpl/design.rb +0 -11
  216. data/bin/generate_test_tpl/proto.rb +0 -16
  217. data/bin/generate_test_tpl/runner.rake +0 -42
  218. data/bin/generate_test_tpl/spec.rb +0 -37
  219. data/bin/header_to_ruby.rb +0 -27
  220. data/ref/ruby/classes/Integer.src/M000008.html +0 -25
  221. data/ref/ruby/classes/Integer.src/M000016.html +0 -25
  222. data/ref/ruby/classes/RubyVpi.html +0 -199
  223. data/ref/ruby/classes/RubyVpi.src/M000027.html +0 -121
  224. data/ref/ruby/classes/VerilogParser/Module/Parameter.html +0 -160
  225. data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000007.html +0 -19
  226. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000003.html +0 -21
  227. data/ref/ruby/classes/VerilogParser/Module.src/M000002.html +0 -34
  228. data/ref/ruby/classes/VerilogParser.src/M000001.html +0 -34
  229. data/ref/ruby/classes/Vpi/Handle.src/M000049.html +0 -69
  230. data/ref/ruby/classes/Vpi.src/M000028.html +0 -28
  231. data/ref/ruby/classes/Vpi.src/M000032.html +0 -22
  232. data/samp/counter/counter_rspec_bench.rb +0 -86
  233. data/samp/counter/counter_rspec_bench.v +0 -9
  234. data/samp/counter/counter_rspec_design.rb +0 -8
  235. data/samp/counter/counter_rspec_proto.rb +0 -13
  236. data/samp/counter/counter_rspec_runner.rake +0 -52
  237. data/samp/counter/counter_rspec_spec.rb +0 -39
  238. data/samp/counter/counter_xunit_bench.rb +0 -86
  239. data/samp/counter/counter_xunit_design.rb +0 -8
  240. data/samp/counter/counter_xunit_proto.rb +0 -13
  241. data/samp/counter/counter_xunit_runner.rake +0 -52
  242. data/samp/pipelined_alu/hw5_unit_test_bench.rb +0 -86
  243. data/samp/pipelined_alu/hw5_unit_test_bench.v +0 -14
  244. data/samp/pipelined_alu/hw5_unit_test_design.rb +0 -61
  245. data/samp/pipelined_alu/hw5_unit_test_proto.rb +0 -7
  246. data/samp/pipelined_alu/hw5_unit_test_runner.rake +0 -52
  247. data/samp/pipelined_alu/hw5_unit_test_spec.rb +0 -68
data/doc/memo.doc CHANGED
@@ -1,63 +1,65 @@
1
- h1. Pending tasks
1
+ <doc_proxy_include common.inc>
2
2
 
3
- * add shortcuts for reading & writing VPI delay values
3
+ <% section "Pending tasks" do %>
4
+ * add shortcuts for reading & writing VPI delay values
4
5
 
5
- * GHDL simulator supports VPI
6
- ** need way to invoke VPI tasks from VHDL, like @$ruby_init();@
6
+ * GHDL simulator supports VPI
7
+ ** need way to invoke VPI tasks from VHDL, like @$ruby_init();@
7
8
 
8
- +No need for system tasks/functions. Ruby-VPI uses callbacks now!+
9
+ +No need for system tasks/functions. Ruby-VPI uses callbacks now!+
9
10
 
10
- * add instructions for using *ruby-debug* with a graphical debugging tool or IDE like RadRails
11
+ * add instructions for using *ruby-debug* with a graphical debugging tool or IDE like RadRails
11
12
 
12
- * write section about code coverage and prototyping in manual
13
+ * write section about code coverage and prototyping in manual
13
14
 
14
- * clean up the teriminology section... unnecessary
15
+ * clean up the teriminology section... unnecessary
15
16
 
16
- * write unit tests for the non-VPI libraries like integer.rb and float.rb
17
+ * write unit tests for the non-VPI libraries like integer.rb and float.rb
18
+ <% end %>
17
19
 
18
20
 
19
- h1. Finished tasks
21
+ <% section "Finished tasks" do %>
22
+ * add support for ESL prototyping (like SystemC)
20
23
 
21
- * add support for ESL prototyping (like SystemC)
24
+ * decouple code generation with $RUBYLIB and erb
22
25
 
23
- * decouple code generation with $RUBYLIB and erb
26
+ * change should_be to should_equal in examples
24
27
 
25
- * change should_be to should_equal in examples
28
+ * add support for GPL Cver in the test runner template
26
29
 
27
- * add support for GPL Cver in the test runner template
30
+ * build ruby-vpi once to generate all .so files
31
+ ** test runner should not rebuild ruby-vpi every time
28
32
 
29
- * build ruby-vpi once to generate all .so files
30
- ** test runner should not rebuild ruby-vpi every time
33
+ * distribute as a GEM, binary, and source
34
+ ** use RUBYLIB to bypass rubygems site installation for local testing. otherwise have to build & install gem _every_ time!
35
+ ** move stuff from lib/ into lib/ruby-vpi/
31
36
 
32
- * distribute as a GEM, binary, and source
33
- ** use RUBYLIB to bypass rubygems site installation for local testing. otherwise have to build & install gem _every_ time!
34
- ** move stuff from lib/ into lib/ruby-vpi/
37
+ * integrate RCov for code-coverage statistics
35
38
 
36
- * integrate RCov for code-coverage statistics
39
+ * method_missing for Design class
37
40
 
38
- * method_missing for Design class
41
+ * define handled methods in Vpi::method_missing for faster response
42
+ ** this has been verified as bottleneck from profiling data
39
43
 
40
- * define handled methods in Vpi::method_missing for faster response
41
- ** this has been verified as bottleneck from profiling data
44
+ * make RCov correctly profile the code and report useful coverage metrics...
42
45
 
43
- * make RCov correctly profile the code and report useful coverage metrics...
46
+ * add support for VPI callbacks which execute Ruby blocks
47
+ <% end %>
44
48
 
45
- * add support for VPI callbacks which execute Ruby blocks
46
49
 
50
+ <% section "Obsolete tasks" do %>
51
+ * smarter test generation, which adjusts to user modifications in previously generated output
47
52
 
48
- h1. Obsolete tasks
53
+ +Just use a smart merging tool like *kdiff3*.+
49
54
 
50
- * smarter test generation, which adjusts to user modifications in previously generated output
55
+ * interactive console IRB wrapper for spec (just like Breakpoints in Rails)
51
56
 
52
- +Just use a smart merging tool like *kdiff3*.+
57
+ +Use the *ruby-debug* library with "*debugger* command for breakpoints":http://www.datanoise.com/articles/category/ruby-debug instead!+
53
58
 
54
- * interactive console IRB wrapper for spec (just like Breakpoints in Rails)
59
+ * need to dump signal values when expectation fails in rSpec
55
60
 
56
- +Use the *ruby-debug* library with "*debugger* command for breakpoints":http://www.datanoise.com/articles/category/ruby-debug instead!+
61
+ +You can use the interactive debugger instead.+
62
+ ** maybe a waveform dump will also help
57
63
 
58
- * need to dump signal values when expectation fails in rSpec
59
-
60
- +You can use the interactive debugger instead.+
61
- ** maybe a waveform dump will also help
62
-
63
- +After reading some RTL verification books, this is not necessarily true.+
64
+ +After reading some RTL verification books, this is not necessarily true.+
65
+ <% end %>
data/doc/memo.html CHANGED
@@ -8,31 +8,33 @@
8
8
  <title>Pending tasks</title>
9
9
  </head>
10
10
  <body>
11
- <h1 style="margin-top: 0">Pending tasks</h1>
12
-
13
- <p style="text-align:center;"><a href="readme.html"><img src="images/tango/home.png" title="Return to main page" alt="Return to main page" /></a></p>
14
-
15
- <div id="menu">
16
- <a href="#index">Contents</a>
11
+ <div id="toc-links">
12
+ <a href="#toc:contents">Contents</a> &middot;
13
+
14
+ <a href="readme.html" style="color: green; font-size: larger;">Home page</a>
17
15
  </div>
16
+
17
+ <div id="body"><p>
18
+ <hr style="display: none"/>
18
19
 
19
- <div id="index">
20
- <h1>Contents</h1>
21
- <ul><li><a id="a-606759078" href="#Pending_tasks">Pending tasks</a></li><li><a id="a-606760118" href="#Finished_tasks">Finished tasks</a></li><li><a id="a-606761088" href="#Obsolete_tasks">Obsolete tasks</a></li></ul>
20
+ <div id="Pending_tasks" class="section">
21
+ <h1 class="title">
22
+ <a href="#a-606651978">1</a>
22
23
 
23
- </div>
24
- <h1><a id="Pending_tasks" href="#a-606759078">1</a> &nbsp; Pending tasks</h1>
24
+ &nbsp;
25
25
 
26
+ Pending tasks
27
+ </h1>
26
28
 
27
- <ul>
28
- <li>add shortcuts for reading &#38; writing <span class="caps">VPI</span> delay values</li>
29
+ <ul>
30
+ <li>add shortcuts for reading &#38; writing VPI delay values</li>
29
31
  </ul>
30
32
 
31
33
 
32
34
  <ul>
33
- <li><span class="caps">GHDL</span> simulator supports <span class="caps">VPI</span>
35
+ <li>GHDL simulator supports VPI
34
36
  <ul>
35
- <li>need way to invoke <span class="caps">VPI</span> tasks from <span class="caps">VHDL</span>, like <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span>();</code>
37
+ <li>need way to invoke VPI tasks from VHDL, like <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span>();</code>
36
38
 
37
39
  <p><ins>No need for system tasks/functions. Ruby-VPI uses callbacks now!</ins></p></li>
38
40
  </ul></li>
@@ -40,7 +42,7 @@
40
42
 
41
43
 
42
44
  <ul>
43
- <li>add instructions for using <strong>ruby-debug</strong> with a graphical debugging tool or <span class="caps">IDE</span> like RadRails</li>
45
+ <li>add instructions for using <strong>ruby-debug</strong> with a graphical debugging tool or IDE like RadRails</li>
44
46
  </ul>
45
47
 
46
48
 
@@ -58,12 +60,24 @@
58
60
  <li>write unit tests for the non-VPI libraries like integer.rb and float.rb</li>
59
61
  </ul>
60
62
 
63
+ </div>
64
+ </p>
61
65
 
62
- <h1><a id="Finished_tasks" href="#a-606760118">2</a> &nbsp; Finished tasks</h1>
63
66
 
67
+ <p>
68
+ <hr style="display: none"/>
64
69
 
65
- <ul>
66
- <li>add support for <span class="caps">ESL</span> prototyping (like SystemC)</li>
70
+ <div id="Finished_tasks" class="section">
71
+ <h1 class="title">
72
+ <a href="#a-606657678">2</a>
73
+
74
+ &nbsp;
75
+
76
+ Finished tasks
77
+ </h1>
78
+
79
+ <ul>
80
+ <li>add support for ESL prototyping (like SystemC)</li>
67
81
  </ul>
68
82
 
69
83
 
@@ -78,7 +92,7 @@
78
92
 
79
93
 
80
94
  <ul>
81
- <li>add support for <span class="caps">GPL</span> Cver in the test runner template</li>
95
+ <li>add support for GPL Cver in the test runner template</li>
82
96
  </ul>
83
97
 
84
98
 
@@ -91,9 +105,9 @@
91
105
 
92
106
 
93
107
  <ul>
94
- <li>distribute as a <span class="caps">GEM</span>, binary, and source
108
+ <li>distribute as a GEM, binary, and source
95
109
  <ul>
96
- <li>use <span class="caps">RUBYLIB</span> to bypass rubygems site installation for local testing. otherwise have to build &#38; install gem <em>every</em> time!</li>
110
+ <li>use RUBYLIB to bypass rubygems site installation for local testing. otherwise have to build &#38; install gem <em>every</em> time!</li>
97
111
  <li>move stuff from lib/ into lib/ruby-vpi/</li>
98
112
  </ul></li>
99
113
  </ul>
@@ -123,14 +137,26 @@
123
137
 
124
138
 
125
139
  <ul>
126
- <li>add support for <span class="caps">VPI</span> callbacks which execute Ruby blocks</li>
140
+ <li>add support for VPI callbacks which execute Ruby blocks</li>
127
141
  </ul>
128
142
 
143
+ </div>
144
+ </p>
129
145
 
130
- <h1><a id="Obsolete_tasks" href="#a-606761088">3</a> &nbsp; Obsolete tasks</h1>
131
146
 
147
+ <p>
148
+ <hr style="display: none"/>
132
149
 
133
- <ul>
150
+ <div id="Obsolete_tasks" class="section">
151
+ <h1 class="title">
152
+ <a href="#a-606663598">3</a>
153
+
154
+ &nbsp;
155
+
156
+ Obsolete tasks
157
+ </h1>
158
+
159
+ <ul>
134
160
  <li>smarter test generation, which adjusts to user modifications in previously generated output
135
161
 
136
162
  <p><ins>Just use a smart merging tool like <strong>kdiff3</strong>.</ins></p></li>
@@ -138,7 +164,7 @@
138
164
 
139
165
 
140
166
  <ul>
141
- <li>interactive console <span class="caps">IRB</span> wrapper for spec (just like Breakpoints in Rails)
167
+ <li>interactive console IRB wrapper for spec (just like Breakpoints in Rails)
142
168
 
143
169
  <p><ins>Use the <strong>ruby-debug</strong> library with <a href="http://www.datanoise.com/articles/category/ruby-debug"><strong>debugger</strong> command for breakpoints</a> instead!</ins></p></li>
144
170
  </ul>
@@ -152,8 +178,18 @@
152
178
  <ul>
153
179
  <li>maybe a waveform dump will also help
154
180
 
155
- <p><ins>After reading some <span class="caps">RTL</span> verification books, this is not necessarily true.</ins></p></li>
181
+ <p><ins>After reading some RTL verification books, this is not necessarily true.</ins></p></li>
156
182
  </ul></li>
157
183
  </ul>
158
- </body>
184
+
185
+ </div>
186
+ </p></div>
187
+
188
+ <hr style="display: none"/>
189
+ <div id="toc">
190
+ <h1 id="toc:contents">Contents</h1>
191
+ <ul><li><span class="hide">1 </span><a id="a-606651978" href="#Pending_tasks">Pending tasks</a></li><li><span class="hide">2 </span><a id="a-606657678" href="#Finished_tasks">Finished tasks</a></li><li><span class="hide">3 </span><a id="a-606663598" href="#Obsolete_tasks">Obsolete tasks</a></li></ul>
192
+
193
+ </div>
194
+ </body>
159
195
  </html>
data/doc/readme.doc CHANGED
@@ -1,39 +1,12 @@
1
+ <doc_proxy_include common.inc>
1
2
  <%
2
3
  insert_toc = false
3
4
  page_title = "Ruby-VPI: Ruby interface to Verilog VPI"
4
5
  %>
5
6
 
6
- <style type="text/css">
7
- body {
8
- margin-left: 275px;
9
- padding-right: 1em;
10
- }
11
-
12
- #resources {
13
- position: absolute;
14
- left: 0;
15
- top: 0;
16
- width: 200px;
17
- padding: 1em;
18
-
19
- border: thin solid red;
20
- border-left: none;
21
- border-top: none;
22
- background-color: snow;
23
- }
24
-
25
- #resources li {
26
- margin-top: 1em;
27
- margin-left: -1em;
28
- }
29
-
30
- #resources h2 {
31
- display: none;
32
- }
33
- </style>
34
-
35
- h1{margin-top: 0}. Ruby-VPI
7
+ <div style="float: right">Version <%= version %></div>
8
+ <h1 style="padding-top: 0">Ruby-VPI</h1>
36
9
 
37
10
  <a href="http://www.ruby-lang.org"><img src="images/ruby/logo-reflection.png" alt="Logo of the Ruby programming language" style="margin: 0; margin-left: 2em; float: right"/></a>
38
11
 
39
- <%= import 'intro.inc' %>
12
+ <doc_proxy_include intro.inc>