ruby-vpi 13.0.0 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +6 -1
- data/bin/generate_test_tpl/bench.rb +84 -1
- data/bin/generate_test_tpl/bench.v +8 -17
- data/bin/generate_test_tpl/proto.rb +1 -1
- data/doc/common.css +14 -41
- data/doc/common.tpl +1 -1
- data/doc/figures/figures.dia +274 -753
- data/doc/figures/organization_detailed.png +0 -0
- data/doc/figures/ruby_relay.png +0 -0
- data/doc/history.html +363 -276
- data/doc/history.yml +40 -0
- data/doc/intro.inc +37 -15
- data/doc/lib/doc_proxy.rb +24 -4
- data/doc/manual.doc +345 -196
- data/doc/manual.html +741 -497
- data/doc/memo.doc +15 -15
- data/doc/memo.html +28 -27
- data/doc/readme.doc +2 -2
- data/doc/readme.html +51 -15
- data/doc/rss.erb +1 -1
- data/doc/rss.xml +1624 -31
- data/ext/Rakefile +1 -6
- data/ext/main.c +8 -3
- data/ext/main.h +5 -0
- data/ext/relay.c +12 -12
- data/ext/relay.h +1 -6
- data/ext/swig_vpi.i +2 -2
- data/ext/swig_wrap.cin +37 -20
- data/ext/verilog.h +2 -2
- data/ext/vlog.c +10 -3
- data/ext/vlog.h +4 -4
- data/lib/ruby-vpi/vpi.rb +114 -0
- data/lib/ruby-vpi.rb +21 -59
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +1 -1
- data/ref/c/functions.html +1 -1
- data/ref/c/functions_vars.html +1 -1
- data/ref/c/globals.html +1 -1
- data/ref/c/globals_0x63.html +1 -1
- data/ref/c/globals_0x65.html +1 -1
- data/ref/c/globals_0x66.html +1 -1
- data/ref/c/globals_0x6d.html +3 -2
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +4 -5
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +4 -2
- data/ref/c/globals_0x78.html +1 -1
- data/ref/c/globals_defs.html +1 -1
- data/ref/c/globals_defs_0x65.html +1 -1
- data/ref/c/globals_defs_0x70.html +1 -1
- data/ref/c/globals_defs_0x76.html +1 -1
- data/ref/c/globals_defs_0x78.html +1 -1
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +8 -7
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +3 -2
- data/ref/c/index.html +1 -1
- data/ref/c/main_8c.html +26 -1
- data/ref/c/main_8h.html +26 -1
- data/ref/c/relay_8c.html +11 -35
- data/ref/c/relay_8h.html +3 -27
- data/ref/c/structt__cb__data.html +1 -1
- data/ref/c/structt__vpi__delay.html +1 -1
- data/ref/c/structt__vpi__error__info.html +1 -1
- data/ref/c/structt__vpi__strengthval.html +1 -1
- data/ref/c/structt__vpi__systf__data.html +1 -1
- data/ref/c/structt__vpi__time.html +1 -1
- data/ref/c/structt__vpi__value.html +1 -1
- data/ref/c/structt__vpi__vecval.html +1 -1
- data/ref/c/structt__vpi__vlog__info.html +1 -1
- data/ref/c/verilog_8h.html +5 -5
- data/ref/c/vlog_8c.html +44 -6
- data/ref/c/vlog_8h.html +7 -8
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000041.html → M000045.html} +0 -0
- data/ref/ruby/classes/RubyVpi.html +10 -28
- data/ref/ruby/classes/RubyVpi.src/M000029.html +101 -124
- data/ref/ruby/classes/Vpi/Handle.html +56 -56
- data/ref/ruby/classes/Vpi/Handle.src/M000034.html +5 -9
- data/ref/ruby/classes/Vpi/Handle.src/M000035.html +5 -31
- data/ref/ruby/classes/Vpi/Handle.src/M000036.html +5 -74
- data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -17
- data/ref/ruby/classes/Vpi/Handle.src/M000038.html +9 -11
- data/ref/ruby/classes/Vpi/Handle.src/M000039.html +44 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000040.html +74 -55
- data/ref/ruby/classes/Vpi/Handle.src/M000041.html +30 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000042.html +24 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000044.html +68 -0
- data/ref/ruby/classes/Vpi.html +149 -0
- data/ref/ruby/classes/Vpi.src/M000030.html +28 -0
- data/ref/ruby/classes/Vpi.src/M000031.html +18 -0
- data/ref/ruby/classes/Vpi.src/M000032.html +39 -0
- data/ref/ruby/classes/Vpi.src/M000033.html +22 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -2
- data/ref/ruby/fr_method_index.html +18 -14
- data/samp/counter/counter_rspec_bench.rb +81 -1
- data/samp/counter/counter_rspec_bench.v +5 -12
- data/samp/counter/counter_rspec_design.rb +1 -2
- data/samp/counter/counter_rspec_proto.rb +1 -1
- data/samp/counter/counter_rspec_spec.rb +3 -3
- data/samp/counter/counter_xunit_bench.rb +81 -1
- data/samp/counter/counter_xunit_bench.v +5 -12
- data/samp/counter/counter_xunit_design.rb +1 -2
- data/samp/counter/counter_xunit_proto.rb +1 -1
- data/samp/counter/counter_xunit_spec.rb +3 -3
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +81 -1
- data/samp/pipelined_alu/hw5_unit_test_bench.v +11 -18
- data/samp/pipelined_alu/hw5_unit_test_design.rb +1 -1
- data/samp/pipelined_alu/hw5_unit_test_proto.rb +1 -1
- data/samp/pipelined_alu/hw5_unit_test_spec.rb +1 -1
- metadata +12 -9
- data/doc/figures/ruby_init.png +0 -0
- data/ext/swig_vpi.h +0 -924
- data/ref/ruby/classes/Vpi/Handle.src/M000030.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000031.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000032.html +0 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000033.html +0 -18
data/doc/rss.xml
CHANGED
@@ -4,218 +4,1792 @@
|
|
4
4
|
<title>Ruby-VPI</title>
|
5
5
|
<link>http://ruby-vpi.rubyforge.org</link>
|
6
6
|
<description>Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby.</description>
|
7
|
+
<item>
|
8
|
+
<title>Version 14.0.0 released</title>
|
9
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#14.0.0</link>
|
10
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#14.0.0</guid>
|
11
|
+
<description><h1 id="14.0.0">Version 14.0.0 (2006-12-30)</h1>
|
12
|
+
|
13
|
+
|
14
|
+
<h2>Summary</h2>
|
15
|
+
|
16
|
+
|
17
|
+
<p>This release adds support for simulation callbacks, renders Verilog benches <em>fully simplified</em>, and revises the user manual to reflect major changes.</p>
|
18
|
+
|
19
|
+
|
20
|
+
<h2>Notice</h2>
|
21
|
+
|
22
|
+
|
23
|
+
<ul>
|
24
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::relay_verilog</code> method has been replaced by <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::simulate</code>.
|
25
|
+
|
26
|
+
<p>Please update you tests accordingly, because invoking the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::relay_verilog</code> method directly will cause your tests to freeze/hang.</p></li>
|
27
|
+
</ul>
|
28
|
+
|
29
|
+
|
30
|
+
<ul>
|
31
|
+
<li>Verilog benches no longer contain any clock generation code. They are now mere skeletons, whose <em>only</em> purpose is to instantiate the design under test.
|
32
|
+
|
33
|
+
<p>The clock generation code is now contained in the Ruby bench.</p></li>
|
34
|
+
</ul>
|
35
|
+
|
36
|
+
|
37
|
+
<h3>New features</h3>
|
38
|
+
|
39
|
+
|
40
|
+
<ul>
|
41
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">RubyVpi</span>::init_bench</code> method now gives you <em>complete control</em> over performing a clock/operation/whatever cycle for your design. This feature allows you to work with multi-clocked designs.</li>
|
42
|
+
</ul>
|
43
|
+
|
44
|
+
|
45
|
+
<ul>
|
46
|
+
<li>Callbacks are now supported through the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::vpi_register_cb</code> method. See <a href="manual.html#usage.vpi.callbacks">the callbacks section in the user manual</a> for details.</li>
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
<li>Added the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::advance_time</code> method, which makes the Verilog simulator simulate a given number of time steps.</li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
|
55
|
+
<ul>
|
56
|
+
<li>Added the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::simulation_time</code> method, which gives you the current simulation time as a 64-bit integer.</li>
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
|
60
|
+
<h2>Details</h2>
|
61
|
+
|
62
|
+
|
63
|
+
<ul>
|
64
|
+
<li>Removed the monkey patch for the <span class="caps">SWIG</span> <code class="code">va_list</code> problem&#8212;it no longer occurs.</li>
|
65
|
+
</ul>
|
66
|
+
|
67
|
+
|
68
|
+
<ul>
|
69
|
+
<li>Cleansed the appearance of the user documentation.
|
70
|
+
<ul>
|
71
|
+
<li>Added indices to section headings, just like LaTeX.</li>
|
72
|
+
<li>Admonition boxes no longer interfere with surrounding text, and they don&#8217;t have big gap above them.</li>
|
73
|
+
<li>Navigation menu is now elastic (fluid layout).</li>
|
74
|
+
</ul></li>
|
75
|
+
</ul>
|
76
|
+
|
77
|
+
|
78
|
+
<ul>
|
79
|
+
<li>Revised the user manual and added new content.
|
80
|
+
<ul>
|
81
|
+
<li>Moved &#8220;VPI utility layer&#8221; section from background chapter into usage chapter in user manual.</li>
|
82
|
+
<li>Added a nice introduction to entire manual with links to reference documentation.</li>
|
83
|
+
</ul></li>
|
84
|
+
</ul></description>
|
85
|
+
<pubDate>Sat, 30 Dec 2006 00:00:00 PST</pubDate>
|
86
|
+
</item>
|
7
87
|
<item>
|
8
88
|
<title>Version 13.0.0 released</title>
|
9
89
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#13.0.0</link>
|
10
90
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#13.0.0</guid>
|
11
|
-
<description><
|
91
|
+
<description><h1 id="13.0.0">Version 13.0.0 (2006-12-27)</h1>
|
92
|
+
|
93
|
+
|
94
|
+
<h2>Summary</h2>
|
95
|
+
|
96
|
+
|
97
|
+
<p>This release fixes a <em>major</em> instability bug, simplifies generated Verilog benches, and purifies the <span class="caps">API</span> reference documentation.</p>
|
98
|
+
|
99
|
+
|
100
|
+
<h2>Notice</h2>
|
101
|
+
|
102
|
+
|
103
|
+
<ul>
|
104
|
+
<li>The <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span></code> and <code class="code"><span style="color:#d70; font-weight:bold">$ruby_relay</span></code> system task/functions have been removed. Generated Verilog benches no longer use them.
|
105
|
+
<ul>
|
106
|
+
<li>To pass your own command-line options to Ruby, set the <code class="code"><span style="color:#036; font-weight:bold">RUBYOPT</span></code> environment variable before running a test.</li>
|
107
|
+
</ul></li>
|
108
|
+
</ul>
|
109
|
+
|
110
|
+
|
111
|
+
<h3>New features</h3>
|
112
|
+
|
113
|
+
|
114
|
+
<ul>
|
115
|
+
<li>You can now choose when <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::relay_verilog</code> is triggered: upon positive/negative edge of the clock signal, or any other criteria. This is done by passing a block to the <code class="code"><span style="color:#036; font-weight:bold">RubyVpi</span>::init_bench</code> method (see <a href="../ref/ruby/classes/RubyVpi.html">the <span class="caps">API</span> reference documentation</a> for details).</li>
|
116
|
+
</ul>
|
117
|
+
|
118
|
+
|
119
|
+
<h2>Details</h2>
|
120
|
+
|
121
|
+
|
122
|
+
<ul>
|
123
|
+
<li>Fixed a major instability bug that was randomly causing segmentation faults and pthread assertion failures.
|
124
|
+
|
125
|
+
<p>The problem was that the <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span></code> system task/function was mischeviously unlocking a pthread mutex. From then onward, all code assumed that the mutex was still locked&#8212;but in reality, the mutex was already unlocked.</p></li>
|
126
|
+
</ul>
|
127
|
+
|
128
|
+
|
129
|
+
<ul>
|
130
|
+
<li>Replaced the <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span></code> and <code class="code"><span style="color:#d70; font-weight:bold">$ruby_relay</span></code> system task/functions with callbacks.</li>
|
131
|
+
</ul>
|
132
|
+
|
133
|
+
|
134
|
+
<ul>
|
135
|
+
<li>Excluded internal stuff from the <span class="caps">API</span> reference documentation for Ruby.</li>
|
136
|
+
</ul>
|
137
|
+
|
138
|
+
|
139
|
+
<ul>
|
140
|
+
<li>Removed system-dependent path <tt>/usr/bin/ruby</tt> from the tools.</li>
|
141
|
+
</ul></description>
|
12
142
|
<pubDate>Wed, 27 Dec 2006 00:00:00 PST</pubDate>
|
13
143
|
</item>
|
14
144
|
<item>
|
15
145
|
<title>Version 12.1.0 released</title>
|
16
146
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.1.0</link>
|
17
147
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.1.0</guid>
|
18
|
-
<description><
|
148
|
+
<description><h1 id="12.1.0">Version 12.1.0 (2006-12-22)</h1>
|
149
|
+
|
150
|
+
|
151
|
+
<h2>Summary</h2>
|
152
|
+
|
153
|
+
|
154
|
+
<p>This release adds interactive debugging support, adds new sections to the user manual, and cleanses some internals.</p>
|
155
|
+
|
156
|
+
|
157
|
+
<h2>Notice</h2>
|
158
|
+
|
159
|
+
|
160
|
+
<ul>
|
161
|
+
<li>The <tt>lib/ruby-vpi/rspec.rb</tt> and <tt>lib/ruby-vpi/xx.rb</tt> files have been removed because they are no longer necessary.</li>
|
162
|
+
</ul>
|
163
|
+
|
164
|
+
|
165
|
+
<ul>
|
166
|
+
<li>rSpec 0.7.0 or newer is now required because the sample tests utilize the <code class="code">should ==</code> syntax.</li>
|
167
|
+
</ul>
|
168
|
+
|
169
|
+
|
170
|
+
<h3>New features</h3>
|
171
|
+
|
172
|
+
|
173
|
+
<ul>
|
174
|
+
<li>Test runners now support the <code class="code"><span style="color:#036; font-weight:bold">DEBUG</span></code> environment variable, which enables the interactive debugger (ruby-debug) in <a href="http://www.datanoise.com/articles/2006/12/20/post-mortem-debugging">post-mortem debugging mode</a>.
|
175
|
+
<ul>
|
176
|
+
<li>The <code class="code">debugger</code> command can also be used when the <code class="code"><span style="color:#036; font-weight:bold">DEBUG</span></code> environment variable is not activated.</li>
|
177
|
+
</ul></li>
|
178
|
+
</ul>
|
179
|
+
|
180
|
+
|
181
|
+
<ul>
|
182
|
+
<li>Status messages, which are shown during initialization of a Ruby bench, now appear in your simulator&#8217;s log files.</li>
|
183
|
+
</ul>
|
184
|
+
|
185
|
+
|
186
|
+
<h2>Details</h2>
|
187
|
+
|
188
|
+
|
189
|
+
<ul>
|
190
|
+
<li>ruby-debug is now a gem dependency for Ruby-VPI.</li>
|
191
|
+
</ul>
|
192
|
+
|
193
|
+
|
194
|
+
<ul>
|
195
|
+
<li>Added documentation about <a href="manual.html#usage.test-runner">test runners</a> and the <a href="manual.html#usage.debugger">interactive debugger</a> in the user manual.</li>
|
196
|
+
</ul>
|
197
|
+
|
198
|
+
|
199
|
+
<ul>
|
200
|
+
<li>Added a <tt>README</tt> file with hint about where to find the user manual.</li>
|
201
|
+
</ul>
|
202
|
+
|
203
|
+
|
204
|
+
<ul>
|
205
|
+
<li>Removed code that wasn&#8217;t being used, according to code coverage analysis, from the pipelined <span class="caps">ALU</span> sample.</li>
|
206
|
+
</ul></description>
|
19
207
|
<pubDate>Fri, 22 Dec 2006 00:00:00 PST</pubDate>
|
20
208
|
</item>
|
21
209
|
<item>
|
22
210
|
<title>Version 12.0.2 released</title>
|
23
211
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.2</link>
|
24
212
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.2</guid>
|
25
|
-
<description><
|
213
|
+
<description><h1 id="12.0.2">Version 12.0.2 (2006-12-18)</h1>
|
214
|
+
|
215
|
+
|
216
|
+
<h2>Summary</h2>
|
217
|
+
|
218
|
+
|
219
|
+
<p>This release fixes a problem in the 12.0.1 gem, where the <strong>generate_test.rb</strong> and <strong>header_to_ruby.rb</strong> tools were not being installed properly.</p></description>
|
26
220
|
<pubDate>Mon, 18 Dec 2006 00:00:00 PST</pubDate>
|
27
221
|
</item>
|
28
222
|
<item>
|
29
223
|
<title>Version 12.0.1 released</title>
|
30
224
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.1</link>
|
31
225
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.1</guid>
|
32
|
-
<description><
|
226
|
+
<description><h1 id="12.0.1">Version 12.0.1 (2006-12-18)</h1>
|
227
|
+
|
228
|
+
|
229
|
+
<h2>Summary</h2>
|
230
|
+
|
231
|
+
|
232
|
+
<p>This release fixes a problem in code coverage analysis.</p>
|
233
|
+
|
234
|
+
|
235
|
+
<h2>Acknowledgment</h2>
|
236
|
+
|
237
|
+
|
238
|
+
<p>Thanks to Mauricio Fernandez for helping me solve the problem.</p>
|
239
|
+
|
240
|
+
|
241
|
+
<h2>Details</h2>
|
242
|
+
|
243
|
+
|
244
|
+
<p>Previously, code coverage reports were not providing any useful information because they were being generated <em>before</em> the test had a chance to run. This problem has been fixed&#8212;code coverage reports are now generated <em>after</em> the test has finished running.</p>
|
245
|
+
|
246
|
+
|
247
|
+
<p>This problem occurred because I had forgotten that <code class="code"><span style="color:#036; font-weight:bold">Kernel</span>.at_exit</code> invokes the blocks passed to it in <em>reverse</em> order. So, the coverage report was being generated before Test::Unit had a chance to run (it also uses <code class="code"><span style="color:#036; font-weight:bold">Kernel</span>.at_exit</code>).</p></description>
|
33
248
|
<pubDate>Mon, 18 Dec 2006 00:00:00 PST</pubDate>
|
34
249
|
</item>
|
35
250
|
<item>
|
36
251
|
<title>Version 12.0.0 released</title>
|
37
252
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.0</link>
|
38
253
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.0</guid>
|
39
|
-
<description><
|
254
|
+
<description><h1 id="12.0.0">Version 12.0.0 (2006-12-07)</h1>
|
255
|
+
|
256
|
+
|
257
|
+
<h2>Summary</h2>
|
258
|
+
|
259
|
+
|
260
|
+
<p>This release adds support for the <a href="http://chneukirchen.org/blog/archive/2006/10/announcing-test-spec-0-2-a-bdd-interface-for-test-unit.html">test/spec</a> library, fixes some bugs, and improves the user manual and generated tests.</p>
|
261
|
+
|
262
|
+
|
263
|
+
<h2>Notice</h2>
|
264
|
+
|
265
|
+
|
266
|
+
<ul>
|
267
|
+
<li>Icarus Verilog 0.8 has been demoted to a <a href="manual.html#setup.reqs">mostly acceptable</a> status.</li>
|
268
|
+
</ul>
|
269
|
+
|
270
|
+
|
271
|
+
<ul>
|
272
|
+
<li>Generated Verilog benches no longer supply the <tt>-w</tt> option to the <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span></code> task.</li>
|
273
|
+
</ul>
|
274
|
+
|
275
|
+
|
276
|
+
<ul>
|
277
|
+
<li>The <code class="code">ruby-vpi/runner_proxy</code> library now invokes test runners
|
278
|
+
<ul>
|
279
|
+
<li>just before exiting. Thus, you can invoke tasks in the main <tt>Rakefile</tt> before the test runners are invoked.</li>
|
280
|
+
<li>located within any directory that is a descendant of the current working directory.</li>
|
281
|
+
</ul></li>
|
282
|
+
</ul>
|
283
|
+
|
284
|
+
|
285
|
+
<ul>
|
286
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_ARGS</span></code> parameter of generated runners has been renamed to <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_ARGUMENTS</span></code> for clarity.</li>
|
287
|
+
</ul>
|
288
|
+
|
289
|
+
|
290
|
+
<ul>
|
291
|
+
<li>The automated test generator
|
292
|
+
<ul>
|
293
|
+
<li>no longer displays the <strong>backup</strong> status indicator.</li>
|
294
|
+
<li>now supplies a third argument to the <code class="code"><span style="color:#036; font-weight:bold">MERGER</span></code> command.</li>
|
295
|
+
<li>no longer replaces existing files with newly generated content during the <strong>update</strong> action. Instead, it now writes the newly generated output to a <tt>.new</tt> file and then invokes the <code class="code"><span style="color:#036; font-weight:bold">MERGER</span></code> command.</li>
|
296
|
+
</ul></li>
|
297
|
+
</ul>
|
298
|
+
|
299
|
+
|
300
|
+
<h2>Details</h2>
|
301
|
+
|
302
|
+
|
303
|
+
<ul>
|
304
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code> class has two new methods: <code class="code">x!</code> and <code class="code">z!</code>, which set the handle&#8217;s logic value to <em>unknown</em> and <em>high impedance</em> respectively.</li>
|
305
|
+
</ul>
|
306
|
+
|
307
|
+
|
308
|
+
<ul>
|
309
|
+
<li>The tests for the simple up-counter example were randomly failing because the specifications were not asserting the design&#8217;s <code class="code">reset</code> signal long enough. So the design was getting into weird states and behaving in a non-deterministic way. This problem has been fixed.</li>
|
310
|
+
</ul>
|
311
|
+
|
312
|
+
|
313
|
+
<ul>
|
314
|
+
<li>The user manual has been revised and some minor issues have been fixed.</li>
|
315
|
+
</ul>
|
316
|
+
|
317
|
+
|
318
|
+
<h3>Test generation</h3>
|
319
|
+
|
320
|
+
|
321
|
+
<ul>
|
322
|
+
<li>The automated test generator accepts new command-line options:
|
323
|
+
<ul>
|
324
|
+
<li><tt>--test-unit</tt></li>
|
325
|
+
<li><tt>--test-spec</tt></li>
|
326
|
+
<li><tt>--tspec</tt></li>
|
327
|
+
</ul></li>
|
328
|
+
</ul>
|
329
|
+
|
330
|
+
|
331
|
+
<ul>
|
332
|
+
<li>The automated test generator was crashing when parsing module parameters of an input file which did not have any module parameters. This has been fixed.</li>
|
333
|
+
</ul>
|
334
|
+
|
335
|
+
|
336
|
+
<ul>
|
337
|
+
<li>Generated Verilog benches now contain simpler clock generation code.</li>
|
338
|
+
</ul>
|
339
|
+
|
340
|
+
|
341
|
+
<ul>
|
342
|
+
<li>Generated runners now contain
|
343
|
+
<ul>
|
344
|
+
<li>a <code class="code"><span style="color:#A60">:setup</span></code> task which is invoked before the simulator runs. It can be used to make preprations, such as converting Verilog header files into Ruby, for the simulation.</li>
|
345
|
+
<li>better explanations to accomodate new users.</li>
|
346
|
+
</ul></li>
|
347
|
+
</ul>
|
348
|
+
|
349
|
+
|
350
|
+
<ul>
|
351
|
+
<li>Specifications generated in the <strong>generic</strong> format no longer contain a class that is instantiated in the generated Ruby bench.</li>
|
352
|
+
</ul></description>
|
40
353
|
<pubDate>Thu, 07 Dec 2006 00:00:00 PST</pubDate>
|
41
354
|
</item>
|
42
355
|
<item>
|
43
356
|
<title>Version 11.1.1 released</title>
|
44
357
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.1</link>
|
45
358
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.1</guid>
|
46
|
-
<description><
|
359
|
+
<description><h1 id="11.1.1">Version 11.1.1 (2006-11-15)</h1>
|
360
|
+
|
361
|
+
|
362
|
+
<h2>Summary</h2>
|
363
|
+
|
364
|
+
|
365
|
+
<p>This release fixes a bug in the automated test generator, unifies the user manual and the website into a single documentation system, and adds support for rSpec 0.7.2.</p>
|
366
|
+
|
367
|
+
|
368
|
+
<h2>Acknowledgment</h2>
|
369
|
+
|
370
|
+
|
371
|
+
<p>Thanks to John Burr for finding the bug in the automated test generator.</p>
|
372
|
+
|
373
|
+
|
374
|
+
<h2>Notice</h2>
|
375
|
+
|
376
|
+
|
377
|
+
<ul>
|
378
|
+
<li>The user manual is now available <em>only</em> in <span class="caps">HTML</span> format. If you still wish to have a plain-text version, you can use a text-based browser, such as <a href="http://lynx.browser.org/">lynx</a>, to perform the necessary conversion.</li>
|
379
|
+
</ul>
|
380
|
+
|
381
|
+
|
382
|
+
<h2>Details</h2>
|
383
|
+
|
384
|
+
|
385
|
+
<ul>
|
386
|
+
<li>The automated test generator no longer crashes when parsing a Verilog module declaration that contains multiple module parameters.</li>
|
387
|
+
</ul>
|
388
|
+
|
389
|
+
|
390
|
+
<ul>
|
391
|
+
<li>The user manual and the website are now written using a custom documentation system based on RedCloth and <span class="caps">ERB</span> instead of DocBook-XML. This makes it easier to edit the user manual and reuse its content in other areas of the website.</li>
|
392
|
+
</ul></description>
|
47
393
|
<pubDate>Wed, 15 Nov 2006 00:00:00 PST</pubDate>
|
48
394
|
</item>
|
49
395
|
<item>
|
50
396
|
<title>Version 11.1.0 released</title>
|
51
397
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.0</link>
|
52
398
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.0</guid>
|
53
|
-
<description><
|
399
|
+
<description><h1 id="11.1.0">Version 11.1.0 (2006-11-08)</h1>
|
400
|
+
|
401
|
+
|
402
|
+
<h2>Summary</h2>
|
403
|
+
|
404
|
+
|
405
|
+
<p>This release fixes a bug in generated benches, improves the <a href="../ref/ruby/classes/Vpi/Handle.html">the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code> class</a>, and improves performance by roughly 20%.</p>
|
406
|
+
|
407
|
+
|
408
|
+
<h2>Acknowledgment</h2>
|
409
|
+
|
410
|
+
|
411
|
+
<p>Thanks to Matt Fischler for finding the bug in generated benches (see below).</p>
|
412
|
+
|
413
|
+
|
414
|
+
<h2>Notice</h2>
|
415
|
+
|
416
|
+
|
417
|
+
<ul>
|
418
|
+
<li>A bug in generated Verilog and Ruby benches, which caused the <pre>ruby: no such file to load -- ruby-vpi (LoadError)</pre> error, has been fixed. Please regenerate your tests to apply this bug fix to your tests.</li>
|
419
|
+
</ul>
|
420
|
+
|
421
|
+
|
422
|
+
<h2>Details</h2>
|
423
|
+
|
424
|
+
|
425
|
+
<ul>
|
426
|
+
<li>The class <code class="code"><span style="color:#036; font-weight:bold">SWIG</span>::<span style="color:#036; font-weight:bold">TYPE_p_unsigned_int</span></code> has been aliased as <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code> for easier access.</li>
|
427
|
+
</ul>
|
428
|
+
|
429
|
+
|
430
|
+
<ul>
|
431
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.to_s</code> and <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.inspect</code> now produce more informative output. For example, what used to appear as <pre>#&lt;SWIG::TYPE_p_unsigned_int:0x2aaab6574fa0&gt;</pre> now appears as <pre>#&lt;Vpi::Handle vpiModule fullName=counter_rspec_bench, size=-1, file=counter_rspec_bench.v, lineNo=2&gt;</pre> in this release.
|
432
|
+
<ul>
|
433
|
+
<li>You can also provide a list of <span class="caps">VPI</span> properties, as names or integer constants, to those methods to see additional information in the output.</li>
|
434
|
+
</ul></li>
|
435
|
+
</ul>
|
436
|
+
|
437
|
+
|
438
|
+
<ul>
|
439
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code> now implements all methods from <code class="code"><span style="color:#036; font-weight:bold">Enumerable</span></code>, such as <code class="code">map</code>, <code class="code">each</code>, <code class="code">select</code>, and so on. However, unlike their counterparts in <code class="code"><span style="color:#036; font-weight:bold">Enumerable</span></code>, these methods also accept a list of <span class="caps">VPI</span> properties, as names or integer constants. Thus, you are now able to write <code class="code">handle.select(<span style="color:#A60">:reg</span>, <span style="color:#A60">:net</span>) {|h| h.size &gt; <span style="color:#00D; font-weight:bold">5</span>}</code> to obtain a list of child handles to registers and nets whose capacity is greater than 5 bits.</li>
|
440
|
+
</ul>
|
441
|
+
|
442
|
+
|
443
|
+
<ul>
|
444
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.[]</code>, <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.get_value</code>, and <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.put_value</code> methods now accept names of <span class="caps">VPI</span> properties as well as their integer constants. Thus, you are now able to write <code class="code">handle[<span style="color:#A60">:reg</span>, <span style="color:#A60">:net</span>]</code> to obtain a list of handles to all child registers and nets.</li>
|
445
|
+
</ul>
|
446
|
+
|
447
|
+
|
448
|
+
<ul>
|
449
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.method_missing</code> has been refactored to cache queries. There is now, approximately, 20% improvement in performance.</li>
|
450
|
+
</ul>
|
451
|
+
|
452
|
+
|
453
|
+
<ul>
|
454
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.method_missing</code> has been fixed to accept operations with multiple underscores. For example, before this release, you could not write <code class="code">handle.find_all_reg {|r| r.name =~ <span style="background-color:#fff0ff"><span style="color:#404">/</span><span style="color:#808">foo</span><span style="color:#404">/</span></span>}</code> because the &#8220;find_all_reg&#8221; method would be interpreted as the operation &#8220;find&#8221; and the <span class="caps">VPI</span> property &#8220;all_reg&#8221;.</li>
|
455
|
+
</ul>
|
456
|
+
|
457
|
+
|
458
|
+
<ul>
|
459
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.method_missing</code> no longer requires that the first letter of a method be lower case. For example, now you can now write <code class="code">handle.<span style="color:#036; font-weight:bold">IntVal</span></code> in addition to <code class="code">handle.intVal</code>.</li>
|
460
|
+
</ul>
|
461
|
+
|
462
|
+
|
463
|
+
<ul>
|
464
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">IntegerGenerator</span></code> class, in the pipelined <span class="caps">ALU</span> example, has been fixed so that multiple instances do not interfere with the generation of each other&#8217;s prime integers.</li>
|
465
|
+
</ul>
|
466
|
+
|
467
|
+
|
468
|
+
<ul>
|
469
|
+
<li>Due to a bug in the <tt>Rakefile</tt>, the reference documentation was not included in the previous few releases. This has been fixed.</li>
|
470
|
+
</ul></description>
|
54
471
|
<pubDate>Wed, 08 Nov 2006 00:00:00 PST</pubDate>
|
55
472
|
</item>
|
56
473
|
<item>
|
57
474
|
<title>Version 11.0.0 released</title>
|
58
475
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.0.0</link>
|
59
476
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.0.0</guid>
|
60
|
-
<description><
|
477
|
+
<description><h1 id="11.0.0">Version 11.0.0 (2006-11-05)</h1>
|
478
|
+
|
479
|
+
|
480
|
+
<h2>Summary</h2>
|
481
|
+
|
482
|
+
|
483
|
+
<p>This release shortens generated Ruby benches and uses the less confusing notation for defining <a href="http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial">singleton methods</a> in generated designs and prototypes.</p>
|
484
|
+
|
485
|
+
|
486
|
+
<h2>Notice</h2>
|
487
|
+
|
488
|
+
|
489
|
+
<ul>
|
490
|
+
<li>The arguments for the <a href="../ref/ruby/classes/RubyVpi.html"><code class="code"><span style="color:#036; font-weight:bold">RubyVPI</span>.init_bench</code> method</a> have changed.</li>
|
491
|
+
</ul>
|
492
|
+
|
493
|
+
|
494
|
+
<ul>
|
495
|
+
<li><strong>generate_test.rb</strong> no longer emits undocumented status indicators: <em>name</em> and <em>format</em>.</li>
|
496
|
+
</ul>
|
497
|
+
|
498
|
+
|
499
|
+
<ul>
|
500
|
+
<li>The source code is no longer distributed as a <strong>zip</strong> package, because it seems to be quite underutilized in comparison to the <strong>tgz</strong> and <strong>gem</strong> packages.</li>
|
501
|
+
</ul>
|
502
|
+
|
503
|
+
|
504
|
+
<h2>Details</h2>
|
505
|
+
|
506
|
+
|
507
|
+
<ul>
|
508
|
+
<li>Generated Ruby benches have been shortened to just <em>one</em> line of code!</li>
|
509
|
+
</ul>
|
510
|
+
|
511
|
+
|
512
|
+
<ul>
|
513
|
+
<li>The less confusing notation of <pre class="code"><span style="color:#080; font-weight:bold">def</span> some_object.a_singleton_method
|
514
|
+
do_stuff
|
515
|
+
<span style="color:#080; font-weight:bold">end</span></pre> is now used instead of the <pre class="code"><span style="color:#080; font-weight:bold">class</span> &lt;&lt; <span style="color:#B06; font-weight:bold">some_object</span>
|
516
|
+
<span style="color:#080; font-weight:bold">def</span> <span style="color:#06B; font-weight:bold">a_singleton_method</span>
|
517
|
+
do_stuff
|
518
|
+
<span style="color:#080; font-weight:bold">end</span>
|
519
|
+
<span style="color:#080; font-weight:bold">end</span></pre> notation.
|
520
|
+
<ul>
|
521
|
+
<li>The tutorial and examples have been updated accordingly.</li>
|
522
|
+
</ul></li>
|
523
|
+
</ul>
|
524
|
+
|
525
|
+
|
526
|
+
<ul>
|
527
|
+
<li>The pipelined <span class="caps">ALU</span> example now has an updated <code class="code"><span style="color:#036; font-weight:bold">IntegerGenerator</span></code> class.</li>
|
528
|
+
</ul></description>
|
61
529
|
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
62
530
|
</item>
|
63
531
|
<item>
|
64
532
|
<title>Version 10.0.0 released</title>
|
65
533
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#10.0.0</link>
|
66
534
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#10.0.0</guid>
|
67
|
-
<description><
|
535
|
+
<description><h1 id="10.0.0">Version 10.0.0 (2006-11-05)</h1>
|
536
|
+
|
537
|
+
|
538
|
+
<h2>Summary</h2>
|
539
|
+
|
540
|
+
|
541
|
+
<p>This release adds the ability to access a handle&#8217;s children and reduces the amount of code produced by the automated test generator.</p>
|
542
|
+
|
543
|
+
|
544
|
+
<h2>Acknowledgment</h2>
|
545
|
+
|
546
|
+
|
547
|
+
<p>Thanks to Matt Fischler for finding the problem of misdirected compilation errors in Verilog benches.</p>
|
548
|
+
|
549
|
+
|
550
|
+
<h2>Notice</h2>
|
551
|
+
|
552
|
+
|
553
|
+
<ul>
|
554
|
+
<li>The way in which Ruby-VPI and generated tests interact has changed: the design is now a <span class="caps">VPI</span> handle object and the <tt>design.rb</tt> and <tt>proto.rb</tt> files define <a href="http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial">singleton methods</a> for that object.
|
555
|
+
<ul>
|
556
|
+
<li>I suggest that you regenerate your existing tests (just run <strong>generate_test.rb</strong> again) whilst employing the service of a text merging tool (see the user manual).</li>
|
557
|
+
</ul></li>
|
558
|
+
</ul>
|
559
|
+
|
560
|
+
|
561
|
+
<ul>
|
562
|
+
<li>You can now access a handle&#8217;s children by simply calling methods on it. In the event that a child handle has the same name as a <span class="caps">VPI</span> property, the child is given priority. However, you can always access <span class="caps">VPI</span> properties explicitly via the <code class="code">get_value</code> and <code class="code">put_value</code> methods.</li>
|
563
|
+
</ul>
|
564
|
+
|
565
|
+
|
566
|
+
<ul>
|
567
|
+
<li><strong>generate_test.rb</strong> no longer accepts the <pre>-s</pre> and <pre>-u</pre> options. Use their longer counterparts <pre>--rspec</pre> and <pre>--xunit</pre> instead.</li>
|
568
|
+
</ul>
|
569
|
+
|
570
|
+
|
571
|
+
<h2>Details</h2>
|
572
|
+
|
573
|
+
|
574
|
+
<h3>Automated test generator</h3>
|
575
|
+
|
576
|
+
|
577
|
+
<ul>
|
578
|
+
<li>Generated Verilog benches no longer divert compilation errors from Verilog design files. That is, if the Verilog simulator finds compilation errors in a Verilog design file, it will report that the Verilog design file is at fault (instead of reporting that the generated Verilog bench is at fault).</li>
|
579
|
+
</ul>
|
580
|
+
|
581
|
+
|
582
|
+
<ul>
|
583
|
+
<li>The user is now notified when a backup of an existing file is made.</li>
|
584
|
+
</ul>
|
585
|
+
|
586
|
+
|
587
|
+
<ul>
|
588
|
+
<li>Generated tests have been greatly simplified to reduce the amount of work for the user.
|
589
|
+
<ul>
|
590
|
+
<li>The design is now just a handle to the module in the Verilog bench.</li>
|
591
|
+
<li><code class="code">include <span style="color:#036; font-weight:bold">Vpi</span></code> and <code class="code"><span style="color:#33B">@design</span></code> are no longer generated.</li>
|
592
|
+
<li>The tutorial and examples have been updated accordingly.</li>
|
593
|
+
</ul></li>
|
594
|
+
</ul>
|
595
|
+
|
596
|
+
|
597
|
+
<h3>User manual</h3>
|
598
|
+
|
599
|
+
|
600
|
+
<ul>
|
601
|
+
<li>Revised the stylesheet to make disjoint sections readily distinguishable from each other, through generous spacing and minor coloring.</li>
|
602
|
+
</ul>
|
603
|
+
|
604
|
+
|
605
|
+
<ul>
|
606
|
+
<li>Added tips about <tt>ruby-vpi/runner_proxy</tt>, <pre>rake -T</pre>, and using <strong>kdiff3</strong> with <strong>generate_test.rb</strong>.</li>
|
607
|
+
</ul>
|
608
|
+
|
609
|
+
|
610
|
+
<ul>
|
611
|
+
<li>Moved installation information into a new &#8220;setup&#8221; chapter.</li>
|
612
|
+
</ul></description>
|
68
613
|
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
69
614
|
</item>
|
70
615
|
<item>
|
71
616
|
<title>Version 9.0.0 released</title>
|
72
617
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#9.0.0</link>
|
73
618
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#9.0.0</guid>
|
74
|
-
<description><
|
619
|
+
<description><h1 id="9.0.0">Version 9.0.0 (2006-10-28)</h1>
|
620
|
+
|
621
|
+
|
622
|
+
<h2>Summary</h2>
|
623
|
+
|
624
|
+
|
625
|
+
<p>This release improves the automated test generator and adds new content to the user manual.</p>
|
626
|
+
|
627
|
+
|
628
|
+
<h2>Acknowledgment</h2>
|
629
|
+
|
630
|
+
|
631
|
+
<p>Thanks to Matt Fischler for helping test and debug the installation of Ruby-VPI on Windows.</p>
|
632
|
+
|
633
|
+
|
634
|
+
<h2>Notice</h2>
|
635
|
+
|
636
|
+
|
637
|
+
<ul>
|
638
|
+
<li>The command-line options for <strong>generate_test.rb</strong> have changed. Run the command <pre>generate_test.rb --help</pre> for details.</li>
|
639
|
+
</ul>
|
640
|
+
|
641
|
+
|
642
|
+
<h2>Details</h2>
|
643
|
+
|
644
|
+
|
645
|
+
<ul>
|
646
|
+
<li>Test runners now attempt to resolve paths in <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_SOURCES</span></code> by searching for them within the directories specified in <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_INCLUDES</span></code>.</li>
|
647
|
+
</ul>
|
648
|
+
|
649
|
+
|
650
|
+
<ul>
|
651
|
+
<li>Synopsys <span class="caps">VCS</span> is now used in a better way (via the <pre>-load</pre> option).
|
652
|
+
<ul>
|
653
|
+
<li>The old <span class="caps">PLI</span> table file (<tt>synopsys_vcs.tab</tt>) has been removed.</li>
|
654
|
+
<li>The C extension has been revised accordingly.</li>
|
655
|
+
</ul></li>
|
656
|
+
</ul>
|
657
|
+
|
658
|
+
|
659
|
+
<ul>
|
660
|
+
<li>The C extension now compiles without errors in Cygwin.</li>
|
661
|
+
</ul>
|
662
|
+
|
663
|
+
|
664
|
+
<ul>
|
665
|
+
<li>The automated test generator now:
|
666
|
+
<ul>
|
667
|
+
<li>Only creates output files when necessary.</li>
|
668
|
+
<li>Updates existing output files using <a href="manual.html#setup.recom">text merging tools</a> if possible. (Refer to <code class="code"><span style="color:#036; font-weight:bold">MERGER</span></code> in the help information of <strong>generate_test.rb</strong>.)</li>
|
669
|
+
<li>Emits progress information similar to Ruby on Rails.</li>
|
670
|
+
</ul></li>
|
671
|
+
</ul>
|
672
|
+
|
673
|
+
|
674
|
+
<ul>
|
675
|
+
<li>The user manual now:
|
676
|
+
<ul>
|
677
|
+
<li>Includes instructions for installing on Windows (via Cygwin).</li>
|
678
|
+
<li>Has a recommended software section, with links to text merging tools.</li>
|
679
|
+
<li>Uses the term <a href="http://en.wikipedia.org/wiki/XUnit">xUnit</a> instead of &#8220;unit test&#8221;.</li>
|
680
|
+
<li>Correctly spells &#8220;rSpec&#8221;.</li>
|
681
|
+
</ul></li>
|
682
|
+
</ul></description>
|
75
683
|
<pubDate>Sat, 28 Oct 2006 00:00:00 PDT</pubDate>
|
76
684
|
</item>
|
77
685
|
<item>
|
78
686
|
<title>Version 8.2.0 released</title>
|
79
687
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.2.0</link>
|
80
688
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.2.0</guid>
|
81
|
-
<description><
|
689
|
+
<description><h1 id="8.2.0">Version 8.2.0 (2006-10-24)</h1>
|
690
|
+
|
691
|
+
|
692
|
+
<h2>Summary</h2>
|
693
|
+
|
694
|
+
|
695
|
+
<p>This release simplifies configuration of generated tests.</p>
|
696
|
+
|
697
|
+
|
698
|
+
<h2>Acknowledgment</h2>
|
699
|
+
|
700
|
+
|
701
|
+
<p>Thanks to <a href="http://www.soe.ucsc.edu/classes/cmpe126/Fall06/">students in <span class="caps">CMPE</span>-126</a> for their comments.</p>
|
702
|
+
|
703
|
+
|
704
|
+
<h2>Notice</h2>
|
705
|
+
|
706
|
+
|
707
|
+
<ul>
|
708
|
+
<li>Generated runners now have a <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_INCLUDES</span></code> array, whose entries specify places where Verilog source files, needed by the Verilog design, reside.</li>
|
709
|
+
</ul>
|
710
|
+
|
711
|
+
|
712
|
+
<h2>Details</h2>
|
713
|
+
|
714
|
+
|
715
|
+
<ul>
|
716
|
+
<li>Generated Verilog benches now inherit all <code class="code"><span style="background-color:#f0fff0"><span style="color:#161">`</span><span style="color:#2B2">include</span></span></code> and <code class="code"><span style="background-color:#f0fff0"><span style="color:#161">`</span><span style="color:#2B2">define</span></span></code> directives from the Verilog design in a simpler manner.</li>
|
717
|
+
<li>A generated test no longer requires its Verilog design to reside in the same directory.</li>
|
718
|
+
<li>The sample tests have been updated accordingly.</li>
|
719
|
+
</ul></description>
|
82
720
|
<pubDate>Tue, 24 Oct 2006 00:00:00 PDT</pubDate>
|
83
721
|
</item>
|
84
722
|
<item>
|
85
723
|
<title>Version 8.1.0 released</title>
|
86
724
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.1.0</link>
|
87
725
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.1.0</guid>
|
88
|
-
<description><
|
726
|
+
<description><h1 id="8.1.0">Version 8.1.0 (2006-10-21)</h1>
|
727
|
+
|
728
|
+
|
729
|
+
<h2>Summary</h2>
|
730
|
+
|
731
|
+
|
732
|
+
<p>This release adds an integer library and renames the vpi_util library.</p>
|
733
|
+
|
734
|
+
|
735
|
+
<h2>Notice</h2>
|
736
|
+
|
737
|
+
|
738
|
+
<ul>
|
739
|
+
<li>The <strong>vpi_util</strong> library has been renamed to <strong>vpi</strong>. This change should not affect your code unless you explicitly imported this library via <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">ruby-vpi/vpi_util</span><span style="color:#710">'</span></span></code>. In which case, you should update your code to use <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">ruby-vpi/vpi</span><span style="color:#710">'</span></span></code> accordingly.</li>
|
740
|
+
</ul>
|
741
|
+
|
742
|
+
|
743
|
+
<h2>Details</h2>
|
744
|
+
|
745
|
+
|
746
|
+
<ul>
|
747
|
+
<li>An integer library has been added to simplify common tasks related to hardware and the binary number system. You can import this library for use via <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">ruby-vpi/integer</span><span style="color:#710">'</span></span></code>.</li>
|
748
|
+
</ul></description>
|
89
749
|
<pubDate>Sat, 21 Oct 2006 00:00:00 PDT</pubDate>
|
90
750
|
</item>
|
91
751
|
<item>
|
92
752
|
<title>Version 8.0.0 released</title>
|
93
753
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.0.0</link>
|
94
754
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.0.0</guid>
|
95
|
-
<description><
|
755
|
+
<description><h1 id="8.0.0">Version 8.0.0 (2006-10-13)</h1>
|
756
|
+
|
757
|
+
|
758
|
+
<h2>Summary</h2>
|
759
|
+
|
760
|
+
|
761
|
+
<p>This release renames some identifiers for consistency, updates the documentation, and improves integration with RubyGems.</p>
|
762
|
+
|
763
|
+
|
764
|
+
<h2>Notice</h2>
|
765
|
+
|
766
|
+
|
767
|
+
<ul>
|
768
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">RubyVPI</span></code> module has been renamed to <code class="code"><span style="color:#036; font-weight:bold">RubyVpi</span></code>.</li>
|
769
|
+
</ul>
|
770
|
+
|
771
|
+
|
772
|
+
<ul>
|
773
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">PROTO</span></code> environment variable has been renamed to <code class="code"><span style="color:#036; font-weight:bold">PROTOTYPE</span></code>.
|
774
|
+
<ul>
|
775
|
+
<li>In addition to using <strong>unset</strong>, you can now disable simulation of the prototype by assigning an empty value to this variable.</li>
|
776
|
+
</ul></li>
|
777
|
+
</ul>
|
778
|
+
|
779
|
+
|
780
|
+
<h2>Details</h2>
|
781
|
+
|
782
|
+
|
783
|
+
<ul>
|
784
|
+
<li>We now use <a href="http://darcs.net">Darcs</a> for revision control, instead of Subversion. The source repository can now be accessed at <a href="http://ruby-vpi.rubyforge.org/src/ruby-vpi">http://ruby-vpi.rubyforge.org/src/ruby-vpi</a>.</li>
|
785
|
+
</ul>
|
786
|
+
|
787
|
+
|
788
|
+
<ul>
|
789
|
+
<li>The source code is now distributed in tar.gz and zip form, in addition to gem.</li>
|
790
|
+
</ul>
|
791
|
+
|
792
|
+
|
793
|
+
<ul>
|
794
|
+
<li>Some identifiers have been renamed for better consistency.</li>
|
795
|
+
</ul>
|
796
|
+
|
797
|
+
|
798
|
+
<ul>
|
799
|
+
<li>The user manual now resides directly within the <tt>doc/</tt> directory.
|
800
|
+
<ul>
|
801
|
+
<li>The integration of documentation in <strong>gem_server</strong> has been improved.</li>
|
802
|
+
</ul></li>
|
803
|
+
</ul>
|
804
|
+
|
805
|
+
|
806
|
+
<ul>
|
807
|
+
<li>The glossary and tutorial in the user manual have been revised.</li>
|
808
|
+
</ul></description>
|
96
809
|
<pubDate>Fri, 13 Oct 2006 00:00:00 PDT</pubDate>
|
97
810
|
</item>
|
98
811
|
<item>
|
99
812
|
<title>Version 7.3.0 released</title>
|
100
813
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.3.0</link>
|
101
814
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.3.0</guid>
|
102
|
-
<description><
|
815
|
+
<description><h1 id="7.3.0">Version 7.3.0 (2006-09-30)</h1>
|
816
|
+
|
817
|
+
|
818
|
+
<h2>Summary</h2>
|
819
|
+
|
820
|
+
|
821
|
+
<p>This release fixes a bug in generated Verilog benches, includes parsed constants in generated tests, and adds new methods to handles.</p>
|
822
|
+
|
823
|
+
|
824
|
+
<h2>Notice</h2>
|
825
|
+
|
826
|
+
|
827
|
+
<ul>
|
828
|
+
<li>Handles now have two new methods:
|
829
|
+
<ul>
|
830
|
+
<li><code class="code">handle.x?</code> checks if the logic value is &#8220;don&#8217;t care&#8221; </li>
|
831
|
+
<li><code class="code">handle.z?</code> checks if the logic value is high impedance</li>
|
832
|
+
</ul></li>
|
833
|
+
</ul>
|
834
|
+
|
835
|
+
|
836
|
+
<h2>Details</h2>
|
837
|
+
|
838
|
+
|
839
|
+
<ul>
|
840
|
+
<li>Module instantiation code in generated Verilog benches has been fixed. Whitespace between the module type and instance variable was missing.</li>
|
841
|
+
</ul>
|
842
|
+
|
843
|
+
|
844
|
+
<ul>
|
845
|
+
<li>The test generator tool now provides parsed Verilog constants and include-directives in generated Verilog benches; and parsed Verilog constants in generated Ruby designs.
|
846
|
+
<ul>
|
847
|
+
<li>The pipelined <span class="caps">ALU</span> example has been revised accordingly.</li>
|
848
|
+
</ul></li>
|
849
|
+
</ul>
|
850
|
+
|
851
|
+
|
852
|
+
<ul>
|
853
|
+
<li>A library for parsing Verilog source code has been added as <tt>lib/ruby-vpi/verilog_parser.rb</tt>.</li>
|
854
|
+
</ul></description>
|
103
855
|
<pubDate>Sat, 30 Sep 2006 00:00:00 PDT</pubDate>
|
104
856
|
</item>
|
105
857
|
<item>
|
106
858
|
<title>Version 7.2.0 released</title>
|
107
859
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.2.0</link>
|
108
860
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.2.0</guid>
|
109
|
-
<description><
|
861
|
+
<description><h1 id="7.2.0">Version 7.2.0 (2006-09-15)</h1>
|
862
|
+
|
863
|
+
|
864
|
+
<h2>Summary</h2>
|
865
|
+
|
866
|
+
|
867
|
+
<p>This release adds initial support for code coverage analysis via the <a href="http://eigenclass.org/hiki.rb?rcov">rcov library</a>.</p>
|
868
|
+
|
869
|
+
|
870
|
+
<h2>Acknowledgment</h2>
|
871
|
+
|
872
|
+
|
873
|
+
<p>Thanks to Mauricio Fernandez for helping me use rcov without its runner.</p>
|
874
|
+
|
875
|
+
|
876
|
+
<h2>Details</h2>
|
877
|
+
|
878
|
+
|
879
|
+
<ul>
|
880
|
+
<li>Added initial support (full capabilites of the rcov library, such as its various analysis modes, are not yet utilized) for code coverage analysis, which can be enabled by setting the <code class="code"><span style="color:#036; font-weight:bold">COVERAGE</span></code> environment variable to a non-empty value before running a test.
|
881
|
+
<ul>
|
882
|
+
<li>For example, you can run a test with the <span class="caps">GPL</span> Cver simulator while enabling the generation of code coverage reports as follows: <pre>export COVERAGE=1; rake cver</pre></li>
|
883
|
+
</ul></li>
|
884
|
+
</ul>
|
885
|
+
|
886
|
+
|
887
|
+
<ul>
|
888
|
+
<li>Coverage reports are generated in text and <span class="caps">HTML</span> formats.</li>
|
889
|
+
</ul></description>
|
110
890
|
<pubDate>Fri, 15 Sep 2006 00:00:00 PDT</pubDate>
|
111
891
|
</item>
|
112
892
|
<item>
|
113
893
|
<title>Version 7.1.0 released</title>
|
114
894
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.1.0</link>
|
115
895
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.1.0</guid>
|
116
|
-
<description><
|
896
|
+
<description><h1 id="7.1.0">Version 7.1.0 (2006-08-29)</h1>
|
897
|
+
|
898
|
+
|
899
|
+
<h2>Summary</h2>
|
900
|
+
|
901
|
+
|
902
|
+
<p>This release simplifies running of multiple tests, restores compatibility with Synopsys <span class="caps">VCS</span>, and better integrates with RubyGems.</p>
|
903
|
+
|
904
|
+
|
905
|
+
<h2>Details</h2>
|
906
|
+
|
907
|
+
|
908
|
+
<ul>
|
909
|
+
<li>Added <tt>lib/ruby-vpi/runner_proxy.rb</tt> library which, when embedded into a Rakefile, runs all generated tests in the working directory with any specified arguments. For example, have a look at the <tt>samp/counter/Rakefile</tt> file.</li>
|
910
|
+
</ul>
|
911
|
+
|
912
|
+
|
913
|
+
<ul>
|
914
|
+
<li>Fixed a bug that prevented one from running tests with Synopsys <span class="caps">VCS</span>.</li>
|
915
|
+
</ul>
|
916
|
+
|
917
|
+
|
918
|
+
<ul>
|
919
|
+
<li>Ruby-VPI documentation is now available through RubyGems&#8217; <a href="http://docs.rubygems.org/read/chapter/2#page10"><strong>gem_server</strong> web interface</a>.</li>
|
920
|
+
</ul>
|
921
|
+
|
922
|
+
|
923
|
+
<ul>
|
924
|
+
<li>The user manual now discusses how to determine the location of a Ruby-VPI installation.</li>
|
925
|
+
</ul>
|
926
|
+
|
927
|
+
|
928
|
+
<ul>
|
929
|
+
<li>The <tt>tpl/</tt> directory has been removed.</li>
|
930
|
+
</ul></description>
|
117
931
|
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
118
932
|
</item>
|
119
933
|
<item>
|
120
934
|
<title>Version 7.0.0 released</title>
|
121
935
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.0.0</link>
|
122
936
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.0.0</guid>
|
123
|
-
<description><
|
937
|
+
<description><h1 id="7.0.0">Version 7.0.0 (2006-08-29)</h1>
|
938
|
+
|
939
|
+
|
940
|
+
<h2>Summary</h2>
|
941
|
+
|
942
|
+
|
943
|
+
<p>This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.</p>
|
944
|
+
|
945
|
+
|
946
|
+
<h2>Notice</h2>
|
947
|
+
|
948
|
+
|
949
|
+
<ul>
|
950
|
+
<li><code class="code">put_value()</code> now accomodates register value overflows when verifying the value it has written.</li>
|
951
|
+
</ul>
|
952
|
+
|
953
|
+
|
954
|
+
<ul>
|
955
|
+
<li>The test generator&#8217;s templates and the examples have been updated as follows:
|
956
|
+
<ul>
|
957
|
+
<li>Test runners no longer have to specify the path to Ruby-VPI installation directory. Instead, they simply <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">ruby-vpi/runner</span><span style="color:#710">'</span></span></code>. Thus, you can run your tests on any machine with Ruby-VPI without having to know where it is installed.</li>
|
958
|
+
<li>Ruby benches now invoke <code class="code"><span style="color:#036; font-weight:bold">RubyVPI</span>.init_bench</code> instead of <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">bench</span><span style="color:#710">'</span></span>; setup_bench</code> to become initialized.</li>
|
959
|
+
</ul></li>
|
960
|
+
</ul>
|
961
|
+
|
962
|
+
|
963
|
+
<ul>
|
964
|
+
<li>All Ruby libraries in the <tt>lib/</tt> directory have been moved into <tt>lib/ruby-vpi/</tt> to prevent load-path clashes with other gems. You should access these libraries by prefixing their path with &#8220;ruby-vpi&#8221;. For example, <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">vpi_util</span><span style="color:#710">'</span></span></code> should now be written as <code class="code">require <span style="background-color:#fff0f0"><span style="color:#710">'</span><span style="color:#D20">ruby-vpi/vpi_util</span><span style="color:#710">'</span></span></code>.</li>
|
965
|
+
</ul>
|
966
|
+
|
967
|
+
|
968
|
+
<ul>
|
969
|
+
<li>The <tt>src/</tt> directory has been renamed to <tt>ext/</tt> to follow RubyGems convention.</li>
|
970
|
+
</ul>
|
971
|
+
|
972
|
+
|
973
|
+
<h2>Details</h2>
|
974
|
+
|
975
|
+
|
976
|
+
<ul>
|
977
|
+
<li>Ruby-VPI is now distributed only as a <a href="http://www.rubygems.org">source gem</a>. You can decompress the gem without installing it onto your system by running the command <pre>gem install -i output_directory ruby-vpi-7.0.0.gem</pre>. In addition, you can still obtain the source code directly from the Subversion repository.</li>
|
978
|
+
</ul>
|
979
|
+
|
980
|
+
|
981
|
+
<ul>
|
982
|
+
<li>The tools in <tt>bin/</tt> become available in your system&#8217;s <tt>bin/</tt> directory when the gem is installed.
|
983
|
+
<ul>
|
984
|
+
<li>Usage and help information has been added to the <strong>header_to_ruby.rb</strong> tool.</li>
|
985
|
+
</ul></li>
|
986
|
+
</ul>
|
987
|
+
|
988
|
+
|
989
|
+
<ul>
|
990
|
+
<li>Incorrect spelling of <span class="caps">GPL</span> Cver (v should be uncapitalized) has been fixed.</li>
|
991
|
+
</ul>
|
992
|
+
|
993
|
+
|
994
|
+
<ul>
|
995
|
+
<li>Incorrect link to <span class="caps">GPL</span> Cver website has been fixed.</li>
|
996
|
+
</ul>
|
997
|
+
|
998
|
+
|
999
|
+
<ul>
|
1000
|
+
<li>The user manual has been updated according to all of the above changes.</li>
|
1001
|
+
</ul></description>
|
124
1002
|
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
125
1003
|
</item>
|
126
1004
|
<item>
|
127
1005
|
<title>Version 6.3.0 released</title>
|
128
1006
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.3.0</link>
|
129
1007
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.3.0</guid>
|
130
|
-
<description><
|
1008
|
+
<description><h1 id="6.3.0">Version 6.3.0 (2006-08-27)</h1>
|
1009
|
+
|
1010
|
+
|
1011
|
+
<h2>Summary</h2>
|
1012
|
+
|
1013
|
+
|
1014
|
+
<p>This release adds support for the <span class="caps">GPL</span> Cver simulator, provides both binary and source packages, and explicitly defines the version numbering system.</p>
|
1015
|
+
|
1016
|
+
|
1017
|
+
<h2>Notice</h2>
|
1018
|
+
|
1019
|
+
|
1020
|
+
<ul>
|
1021
|
+
<li>Ruby-VPI now only needs to be built once.
|
1022
|
+
<ul>
|
1023
|
+
<li>You can run tests with different Verilog simulators without having to re-compile Ruby-VPI.</li>
|
1024
|
+
</ul></li>
|
1025
|
+
</ul>
|
1026
|
+
|
1027
|
+
|
1028
|
+
<h2>Details</h2>
|
1029
|
+
|
1030
|
+
|
1031
|
+
<ul>
|
1032
|
+
<li>The <span class="caps">GPL</span> Cver simulator is now supported.</li>
|
1033
|
+
</ul>
|
1034
|
+
|
1035
|
+
|
1036
|
+
<ul>
|
1037
|
+
<li>Release packages are now available in both source and binary form.</li>
|
1038
|
+
</ul>
|
1039
|
+
|
1040
|
+
|
1041
|
+
<ul>
|
1042
|
+
<li>The RSpec based specifications for the counter example now use the <code class="code">should_equal</code> instead of the <code class="code">should_be</code> assertion, because the latter ensures strict equivalence. For instance, it will fail when a Fixnum is compared to a Bignum.</li>
|
1043
|
+
</ul>
|
1044
|
+
|
1045
|
+
|
1046
|
+
<ul>
|
1047
|
+
<li>We now follow the RubyGems project&#8217;s <a href="http://www.rubygems.org/read/chapter/7">rational versioning policy</a>. The version numbers of previous releases have been revised accordingly:
|
1048
|
+
<table>
|
1049
|
+
<tr>
|
1050
|
+
<th>Release date </th>
|
1051
|
+
<th>Original version number </th>
|
1052
|
+
<th>New version number </th>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td> 1999-10-31 </td>
|
1056
|
+
<td> 0.0 </td>
|
1057
|
+
<td> 0.0.0 </td>
|
1058
|
+
</tr>
|
1059
|
+
<tr>
|
1060
|
+
<td> 2006-02-26 </td>
|
1061
|
+
<td> 0.1 </td>
|
1062
|
+
<td> 1.0.0 </td>
|
1063
|
+
</tr>
|
1064
|
+
<tr>
|
1065
|
+
<td> 2006-04-17 </td>
|
1066
|
+
<td> 0.2 </td>
|
1067
|
+
<td> 2.0.0 </td>
|
1068
|
+
</tr>
|
1069
|
+
<tr>
|
1070
|
+
<td> 2006-04-23 </td>
|
1071
|
+
<td> 0.3 </td>
|
1072
|
+
<td> 3.0.0 </td>
|
1073
|
+
</tr>
|
1074
|
+
<tr>
|
1075
|
+
<td> 2006-04-28 </td>
|
1076
|
+
<td> 0.4 </td>
|
1077
|
+
<td> 3.1.0 </td>
|
1078
|
+
</tr>
|
1079
|
+
<tr>
|
1080
|
+
<td> 2006-05-13 </td>
|
1081
|
+
<td> 0.5 </td>
|
1082
|
+
<td> 3.2.0 </td>
|
1083
|
+
</tr>
|
1084
|
+
<tr>
|
1085
|
+
<td> 2006-05-25 </td>
|
1086
|
+
<td> 0.6 </td>
|
1087
|
+
<td> 4.0.0 </td>
|
1088
|
+
</tr>
|
1089
|
+
<tr>
|
1090
|
+
<td> 2006-07-22 </td>
|
1091
|
+
<td> 0.7 </td>
|
1092
|
+
<td> 5.0.0 </td>
|
1093
|
+
</tr>
|
1094
|
+
<tr>
|
1095
|
+
<td> 2006-07-29 </td>
|
1096
|
+
<td> 0.8 </td>
|
1097
|
+
<td> 5.1.0 </td>
|
1098
|
+
</tr>
|
1099
|
+
<tr>
|
1100
|
+
<td> 2006-08-04 </td>
|
1101
|
+
<td> 0.8.1 </td>
|
1102
|
+
<td> 5.1.1 </td>
|
1103
|
+
</tr>
|
1104
|
+
<tr>
|
1105
|
+
<td> 2006-08-07 </td>
|
1106
|
+
<td> 0.9 </td>
|
1107
|
+
<td> 6.0.0 </td>
|
1108
|
+
</tr>
|
1109
|
+
<tr>
|
1110
|
+
<td> 2006-08-09 </td>
|
1111
|
+
<td> 0.9.1 </td>
|
1112
|
+
<td> 6.1.0 </td>
|
1113
|
+
</tr>
|
1114
|
+
<tr>
|
1115
|
+
<td> 2006-08-26 </td>
|
1116
|
+
<td> 0.9.2 </td>
|
1117
|
+
<td> 6.2.0 </td>
|
1118
|
+
</tr>
|
1119
|
+
</table></li>
|
1120
|
+
</ul></description>
|
131
1121
|
<pubDate>Sun, 27 Aug 2006 00:00:00 PDT</pubDate>
|
132
1122
|
</item>
|
133
1123
|
<item>
|
134
1124
|
<title>Version 6.2.0 released</title>
|
135
1125
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.2.0</link>
|
136
1126
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.2.0</guid>
|
137
|
-
<description><
|
1127
|
+
<description><h1 id="6.2.0">Version 6.2.0 (2006-08-26)</h1>
|
1128
|
+
|
1129
|
+
|
1130
|
+
<h2>Summary</h2>
|
1131
|
+
|
1132
|
+
|
1133
|
+
<p>This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.</p>
|
1134
|
+
|
1135
|
+
|
1136
|
+
<h2>Notice</h2>
|
1137
|
+
|
1138
|
+
|
1139
|
+
<ul>
|
1140
|
+
<li><code class="code">put_value()</code> now returns the value it puts. Therefore, it is easier to chain together a series of assignments: <code class="code">foo.intVal = bar.intVal = baz.intVal = <span style="color:#00D; font-weight:bold">10</span></code></li>
|
1141
|
+
</ul>
|
1142
|
+
|
1143
|
+
|
1144
|
+
<ul>
|
1145
|
+
<li><code class="code">put_value()</code> now verifies that the value it puts was written correctly. This helps to find bugs regarding invalid assumptions about the number of bits supported by a signal.</li>
|
1146
|
+
</ul>
|
1147
|
+
|
1148
|
+
|
1149
|
+
<h2>Details</h2>
|
1150
|
+
|
1151
|
+
|
1152
|
+
<ul>
|
1153
|
+
<li>The test generator now uses <span class="caps">ERB</span> templates which ensures nice indentation of generated output.</li>
|
1154
|
+
</ul>
|
1155
|
+
|
1156
|
+
|
1157
|
+
<ul>
|
1158
|
+
<li>The test generator now decouples Ruby-VPI paths from Verilog benches via the <span class="caps">RUBYLIB</span> environment variable.</li>
|
1159
|
+
</ul>
|
1160
|
+
|
1161
|
+
|
1162
|
+
<ul>
|
1163
|
+
<li>A tool which converts Verilog headers into Ruby has been added.</li>
|
1164
|
+
</ul>
|
1165
|
+
|
1166
|
+
|
1167
|
+
<ul>
|
1168
|
+
<li>The source code is now indented with two spaces instead of one tab character.</li>
|
1169
|
+
</ul></description>
|
138
1170
|
<pubDate>Sat, 26 Aug 2006 00:00:00 PDT</pubDate>
|
139
1171
|
</item>
|
140
1172
|
<item>
|
141
1173
|
<title>Version 6.1.0 released</title>
|
142
1174
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.1.0</link>
|
143
1175
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.1.0</guid>
|
144
|
-
<description><
|
1176
|
+
<description><h1 id="6.1.0">Version 6.1.0 (2006-08-09)</h1>
|
1177
|
+
|
1178
|
+
|
1179
|
+
<h2>Summary</h2>
|
1180
|
+
|
1181
|
+
|
1182
|
+
<p>This release simplifies generated tests and fixes a bug.</p>
|
1183
|
+
|
1184
|
+
|
1185
|
+
<h2>Details</h2>
|
1186
|
+
|
1187
|
+
|
1188
|
+
<ul>
|
1189
|
+
<li>The test generator now produces simpler Ruby benches and specifications.
|
1190
|
+
<ul>
|
1191
|
+
<li>A template used by generated specifications has been added.</li>
|
1192
|
+
<li>The counter example and tutorial have also been simplified accordingly.</li>
|
1193
|
+
</ul></li>
|
1194
|
+
</ul>
|
1195
|
+
|
1196
|
+
|
1197
|
+
<ul>
|
1198
|
+
<li>Boolean <span class="caps">VPI</span> property values are now correctly converted into Ruby truth values.</li>
|
1199
|
+
</ul></description>
|
145
1200
|
<pubDate>Wed, 09 Aug 2006 00:00:00 PDT</pubDate>
|
146
1201
|
</item>
|
147
1202
|
<item>
|
148
1203
|
<title>Version 6.0.0 released</title>
|
149
1204
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.0.0</link>
|
150
1205
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.0.0</guid>
|
151
|
-
<description><
|
1206
|
+
<description><h1 id="6.0.0">Version 6.0.0 (2006-08-07)</h1>
|
1207
|
+
|
1208
|
+
|
1209
|
+
<h2>Summary</h2>
|
1210
|
+
|
1211
|
+
|
1212
|
+
<p>This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.</p>
|
1213
|
+
|
1214
|
+
|
1215
|
+
<h2>Notice</h2>
|
1216
|
+
|
1217
|
+
|
1218
|
+
<ul>
|
1219
|
+
<li>The directory structure has been reorganized as follows:
|
1220
|
+
<ul>
|
1221
|
+
<li><tt>ext</tt> &rarr; <tt>src</tt></li>
|
1222
|
+
<li><tt>tools</tt> &rarr; <tt>bin</tt></li>
|
1223
|
+
<li><tt>examples</tt> &rarr; <tt>samp</tt></li>
|
1224
|
+
</ul></li>
|
1225
|
+
</ul>
|
1226
|
+
|
1227
|
+
|
1228
|
+
<ul>
|
1229
|
+
<li>All template files have been moved into the <tt>tpl</tt> directory.</li>
|
1230
|
+
</ul>
|
1231
|
+
|
1232
|
+
|
1233
|
+
<h2>Details</h2>
|
1234
|
+
|
1235
|
+
|
1236
|
+
<ul>
|
1237
|
+
<li>Support for prototyping designs in Ruby, before they are implemented in Verilog, has been added.
|
1238
|
+
<ul>
|
1239
|
+
<li>The <em>same</em> specification can be used to verify both prototype <em>and</em> design! :-)</li>
|
1240
|
+
<li>The tutorial in the user manual has been updated to discuss prototyping.
|
1241
|
+
<ul>
|
1242
|
+
<li>Prototypes have been added to the counter example.</li>
|
1243
|
+
</ul></li>
|
1244
|
+
</ul></li>
|
1245
|
+
</ul>
|
1246
|
+
|
1247
|
+
|
1248
|
+
<ul>
|
1249
|
+
<li>The user manual has been revised for consistency.</li>
|
1250
|
+
</ul></description>
|
152
1251
|
<pubDate>Mon, 07 Aug 2006 00:00:00 PDT</pubDate>
|
153
1252
|
</item>
|
154
1253
|
<item>
|
155
1254
|
<title>Version 5.1.1 released</title>
|
156
1255
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.1</link>
|
157
1256
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.1</guid>
|
158
|
-
<description><
|
1257
|
+
<description><h1 id="5.1.1">Version 5.1.1 (2006-08-04)</h1>
|
1258
|
+
|
1259
|
+
|
1260
|
+
<h2>Summary</h2>
|
1261
|
+
|
1262
|
+
|
1263
|
+
<p>This release fixes unreadable syntax coloring in the user manual.</p>
|
1264
|
+
|
1265
|
+
|
1266
|
+
<h2>Acknowledgment</h2>
|
1267
|
+
|
1268
|
+
|
1269
|
+
<ul>
|
1270
|
+
<li>Thanks to Todd Nagengast and Matt Fischler for notifying me about unreadable text in the user manual.</li>
|
1271
|
+
</ul>
|
1272
|
+
|
1273
|
+
|
1274
|
+
<h2>Details</h2>
|
1275
|
+
|
1276
|
+
|
1277
|
+
<ul>
|
1278
|
+
<li>Source code comments in the user manual are now readable.</li>
|
1279
|
+
</ul>
|
1280
|
+
|
1281
|
+
|
1282
|
+
<ul>
|
1283
|
+
<li>The <tt>README</tt> and <tt>HISTORY</tt> files have been converted to <a href="http://www.textism.com/tools/textile/">textile</a> format.</li>
|
1284
|
+
</ul></description>
|
159
1285
|
<pubDate>Fri, 04 Aug 2006 00:00:00 PDT</pubDate>
|
160
1286
|
</item>
|
161
1287
|
<item>
|
162
1288
|
<title>Version 5.1.0 released</title>
|
163
1289
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.0</link>
|
164
1290
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.0</guid>
|
165
|
-
<description><
|
1291
|
+
<description><h1 id="5.1.0">Version 5.1.0 (2006-07-29)</h1>
|
1292
|
+
|
1293
|
+
|
1294
|
+
<h2>Summary</h2>
|
1295
|
+
|
1296
|
+
|
1297
|
+
<p>This release adds a tutorial to the user manual, and improves the tools and examples.</p>
|
1298
|
+
|
1299
|
+
|
1300
|
+
<h2>Acknowledgment</h2>
|
1301
|
+
|
1302
|
+
|
1303
|
+
<ul>
|
1304
|
+
<li>Thanks to Phil Tomson for correcting the <span class="caps">URL</span> of the <span class="caps">RHDL</span> website, in the user manual.</li>
|
1305
|
+
</ul>
|
1306
|
+
|
1307
|
+
|
1308
|
+
<h2>Details</h2>
|
1309
|
+
|
1310
|
+
|
1311
|
+
<h3>User manual</h3>
|
1312
|
+
|
1313
|
+
|
1314
|
+
<ul>
|
1315
|
+
<li>A tutorial, based on the counter example, has been added to the user manual.</li>
|
1316
|
+
</ul>
|
1317
|
+
|
1318
|
+
|
1319
|
+
<ul>
|
1320
|
+
<li>The user manual&#8217;s appearance has been dramatically improved with syntax coloring for source code, and <a href="http://tango.freedesktop.org">graphics for admonitions and navigation</a>.</li>
|
1321
|
+
</ul>
|
1322
|
+
|
1323
|
+
|
1324
|
+
<h3>Examples</h3>
|
1325
|
+
|
1326
|
+
|
1327
|
+
<ul>
|
1328
|
+
<li>A specification, expressed in unit test format, has been added to the counter example.</li>
|
1329
|
+
</ul>
|
1330
|
+
|
1331
|
+
|
1332
|
+
<ul>
|
1333
|
+
<li>The <pre>--name</pre> and <pre>-n</pre> options, which lets you specify an identifier for a generated test, have been added to the <strong>generate_test.rb</strong> tool.</li>
|
1334
|
+
</ul>
|
1335
|
+
|
1336
|
+
|
1337
|
+
<ul>
|
1338
|
+
<li>Running <pre>rake clobber</pre> in an example directory no longer destroys documentation in the Ruby-VPI directory.</li>
|
1339
|
+
</ul>
|
1340
|
+
|
1341
|
+
|
1342
|
+
<ul>
|
1343
|
+
<li>The examples&#8217; Rakefiles now invoke all tests present in the directory via the <tt>launcher_template.rake</tt> template.</li>
|
1344
|
+
</ul>
|
1345
|
+
|
1346
|
+
|
1347
|
+
<ul>
|
1348
|
+
<li>The Rake template for test runners (generated by <tt>tools/generate_test.rb</tt>) has moved from <tt>examples/template.rake</tt> to <tt>examples/runner_template.rake</tt>.</li>
|
1349
|
+
</ul>
|
1350
|
+
|
1351
|
+
|
1352
|
+
<h3><span class="caps">VPI</span> utility layer</h3>
|
1353
|
+
|
1354
|
+
|
1355
|
+
<ul>
|
1356
|
+
<li>The value of a handle&#8217;s boolean <span class="caps">VPI</span> property is treated as <code class="code"><span style="color:#038; font-weight:bold">false</span></code> if it is zero, because zero is <code class="code"><span style="color:#038; font-weight:bold">false</span></code> in the C language.</li>
|
1357
|
+
</ul></description>
|
166
1358
|
<pubDate>Sat, 29 Jul 2006 00:00:00 PDT</pubDate>
|
167
1359
|
</item>
|
168
1360
|
<item>
|
169
1361
|
<title>Version 5.0.0 released</title>
|
170
1362
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.0.0</link>
|
171
1363
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.0.0</guid>
|
172
|
-
<description><
|
1364
|
+
<description><h1 id="5.0.0">Version 5.0.0 (2006-07-22)</h1>
|
1365
|
+
|
1366
|
+
|
1367
|
+
<h2>Summary</h2>
|
1368
|
+
|
1369
|
+
|
1370
|
+
<p>This release enhances the <span class="caps">VPI</span> utility layer and adds new content to the user manual.</p>
|
1371
|
+
|
1372
|
+
|
1373
|
+
<h2>Acknowledgment</h2>
|
1374
|
+
|
1375
|
+
|
1376
|
+
<ul>
|
1377
|
+
<li>Thanks to Jan Decaluwe for correcting the description of MyHDL in the user manual.</li>
|
1378
|
+
</ul>
|
1379
|
+
|
1380
|
+
|
1381
|
+
<h2>Notice</h2>
|
1382
|
+
|
1383
|
+
|
1384
|
+
<ul>
|
1385
|
+
<li><span class="caps">SWIG</span> is no longer required for users because its output is included in the release package.</li>
|
1386
|
+
</ul>
|
1387
|
+
|
1388
|
+
|
1389
|
+
<ul>
|
1390
|
+
<li>The <code class="code">handle.value</code> and <code class="code">handle.value=</code> methods have been removed.</li>
|
1391
|
+
</ul>
|
1392
|
+
|
1393
|
+
|
1394
|
+
<h2>Details</h2>
|
1395
|
+
|
1396
|
+
|
1397
|
+
<ul>
|
1398
|
+
<li>The <span class="caps">VPI</span> utility layer provides access to <span class="caps">VPI</span> properties of handles in a <a href="manual.html#background.org.vpi">simpler, more powerful way</a>.</li>
|
1399
|
+
</ul>
|
1400
|
+
|
1401
|
+
|
1402
|
+
<ul>
|
1403
|
+
<li>All <span class="caps">VPI</span> properties, except delay values, are now accessible from a handle.</li>
|
1404
|
+
</ul>
|
1405
|
+
|
1406
|
+
|
1407
|
+
<ul>
|
1408
|
+
<li>The user manual has been revised and new content in the organization and usage sections has been added.</li>
|
1409
|
+
</ul>
|
1410
|
+
|
1411
|
+
|
1412
|
+
<ul>
|
1413
|
+
<li>This release was tested and developed using:
|
1414
|
+
<ul>
|
1415
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1416
|
+
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1417
|
+
</ul></li>
|
1418
|
+
</ul></description>
|
173
1419
|
<pubDate>Sat, 22 Jul 2006 00:00:00 PDT</pubDate>
|
174
1420
|
</item>
|
175
1421
|
<item>
|
176
1422
|
<title>Version 4.0.0 released</title>
|
177
1423
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#4.0.0</link>
|
178
1424
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#4.0.0</guid>
|
179
|
-
<description><
|
1425
|
+
<description><h1 id="4.0.0">Version 4.0.0 (2006-05-25)</h1>
|
1426
|
+
|
1427
|
+
|
1428
|
+
<h2>Summary</h2>
|
1429
|
+
|
1430
|
+
|
1431
|
+
<p>This release adds a comprehensive user manual, upgrades from make to <a href="http://rake.rubyforge.org">Rake</a>, and improves the test generation tool.</p>
|
1432
|
+
|
1433
|
+
|
1434
|
+
<h2>Acknowledgment</h2>
|
1435
|
+
|
1436
|
+
|
1437
|
+
<ul>
|
1438
|
+
<li>Thanks to Jose Renau for solving the problem of strange delays that occurred whenever a design was reset.</li>
|
1439
|
+
</ul>
|
1440
|
+
|
1441
|
+
|
1442
|
+
<h2>Notice</h2>
|
1443
|
+
|
1444
|
+
|
1445
|
+
<ul>
|
1446
|
+
<li>Rake has replaced the role of <strong>make</strong>. All makefiles have been converted accordingly.</li>
|
1447
|
+
</ul>
|
1448
|
+
|
1449
|
+
|
1450
|
+
<ul>
|
1451
|
+
<li>The test generation tool now generates multiple files (runner, bench, design, spec) and makes backups of existing files. See its help information for details.</li>
|
1452
|
+
</ul>
|
1453
|
+
|
1454
|
+
|
1455
|
+
<h2>Details</h2>
|
1456
|
+
|
1457
|
+
|
1458
|
+
<ul>
|
1459
|
+
<li>A comprehensive user manual, written in DocBook-XML, has been added.</li>
|
1460
|
+
</ul>
|
1461
|
+
|
1462
|
+
|
1463
|
+
<ul>
|
1464
|
+
<li>Support for RSpec 0.5.4 has been added.
|
1465
|
+
<ul>
|
1466
|
+
<li>The counter example now makes use of RSpec.</li>
|
1467
|
+
</ul></li>
|
1468
|
+
</ul>
|
1469
|
+
|
1470
|
+
|
1471
|
+
<ul>
|
1472
|
+
<li>This release was tested and developed using:
|
1473
|
+
<ul>
|
1474
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1475
|
+
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1476
|
+
</ul></li>
|
1477
|
+
</ul></description>
|
180
1478
|
<pubDate>Thu, 25 May 2006 00:00:00 PDT</pubDate>
|
181
1479
|
</item>
|
182
1480
|
<item>
|
183
1481
|
<title>Version 3.2.0 released</title>
|
184
1482
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.2.0</link>
|
185
1483
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.2.0</guid>
|
186
|
-
<description><
|
1484
|
+
<description><h1 id="3.2.0">Version 3.2.0 (2006-05-13)</h1>
|
1485
|
+
|
1486
|
+
|
1487
|
+
<h2>Summary</h2>
|
1488
|
+
|
1489
|
+
|
1490
|
+
<p>This release adds a tool which generates test benches, and adds support for <a href="http://behaviour-driven.org">Behavior Driven Development</a> via the <a href="http://rspec.rubyforge.org">RSpec</a> library.</p>
|
1491
|
+
|
1492
|
+
|
1493
|
+
<h2>Acknowledgment</h2>
|
1494
|
+
|
1495
|
+
|
1496
|
+
<ul>
|
1497
|
+
<li>Thanks to Scott L Holmes for helping me <a href="http://article.gmane.org/gmane.comp.lang.ruby.general/150087">use the RSpec library without its runner</a> program.</li>
|
1498
|
+
</ul>
|
1499
|
+
|
1500
|
+
|
1501
|
+
<h2>Details</h2>
|
1502
|
+
|
1503
|
+
|
1504
|
+
<ul>
|
1505
|
+
<li>A tool, which generates most of a Ruby-VPI test bench from a Verilog 2001 module declaration, has been added.</li>
|
1506
|
+
</ul>
|
1507
|
+
|
1508
|
+
|
1509
|
+
<ul>
|
1510
|
+
<li>Ability to use RSpec in a test bench has been added.</li>
|
1511
|
+
</ul>
|
1512
|
+
|
1513
|
+
|
1514
|
+
<ul>
|
1515
|
+
<li>Ability to specify arbitrary command-line arguments to Verilog simulators has been added in the examples&#8217; makefile template.</li>
|
1516
|
+
</ul>
|
1517
|
+
|
1518
|
+
|
1519
|
+
<ul>
|
1520
|
+
<li>This release was tested and developed using:
|
1521
|
+
<ul>
|
1522
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1523
|
+
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1524
|
+
</ul></li>
|
1525
|
+
</ul></description>
|
187
1526
|
<pubDate>Sat, 13 May 2006 00:00:00 PDT</pubDate>
|
188
1527
|
</item>
|
189
1528
|
<item>
|
190
1529
|
<title>Version 3.1.0 released</title>
|
191
1530
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.1.0</link>
|
192
1531
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.1.0</guid>
|
193
|
-
<description><
|
1532
|
+
<description><h1 id="3.1.0">Version 3.1.0 (2006-04-28)</h1>
|
1533
|
+
|
1534
|
+
|
1535
|
+
<h2>Summary</h2>
|
1536
|
+
|
1537
|
+
|
1538
|
+
<p>This release adds simple ways of reading and writing values to <span class="caps">VPI</span> handles, adds documentation for the <span class="caps">VPI</span> utility layer, and fixes the pipelined <span class="caps">ALU</span> example.</p>
|
1539
|
+
|
1540
|
+
|
1541
|
+
<h2>Notice</h2>
|
1542
|
+
|
1543
|
+
|
1544
|
+
<ul>
|
1545
|
+
<li>The <strong>msim</strong> Makefile target for Mentor Modelsim has been renamed back to <strong>vsim</strong>.</li>
|
1546
|
+
</ul>
|
1547
|
+
|
1548
|
+
|
1549
|
+
<h2>Details</h2>
|
1550
|
+
|
1551
|
+
|
1552
|
+
<ul>
|
1553
|
+
<li>Simple, consistent ways of reading and writing values to handles have been added to the <span class="caps">VPI</span> utility layer. These ways are described in the <code class="code"><span style="color:#036; font-weight:bold">SWIG</span>::<span style="color:#036; font-weight:bold">TYPE_p_unsigned_int</span></code> class&#8217; documentation.</li>
|
1554
|
+
</ul>
|
1555
|
+
|
1556
|
+
|
1557
|
+
<ul>
|
1558
|
+
<li>The makefiles now use the <strong>rbconfig</strong> library to determine the default compiler and linker flags for Ruby.</li>
|
1559
|
+
</ul>
|
1560
|
+
|
1561
|
+
|
1562
|
+
<ul>
|
1563
|
+
<li>A race condition in the pipelined <span class="caps">ALU</span> example has been fixed. This example should now run successfully in all Verilog simulators.</li>
|
1564
|
+
</ul>
|
1565
|
+
|
1566
|
+
|
1567
|
+
<ul>
|
1568
|
+
<li>The project wiki has been abandoned in favor of RDoc.</li>
|
1569
|
+
</ul>
|
1570
|
+
|
1571
|
+
|
1572
|
+
<ul>
|
1573
|
+
<li>The project website is now generated by RDoc.</li>
|
1574
|
+
</ul>
|
1575
|
+
|
1576
|
+
|
1577
|
+
<ul>
|
1578
|
+
<li>This release was tested and developed using:
|
1579
|
+
<ul>
|
1580
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1581
|
+
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1582
|
+
</ul></li>
|
1583
|
+
</ul></description>
|
194
1584
|
<pubDate>Fri, 28 Apr 2006 00:00:00 PDT</pubDate>
|
195
1585
|
</item>
|
196
1586
|
<item>
|
197
1587
|
<title>Version 3.0.0 released</title>
|
198
1588
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.0.0</link>
|
199
1589
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.0.0</guid>
|
200
|
-
<description><
|
1590
|
+
<description><h1 id="3.0.0">Version 3.0.0 (2006-04-23)</h1>
|
1591
|
+
|
1592
|
+
|
1593
|
+
<h2>Summary</h2>
|
1594
|
+
|
1595
|
+
|
1596
|
+
<p>This release adds support for the <em>entire</em> <a href="http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=33945"><span class="caps">IEEE</span> Std. 1364-2005</a> VPI interface, and updates the examples into unit tests.</p>
|
1597
|
+
|
1598
|
+
|
1599
|
+
<h2>Acknowledgment</h2>
|
1600
|
+
|
1601
|
+
|
1602
|
+
<ul>
|
1603
|
+
<li>Thanks to the <a href="http://www.swig.org/guilty.html"><span class="caps">SWIG</span> developers</a> for making this project <em>much</em> easier! ;-)</li>
|
1604
|
+
</ul>
|
1605
|
+
|
1606
|
+
|
1607
|
+
<h2>Notice</h2>
|
1608
|
+
|
1609
|
+
|
1610
|
+
<ul>
|
1611
|
+
<li>The <strong>vsim</strong> Makefile target for Mentor Modelsim has been renamed to <strong>msim</strong>.</li>
|
1612
|
+
</ul>
|
1613
|
+
|
1614
|
+
|
1615
|
+
<h2>Details</h2>
|
1616
|
+
|
1617
|
+
|
1618
|
+
<ul>
|
1619
|
+
<li>The Ruby interface to <span class="caps">VPI</span> is now generated by <a href="http://www.swig.org"><span class="caps">SWIG</span></a>.
|
1620
|
+
<ul>
|
1621
|
+
<li>The main <code class="code"><span style="color:#036; font-weight:bold">VPI</span></code> module has been renamed to <code class="code"><span style="color:#036; font-weight:bold">Vpi</span></code>.</li>
|
1622
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span></code> class has been removed.</li>
|
1623
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::stop</code>, <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::finish</code>, and <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::reset</code> methods have been removed.</li>
|
1624
|
+
</ul></li>
|
1625
|
+
</ul>
|
1626
|
+
|
1627
|
+
|
1628
|
+
<ul>
|
1629
|
+
<li>The <a href="http://www.boydtechinc.com/ptf/archive/ptf_2005/0737.html"><em>final ballot</em> version</a> of the <tt>vpi_user.h</tt> header file is now packaged along with and used by Ruby-VPI.</li>
|
1630
|
+
</ul>
|
1631
|
+
|
1632
|
+
|
1633
|
+
<ul>
|
1634
|
+
<li>The <span class="caps">VPI</span> module, its sub-classes, and its functionality have been replaced by the <span class="caps">VPI</span> utility layer (see <tt>src/vpi_util.rb</tt>).</li>
|
1635
|
+
</ul>
|
1636
|
+
|
1637
|
+
|
1638
|
+
<ul>
|
1639
|
+
<li>The examples now make use of the <strong>test/unit</strong> unit testing framework.</li>
|
1640
|
+
</ul>
|
1641
|
+
|
1642
|
+
|
1643
|
+
<ul>
|
1644
|
+
<li>The makefiles for the examples have been simplified through the use of a common template.</li>
|
1645
|
+
</ul>
|
1646
|
+
|
1647
|
+
|
1648
|
+
<ul>
|
1649
|
+
<li>This release was tested and developed using:
|
1650
|
+
<ul>
|
1651
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1652
|
+
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1653
|
+
</ul></li>
|
1654
|
+
</ul></description>
|
201
1655
|
<pubDate>Sun, 23 Apr 2006 00:00:00 PDT</pubDate>
|
202
1656
|
</item>
|
203
1657
|
<item>
|
204
1658
|
<title>Version 2.0.0 released</title>
|
205
1659
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#2.0.0</link>
|
206
1660
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#2.0.0</guid>
|
207
|
-
<description><
|
1661
|
+
<description><h1 id="2.0.0">Version 2.0.0 (2006-04-17)</h1>
|
1662
|
+
|
1663
|
+
|
1664
|
+
<h2>Summary</h2>
|
1665
|
+
|
1666
|
+
|
1667
|
+
<p>This release fixes major bugs, adds support for Mentor Modelsim, and removes the <code class="code"><span style="color:#d70; font-weight:bold">$ruby_task</span></code> callback.</p>
|
1668
|
+
|
1669
|
+
|
1670
|
+
<h2>Acknowledgment</h2>
|
1671
|
+
|
1672
|
+
|
1673
|
+
<ul>
|
1674
|
+
<li>Thanks to Nobu Nakada for explaining the <a href="http://article.gmane.org/gmane.comp.lang.ruby.general/146653">cross-thread violation on rb_gc()</a> error.</li>
|
1675
|
+
</ul>
|
1676
|
+
|
1677
|
+
|
1678
|
+
<h2>Notice</h2>
|
1679
|
+
|
1680
|
+
|
1681
|
+
<ul>
|
1682
|
+
<li>Removed <code class="code"><span style="color:#d70; font-weight:bold">$ruby_task</span></code> callback and ability to dynamically register system tasks from Ruby because inter-process communication is complicated at present.</li>
|
1683
|
+
</ul>
|
1684
|
+
|
1685
|
+
|
1686
|
+
<h2>Details</h2>
|
1687
|
+
|
1688
|
+
|
1689
|
+
<ul>
|
1690
|
+
<li>The &#8220;cross-thread violation on rb_gc()&#8221; error has been fixed.
|
1691
|
+
<ul>
|
1692
|
+
<li>The &#8220;stack level too deep (SystemStackError)&#8221; error has been fixed.</li>
|
1693
|
+
<li>The test/unit library can be used in Ruby test bench.</li>
|
1694
|
+
<li>Mentor Modelsim Verilog simulator works with Ruby-VPI.</li>
|
1695
|
+
</ul></li>
|
1696
|
+
</ul>
|
1697
|
+
|
1698
|
+
|
1699
|
+
<ul>
|
1700
|
+
<li>Added piplelined <span class="caps">ALU</span> example.</li>
|
1701
|
+
</ul>
|
1702
|
+
|
1703
|
+
|
1704
|
+
<ul>
|
1705
|
+
<li>This release was tested and developed using:
|
1706
|
+
<ul>
|
1707
|
+
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1708
|
+
<li>Ruby 1.8.4 and Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1709
|
+
<li>Ruby 1.8.4 and Synopsys <span class="caps">VCS</span>-MX X-2005.06-SP1 on <span class="caps">SPARC4</span> SunOS 5.10</li>
|
1710
|
+
</ul></li>
|
1711
|
+
</ul></description>
|
208
1712
|
<pubDate>Mon, 17 Apr 2006 00:00:00 PDT</pubDate>
|
209
1713
|
</item>
|
210
1714
|
<item>
|
211
1715
|
<title>Version 1.0.0 released</title>
|
212
1716
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#1.0.0</link>
|
213
1717
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#1.0.0</guid>
|
214
|
-
<description
|
1718
|
+
<description><h1 id="1.0.0">Version 1.0.0 (2006-02-26)</h1>
|
1719
|
+
|
1720
|
+
|
1721
|
+
<h2>Summary</h2>
|
1722
|
+
|
1723
|
+
|
1724
|
+
This release adds enough Verilog <span class="caps">VPI</span> functionality to make Ruby-VPI usable for simple test benches:
|
215
1725
|
<ul>
|
216
1726
|
<li>access Verilog objects through <span class="caps">VPI</span> handles</li>
|
217
1727
|
<li>read and change <span class="caps">VPI</span> handle values</li>
|
218
1728
|
<li>stop, finish, restart the simulation</li>
|
1729
|
+
</ul>
|
1730
|
+
|
1731
|
+
|
1732
|
+
<h2>Acknowledgment</h2>
|
1733
|
+
|
1734
|
+
|
1735
|
+
<ul>
|
1736
|
+
<li>Thanks to Jose Renau for helping me debug how Synopsys <span class="caps">VCS</span> works with Verilog <span class="caps">VPI</span>. The problem was that <span class="caps">VCS</span> required calltf signatures to be <code class="code">void (*)(void)</code>, whereas the Verilog standard defines a calltf signature as <code class="code"><span style="color:#036; font-weight:bold">PLI_INT32</span> (*)(<span style="color:#036; font-weight:bold">PLI_BYTE8</span>*)</code>.</li>
|
1737
|
+
</ul>
|
1738
|
+
|
1739
|
+
|
1740
|
+
<ul>
|
1741
|
+
<li>Thanks to Ross Bamford, Eric Hodel, and Yukihiro Matsumoto for <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/180662">helping me discover</a> why the <code class="code"><span style="color:#036; font-weight:bold">SystemStackError</span></code> was happening.</li>
|
1742
|
+
</ul>
|
1743
|
+
|
1744
|
+
|
1745
|
+
<h2>Details</h2>
|
1746
|
+
|
1747
|
+
|
1748
|
+
<ul>
|
1749
|
+
<li>Implemented some Verilog <span class="caps">VPI</span> functionality:
|
1750
|
+
<ul>
|
1751
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::handle_by_name(string, <span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span>)</code> &rarr; <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span></code></li>
|
1752
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::handle_by_name(string)</code> &rarr; <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span></code></li>
|
1753
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span>.put_value(integer)</code></li>
|
1754
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span>.value = integer</code></li>
|
1755
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span>.get_value</code> &rarr; <code class="code">integer</code></li>
|
1756
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span>.value</code> &rarr; <code class="code">integer</code></li>
|
1757
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::stop</code></li>
|
1758
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::finish</code></li>
|
1759
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::reset</code></li>
|
1760
|
+
</ul></li>
|
1761
|
+
</ul>
|
1762
|
+
|
1763
|
+
|
1764
|
+
<ul>
|
1765
|
+
<li>Implemented some additional functionality:
|
1766
|
+
<ul>
|
1767
|
+
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::register_task(string, &amp;proc)</code></li>
|
1768
|
+
</ul></li>
|
1769
|
+
</ul>
|
1770
|
+
|
1771
|
+
|
1772
|
+
<ul>
|
1773
|
+
<li>Added ability to pass arbitrary command-line arguments to the Ruby interpreter (using <code class="code"><span style="color:#d70; font-weight:bold">$ruby_init</span></code>). Now you can invoke any Ruby script you want, instead of <tt>pli_init.rb</tt>.</li>
|
1774
|
+
</ul>
|
1775
|
+
|
1776
|
+
|
1777
|
+
<ul>
|
1778
|
+
<li>Added ability to dynamically register system tasks from Ruby, using <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::register_task(<span style="background-color:#fff0f0"><span style="color:#710">&quot;</span><span style="color:#D20">task name</span><span style="color:#710">&quot;</span></span>)</code>, and call them from Verilog, using <code class="code"><span style="color:#d70; font-weight:bold">$ruby_task</span>(<span style="background-color:#fff0f0"><span style="color:#710">&quot;</span><span style="color:#D20">task name</span><span style="color:#710">&quot;</span></span>)</code>.</li>
|
1779
|
+
</ul>
|
1780
|
+
|
1781
|
+
|
1782
|
+
<ul>
|
1783
|
+
<li>Added <code class="code"><span style="color:#036; font-weight:bold">VPI</span>::<span style="color:#036; font-weight:bold">Handle</span></code> class which encapsulates a <code class="code">vpiHandle</code> VPI object.</li>
|
1784
|
+
</ul>
|
1785
|
+
|
1786
|
+
|
1787
|
+
<ul>
|
1788
|
+
<li>This release was tested and developed using:
|
1789
|
+
<ul>
|
1790
|
+
<li>Ruby 1.8.2 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1791
|
+
<li>Ruby 1.8.4, Synopsys <span class="caps">VCS X</span>-2005.06, and Mentor Modelsim 6.1b on i686 <span class="caps">GNU</span>/Linux</li>
|
1792
|
+
</ul></li>
|
219
1793
|
</ul></description>
|
220
1794
|
<pubDate>Sun, 26 Feb 2006 00:00:00 PST</pubDate>
|
221
1795
|
</item>
|
@@ -223,7 +1797,26 @@
|
|
223
1797
|
<title>Version 0.0.0 released</title>
|
224
1798
|
<link>http://ruby-vpi.rubyforge.org/doc/history.html#0.0.0</link>
|
225
1799
|
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#0.0.0</guid>
|
226
|
-
<description><
|
1800
|
+
<description><h1 id="0.0.0">Version 0.0.0 (1999-10-31)</h1>
|
1801
|
+
|
1802
|
+
|
1803
|
+
<h2>Summary</h2>
|
1804
|
+
|
1805
|
+
|
1806
|
+
<p>This is Kazuhiro <span class="caps">HIWADA</span>&#8217;s initial testing release of Ruby-VPI. See its <a href="http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-list/18193">original announcement</a> and <a href="http://easter.kuee.kyoto-u.ac.jp/~hiwada/ruby/memo/src/ruby-vpi-test.tgz">source code</a>.</p>
|
1807
|
+
|
1808
|
+
|
1809
|
+
<h2>Details</h2>
|
1810
|
+
|
1811
|
+
|
1812
|
+
<ul>
|
1813
|
+
<li>Added ability to relay control from Verilog test bench to Ruby (using <code class="code"><span style="color:#d70; font-weight:bold">$ruby_callback</span></code>) and vice versa (using <code class="code"><span style="color:#036; font-weight:bold">PLI</span>::relay_Verilog</code>).</li>
|
1814
|
+
</ul>
|
1815
|
+
|
1816
|
+
|
1817
|
+
<ul>
|
1818
|
+
<li>Tested and developed using Ruby 1.4 and Verilog-XL from Cadence systems, on a <span class="caps">SPARC</span> machine running Solaris 2.6.</li>
|
1819
|
+
</ul></description>
|
227
1820
|
<pubDate>Sun, 31 Oct 1999 00:00:00 PDT</pubDate>
|
228
1821
|
</item>
|
229
1822
|
</channel>
|