ruby-vpi 15.0.2 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. data/LICENSE +23 -340
  2. data/Rakefile +169 -192
  3. data/bin/generate_test.rb +26 -25
  4. data/bin/generate_test_tpl/runner.rake +4 -10
  5. data/bin/header_to_ruby.rb +3 -20
  6. data/doc/README +11 -0
  7. data/doc/Rakefile +8 -21
  8. data/doc/common.css +44 -10
  9. data/doc/common.tpl +5 -10
  10. data/doc/history.doc +8 -7
  11. data/doc/history.html +228 -560
  12. data/doc/history.rb +7 -11
  13. data/doc/{history.yml → history.yaml} +325 -128
  14. data/doc/images/{feed-icon.png → feed-icon-28x28.png} +0 -0
  15. data/doc/images/ruby/LICENSE +15 -0
  16. data/doc/images/ruby/logo-reflection.png +0 -0
  17. data/doc/images/ruby/logo-reflection.xcf +0 -0
  18. data/doc/images/ruby/logo.png +0 -0
  19. data/doc/images/{LICENSE → tango/LICENSE} +0 -0
  20. data/doc/images/{caution.png → tango/caution.png} +0 -0
  21. data/doc/images/{caution.svg → tango/caution.svg} +0 -0
  22. data/doc/images/{home.png → tango/home.png} +0 -0
  23. data/doc/images/{home.svg → tango/home.svg} +0 -0
  24. data/doc/images/{important.png → tango/important.png} +0 -0
  25. data/doc/images/{important.svg → tango/important.svg} +0 -0
  26. data/doc/images/{next.png → tango/next.png} +0 -0
  27. data/doc/images/{next.svg → tango/next.svg} +0 -0
  28. data/doc/images/{note.png → tango/note.png} +0 -0
  29. data/doc/images/{note.svg → tango/note.svg} +0 -0
  30. data/doc/images/{prev.png → tango/prev.png} +0 -0
  31. data/doc/images/{prev.svg → tango/prev.svg} +0 -0
  32. data/doc/images/{tip.png → tango/tip.png} +0 -0
  33. data/doc/images/{tip.svg → tango/tip.svg} +0 -0
  34. data/doc/images/{up.png → tango/up.png} +0 -0
  35. data/doc/images/{up.svg → tango/up.svg} +0 -0
  36. data/doc/images/{warning.png → tango/warning.png} +0 -0
  37. data/doc/images/{warning.svg → tango/warning.svg} +0 -0
  38. data/doc/intro.inc +105 -36
  39. data/doc/lib/doc_format.rb +151 -29
  40. data/doc/lib/doc_proxy.rb +28 -69
  41. data/doc/lib/erb_content.rb +10 -22
  42. data/doc/lib/erb_proxy.rb +13 -24
  43. data/doc/manual.doc +16 -60
  44. data/doc/manual.html +257 -340
  45. data/doc/memo.doc +2 -0
  46. data/doc/memo.html +11 -11
  47. data/doc/readme.doc +36 -2
  48. data/doc/readme.html +214 -51
  49. data/doc/rss.erb +3 -3
  50. data/doc/rss.xml +217 -269
  51. data/ext/Rakefile +7 -22
  52. data/ext/common.h +10 -21
  53. data/ext/extconf.rb +5 -0
  54. data/ext/main.c +2 -18
  55. data/ext/main.h +1 -16
  56. data/ext/relay.c +3 -17
  57. data/ext/relay.h +3 -17
  58. data/ext/verilog.h +6 -18
  59. data/ext/vlog.c +3 -21
  60. data/ext/vlog.h +3 -17
  61. data/lib/ruby-vpi/erb.rb +7 -20
  62. data/lib/ruby-vpi/float.rb +6 -20
  63. data/lib/ruby-vpi/integer.rb +27 -47
  64. data/lib/ruby-vpi/rake.rb +4 -19
  65. data/lib/ruby-vpi/rcov.rb +6 -21
  66. data/lib/ruby-vpi/rdoc.rb +3 -21
  67. data/lib/ruby-vpi/runner.rb +28 -29
  68. data/lib/ruby-vpi/runner_proxy.rb +5 -21
  69. data/lib/ruby-vpi/verilog_parser.rb +5 -20
  70. data/lib/ruby-vpi/vpi.rb +420 -376
  71. data/lib/ruby-vpi.rb +26 -32
  72. data/ref/c/annotated.html +1 -1
  73. data/ref/c/common_8h.html +1 -1
  74. data/ref/c/files.html +1 -1
  75. data/ref/c/functions.html +1 -1
  76. data/ref/c/functions_vars.html +1 -1
  77. data/ref/c/globals.html +1 -1
  78. data/ref/c/globals_0x63.html +1 -1
  79. data/ref/c/globals_0x65.html +1 -1
  80. data/ref/c/globals_0x66.html +1 -1
  81. data/ref/c/globals_0x6d.html +1 -1
  82. data/ref/c/globals_0x70.html +1 -1
  83. data/ref/c/globals_0x72.html +1 -1
  84. data/ref/c/globals_0x73.html +1 -1
  85. data/ref/c/globals_0x74.html +1 -1
  86. data/ref/c/globals_0x76.html +1 -1
  87. data/ref/c/globals_0x78.html +1 -1
  88. data/ref/c/globals_defs.html +1 -1
  89. data/ref/c/globals_defs_0x65.html +1 -1
  90. data/ref/c/globals_defs_0x70.html +1 -1
  91. data/ref/c/globals_defs_0x76.html +1 -1
  92. data/ref/c/globals_defs_0x78.html +1 -1
  93. data/ref/c/globals_enum.html +1 -1
  94. data/ref/c/globals_eval.html +1 -1
  95. data/ref/c/globals_func.html +1 -1
  96. data/ref/c/globals_type.html +1 -1
  97. data/ref/c/globals_vars.html +1 -1
  98. data/ref/c/index.html +1 -1
  99. data/ref/c/main_8c.html +1 -1
  100. data/ref/c/main_8h.html +1 -1
  101. data/ref/c/relay_8c.html +1 -1
  102. data/ref/c/relay_8h.html +1 -1
  103. data/ref/c/structt__cb__data.html +1 -1
  104. data/ref/c/structt__vpi__delay.html +1 -1
  105. data/ref/c/structt__vpi__error__info.html +1 -1
  106. data/ref/c/structt__vpi__strengthval.html +1 -1
  107. data/ref/c/structt__vpi__systf__data.html +1 -1
  108. data/ref/c/structt__vpi__time.html +1 -1
  109. data/ref/c/structt__vpi__value.html +1 -1
  110. data/ref/c/structt__vpi__vecval.html +1 -1
  111. data/ref/c/structt__vpi__vlog__info.html +1 -1
  112. data/ref/c/verilog_8h.html +1 -1
  113. data/ref/c/vlog_8c.html +1 -1
  114. data/ref/c/vlog_8h.html +1 -1
  115. data/ref/c/vpi__user_8h.html +1 -1
  116. data/ref/ruby/classes/ERB.html +5 -5
  117. data/ref/ruby/classes/ERB.src/{M000026.html → M000024.html} +15 -15
  118. data/ref/ruby/classes/FileUtils.html +10 -10
  119. data/ref/ruby/classes/FileUtils.src/{M000027.html → M000025.html} +4 -4
  120. data/ref/ruby/classes/FileUtils.src/{M000028.html → M000026.html} +4 -4
  121. data/ref/ruby/classes/Float.html +5 -5
  122. data/ref/ruby/classes/Float.src/{M000022.html → M000020.html} +5 -5
  123. data/ref/ruby/classes/Integer.html +20 -56
  124. data/ref/ruby/classes/Integer.src/M000008.html +11 -11
  125. data/ref/ruby/classes/Integer.src/M000009.html +4 -4
  126. data/ref/ruby/classes/Integer.src/M000010.html +4 -4
  127. data/ref/ruby/classes/Integer.src/M000011.html +4 -4
  128. data/ref/ruby/classes/Integer.src/M000012.html +4 -4
  129. data/ref/ruby/classes/Integer.src/M000013.html +4 -4
  130. data/ref/ruby/classes/Integer.src/M000016.html +12 -9
  131. data/ref/ruby/classes/Integer.src/M000017.html +18 -9
  132. data/ref/ruby/classes/Integer.src/M000018.html +12 -12
  133. data/ref/ruby/classes/Integer.src/M000019.html +17 -18
  134. data/ref/ruby/classes/RDoc.src/M000053.html +25 -25
  135. data/ref/ruby/classes/RubyVpi/Config.html +3 -3
  136. data/ref/ruby/classes/RubyVpi.html +11 -5
  137. data/ref/ruby/classes/RubyVpi.src/{M000029.html → M000027.html} +103 -101
  138. data/ref/ruby/classes/String.html +21 -15
  139. data/ref/ruby/classes/String.src/M000021.html +36 -0
  140. data/ref/ruby/classes/String.src/{M000024.html → M000022.html} +24 -24
  141. data/ref/ruby/classes/String.src/M000023.html +5 -23
  142. data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000007.html +5 -5
  143. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000003.html +7 -7
  144. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000004.html +4 -4
  145. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000005.html +4 -4
  146. data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +4 -4
  147. data/ref/ruby/classes/VerilogParser/Module.src/M000002.html +20 -20
  148. data/ref/ruby/classes/VerilogParser.html +6 -0
  149. data/ref/ruby/classes/VerilogParser.src/M000001.html +20 -20
  150. data/ref/ruby/classes/Vpi/Handle.html +89 -88
  151. data/ref/ruby/classes/Vpi/Handle.src/M000036.html +18 -0
  152. data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -5
  153. data/ref/ruby/classes/Vpi/Handle.src/M000038.html +5 -5
  154. data/ref/ruby/classes/Vpi/Handle.src/M000039.html +5 -5
  155. data/ref/ruby/classes/Vpi/Handle.src/M000040.html +8 -5
  156. data/ref/ruby/classes/Vpi/Handle.src/M000041.html +8 -8
  157. data/ref/ruby/classes/Vpi/Handle.src/M000042.html +7 -6
  158. data/ref/ruby/classes/Vpi/Handle.src/M000043.html +31 -9
  159. data/ref/ruby/classes/Vpi/Handle.src/M000044.html +74 -31
  160. data/ref/ruby/classes/Vpi/Handle.src/M000045.html +17 -74
  161. data/ref/ruby/classes/Vpi/Handle.src/M000046.html +11 -17
  162. data/ref/ruby/classes/Vpi/Handle.src/M000048.html +31 -0
  163. data/ref/ruby/classes/Vpi/Handle.src/M000049.html +53 -52
  164. data/ref/ruby/classes/Vpi/S_vpi_time.src/M000050.html +4 -4
  165. data/ref/ruby/classes/Vpi/S_vpi_time.src/M000051.html +5 -5
  166. data/ref/ruby/classes/Vpi/S_vpi_value.html +15 -15
  167. data/ref/ruby/classes/Vpi/S_vpi_value.src/{M000036.html → M000033.html} +5 -5
  168. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html +5 -5
  169. data/ref/ruby/classes/Vpi/S_vpi_value.src/M000035.html +5 -5
  170. data/ref/ruby/classes/Vpi.html +48 -19
  171. data/ref/ruby/classes/Vpi.src/M000028.html +28 -0
  172. data/ref/ruby/classes/Vpi.src/M000029.html +18 -0
  173. data/ref/ruby/classes/Vpi.src/M000030.html +25 -15
  174. data/ref/ruby/classes/Vpi.src/M000031.html +9 -5
  175. data/ref/ruby/classes/Vpi.src/M000032.html +9 -25
  176. data/ref/ruby/created.rid +1 -1
  177. data/ref/ruby/files/bin/generate_test_rb.html +2 -1
  178. data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
  179. data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +7 -1
  180. data/ref/ruby/files/lib/ruby-vpi/float_rb.html +7 -1
  181. data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +7 -1
  182. data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +7 -1
  183. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +7 -1
  184. data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
  185. data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
  186. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
  187. data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
  188. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  189. data/ref/ruby/files/lib/ruby-vpi_rb.html +7 -1
  190. data/ref/ruby/fr_method_index.html +34 -34
  191. data/samp/counter/counter_rspec_runner.rake +4 -0
  192. data/samp/counter/counter_xunit_runner.rake +4 -0
  193. data/samp/pipelined_alu/Hw5UnitModel.rb +3 -19
  194. data/samp/pipelined_alu/README +38 -13
  195. data/samp/pipelined_alu/TestHw5UnitModel.rb +9 -20
  196. data/samp/pipelined_alu/hw5_unit.v +1 -16
  197. data/samp/pipelined_alu/hw5_unit_test_runner.rake +4 -0
  198. data/samp/pipelined_alu/hw5_unit_test_spec.rb +3 -20
  199. data/samp/pipelined_alu/int_gen.rb +6 -20
  200. metadata +47 -43
  201. data/doc/LICENSE +0 -397
  202. data/doc/images/feed-icon.LICENSE +0 -2
  203. data/doc/images/feed-icon.svg +0 -18
  204. data/ref/ruby/classes/Integer.src/M000020.html +0 -25
  205. data/ref/ruby/classes/Integer.src/M000021.html +0 -30
  206. data/ref/ruby/classes/String.src/M000025.html +0 -18
  207. data/ref/ruby/classes/Vpi/Handle.src/M000047.html +0 -24
  208. data/ref/ruby/classes/Vpi.src/M000033.html +0 -22
