ruby-vpi 12.1.0 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. data/bin/generate_test.rb +4 -5
  2. data/bin/generate_test_tpl/bench.rb +2 -0
  3. data/bin/generate_test_tpl/bench.v +4 -11
  4. data/bin/header_to_ruby.rb +0 -1
  5. data/doc/history.html +281 -206
  6. data/doc/history.rb +1 -1
  7. data/doc/history.yml +66 -35
  8. data/doc/manual.html +3 -3
  9. data/doc/memo.doc +2 -0
  10. data/doc/memo.html +5 -0
  11. data/doc/readme.doc +16 -8
  12. data/doc/readme.html +19 -13
  13. data/doc/rss.xml +7 -0
  14. data/ext/common.h +1 -0
  15. data/ext/{swig.c → main.c} +32 -6
  16. data/ext/{swig.h → main.h} +8 -7
  17. data/ext/relay.c +7 -83
  18. data/ext/relay.h +7 -5
  19. data/ext/swig_vpi.i +10 -3
  20. data/ext/swig_wrap.cin +4 -1
  21. data/ext/verilog.h +26 -10
  22. data/ext/vlog.c +16 -23
  23. data/ext/vlog.h +5 -19
  24. data/lib/ruby-vpi/rcov.rb +3 -3
  25. data/lib/ruby-vpi/runner.rb +5 -2
  26. data/lib/ruby-vpi/vpi.rb +1 -1
  27. data/lib/ruby-vpi.rb +57 -5
  28. data/ref/c/annotated.html +1 -7
  29. data/ref/c/common_8h.html +2 -1
  30. data/ref/c/files.html +3 -5
  31. data/ref/c/functions.html +24 -46
  32. data/ref/c/functions_vars.html +24 -46
  33. data/ref/c/globals.html +5 -210
  34. data/ref/c/globals_0x63.html +32 -48
  35. data/ref/c/globals_0x65.html +3 -9
  36. data/ref/c/globals_0x66.html +3 -19
  37. data/ref/c/globals_0x6d.html +5 -10
  38. data/ref/c/globals_0x70.html +19 -25
  39. data/ref/c/globals_0x72.html +8 -18
  40. data/ref/c/globals_0x73.html +11 -198
  41. data/ref/c/globals_0x74.html +2 -8
  42. data/ref/c/globals_0x76.html +419 -427
  43. data/ref/c/globals_0x78.html +3 -9
  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 +416 -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 +13 -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/{swig_8c.html → main_8c.html} +16 -14
  56. data/ref/c/{swig_8h.html → main_8h.html} +15 -14
  57. data/ref/c/relay_8c.html +25 -38
  58. data/ref/c/relay_8h.html +16 -15
  59. data/ref/c/structt__cb__data.html +6 -23
  60. data/ref/c/structt__vpi__delay.html +3 -20
  61. data/ref/c/structt__vpi__error__info.html +3 -71
  62. data/ref/c/structt__vpi__strengthval.html +3 -3
  63. data/ref/c/structt__vpi__systf__data.html +12 -46
  64. data/ref/c/structt__vpi__time.html +3 -3
  65. data/ref/c/structt__vpi__value.html +3 -113
  66. data/ref/c/structt__vpi__vecval.html +3 -3
  67. data/ref/c/structt__vpi__vlog__info.html +3 -54
  68. data/ref/c/verilog_8h.html +69 -3
  69. data/ref/c/vlog_8c.html +16 -61
  70. data/ref/c/vlog_8h.html +14 -57
  71. data/ref/c/vpi__user_8h.html +16 -16
  72. data/ref/ruby/classes/ERB.html +5 -5
  73. data/ref/ruby/classes/ERB.src/{M000032.html → M000026.html} +0 -0
  74. data/ref/ruby/classes/FileUtils.html +10 -10
  75. data/ref/ruby/classes/FileUtils.src/{M000034.html → M000027.html} +0 -0
  76. data/ref/ruby/classes/FileUtils.src/{M000035.html → M000028.html} +0 -0
  77. data/ref/ruby/classes/Float.html +5 -5
  78. data/ref/ruby/classes/Float.src/{M000027.html → M000022.html} +0 -0
  79. data/ref/ruby/classes/Integer.html +68 -68
  80. data/ref/ruby/classes/Integer.src/M000008.html +25 -0
  81. data/ref/ruby/classes/Integer.src/M000009.html +18 -0
  82. data/ref/ruby/classes/Integer.src/{M000014.html → M000010.html} +0 -0
  83. data/ref/ruby/classes/Integer.src/{M000015.html → M000011.html} +0 -0
  84. data/ref/ruby/classes/Integer.src/M000012.html +5 -12
  85. data/ref/ruby/classes/Integer.src/M000013.html +5 -5
  86. data/ref/ruby/classes/Integer.src/M000016.html +9 -5
  87. data/ref/ruby/classes/Integer.src/M000017.html +9 -5
  88. data/ref/ruby/classes/Integer.src/{M000022.html → M000018.html} +0 -0
  89. data/ref/ruby/classes/Integer.src/{M000023.html → M000019.html} +0 -0
  90. data/ref/ruby/classes/Integer.src/M000020.html +12 -9
  91. data/ref/ruby/classes/Integer.src/M000021.html +17 -9
  92. data/ref/ruby/classes/RDoc.html +5 -5
  93. data/ref/ruby/classes/RDoc.src/{M000050.html → M000041.html} +0 -0
  94. data/ref/ruby/classes/RubyVpi.html +29 -24
  95. data/ref/ruby/classes/RubyVpi.src/M000029.html +142 -0
  96. data/ref/ruby/classes/String.html +15 -15
  97. data/ref/ruby/classes/String.src/{M000029.html → M000023.html} +0 -0
  98. data/ref/ruby/classes/String.src/{M000030.html → M000024.html} +0 -0
  99. data/ref/ruby/classes/String.src/{M000031.html → M000025.html} +0 -0
  100. data/ref/ruby/classes/VerilogParser/Module/Parameter.html +5 -5
  101. data/ref/ruby/classes/VerilogParser/Module/Parameter.src/{M000011.html → M000007.html} +0 -0
  102. data/ref/ruby/classes/VerilogParser/Module/Port.html +20 -20
  103. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000007.html → M000003.html} +0 -0
  104. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000008.html → M000004.html} +0 -0
  105. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000009.html → M000005.html} +0 -0
  106. data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000010.html → M000006.html} +0 -0
  107. data/ref/ruby/classes/VerilogParser/Module.html +5 -5
  108. data/ref/ruby/classes/VerilogParser/Module.src/{M000006.html → M000002.html} +0 -0
  109. data/ref/ruby/classes/VerilogParser.html +5 -5
  110. data/ref/ruby/classes/VerilogParser.src/{M000005.html → M000001.html} +0 -0
  111. data/ref/ruby/classes/Vpi/Handle.html +56 -62
  112. data/ref/ruby/classes/Vpi/Handle.src/M000030.html +18 -0
  113. data/ref/ruby/classes/Vpi/Handle.src/{M000039.html → M000031.html} +0 -0
  114. data/ref/ruby/classes/Vpi/Handle.src/M000032.html +18 -0
  115. data/ref/ruby/classes/Vpi/Handle.src/{M000041.html → M000033.html} +0 -0
  116. data/ref/ruby/classes/Vpi/Handle.src/{M000042.html → M000034.html} +0 -0
  117. data/ref/ruby/classes/Vpi/Handle.src/{M000043.html → M000035.html} +0 -0
  118. data/ref/ruby/classes/Vpi/Handle.src/{M000044.html → M000036.html} +0 -0
  119. data/ref/ruby/classes/Vpi/Handle.src/{M000045.html → M000037.html} +0 -0
  120. data/ref/ruby/classes/Vpi/Handle.src/M000038.html +11 -5
  121. data/ref/ruby/classes/Vpi/Handle.src/M000040.html +55 -5
  122. data/ref/ruby/created.rid +1 -1
  123. data/ref/ruby/files/bin/generate_test_rb.html +1 -49
  124. data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
  125. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
  126. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -48
  127. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  128. data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
  129. data/ref/ruby/fr_class_index.html +0 -5
  130. data/ref/ruby/fr_method_index.html +41 -50
  131. data/samp/counter/counter_rspec_bench.rb +2 -0
  132. data/samp/counter/counter_rspec_bench.v +4 -11
  133. data/samp/counter/counter_rspec_design.rb +2 -2
  134. data/samp/counter/counter_xunit_bench.rb +2 -0
  135. data/samp/counter/counter_xunit_bench.v +4 -11
  136. data/samp/counter/counter_xunit_design.rb +2 -2
  137. data/samp/pipelined_alu/hw5_unit_test_bench.rb +2 -0
  138. data/samp/pipelined_alu/hw5_unit_test_bench.v +4 -11
  139. metadata +37 -85
  140. data/ref/c/globals_0x62.html +0 -62
  141. data/ref/c/globals_0x67.html +0 -64
  142. data/ref/c/globals_0x69.html +0 -62
  143. data/ref/c/globals_0x6c.html +0 -64
  144. data/ref/c/globals_0x6e.html +0 -63
  145. data/ref/c/globals_0x75.html +0 -63
  146. data/ref/c/globals_defs_0x6c.html +0 -57
  147. data/ref/c/globals_defs_0x6e.html +0 -56
  148. data/ref/c/globals_defs_0x72.html +0 -57
  149. data/ref/c/globals_defs_0x73.html +0 -164
  150. data/ref/c/globals_defs_0x75.html +0 -56
  151. data/ref/c/globals_func_0x66.html +0 -62
  152. data/ref/c/globals_func_0x67.html +0 -55
  153. data/ref/c/globals_func_0x69.html +0 -53
  154. data/ref/c/globals_func_0x70.html +0 -53
  155. data/ref/c/globals_func_0x72.html +0 -57
  156. data/ref/c/globals_func_0x73.html +0 -114
  157. data/ref/c/globals_func_0x76.html +0 -57
  158. data/ref/c/structrelay____RubyOptions____def.html +0 -73
  159. data/ref/c/structswig__cast__info.html +0 -98
  160. data/ref/c/structswig__class.html +0 -115
  161. data/ref/c/structswig__module__info.html +0 -132
  162. data/ref/c/structswig__type__info.html +0 -132
  163. data/ref/c/swig__vpi_8h.html +0 -8739
  164. data/ref/c/swig__wrap_8cin.html +0 -11556
  165. data/ref/c/unions__vpi__value__value.html +0 -166
  166. data/ref/ruby/classes/Integer.src/M000024.html +0 -25
  167. data/ref/ruby/classes/Integer.src/M000025.html +0 -30
  168. data/ref/ruby/classes/OutputInfo.html +0 -294
  169. data/ref/ruby/classes/OutputInfo.src/M000026.html +0 -50
  170. data/ref/ruby/classes/RubyVpi.src/M000036.html +0 -107
  171. data/ref/ruby/classes/RubyVpi.src/M000037.html +0 -20
  172. data/ref/ruby/classes/Template.html +0 -158
  173. data/ref/ruby/classes/Template.src/M000028.html +0 -18
  174. data/ref/ruby/classes/Vpi/Handle/Property.html +0 -130
  175. data/ref/ruby/classes/Vpi/Handle/Property.src/M000049.html +0 -80
  176. data/ref/ruby/classes/Vpi/Handle.src/M000046.html +0 -24
  177. data/ref/ruby/classes/Vpi/Handle.src/M000048.html +0 -68
  178. data/ref/ruby/classes/XX/XMLish.html +0 -138
  179. data/ref/ruby/classes/XX/XMLish.src/M000033.html +0 -18
  180. data/ref/ruby/classes/XX.html +0 -111
  181. data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +0 -18
  182. data/ref/ruby/files/bin/generate_test_rb.src/M000002.html +0 -38
  183. data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000003.html +0 -24
  184. data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html +0 -26