data/doc/LICENSE DELETED
@@ -1,397 +0,0 @@
1
- GNU Free Documentation License
2
- Version 1.2, November 2002
3
-
4
-
5
- Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
6
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7
- Everyone is permitted to copy and distribute verbatim copies
8
- of this license document, but changing it is not allowed.
9
-
10
-
11
- 0. PREAMBLE
12
-
13
- The purpose of this License is to make a manual, textbook, or other
14
- functional and useful document "free" in the sense of freedom: to
15
- assure everyone the effective freedom to copy and redistribute it,
16
- with or without modifying it, either commercially or noncommercially.
17
- Secondarily, this License preserves for the author and publisher a way
18
- to get credit for their work, while not being considered responsible
19
- for modifications made by others.
20
-
21
- This License is a kind of "copyleft", which means that derivative
22
- works of the document must themselves be free in the same sense. It
23
- complements the GNU General Public License, which is a copyleft
24
- license designed for free software.
25
-
26
- We have designed this License in order to use it for manuals for free
27
- software, because free software needs free documentation: a free
28
- program should come with manuals providing the same freedoms that the
29
- software does. But this License is not limited to software manuals;
30
- it can be used for any textual work, regardless of subject matter or
31
- whether it is published as a printed book. We recommend this License
32
- principally for works whose purpose is instruction or reference.
33
-
34
-
35
- 1. APPLICABILITY AND DEFINITIONS
36
-
37
- This License applies to any manual or other work, in any medium, that
38
- contains a notice placed by the copyright holder saying it can be
39
- distributed under the terms of this License. Such a notice grants a
40
- world-wide, royalty-free license, unlimited in duration, to use that
41
- work under the conditions stated herein. The "Document", below,
42
- refers to any such manual or work. Any member of the public is a
43
- licensee, and is addressed as "you". You accept the license if you
44
- copy, modify or distribute the work in a way requiring permission
45
- under copyright law.
46
-
47
- A "Modified Version" of the Document means any work containing the
48
- Document or a portion of it, either copied verbatim, or with
49
- modifications and/or translated into another language.
50
-
51
- A "Secondary Section" is a named appendix or a front-matter section of
52
- the Document that deals exclusively with the relationship of the
53
- publishers or authors of the Document to the Document's overall subject
54
- (or to related matters) and contains nothing that could fall directly
55
- within that overall subject. (Thus, if the Document is in part a
56
- textbook of mathematics, a Secondary Section may not explain any
57
- mathematics.) The relationship could be a matter of historical
58
- connection with the subject or with related matters, or of legal,
59
- commercial, philosophical, ethical or political position regarding
60
- them.
61
-
62
- The "Invariant Sections" are certain Secondary Sections whose titles
63
- are designated, as being those of Invariant Sections, in the notice
64
- that says that the Document is released under this License. If a
65
- section does not fit the above definition of Secondary then it is not
66
- allowed to be designated as Invariant. The Document may contain zero
67
- Invariant Sections. If the Document does not identify any Invariant
68
- Sections then there are none.
69
-
70
- The "Cover Texts" are certain short passages of text that are listed,
71
- as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72
- the Document is released under this License. A Front-Cover Text may
73
- be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
-
75
- A "Transparent" copy of the Document means a machine-readable copy,
76
- represented in a format whose specification is available to the
77
- general public, that is suitable for revising the document
78
- straightforwardly with generic text editors or (for images composed of
79
- pixels) generic paint programs or (for drawings) some widely available
80
- drawing editor, and that is suitable for input to text formatters or
81
- for automatic translation to a variety of formats suitable for input
82
- to text formatters. A copy made in an otherwise Transparent file
83
- format whose markup, or absence of markup, has been arranged to thwart
84
- or discourage subsequent modification by readers is not Transparent.
85
- An image format is not Transparent if used for any substantial amount
86
- of text. A copy that is not "Transparent" is called "Opaque".
87
-
88
- Examples of suitable formats for Transparent copies include plain
89
- ASCII without markup, Texinfo input format, LaTeX input format, SGML
90
- or XML using a publicly available DTD, and standard-conforming simple
91
- HTML, PostScript or PDF designed for human modification. Examples of
92
- transparent image formats include PNG, XCF and JPG. Opaque formats
93
- include proprietary formats that can be read and edited only by
94
- proprietary word processors, SGML or XML for which the DTD and/or
95
- processing tools are not generally available, and the
96
- machine-generated HTML, PostScript or PDF produced by some word
97
- processors for output purposes only.
98
-
99
- The "Title Page" means, for a printed book, the title page itself,
100
- plus such following pages as are needed to hold, legibly, the material
101
- this License requires to appear in the title page. For works in
102
- formats which do not have any title page as such, "Title Page" means
103
- the text near the most prominent appearance of the work's title,
104
- preceding the beginning of the body of the text.
105
-
106
- A section "Entitled XYZ" means a named subunit of the Document whose
107
- title either is precisely XYZ or contains XYZ in parentheses following
108
- text that translates XYZ in another language. (Here XYZ stands for a
109
- specific section name mentioned below, such as "Acknowledgements",
110
- "Dedications", "Endorsements", or "History".) To "Preserve the Title"
111
- of such a section when you modify the Document means that it remains a
112
- section "Entitled XYZ" according to this definition.
113
-
114
- The Document may include Warranty Disclaimers next to the notice which
115
- states that this License applies to the Document. These Warranty
116
- Disclaimers are considered to be included by reference in this
117
- License, but only as regards disclaiming warranties: any other
118
- implication that these Warranty Disclaimers may have is void and has
119
- no effect on the meaning of this License.
120
-
121
-
122
- 2. VERBATIM COPYING
123
-
124
- You may copy and distribute the Document in any medium, either
125
- commercially or noncommercially, provided that this License, the
126
- copyright notices, and the license notice saying this License applies
127
- to the Document are reproduced in all copies, and that you add no other
128
- conditions whatsoever to those of this License. You may not use
129
- technical measures to obstruct or control the reading or further
130
- copying of the copies you make or distribute. However, you may accept
131
- compensation in exchange for copies. If you distribute a large enough
132
- number of copies you must also follow the conditions in section 3.
133
-
134
- You may also lend copies, under the same conditions stated above, and
135
- you may publicly display copies.
136
-
137
-
138
- 3. COPYING IN QUANTITY
139
-
140
- If you publish printed copies (or copies in media that commonly have
141
- printed covers) of the Document, numbering more than 100, and the
142
- Document's license notice requires Cover Texts, you must enclose the
143
- copies in covers that carry, clearly and legibly, all these Cover
144
- Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
145
- the back cover. Both covers must also clearly and legibly identify
146
- you as the publisher of these copies. The front cover must present
147
- the full title with all words of the title equally prominent and
148
- visible. You may add other material on the covers in addition.
149
- Copying with changes limited to the covers, as long as they preserve
150
- the title of the Document and satisfy these conditions, can be treated
151
- as verbatim copying in other respects.
152
-
153
- If the required texts for either cover are too voluminous to fit
154
- legibly, you should put the first ones listed (as many as fit
155
- reasonably) on the actual cover, and continue the rest onto adjacent
156
- pages.
157
-
158
- If you publish or distribute Opaque copies of the Document numbering
159
- more than 100, you must either include a machine-readable Transparent
160
- copy along with each Opaque copy, or state in or with each Opaque copy
161
- a computer-network location from which the general network-using
162
- public has access to download using public-standard network protocols
163
- a complete Transparent copy of the Document, free of added material.
164
- If you use the latter option, you must take reasonably prudent steps,
165
- when you begin distribution of Opaque copies in quantity, to ensure
166
- that this Transparent copy will remain thus accessible at the stated
167
- location until at least one year after the last time you distribute an
168
- Opaque copy (directly or through your agents or retailers) of that
169
- edition to the public.
170
-
171
- It is requested, but not required, that you contact the authors of the
172
- Document well before redistributing any large number of copies, to give
173
- them a chance to provide you with an updated version of the Document.
174
-
175
-
176
- 4. MODIFICATIONS
177
-
178
- You may copy and distribute a Modified Version of the Document under
179
- the conditions of sections 2 and 3 above, provided that you release
180
- the Modified Version under precisely this License, with the Modified
181
- Version filling the role of the Document, thus licensing distribution
182
- and modification of the Modified Version to whoever possesses a copy
183
- of it. In addition, you must do these things in the Modified Version:
184
-
185
- A. Use in the Title Page (and on the covers, if any) a title distinct
186
- from that of the Document, and from those of previous versions
187
- (which should, if there were any, be listed in the History section
188
- of the Document). You may use the same title as a previous version
189
- if the original publisher of that version gives permission.
190
- B. List on the Title Page, as authors, one or more persons or entities
191
- responsible for authorship of the modifications in the Modified
192
- Version, together with at least five of the principal authors of the
193
- Document (all of its principal authors, if it has fewer than five),
194
- unless they release you from this requirement.
195
- C. State on the Title page the name of the publisher of the
196
- Modified Version, as the publisher.
197
- D. Preserve all the copyright notices of the Document.
198
- E. Add an appropriate copyright notice for your modifications
199
- adjacent to the other copyright notices.
200
- F. Include, immediately after the copyright notices, a license notice
201
- giving the public permission to use the Modified Version under the
202
- terms of this License, in the form shown in the Addendum below.
203
- G. Preserve in that license notice the full lists of Invariant Sections
204
- and required Cover Texts given in the Document's license notice.
205
- H. Include an unaltered copy of this License.
206
- I. Preserve the section Entitled "History", Preserve its Title, and add
207
- to it an item stating at least the title, year, new authors, and
208
- publisher of the Modified Version as given on the Title Page. If
209
- there is no section Entitled "History" in the Document, create one
210
- stating the title, year, authors, and publisher of the Document as
211
- given on its Title Page, then add an item describing the Modified
212
- Version as stated in the previous sentence.
213
- J. Preserve the network location, if any, given in the Document for
214
- public access to a Transparent copy of the Document, and likewise
215
- the network locations given in the Document for previous versions
216
- it was based on. These may be placed in the "History" section.
217
- You may omit a network location for a work that was published at
218
- least four years before the Document itself, or if the original
219
- publisher of the version it refers to gives permission.
220
- K. For any section Entitled "Acknowledgements" or "Dedications",
221
- Preserve the Title of the section, and preserve in the section all
222
- the substance and tone of each of the contributor acknowledgements
223
- and/or dedications given therein.
224
- L. Preserve all the Invariant Sections of the Document,
225
- unaltered in their text and in their titles. Section numbers
226
- or the equivalent are not considered part of the section titles.
227
- M. Delete any section Entitled "Endorsements". Such a section
228
- may not be included in the Modified Version.
229
- N. Do not retitle any existing section to be Entitled "Endorsements"
230
- or to conflict in title with any Invariant Section.
231
- O. Preserve any Warranty Disclaimers.
232
-
233
- If the Modified Version includes new front-matter sections or
234
- appendices that qualify as Secondary Sections and contain no material
235
- copied from the Document, you may at your option designate some or all
236
- of these sections as invariant. To do this, add their titles to the
237
- list of Invariant Sections in the Modified Version's license notice.
238
- These titles must be distinct from any other section titles.
239
-
240
- You may add a section Entitled "Endorsements", provided it contains
241
- nothing but endorsements of your Modified Version by various
242
- parties--for example, statements of peer review or that the text has
243
- been approved by an organization as the authoritative definition of a
244
- standard.
245
-
246
- You may add a passage of up to five words as a Front-Cover Text, and a
247
- passage of up to 25 words as a Back-Cover Text, to the end of the list
248
- of Cover Texts in the Modified Version. Only one passage of
249
- Front-Cover Text and one of Back-Cover Text may be added by (or
250
- through arrangements made by) any one entity. If the Document already
251
- includes a cover text for the same cover, previously added by you or
252
- by arrangement made by the same entity you are acting on behalf of,
253
- you may not add another; but you may replace the old one, on explicit
254
- permission from the previous publisher that added the old one.
255
-
256
- The author(s) and publisher(s) of the Document do not by this License
257
- give permission to use their names for publicity for or to assert or
258
- imply endorsement of any Modified Version.
259
-
260
-
261
- 5. COMBINING DOCUMENTS
262
-
263
- You may combine the Document with other documents released under this
264
- License, under the terms defined in section 4 above for modified
265
- versions, provided that you include in the combination all of the
266
- Invariant Sections of all of the original documents, unmodified, and
267
- list them all as Invariant Sections of your combined work in its
268
- license notice, and that you preserve all their Warranty Disclaimers.
269
-
270
- The combined work need only contain one copy of this License, and
271
- multiple identical Invariant Sections may be replaced with a single
272
- copy. If there are multiple Invariant Sections with the same name but
273
- different contents, make the title of each such section unique by
274
- adding at the end of it, in parentheses, the name of the original
275
- author or publisher of that section if known, or else a unique number.
276
- Make the same adjustment to the section titles in the list of
277
- Invariant Sections in the license notice of the combined work.
278
-
279
- In the combination, you must combine any sections Entitled "History"
280
- in the various original documents, forming one section Entitled
281
- "History"; likewise combine any sections Entitled "Acknowledgements",
282
- and any sections Entitled "Dedications". You must delete all sections
283
- Entitled "Endorsements".
284
-
285
-
286
- 6. COLLECTIONS OF DOCUMENTS
287
-
288
- You may make a collection consisting of the Document and other documents
289
- released under this License, and replace the individual copies of this
290
- License in the various documents with a single copy that is included in
291
- the collection, provided that you follow the rules of this License for
292
- verbatim copying of each of the documents in all other respects.
293
-
294
- You may extract a single document from such a collection, and distribute
295
- it individually under this License, provided you insert a copy of this
296
- License into the extracted document, and follow this License in all
297
- other respects regarding verbatim copying of that document.
298
-
299
-
300
- 7. AGGREGATION WITH INDEPENDENT WORKS
301
-
302
- A compilation of the Document or its derivatives with other separate
303
- and independent documents or works, in or on a volume of a storage or
304
- distribution medium, is called an "aggregate" if the copyright
305
- resulting from the compilation is not used to limit the legal rights
306
- of the compilation's users beyond what the individual works permit.
307
- When the Document is included in an aggregate, this License does not
308
- apply to the other works in the aggregate which are not themselves
309
- derivative works of the Document.
310
-
311
- If the Cover Text requirement of section 3 is applicable to these
312
- copies of the Document, then if the Document is less than one half of
313
- the entire aggregate, the Document's Cover Texts may be placed on
314
- covers that bracket the Document within the aggregate, or the
315
- electronic equivalent of covers if the Document is in electronic form.
316
- Otherwise they must appear on printed covers that bracket the whole
317
- aggregate.
318
-
319
-
320
- 8. TRANSLATION
321
-
322
- Translation is considered a kind of modification, so you may
323
- distribute translations of the Document under the terms of section 4.
324
- Replacing Invariant Sections with translations requires special
325
- permission from their copyright holders, but you may include
326
- translations of some or all Invariant Sections in addition to the
327
- original versions of these Invariant Sections. You may include a
328
- translation of this License, and all the license notices in the
329
- Document, and any Warranty Disclaimers, provided that you also include
330
- the original English version of this License and the original versions
331
- of those notices and disclaimers. In case of a disagreement between
332
- the translation and the original version of this License or a notice
333
- or disclaimer, the original version will prevail.
334
-
335
- If a section in the Document is Entitled "Acknowledgements",
336
- "Dedications", or "History", the requirement (section 4) to Preserve
337
- its Title (section 1) will typically require changing the actual
338
- title.
339
-
340
-
341
- 9. TERMINATION
342
-
343
- You may not copy, modify, sublicense, or distribute the Document except
344
- as expressly provided for under this License. Any other attempt to
345
- copy, modify, sublicense or distribute the Document is void, and will
346
- automatically terminate your rights under this License. However,
347
- parties who have received copies, or rights, from you under this
348
- License will not have their licenses terminated so long as such
349
- parties remain in full compliance.
350
-
351
-
352
- 10. FUTURE REVISIONS OF THIS LICENSE
353
-
354
- The Free Software Foundation may publish new, revised versions
355
- of the GNU Free Documentation License from time to time. Such new
356
- versions will be similar in spirit to the present version, but may
357
- differ in detail to address new problems or concerns. See
358
- http://www.gnu.org/copyleft/.
359
-
360
- Each version of the License is given a distinguishing version number.
361
- If the Document specifies that a particular numbered version of this
362
- License "or any later version" applies to it, you have the option of
363
- following the terms and conditions either of that specified version or
364
- of any later version that has been published (not as a draft) by the
365
- Free Software Foundation. If the Document does not specify a version
366
- number of this License, you may choose any version ever published (not
367
- as a draft) by the Free Software Foundation.
368
-
369
-
370
- ADDENDUM: How to use this License for your documents
371
-
372
- To use this License in a document you have written, include a copy of
373
- the License in the document and put the following copyright and
374
- license notices just after the title page:
375
-
376
- Copyright (c) YEAR YOUR NAME.
377
- Permission is granted to copy, distribute and/or modify this document
378
- under the terms of the GNU Free Documentation License, Version 1.2
379
- or any later version published by the Free Software Foundation;
380
- with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
381
- A copy of the license is included in the section entitled "GNU
382
- Free Documentation License".
383
-
384
- If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
385
- replace the "with...Texts." line with this:
386
-
387
- with the Invariant Sections being LIST THEIR TITLES, with the
388
- Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
389
-
390
- If you have Invariant Sections without Cover Texts, or some other
391
- combination of the three, merge those two alternatives to suit the
392
- situation.
393
-
394
- If your document contains nontrivial examples of program code, we
395
- recommend releasing these examples in parallel under your choice of
396
- free software license, such as the GNU General Public License,
397
- to permit their use in free software.
@@ -1,2 +0,0 @@
1
- The file named "feed-icon.svg" is released under a MPL/GPL/LGPL tri-licence.
2
- See http://www.mozilla.org/foundation/feed-icon-guidelines/faq.html for details.
@@ -1,18 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="128px" height="128px" id="RSSicon" viewBox="0 0 256 256">
4
- <defs>
5
- <linearGradient x1="0.085" y1="0.085" x2="0.915" y2="0.915" id="RSSg">
6
- <stop offset="0.0" stop-color="#E3702D"/><stop offset="0.1071" stop-color="#EA7D31"/>
7
- <stop offset="0.3503" stop-color="#F69537"/><stop offset="0.5" stop-color="#FB9E3A"/>
8
- <stop offset="0.7016" stop-color="#EA7C31"/><stop offset="0.8866" stop-color="#DE642B"/>
9
- <stop offset="1.0" stop-color="#D95B29"/>
10
- </linearGradient>
11
- </defs>
12
- <rect width="256" height="256" rx="55" ry="55" x="0" y="0" fill="#CC5D15"/>
13
- <rect width="246" height="246" rx="50" ry="50" x="5" y="5" fill="#F49C52"/>
14
- <rect width="236" height="236" rx="47" ry="47" x="10" y="10" fill="url(#RSSg)"/>
15
- <circle cx="68" cy="189" r="24" fill="#FFF"/>
16
- <path d="M160 213h-34a82 82 0 0 0 -82 -82v-34a116 116 0 0 1 116 116z" fill="#FFF"/>
17
- <path d="M184 213A140 140 0 0 0 44 73 V 38a175 175 0 0 1 175 175z" fill="#FFF"/>
18
- </svg>
@@ -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,18 +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>to_ruby_const_name (String)</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/verilog_parser.rb, line 136</span>
14
- 136: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ruby_const_name</span>
15
- 137: <span class="ruby-keyword kw">self</span>[<span class="ruby-value">0</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">upcase</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
16
- 138: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,24 +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>inspect (Vpi::Handle)</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/vpi.rb, line 232</span>
14
- 232: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aPropNames</span>
15
- 233: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">:fullName</span>, <span class="ruby-identifier">:size</span>, <span class="ruby-identifier">:file</span>, <span class="ruby-identifier">:lineNo</span>
16
- 234:
17
- 235: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">map!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
18
- 236: <span class="ruby-node">&quot;#{name}=#{self.send(name.to_sym)}&quot;</span>
19
- 237: <span class="ruby-keyword kw">end</span>
20
- 238:
21
- 239: <span class="ruby-node">&quot;#&lt;Vpi::Handle #{vpiType_s} #{aPropNames.join(', ')}&gt;&quot;</span>
22
- 240: <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </html>
@@ -1,22 +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>simulation_time (Vpi)</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/vpi.rb, line 479</span>
14
- 479: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simulation_time</span>
15
- 480: <span class="ruby-identifier">t</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
16
- 481: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
17
- 482:
18
- 483: <span class="ruby-identifier">vpi_get_time</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>
19
- 484: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">to_i</span>
20
- 485: <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>