@@ -1,166 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
- <title>Ruby-VPI: s_vpi_value_value Union Reference</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.4.7 -->
8
- <div class="tabs">
9
- <ul>
10
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
- <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
12
- <li><a href="files.html"><span>Files</span></a></li>
13
- </ul></div>
14
- <div class="tabs">
15
- <ul>
16
- <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
17
- <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
18
- </ul></div>
19
- <h1>s_vpi_value_value Union Reference</h1><!-- doxytag: class="s_vpi_value_value" --><table border="0" cellpadding="0" cellspacing="0">
20
- <tr><td></td></tr>
21
- <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
22
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#fa9c2707008632f4483435de8479bf09">str</a></td></tr>
23
-
24
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#ddde1b42b67cc33b24f848b6136452a6">scalar</a></td></tr>
25
-
26
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#5b7b4294baa69af942467e56985acde7">integer</a></td></tr>
27
-
28
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#65be6f4dfb83ecda12243906b02e779c">real</a></td></tr>
29
-
30
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__time.html">t_vpi_time</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#3c2ca8f361f470a20e44e7f9fdb41672">time</a></td></tr>
31
-
32
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__vecval.html">t_vpi_vecval</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#83be7b9659a7336f2c89c03398f8f36f">vector</a></td></tr>
33
-
34
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__strengthval.html">t_vpi_strengthval</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#575232f92b4e2190577a3c14294a324d">strength</a></td></tr>
35
-
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#28cffae0783d0a647c228b110f74e585">misc</a></td></tr>
37
-
38
- </table>
39
- <hr><h2>Field Documentation</h2>
40
- <a class="anchor" name="5b7b4294baa69af942467e56985acde7"></a><!-- doxytag: member="s_vpi_value_value::integer" ref="5b7b4294baa69af942467e56985acde7" args="" -->
41
- <div class="memitem">
42
- <div class="memproto">
43
- <table class="memname">
44
- <tr>
45
- <td class="memname"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> <a class="el" href="unions__vpi__value__value.html#5b7b4294baa69af942467e56985acde7">s_vpi_value_value::integer</a> </td>
46
- </tr>
47
- </table>
48
- </div>
49
- <div class="memdoc">
50
-
51
- <p>
52
-
53
- </div>
54
- </div><p>
55
- <a class="anchor" name="28cffae0783d0a647c228b110f74e585"></a><!-- doxytag: member="s_vpi_value_value::misc" ref="28cffae0783d0a647c228b110f74e585" args="" -->
56
- <div class="memitem">
57
- <div class="memproto">
58
- <table class="memname">
59
- <tr>
60
- <td class="memname"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* <a class="el" href="unions__vpi__value__value.html#28cffae0783d0a647c228b110f74e585">s_vpi_value_value::misc</a> </td>
61
- </tr>
62
- </table>
63
- </div>
64
- <div class="memdoc">
65
-
66
- <p>
67
-
68
- </div>
69
- </div><p>
70
- <a class="anchor" name="65be6f4dfb83ecda12243906b02e779c"></a><!-- doxytag: member="s_vpi_value_value::real" ref="65be6f4dfb83ecda12243906b02e779c" args="" -->
71
- <div class="memitem">
72
- <div class="memproto">
73
- <table class="memname">
74
- <tr>
75
- <td class="memname">double <a class="el" href="unions__vpi__value__value.html#65be6f4dfb83ecda12243906b02e779c">s_vpi_value_value::real</a> </td>
76
- </tr>
77
- </table>
78
- </div>
79
- <div class="memdoc">
80
-
81
- <p>
82
-
83
- </div>
84
- </div><p>
85
- <a class="anchor" name="ddde1b42b67cc33b24f848b6136452a6"></a><!-- doxytag: member="s_vpi_value_value::scalar" ref="ddde1b42b67cc33b24f848b6136452a6" args="" -->
86
- <div class="memitem">
87
- <div class="memproto">
88
- <table class="memname">
89
- <tr>
90
- <td class="memname"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> <a class="el" href="unions__vpi__value__value.html#ddde1b42b67cc33b24f848b6136452a6">s_vpi_value_value::scalar</a> </td>
91
- </tr>
92
- </table>
93
- </div>
94
- <div class="memdoc">
95
-
96
- <p>
97
-
98
- </div>
99
- </div><p>
100
- <a class="anchor" name="fa9c2707008632f4483435de8479bf09"></a><!-- doxytag: member="s_vpi_value_value::str" ref="fa9c2707008632f4483435de8479bf09" args="" -->
101
- <div class="memitem">
102
- <div class="memproto">
103
- <table class="memname">
104
- <tr>
105
- <td class="memname"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* <a class="el" href="unions__vpi__value__value.html#fa9c2707008632f4483435de8479bf09">s_vpi_value_value::str</a> </td>
106
- </tr>
107
- </table>
108
- </div>
109
- <div class="memdoc">
110
-
111
- <p>
112
-
113
- </div>
114
- </div><p>
115
- <a class="anchor" name="575232f92b4e2190577a3c14294a324d"></a><!-- doxytag: member="s_vpi_value_value::strength" ref="575232f92b4e2190577a3c14294a324d" args="" -->
116
- <div class="memitem">
117
- <div class="memproto">
118
- <table class="memname">
119
- <tr>
120
- <td class="memname">struct <a class="el" href="structt__vpi__strengthval.html">t_vpi_strengthval</a>* <a class="el" href="unions__vpi__value__value.html#575232f92b4e2190577a3c14294a324d">s_vpi_value_value::strength</a> </td>
121
- </tr>
122
- </table>
123
- </div>
124
- <div class="memdoc">
125
-
126
- <p>
127
-
128
- </div>
129
- </div><p>
130
- <a class="anchor" name="3c2ca8f361f470a20e44e7f9fdb41672"></a><!-- doxytag: member="s_vpi_value_value::time" ref="3c2ca8f361f470a20e44e7f9fdb41672" args="" -->
131
- <div class="memitem">
132
- <div class="memproto">
133
- <table class="memname">
134
- <tr>
135
- <td class="memname">struct <a class="el" href="structt__vpi__time.html">t_vpi_time</a>* <a class="el" href="unions__vpi__value__value.html#3c2ca8f361f470a20e44e7f9fdb41672">s_vpi_value_value::time</a> </td>
136
- </tr>
137
- </table>
138
- </div>
139
- <div class="memdoc">
140
-
141
- <p>
142
-
143
- </div>
144
- </div><p>
145
- <a class="anchor" name="83be7b9659a7336f2c89c03398f8f36f"></a><!-- doxytag: member="s_vpi_value_value::vector" ref="83be7b9659a7336f2c89c03398f8f36f" args="" -->
146
- <div class="memitem">
147
- <div class="memproto">
148
- <table class="memname">
149
- <tr>
150
- <td class="memname">struct <a class="el" href="structt__vpi__vecval.html">t_vpi_vecval</a>* <a class="el" href="unions__vpi__value__value.html#83be7b9659a7336f2c89c03398f8f36f">s_vpi_value_value::vector</a> </td>
151
- </tr>
152
- </table>
153
- </div>
154
- <div class="memdoc">
155
-
156
- <p>
157
-
158
- </div>
159
- </div><p>
160
- <hr>The documentation for this union was generated from the following file:<ul>
161
- <li><a class="el" href="swig__wrap_8cin.html">swig_wrap.cin</a></ul>
162
- <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 22 21:43:02 2006 for Ruby-VPI by&nbsp;
163
- <a href="http://www.doxygen.org/index.html">
164
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
165
- </body>
166
- </html>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>extend_sign (Integer)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 120</span>
14
- 120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extend_sign</span> <span class="ruby-identifier">aOrigWidth</span>, <span class="ruby-identifier">aExtWidth</span>
15
- 121: <span class="ruby-identifier">result</span> = <span class="ruby-keyword kw">self</span>
16
- 122: <span class="ruby-identifier">maskWidth</span> = <span class="ruby-identifier">aExtWidth</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">aOrigWidth</span>
17
- 123:
18
- 124: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">maskWidth</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">result</span>[<span class="ruby-identifier">aOrigWidth</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
19
- 125: <span class="ruby-identifier">result</span> <span class="ruby-operator">|=</span> (<span class="ruby-identifier">maskWidth</span>.<span class="ruby-identifier">to_mask</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">aOrigWidth</span>)
20
- 126: <span class="ruby-keyword kw">end</span>
21
- 127:
22
- 128: <span class="ruby-identifier">result</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">aExtWidth</span>.<span class="ruby-identifier">to_mask</span>
23
- 129: <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,30 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>split (Integer)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 141</span>
14
- 141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span> <span class="ruby-identifier">aWidth</span> = <span class="ruby-value">8</span>
15
- 142: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;width must be positive and non-zero&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aWidth</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
16
- 143:
17
- 144: <span class="ruby-identifier">int</span>, <span class="ruby-identifier">bits</span> = <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">length</span>
18
- 145: <span class="ruby-identifier">mask</span> = <span class="ruby-identifier">aWidth</span>.<span class="ruby-identifier">to_mask</span>
19
- 146: <span class="ruby-identifier">words</span> = []
20
- 147:
21
- 148: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">bits</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
22
- 149: <span class="ruby-identifier">words</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">int</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">mask</span>
23
- 150: <span class="ruby-identifier">int</span> <span class="ruby-operator">&gt;&gt;=</span> <span class="ruby-identifier">aWidth</span>
24
- 151: <span class="ruby-identifier">bits</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">aWidth</span>
25
- 152: <span class="ruby-keyword kw">end</span>
26
- 153:
27
- 154: <span class="ruby-identifier">words</span>
28
- 155: <span class="ruby-keyword kw">end</span></pre>
29
- </body>
30
- </html>
@@ -1,294 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: OutputInfo</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">OutputInfo</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/bin/generate_test_rb.html">
59
- bin/generate_test.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- Holds information about the output destinations of a parsed Verilog module.
84
- </p>
85
-
86
- </div>
87
-
88
-
89
- </div>
90
-
91
- <div id="method-list">
92
- <h3 class="section-bar">Methods</h3>
93
-
94
- <div class="name-list">
95
- <a href="#M000026">new</a>&nbsp;&nbsp;
96
- </div>
97
- </div>
98
-
99
- </div>
100
-
101
-
102
- <!-- if includes -->
103
-
104
- <div id="section">
105
-
106
-
107
- <div id="constants-list">
108
- <h3 class="section-bar">Constants</h3>
109
-
110
- <div class="name-list">
111
- <table summary="Constants">
112
- <tr class="top-aligned-row context-row">
113
- <td class="context-item-name">RUBY_EXT</td>
114
- <td>=</td>
115
- <td class="context-item-value">'.rb'</td>
116
- </tr>
117
- <tr class="top-aligned-row context-row">
118
- <td class="context-item-name">VERILOG_EXT</td>
119
- <td>=</td>
120
- <td class="context-item-value">'.v'</td>
121
- </tr>
122
- <tr class="top-aligned-row context-row">
123
- <td class="context-item-name">RUNNER_EXT</td>
124
- <td>=</td>
125
- <td class="context-item-value">'.rake'</td>
126
- </tr>
127
- <tr class="top-aligned-row context-row">
128
- <td class="context-item-name">SPEC_FORMATS</td>
129
- <td>=</td>
130
- <td class="context-item-value">[:rSpec, :tSpec, :xUnit, :generic]</td>
131
- </tr>
132
- </table>
133
- </div>
134
- </div>
135
-
136
-
137
-
138
- <div id="attribute-list">
139
- <h3 class="section-bar">Attributes</h3>
140
-
141
- <div class="name-list">
142
- <table>
143
- <tr class="top-aligned-row context-row">
144
- <td class="context-item-name">benchSuffix</td>
145
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
146
- <td class="context-item-desc"></td>
147
- </tr>
148
- <tr class="top-aligned-row context-row">
149
- <td class="context-item-name">designClassName</td>
150
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
151
- <td class="context-item-desc"></td>
152
- </tr>
153
- <tr class="top-aligned-row context-row">
154
- <td class="context-item-name">designName</td>
155
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
156
- <td class="context-item-desc"></td>
157
- </tr>
158
- <tr class="top-aligned-row context-row">
159
- <td class="context-item-name">designPath</td>
160
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
161
- <td class="context-item-desc"></td>
162
- </tr>
163
- <tr class="top-aligned-row context-row">
164
- <td class="context-item-name">designSuffix</td>
165
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
166
- <td class="context-item-desc"></td>
167
- </tr>
168
- <tr class="top-aligned-row context-row">
169
- <td class="context-item-name">protoName</td>
170
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
171
- <td class="context-item-desc"></td>
172
- </tr>
173
- <tr class="top-aligned-row context-row">
174
- <td class="context-item-name">protoPath</td>
175
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
176
- <td class="context-item-desc"></td>
177
- </tr>
178
- <tr class="top-aligned-row context-row">
179
- <td class="context-item-name">protoSuffix</td>
180
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
181
- <td class="context-item-desc"></td>
182
- </tr>
183
- <tr class="top-aligned-row context-row">
184
- <td class="context-item-name">rubyBenchName</td>
185
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
186
- <td class="context-item-desc"></td>
187
- </tr>
188
- <tr class="top-aligned-row context-row">
189
- <td class="context-item-name">rubyBenchPath</td>
190
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
191
- <td class="context-item-desc"></td>
192
- </tr>
193
- <tr class="top-aligned-row context-row">
194
- <td class="context-item-name">rubyVpiPath</td>
195
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
196
- <td class="context-item-desc"></td>
197
- </tr>
198
- <tr class="top-aligned-row context-row">
199
- <td class="context-item-name">runnerName</td>
200
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
201
- <td class="context-item-desc"></td>
202
- </tr>
203
- <tr class="top-aligned-row context-row">
204
- <td class="context-item-name">runnerPath</td>
205
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
206
- <td class="context-item-desc"></td>
207
- </tr>
208
- <tr class="top-aligned-row context-row">
209
- <td class="context-item-name">runnerSuffix</td>
210
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
211
- <td class="context-item-desc"></td>
212
- </tr>
213
- <tr class="top-aligned-row context-row">
214
- <td class="context-item-name">specClassName</td>
215
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
216
- <td class="context-item-desc"></td>
217
- </tr>
218
- <tr class="top-aligned-row context-row">
219
- <td class="context-item-name">specFormat</td>
220
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
221
- <td class="context-item-desc"></td>
222
- </tr>
223
- <tr class="top-aligned-row context-row">
224
- <td class="context-item-name">specName</td>
225
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
226
- <td class="context-item-desc"></td>
227
- </tr>
228
- <tr class="top-aligned-row context-row">
229
- <td class="context-item-name">specPath</td>
230
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
231
- <td class="context-item-desc"></td>
232
- </tr>
233
- <tr class="top-aligned-row context-row">
234
- <td class="context-item-name">specSuffix</td>
235
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
236
- <td class="context-item-desc"></td>
237
- </tr>
238
- <tr class="top-aligned-row context-row">
239
- <td class="context-item-name">suffix</td>
240
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
241
- <td class="context-item-desc"></td>
242
- </tr>
243
- <tr class="top-aligned-row context-row">
244
- <td class="context-item-name">testName</td>
245
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
246
- <td class="context-item-desc"></td>
247
- </tr>
248
- <tr class="top-aligned-row context-row">
249
- <td class="context-item-name">verilogBenchName</td>
250
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
251
- <td class="context-item-desc"></td>
252
- </tr>
253
- <tr class="top-aligned-row context-row">
254
- <td class="context-item-name">verilogBenchPath</td>
255
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
256
- <td class="context-item-desc"></td>
257
- </tr>
258
- </table>
259
- </div>
260
- </div>
261
-
262
-
263
-
264
- <!-- if method_list -->
265
- <div id="methods">
266
- <h3 class="section-bar">Public Class methods</h3>
267
-
268
- <div id="method-M000026" class="method-detail">
269
- <a name="M000026"></a>
270
-
271
- <div class="method-heading">
272
- <a href="OutputInfo.src/M000026.html" target="Code" class="method-signature"
273
- onclick="popupCode('OutputInfo.src/M000026.html');return false;">
274
- <span class="method-name">new</span><span class="method-args">(aModuleName, aSpecFormat, aTestName, aRubyVpiPath)</span>
275
- </a>
276
- </div>
277
-
278
- <div class="method-description">
279
- </div>
280
- </div>
281
-
282
-
283
- </div>
284
-
285
-
286
- </div>
287
-
288
-
289
- <div id="validator-badges">
290
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
291
- </div>
292
-
293
- </body>
294
- </html>
@@ -1,50 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>new (OutputInfo)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File bin/generate_test.rb, line 97</span>
14
- 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aModuleName</span>, <span class="ruby-identifier">aSpecFormat</span>, <span class="ruby-identifier">aTestName</span>, <span class="ruby-identifier">aRubyVpiPath</span>
15
- 98: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">SPEC_FORMATS</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">aSpecFormat</span>
16
- 99: <span class="ruby-ivar">@specFormat</span> = <span class="ruby-identifier">aSpecFormat</span>
17
- 100: <span class="ruby-ivar">@testName</span> = <span class="ruby-identifier">aTestName</span>
18
- 101:
19
- 102: <span class="ruby-ivar">@suffix</span> = <span class="ruby-value str">'_'</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@testName</span>
20
- 103: <span class="ruby-ivar">@benchSuffix</span> = <span class="ruby-ivar">@suffix</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_bench'</span>
21
- 104: <span class="ruby-ivar">@designSuffix</span> = <span class="ruby-ivar">@suffix</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_design'</span>
22
- 105: <span class="ruby-ivar">@specSuffix</span> = <span class="ruby-ivar">@suffix</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_spec'</span>
23
- 106: <span class="ruby-ivar">@runnerSuffix</span> = <span class="ruby-ivar">@suffix</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_runner'</span>
24
- 107: <span class="ruby-ivar">@protoSuffix</span> = <span class="ruby-ivar">@suffix</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'_proto'</span>
25
- 108:
26
- 109: <span class="ruby-ivar">@rubyVpiPath</span> = <span class="ruby-identifier">aRubyVpiPath</span>
27
- 110:
28
- 111: <span class="ruby-ivar">@verilogBenchName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@benchSuffix</span>
29
- 112: <span class="ruby-ivar">@verilogBenchPath</span> = <span class="ruby-ivar">@verilogBenchName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">VERILOG_EXT</span>
30
- 113:
31
- 114: <span class="ruby-ivar">@rubyBenchName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@benchSuffix</span>
32
- 115: <span class="ruby-ivar">@rubyBenchPath</span> = <span class="ruby-ivar">@rubyBenchName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">RUBY_EXT</span>
33
- 116:
34
- 117: <span class="ruby-ivar">@designName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@designSuffix</span>
35
- 118: <span class="ruby-ivar">@designPath</span> = <span class="ruby-ivar">@designName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">RUBY_EXT</span>
36
- 119:
37
- 120: <span class="ruby-ivar">@protoName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@protoSuffix</span>
38
- 121: <span class="ruby-ivar">@protoPath</span> = <span class="ruby-ivar">@protoName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">RUBY_EXT</span>
39
- 122:
40
- 123: <span class="ruby-ivar">@specName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@specSuffix</span>
41
- 124: <span class="ruby-ivar">@specPath</span> = <span class="ruby-ivar">@specName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">RUBY_EXT</span>
42
- 125:
43
- 126: <span class="ruby-ivar">@designClassName</span> = <span class="ruby-identifier">aModuleName</span>.<span class="ruby-identifier">to_ruby_const_name</span>
44
- 127: <span class="ruby-ivar">@specClassName</span> = <span class="ruby-ivar">@specName</span>.<span class="ruby-identifier">to_ruby_const_name</span>
45
- 128:
46
- 129: <span class="ruby-ivar">@runnerName</span> = <span class="ruby-identifier">aModuleName</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@runnerSuffix</span>
47
- 130: <span class="ruby-ivar">@runnerPath</span> = <span class="ruby-ivar">@runnerName</span> <span class="ruby-operator">+</span> <span class="ruby-constant">RUNNER_EXT</span>
48
- 131: <span class="ruby-keyword kw">end</span></pre>
49
- </body>
50
- </html>