ruby-vpi 16.0.1 → 17.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +19 -19
- data/README +1 -1
- data/Rakefile +35 -32
- data/bin/convert.rb +28 -0
- data/bin/generate/design.rb +16 -0
- data/bin/generate/proto.rb +13 -0
- data/bin/generate/runner.rake +33 -0
- data/bin/generate/spec.rb +45 -0
- data/bin/generate.rb +177 -0
- data/bin/ruby-vpi +56 -0
- data/doc/Rakefile +20 -4
- data/doc/common.css +92 -33
- data/doc/common.inc +13 -0
- data/doc/common.tpl +42 -28
- data/doc/history.doc +11 -11
- data/doc/history.html +769 -248
- data/doc/history.inc +909 -0
- data/doc/history.rb +9 -0
- data/doc/history.yaml +69 -0
- data/doc/intro.inc +170 -178
- data/doc/lib/doc_format.rb +57 -144
- data/doc/lib/doc_proxy.rb +504 -88
- data/doc/lib/erb_content.rb +8 -8
- data/doc/lib/erb_proxy.rb +17 -17
- data/doc/manual.doc +626 -777
- data/doc/manual.html +1541 -1031
- data/doc/memo.doc +38 -36
- data/doc/memo.html +64 -28
- data/doc/readme.doc +4 -31
- data/doc/readme.html +221 -163
- data/doc/rss.erb +1 -1
- data/doc/rss.xml +73 -1761
- data/ext/Rakefile +6 -5
- data/ext/main.c +17 -15
- data/ext/relay.c +4 -7
- data/ext/relay.h +2 -2
- data/ext/swig_vpi.h +2 -2
- data/ext/swig_vpi.i +1 -2
- data/ext/swig_wrap.cin +12 -16
- data/ext/vlog.c +5 -5
- data/ext/vlog.h +2 -2
- data/lib/ruby-vpi/erb.rb +3 -3
- data/lib/ruby-vpi/float.rb +2 -2
- data/lib/ruby-vpi/rcov.rb +5 -7
- data/lib/ruby-vpi/runner.rb +43 -41
- data/lib/ruby-vpi/runner_boot_loader.rb +117 -0
- data/lib/ruby-vpi/runner_proxy.rb +6 -8
- data/lib/ruby-vpi/util.rb +10 -0
- data/lib/ruby-vpi/verilog_parser.rb +28 -56
- data/lib/ruby-vpi/vpi.rb +168 -123
- data/lib/ruby-vpi.rb +22 -143
- 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 +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +1 -1
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +1 -1
- 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 +1 -1
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +1 -1
- data/ref/c/index.html +1 -1
- data/ref/c/main_8c.html +1 -1
- data/ref/c/main_8h.html +1 -1
- data/ref/c/relay_8c.html +1 -1
- data/ref/c/relay_8h.html +1 -1
- 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 +1 -1
- data/ref/c/vlog_8c.html +1 -1
- data/ref/c/vlog_8h.html +1 -1
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/ERB.src/{M000024.html → M000026.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +11 -11
- data/ref/ruby/classes/FileUtils.src/{M000025.html → M000027.html} +0 -0
- data/ref/ruby/classes/FileUtils.src/{M000026.html → M000028.html} +0 -0
- data/ref/ruby/classes/Float.html +6 -6
- data/ref/ruby/classes/Float.src/{M000020.html → M000021.html} +0 -0
- data/ref/ruby/classes/Integer.html +65 -65
- data/ref/ruby/classes/Integer.src/M000009.html +12 -5
- data/ref/ruby/classes/Integer.src/M000010.html +5 -5
- data/ref/ruby/classes/Integer.src/M000011.html +5 -5
- data/ref/ruby/classes/Integer.src/M000012.html +5 -5
- data/ref/ruby/classes/Integer.src/M000013.html +5 -5
- data/ref/ruby/classes/Integer.src/M000014.html +18 -0
- data/ref/ruby/classes/Integer.src/M000017.html +12 -18
- data/ref/ruby/classes/Integer.src/M000018.html +18 -12
- data/ref/ruby/classes/Integer.src/M000019.html +12 -17
- data/ref/ruby/classes/Integer.src/M000020.html +30 -0
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000053.html → M000058.html} +0 -0
- data/ref/ruby/classes/{RubyVpi/Config.html → RubyVPI.html} +20 -6
- data/ref/ruby/classes/String.html +34 -15
- data/ref/ruby/classes/String.src/M000022.html +5 -28
- data/ref/ruby/classes/String.src/M000023.html +5 -5
- data/ref/ruby/classes/String.src/{M000021.html → M000024.html} +0 -0
- data/ref/ruby/classes/String.src/M000025.html +41 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +16 -36
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +10 -5
- data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000004.html → M000007.html} +4 -4
- data/ref/ruby/classes/VerilogParser/Module/Port.src/{M000005.html → M000008.html} +4 -4
- data/ref/ruby/classes/VerilogParser/Module.html +28 -9
- data/ref/ruby/classes/VerilogParser/Module.src/M000005.html +29 -0
- data/ref/ruby/classes/VerilogParser.html +5 -39
- data/ref/ruby/classes/VerilogParser.src/M000004.html +26 -0
- data/ref/ruby/classes/Vpi/Handle.html +179 -77
- data/ref/ruby/classes/Vpi/Handle.src/M000035.html +18 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000036.html +5 -5
- data/ref/ruby/classes/Vpi/Handle.src/M000037.html +5 -5
- data/ref/ruby/classes/Vpi/Handle.src/M000038.html +5 -5
- data/ref/ruby/classes/Vpi/Handle.src/M000039.html +5 -5
- data/ref/ruby/classes/Vpi/Handle.src/M000040.html +5 -8
- data/ref/ruby/classes/Vpi/Handle.src/M000041.html +5 -8
- data/ref/ruby/classes/Vpi/Handle.src/M000042.html +5 -9
- data/ref/ruby/classes/Vpi/Handle.src/M000043.html +8 -31
- data/ref/ruby/classes/Vpi/Handle.src/M000044.html +8 -74
- data/ref/ruby/classes/Vpi/Handle.src/M000045.html +9 -17
- data/ref/ruby/classes/Vpi/Handle.src/M000046.html +31 -11
- data/ref/ruby/classes/Vpi/Handle.src/M000047.html +86 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000048.html +17 -18
- data/ref/ruby/classes/Vpi/Handle.src/M000050.html +18 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000051.html +24 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000053.html +31 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000054.html +89 -0
- data/ref/ruby/classes/Vpi/S_vpi_time.html +16 -16
- data/ref/ruby/classes/Vpi/S_vpi_time.src/{M000050.html → M000055.html} +4 -4
- data/ref/ruby/classes/Vpi/S_vpi_time.src/{M000051.html → M000056.html} +5 -5
- data/ref/ruby/classes/Vpi/S_vpi_value.html +15 -15
- data/ref/ruby/classes/Vpi/S_vpi_value.src/{M000035.html → M000032.html} +5 -5
- data/ref/ruby/classes/Vpi/S_vpi_value.src/M000033.html +5 -5
- data/ref/ruby/classes/Vpi/S_vpi_value.src/M000034.html +5 -5
- data/ref/ruby/classes/Vpi.html +6 -42
- data/ref/ruby/classes/Vpi.src/M000029.html +15 -5
- data/ref/ruby/classes/Vpi.src/M000030.html +24 -24
- data/ref/ruby/classes/Vpi.src/M000031.html +6 -8
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/{header_to_ruby_rb.html → convert_rb.html} +5 -5
- data/ref/ruby/files/bin/{generate_test_rb.html → generate_rb.html} +8 -21
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/float_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.html +197 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000001.html +17 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000002.html +18 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +6 -19
- data/ref/ruby/files/lib/ruby-vpi/util_rb.html +101 -0
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +8 -1
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -14
- data/ref/ruby/fr_class_index.html +1 -3
- data/ref/ruby/fr_file_index.html +4 -2
- data/ref/ruby/fr_method_index.html +56 -51
- data/ref/ruby/index.html +1 -1
- data/samp/counter/RSpec/Rakefile +1 -0
- data/samp/counter/RSpec/counter_design.rb +15 -0
- data/samp/counter/RSpec/counter_proto.rb +10 -0
- data/samp/counter/RSpec/counter_runner.rake +44 -0
- data/samp/counter/RSpec/counter_spec.rb +39 -0
- data/samp/counter/Rakefile +1 -1
- data/samp/counter/counter.v +7 -7
- data/samp/counter/xUnit/Rakefile +1 -0
- data/samp/counter/xUnit/counter_bench.rb +95 -0
- data/samp/counter/{counter_xunit_bench.v → xUnit/counter_bench.v} +0 -0
- data/samp/counter/xUnit/counter_design.rb +15 -0
- data/samp/counter/xUnit/counter_proto.rb +10 -0
- data/samp/counter/xUnit/counter_runner.rake +44 -0
- data/samp/counter/{counter_xunit_spec.rb → xUnit/counter_spec.rb} +9 -9
- data/samp/pipelined_alu/Rakefile +1 -1
- data/samp/pipelined_alu/TestHw5UnitModel.rb +4 -5
- data/samp/pipelined_alu/hw5_unit.v +55 -85
- data/samp/pipelined_alu/hw5_unit_design.rb +51 -0
- data/samp/pipelined_alu/hw5_unit_proto.rb +4 -0
- data/samp/pipelined_alu/hw5_unit_runner.rake +43 -0
- data/samp/pipelined_alu/hw5_unit_spec.rb +64 -0
- data/samp/register_file/LICENSE +20 -0
- data/samp/register_file/README +4 -0
- data/samp/register_file/Rakefile +1 -0
- data/samp/register_file/register_file.v +18 -0
- data/samp/register_file/register_file_design.rb +11 -0
- data/samp/register_file/register_file_proto.rb +11 -0
- data/samp/register_file/register_file_runner.rake +43 -0
- data/samp/register_file/register_file_spec.rb +58 -0
- metadata +78 -66
- data/bin/generate_test.rb +0 -200
- data/bin/generate_test_tpl/bench.rb +0 -89
- data/bin/generate_test_tpl/bench.v +0 -26
- data/bin/generate_test_tpl/design.rb +0 -11
- data/bin/generate_test_tpl/proto.rb +0 -16
- data/bin/generate_test_tpl/runner.rake +0 -42
- data/bin/generate_test_tpl/spec.rb +0 -37
- data/bin/header_to_ruby.rb +0 -27
- data/ref/ruby/classes/Integer.src/M000008.html +0 -25
- data/ref/ruby/classes/Integer.src/M000016.html +0 -25
- data/ref/ruby/classes/RubyVpi.html +0 -199
- data/ref/ruby/classes/RubyVpi.src/M000027.html +0 -121
- data/ref/ruby/classes/VerilogParser/Module/Parameter.html +0 -160
- data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000007.html +0 -19
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000003.html +0 -21
- data/ref/ruby/classes/VerilogParser/Module.src/M000002.html +0 -34
- data/ref/ruby/classes/VerilogParser.src/M000001.html +0 -34
- data/ref/ruby/classes/Vpi/Handle.src/M000049.html +0 -69
- data/ref/ruby/classes/Vpi.src/M000028.html +0 -28
- data/ref/ruby/classes/Vpi.src/M000032.html +0 -22
- data/samp/counter/counter_rspec_bench.rb +0 -86
- data/samp/counter/counter_rspec_bench.v +0 -9
- data/samp/counter/counter_rspec_design.rb +0 -8
- data/samp/counter/counter_rspec_proto.rb +0 -13
- data/samp/counter/counter_rspec_runner.rake +0 -52
- data/samp/counter/counter_rspec_spec.rb +0 -39
- data/samp/counter/counter_xunit_bench.rb +0 -86
- data/samp/counter/counter_xunit_design.rb +0 -8
- data/samp/counter/counter_xunit_proto.rb +0 -13
- data/samp/counter/counter_xunit_runner.rake +0 -52
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +0 -86
- data/samp/pipelined_alu/hw5_unit_test_bench.v +0 -14
- data/samp/pipelined_alu/hw5_unit_test_design.rb +0 -61
- data/samp/pipelined_alu/hw5_unit_test_proto.rb +0 -7
- data/samp/pipelined_alu/hw5_unit_test_runner.rake +0 -52
- data/samp/pipelined_alu/hw5_unit_test_spec.rb +0 -68
data/doc/rss.xml
CHANGED
@@ -5,1923 +5,235 @@
|
|
5
5
|
<link>http://ruby-vpi.rubyforge.org</link>
|
6
6
|
<description>Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI and a platform for unit testing, rapid prototyping, and systems integration of Verilog modules through Ruby. It lets you create complex Verilog test benches easily and wholly in Ruby.</description>
|
7
7
|
<item>
|
8
|
-
<title>Version
|
9
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#
|
10
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#
|
11
|
-
<description><h1 id="
|
12
|
-
|
13
|
-
<p>This release restores support for installation on Mac <span class="caps">OS X</span>.</p>
|
14
|
-
|
15
|
-
|
16
|
-
<h2>Thanks</h2>
|
17
|
-
|
18
|
-
|
19
|
-
<ul>
|
20
|
-
<li>Mark Thompson <a href="http://rubyforge.org/tracker/index.php?func=detail&#38;aid=11125&#38;group_id=1339&#38;atid=5281">reported and solved</a> the problem.</li>
|
21
|
-
</ul>
|
22
|
-
|
23
|
-
|
24
|
-
<h2>Repairs</h2>
|
25
|
-
|
26
|
-
|
27
|
-
<ul>
|
28
|
-
<li>Shared-object files have a file extension of <tt>.so</tt> in Linux and <tt>.bundle</tt> on Mac <span class="caps">OS X</span>. Previously, only the Linux file extension was supported.</li>
|
29
|
-
</ul></description>
|
30
|
-
<pubDate>Sun, 27 May 2007 00:00:00 PDT</pubDate>
|
31
|
-
</item>
|
32
|
-
<item>
|
33
|
-
<title>Version 16.0.0 released</title>
|
34
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.0</link>
|
35
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.0</guid>
|
36
|
-
<description><h1 id="16.0.0">Version 16.0.0 (2007-05-02)</h1>
|
37
|
-
|
38
|
-
<p>This release adds support for the <a href="http://www.cadence.com/products/functional_ver/nc-verilog/">Cadence NC-Sim / NC-Verilog</a> simulator, improves the project website and documentation, simplifies interaction with <span class="caps">VPI</span>, and comes with a more permissive license.</p>
|
39
|
-
|
40
|
-
|
41
|
-
<h2>Caution</h2>
|
42
|
-
|
43
|
-
|
44
|
-
<ul>
|
45
|
-
<li>The <code class="code"><span style="color:#036; font-weight:bold">Integer</span>.ensure_min</code> and <code class="code"><span style="color:#036; font-weight:bold">Integer</span>.ensure_max</code> methods have been removed from the <tt>ruby-vpi/integer.rb</tt> library because Ruby already has idioms for these operations: <pre>
|
46
|
-
&gt;&gt; 5.ensure_min 10
|
47
|
-
=&gt; 10
|
48
|
-
&gt;&gt; [5, 10].max
|
49
|
-
=&gt; 10
|
50
|
-
|
51
|
-
&gt;&gt; 5.ensure_max 10
|
52
|
-
=&gt; 5
|
53
|
-
&gt;&gt; [5, 10].min
|
54
|
-
=&gt; 5
|
55
|
-
</pre></li>
|
56
|
-
</ul>
|
57
|
-
|
58
|
-
|
59
|
-
<ul>
|
60
|
-
<li>Ruby-VPI is now developed under a <a href="readme.html#intro.license">more permissive license</a> that better reflects my ethical beliefs than <a href="http://www.gnu.org/copyleft/gpl.html">the previous license</a>.</li>
|
61
|
-
</ul>
|
62
|
-
|
63
|
-
|
64
|
-
<h2>New features</h2>
|
65
|
-
|
66
|
-
|
67
|
-
<ul>
|
68
|
-
<li>The <a href="http://www.cadence.com/products/functional_ver/nc-verilog/">Cadence NC-Sim / NC-Verilog</a> (ncsim) simulator is now supported.</li>
|
69
|
-
</ul>
|
70
|
-
|
71
|
-
|
72
|
-
<ul>
|
73
|
-
<li><span class="caps">VPI</span> structures (whose names begin with &#8220;S_&#8221;) now allow initialization of their members through their constructor, in the style of Ruby on Rails. For example, the expression <code class="code">time = <span style="color:#036; font-weight:bold">S_vpi_time</span>.new <span style="color:#A60">:type</span> =&gt; <span style="color:#036; font-weight:bold">VpiSuppressTime</span></code> is equivalent to: <pre class="code">
|
74
|
-
time = <span style="color:#036; font-weight:bold">S_vpi_time</span>.new
|
75
|
-
time.type = <span style="color:#036; font-weight:bold">VpiSuppressTime</span>
|
76
|
-
</pre></li>
|
77
|
-
</ul>
|
78
|
-
|
79
|
-
|
80
|
-
<ul>
|
81
|
-
<li>Added the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.cbValueChange</code> method which simplifies the registration of a value-change callback for a particular <span class="caps">VPI</span> handle. For instance, the user manual&#8217;s <a href="manual.html#ex..callback">example of setting up a value-change callback</a> can now be written as follows: <pre class="code">
|
82
|
-
<span style="color:#036; font-weight:bold">Counter</span>.count.cbValueChange <span style="color:#080; font-weight:bold">do</span> |s_cb_data|
|
83
|
-
puts <span style="background-color:#fff0f0"><span style="color:#710">&quot;</span><span style="color:#D20">hello from callback! time=</span><span style="background: #eee"><span style="font-weight: bold; color: #888">#{</span>s_cb_data.time.to_i<span style="font-weight: bold; color: #888">}</span></span><span style="color:#D20"> count=</span><span style="background: #eee"><span style="font-weight: bold; color: #888">#{</span>s_cb_data.obj.intVal<span style="font-weight: bold; color: #888">}</span></span><span style="color:#710">&quot;</span></span>
|
84
|
-
<span style="color:#080; font-weight:bold">end</span>
|
85
|
-
</pre></li>
|
86
|
-
</ul>
|
87
|
-
|
88
|
-
|
89
|
-
<h2>Details</h2>
|
90
|
-
|
91
|
-
|
92
|
-
<ul>
|
93
|
-
<li>Revised the project website according to the <a href="http://producingoss.com">Producing <span class="caps">OSS</span></a> guidelines.</li>
|
94
|
-
</ul>
|
95
|
-
|
96
|
-
|
97
|
-
<ul>
|
98
|
-
<li>Added instructions for checking out source code and generating documentation.</li>
|
99
|
-
</ul></description>
|
100
|
-
<pubDate>Wed, 02 May 2007 00:00:00 PDT</pubDate>
|
101
|
-
</item>
|
102
|
-
<item>
|
103
|
-
<title>Version 15.0.2 released</title>
|
104
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.2</link>
|
105
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.2</guid>
|
106
|
-
<description><h1 id="15.0.2">Version 15.0.2 (2007-01-22)</h1>
|
107
|
-
|
108
|
-
<p>This release fixes problems with linking of the C extension and installation of the gem.</p>
|
109
|
-
|
110
|
-
|
111
|
-
<h2>Details</h2>
|
112
|
-
|
113
|
-
|
114
|
-
<ul>
|
115
|
-
<li>Added checks for <span class="caps">POSIX</span> threads &#38; Ruby libraries before creating makefile. Otherwise the <tt>.so</tt> files were not being linked to those libraries on the <span class="caps">MASC</span> machine!</li>
|
116
|
-
</ul>
|
117
|
-
|
118
|
-
|
119
|
-
<ul>
|
120
|
-
<li>The <strong>make</strong> program on the <span class="caps">MASC</span> machine does not like an empty Makefile. It was causing gem installation to fail.</li>
|
121
|
-
</ul></description>
|
122
|
-
<pubDate>Mon, 22 Jan 2007 00:00:00 PST</pubDate>
|
123
|
-
</item>
|
124
|
-
<item>
|
125
|
-
<title>Version 15.0.1 released</title>
|
126
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.1</link>
|
127
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.1</guid>
|
128
|
-
<description><h1 id="15.0.1">Version 15.0.1 (2007-01-15)</h1>
|
129
|
-
|
130
|
-
<p>This release fixes another problem with compilation of the C extension and improves the user documentation&#8217;s appearance.</p>
|
131
|
-
|
132
|
-
|
133
|
-
<h2>Thanks</h2>
|
134
|
-
|
135
|
-
|
136
|
-
<ul>
|
137
|
-
<li>Derek Graham reported the problem with compilation of the C extension.</li>
|
138
|
-
</ul>
|
139
|
-
|
140
|
-
|
141
|
-
<h2>Details</h2>
|
142
|
-
|
143
|
-
|
144
|
-
<ul>
|
145
|
-
<li>Restored the monkey patch, which was removed in release 14.0.0, for the <span class="caps">SWIG</span> <code class="code">va_list</code> problem.</li>
|
146
|
-
</ul>
|
147
|
-
|
148
|
-
|
149
|
-
<ul>
|
150
|
-
<li>Made table of contents in-line with the content in user documentation.</li>
|
151
|
-
</ul>
|
152
|
-
|
153
|
-
|
154
|
-
<ul>
|
155
|
-
<li>Added printer-friendly stylesheet for user documentation.</li>
|
156
|
-
</ul></description>
|
157
|
-
<pubDate>Mon, 15 Jan 2007 00:00:00 PST</pubDate>
|
158
|
-
</item>
|
159
|
-
<item>
|
160
|
-
<title>Version 15.0.0 released</title>
|
161
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.0</link>
|
162
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a15.0.0</guid>
|
163
|
-
<description><h1 id="15.0.0">Version 15.0.0 (2007-01-13)</h1>
|
164
|
-
|
165
|
-
<p>This release fixes a problem with compilation of the C extension, and makes clock generation code correctly affect Ruby prototypes.</p>
|
166
|
-
|
167
|
-
|
168
|
-
<h2>Thanks</h2>
|
169
|
-
|
170
|
-
|
171
|
-
<ul>
|
172
|
-
<li>Derek Graham reported the problem with compilation of the C extension.</li>
|
173
|
-
</ul>
|
174
|
-
|
175
|
-
|
176
|
-
<h2>Caution</h2>
|
177
|
-
|
178
|
-
|
179
|
-
<ul>
|
180
|
-
<li>The <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::advance_time</code> method (instead of the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::simulate</code> method) now invokes the design&#8217;s <code class="code">simulate!</code> method when prototyping is enabled.
|
181
|
-
|
182
|
-
<p>This makes clock generation code (passed to the <code class="code"><span style="color:#036; font-weight:bold">RubyVpi</span>::init_bench</code> method) affect Ruby prototypes, just as it affects a real Verilog design.</p>
|
183
|
-
|
184
|
-
|
185
|
-
<p>As a result, Ruby prototypes may need to check for edge-triggering through the new <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.posedge?</code> and <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.negedge?</code> methods. For example, see the <a href="manual.html#fig..counter_proto.rb">new implementation of the Counter prototype</a>.</p></li>
|
186
|
-
</ul>
|
187
|
-
|
188
|
-
|
189
|
-
<h3>New features</h3>
|
190
|
-
|
191
|
-
|
192
|
-
<ul>
|
193
|
-
<li>Added <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.posedge?</code> and <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.negedge?</code> methods which check if a handle&#8217;s logic value is currently at a positive or negative edge, respectively.</li>
|
194
|
-
</ul>
|
195
|
-
|
196
|
-
|
197
|
-
<ul>
|
198
|
-
<li>Added <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">S_vpi_time</span>.integer</code> and <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">S_vpi_time</span>.integer=</code> methods which access the <code class="code">high</code> and <code class="code">low</code> integer fields as a single 64-bit integer.</li>
|
199
|
-
</ul>
|
200
|
-
|
201
|
-
|
202
|
-
<ul>
|
203
|
-
<li>Added utility methods for accessing the <code class="code">value</code> field in the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">S_vpi_value</span></code> structure.</li>
|
204
|
-
</ul>
|
205
|
-
|
206
|
-
|
207
|
-
<h2>Details</h2>
|
208
|
-
|
209
|
-
|
210
|
-
<ul>
|
211
|
-
<li>Fixed problem with incorrect Ruby library flag in <tt>ext/extconf.rb</tt>. It happens that the <code class="code">mkmf</code> library determines the correct library flag all by itself!</li>
|
212
|
-
</ul>
|
213
|
-
|
214
|
-
|
215
|
-
<ul>
|
216
|
-
<li>Added new <a href="manual.html#usage.prototyping">prototyping section</a> to user manual.</li>
|
217
|
-
</ul>
|
218
|
-
|
219
|
-
|
220
|
-
<ul>
|
221
|
-
<li>Fixed some broken URLs in user documentation.</li>
|
222
|
-
</ul></description>
|
223
|
-
<pubDate>Sat, 13 Jan 2007 00:00:00 PST</pubDate>
|
224
|
-
</item>
|
225
|
-
<item>
|
226
|
-
<title>Version 14.0.0 released</title>
|
227
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a14.0.0</link>
|
228
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a14.0.0</guid>
|
229
|
-
<description><h1 id="14.0.0">Version 14.0.0 (2006-12-30)</h1>
|
230
|
-
|
231
|
-
<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>
|
232
|
-
|
233
|
-
|
234
|
-
<h2>Caution</h2>
|
235
|
-
|
236
|
-
|
237
|
-
<ul>
|
238
|
-
<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>.
|
239
|
-
|
240
|
-
<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>
|
241
|
-
</ul>
|
242
|
-
|
243
|
-
|
244
|
-
<ul>
|
245
|
-
<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.
|
246
|
-
|
247
|
-
<p>The clock generation code is now contained in the Ruby bench.</p></li>
|
248
|
-
</ul>
|
249
|
-
|
250
|
-
|
251
|
-
<h3>New features</h3>
|
252
|
-
|
253
|
-
|
254
|
-
<ul>
|
255
|
-
<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>
|
256
|
-
</ul>
|
257
|
-
|
258
|
-
|
259
|
-
<ul>
|
260
|
-
<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>
|
261
|
-
</ul>
|
262
|
-
|
263
|
-
|
264
|
-
<ul>
|
265
|
-
<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>
|
266
|
-
</ul>
|
267
|
-
|
268
|
-
|
269
|
-
<ul>
|
270
|
-
<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>
|
271
|
-
</ul>
|
272
|
-
|
273
|
-
|
274
|
-
<h2>Details</h2>
|
275
|
-
|
276
|
-
|
277
|
-
<ul>
|
278
|
-
<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>
|
279
|
-
</ul>
|
280
|
-
|
281
|
-
|
282
|
-
<ul>
|
283
|
-
<li>Cleansed the appearance of the user documentation.
|
284
|
-
<ul>
|
285
|
-
<li>Added indices to section headings, just like LaTeX.</li>
|
286
|
-
<li>Admonition boxes no longer interfere with surrounding text, and they don&#8217;t have big gap above them.</li>
|
287
|
-
<li>Navigation menu is now elastic (fluid layout).</li>
|
288
|
-
</ul></li>
|
289
|
-
</ul>
|
290
|
-
|
291
|
-
|
292
|
-
<ul>
|
293
|
-
<li>Revised the user manual and added new content.
|
294
|
-
<ul>
|
295
|
-
<li>Moved &#8220;VPI utility layer&#8221; section from background chapter into usage chapter in user manual.</li>
|
296
|
-
<li>Added a nice introduction to entire manual with links to reference documentation.</li>
|
297
|
-
</ul></li>
|
298
|
-
</ul></description>
|
299
|
-
<pubDate>Sat, 30 Dec 2006 00:00:00 PST</pubDate>
|
300
|
-
</item>
|
301
|
-
<item>
|
302
|
-
<title>Version 13.0.0 released</title>
|
303
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a13.0.0</link>
|
304
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a13.0.0</guid>
|
305
|
-
<description><h1 id="13.0.0">Version 13.0.0 (2006-12-27)</h1>
|
306
|
-
|
307
|
-
<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>
|
308
|
-
|
309
|
-
|
310
|
-
<h2>Caution</h2>
|
311
|
-
|
312
|
-
|
313
|
-
<ul>
|
314
|
-
<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.
|
315
|
-
<ul>
|
316
|
-
<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>
|
317
|
-
</ul></li>
|
318
|
-
</ul>
|
319
|
-
|
320
|
-
|
321
|
-
<h3>New features</h3>
|
322
|
-
|
323
|
-
|
324
|
-
<ul>
|
325
|
-
<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>
|
326
|
-
</ul>
|
327
|
-
|
328
|
-
|
329
|
-
<h2>Details</h2>
|
330
|
-
|
331
|
-
|
332
|
-
<ul>
|
333
|
-
<li>Fixed a major instability bug that was randomly causing segmentation faults and pthread assertion failures.
|
334
|
-
|
335
|
-
<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>
|
336
|
-
</ul>
|
337
|
-
|
338
|
-
|
339
|
-
<ul>
|
340
|
-
<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>
|
341
|
-
</ul>
|
342
|
-
|
343
|
-
|
344
|
-
<ul>
|
345
|
-
<li>Excluded internal stuff from the <span class="caps">API</span> reference documentation for Ruby.</li>
|
346
|
-
</ul>
|
347
|
-
|
348
|
-
|
349
|
-
<ul>
|
350
|
-
<li>Removed system-dependent path <tt>/usr/bin/ruby</tt> from the tools.</li>
|
351
|
-
</ul></description>
|
352
|
-
<pubDate>Wed, 27 Dec 2006 00:00:00 PST</pubDate>
|
353
|
-
</item>
|
354
|
-
<item>
|
355
|
-
<title>Version 12.1.0 released</title>
|
356
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a12.1.0</link>
|
357
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a12.1.0</guid>
|
358
|
-
<description><h1 id="12.1.0">Version 12.1.0 (2006-12-22)</h1>
|
359
|
-
|
360
|
-
<p>This release adds interactive debugging support, adds new sections to the user manual, and cleanses some internals.</p>
|
361
|
-
|
362
|
-
|
363
|
-
<h2>Caution</h2>
|
364
|
-
|
365
|
-
|
366
|
-
<ul>
|
367
|
-
<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>
|
368
|
-
</ul>
|
369
|
-
|
370
|
-
|
371
|
-
<ul>
|
372
|
-
<li>rSpec 0.7.0 or newer is now required because the sample tests utilize the <code class="code">should ==</code> syntax.</li>
|
373
|
-
</ul>
|
374
|
-
|
375
|
-
|
376
|
-
<h3>New features</h3>
|
377
|
-
|
378
|
-
|
379
|
-
<ul>
|
380
|
-
<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>.
|
381
|
-
<ul>
|
382
|
-
<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>
|
383
|
-
</ul></li>
|
384
|
-
</ul>
|
385
|
-
|
386
|
-
|
387
|
-
<ul>
|
388
|
-
<li>Status messages, which are shown during initialization of a Ruby bench, now appear in your simulator&#8217;s log files.</li>
|
389
|
-
</ul>
|
390
|
-
|
391
|
-
|
392
|
-
<h2>Details</h2>
|
393
|
-
|
394
|
-
|
395
|
-
<ul>
|
396
|
-
<li>ruby-debug is now a gem dependency for Ruby-VPI.</li>
|
397
|
-
</ul>
|
398
|
-
|
399
|
-
|
400
|
-
<ul>
|
401
|
-
<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>
|
402
|
-
</ul>
|
403
|
-
|
404
|
-
|
405
|
-
<ul>
|
406
|
-
<li>Added a <tt>README</tt> file with hint about where to find the user manual.</li>
|
407
|
-
</ul>
|
408
|
-
|
409
|
-
|
410
|
-
<ul>
|
411
|
-
<li>Removed code that wasn&#8217;t being used, according to code coverage analysis, from the pipelined <span class="caps">ALU</span> sample.</li>
|
412
|
-
</ul></description>
|
413
|
-
<pubDate>Fri, 22 Dec 2006 00:00:00 PST</pubDate>
|
414
|
-
</item>
|
415
|
-
<item>
|
416
|
-
<title>Version 12.0.2 released</title>
|
417
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.2</link>
|
418
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.2</guid>
|
419
|
-
<description><h1 id="12.0.2">Version 12.0.2 (2006-12-18)</h1>
|
420
|
-
|
421
|
-
<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>
|
422
|
-
<pubDate>Mon, 18 Dec 2006 00:00:00 PST</pubDate>
|
423
|
-
</item>
|
424
|
-
<item>
|
425
|
-
<title>Version 12.0.1 released</title>
|
426
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.1</link>
|
427
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.1</guid>
|
428
|
-
<description><h1 id="12.0.1">Version 12.0.1 (2006-12-18)</h1>
|
429
|
-
|
430
|
-
<p>This release fixes a problem in code coverage analysis.</p>
|
431
|
-
|
432
|
-
|
433
|
-
<h2>Thanks</h2>
|
434
|
-
|
435
|
-
|
436
|
-
<ul>
|
437
|
-
<li>Mauricio Fernandez helped me solve the problem with code coverage analysis.</li>
|
438
|
-
</ul>
|
439
|
-
|
440
|
-
|
441
|
-
<h2>Details</h2>
|
442
|
-
|
443
|
-
|
444
|
-
<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>
|
445
|
-
|
446
|
-
|
447
|
-
<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>
|
448
|
-
<pubDate>Mon, 18 Dec 2006 00:00:00 PST</pubDate>
|
449
|
-
</item>
|
450
|
-
<item>
|
451
|
-
<title>Version 12.0.0 released</title>
|
452
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.0</link>
|
453
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a12.0.0</guid>
|
454
|
-
<description><h1 id="12.0.0">Version 12.0.0 (2006-12-07)</h1>
|
455
|
-
|
456
|
-
<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>
|
457
|
-
|
458
|
-
|
459
|
-
<h2>Caution</h2>
|
460
|
-
|
461
|
-
|
462
|
-
<ul>
|
463
|
-
<li>Icarus Verilog 0.8 has been demoted to a <a href="manual.html#setup.reqs">mostly acceptable</a> status.</li>
|
464
|
-
</ul>
|
465
|
-
|
466
|
-
|
467
|
-
<ul>
|
468
|
-
<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>
|
469
|
-
</ul>
|
470
|
-
|
471
|
-
|
472
|
-
<ul>
|
473
|
-
<li>The <code class="code">ruby-vpi/runner_proxy</code> library now invokes test runners
|
474
|
-
<ul>
|
475
|
-
<li>just before exiting. Thus, you can invoke tasks in the main <tt>Rakefile</tt> before the test runners are invoked.</li>
|
476
|
-
<li>located within any directory that is a descendant of the current working directory.</li>
|
477
|
-
</ul></li>
|
478
|
-
</ul>
|
479
|
-
|
480
|
-
|
481
|
-
<ul>
|
482
|
-
<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>
|
483
|
-
</ul>
|
484
|
-
|
485
|
-
|
486
|
-
<ul>
|
487
|
-
<li>The automated test generator
|
488
|
-
<ul>
|
489
|
-
<li>no longer displays the <strong>backup</strong> status indicator.</li>
|
490
|
-
<li>now supplies a third argument to the <code class="code"><span style="color:#036; font-weight:bold">MERGER</span></code> command.</li>
|
491
|
-
<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>
|
492
|
-
</ul></li>
|
493
|
-
</ul>
|
494
|
-
|
495
|
-
|
496
|
-
<h2>Details</h2>
|
497
|
-
|
498
|
-
|
499
|
-
<ul>
|
500
|
-
<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>
|
501
|
-
</ul>
|
502
|
-
|
503
|
-
|
504
|
-
<ul>
|
505
|
-
<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>
|
506
|
-
</ul>
|
507
|
-
|
508
|
-
|
509
|
-
<ul>
|
510
|
-
<li>The user manual has been revised and some minor issues have been fixed.</li>
|
511
|
-
</ul>
|
512
|
-
|
513
|
-
|
514
|
-
<h3>Test generation</h3>
|
515
|
-
|
516
|
-
|
517
|
-
<ul>
|
518
|
-
<li>The automated test generator accepts new command-line options:
|
519
|
-
<ul>
|
520
|
-
<li><tt>--test-unit</tt></li>
|
521
|
-
<li><tt>--test-spec</tt></li>
|
522
|
-
<li><tt>--tspec</tt></li>
|
523
|
-
</ul></li>
|
524
|
-
</ul>
|
525
|
-
|
526
|
-
|
527
|
-
<ul>
|
528
|
-
<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>
|
529
|
-
</ul>
|
530
|
-
|
531
|
-
|
532
|
-
<ul>
|
533
|
-
<li>Generated Verilog benches now contain simpler clock generation code.</li>
|
534
|
-
</ul>
|
535
|
-
|
536
|
-
|
537
|
-
<ul>
|
538
|
-
<li>Generated runners now contain
|
539
|
-
<ul>
|
540
|
-
<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>
|
541
|
-
<li>better explanations to accomodate new users.</li>
|
542
|
-
</ul></li>
|
543
|
-
</ul>
|
544
|
-
|
545
|
-
|
546
|
-
<ul>
|
547
|
-
<li>Specifications generated in the <strong>generic</strong> format no longer contain a class that is instantiated in the generated Ruby bench.</li>
|
548
|
-
</ul></description>
|
549
|
-
<pubDate>Thu, 07 Dec 2006 00:00:00 PST</pubDate>
|
550
|
-
</item>
|
551
|
-
<item>
|
552
|
-
<title>Version 11.1.1 released</title>
|
553
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a11.1.1</link>
|
554
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a11.1.1</guid>
|
555
|
-
<description><h1 id="11.1.1">Version 11.1.1 (2006-11-15)</h1>
|
556
|
-
|
557
|
-
<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>
|
558
|
-
|
559
|
-
|
560
|
-
<h2>Thanks</h2>
|
561
|
-
|
562
|
-
|
563
|
-
<ul>
|
564
|
-
<li>John Burr found the bug in the automated test generator.</li>
|
565
|
-
</ul>
|
566
|
-
|
567
|
-
|
568
|
-
<h2>Caution</h2>
|
569
|
-
|
570
|
-
|
571
|
-
<ul>
|
572
|
-
<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>
|
573
|
-
</ul>
|
574
|
-
|
575
|
-
|
576
|
-
<h2>Details</h2>
|
577
|
-
|
578
|
-
|
579
|
-
<ul>
|
580
|
-
<li>The automated test generator no longer crashes when parsing a Verilog module declaration that contains multiple module parameters.</li>
|
581
|
-
</ul>
|
582
|
-
|
583
|
-
|
584
|
-
<ul>
|
585
|
-
<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>
|
586
|
-
</ul></description>
|
587
|
-
<pubDate>Wed, 15 Nov 2006 00:00:00 PST</pubDate>
|
588
|
-
</item>
|
589
|
-
<item>
|
590
|
-
<title>Version 11.1.0 released</title>
|
591
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a11.1.0</link>
|
592
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a11.1.0</guid>
|
593
|
-
<description><h1 id="11.1.0">Version 11.1.0 (2006-11-08)</h1>
|
594
|
-
|
595
|
-
<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>
|
596
|
-
|
597
|
-
|
598
|
-
<h2>Thanks</h2>
|
599
|
-
|
600
|
-
|
601
|
-
<ul>
|
602
|
-
<li>Matt Fischler found the bug in generated benches (see below).</li>
|
603
|
-
</ul>
|
604
|
-
|
605
|
-
|
606
|
-
<h2>Caution</h2>
|
607
|
-
|
608
|
-
|
609
|
-
<ul>
|
610
|
-
<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>
|
611
|
-
</ul>
|
612
|
-
|
613
|
-
|
614
|
-
<h2>Details</h2>
|
615
|
-
|
616
|
-
|
617
|
-
<ul>
|
618
|
-
<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>
|
619
|
-
</ul>
|
620
|
-
|
621
|
-
|
622
|
-
<ul>
|
623
|
-
<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.
|
624
|
-
<ul>
|
625
|
-
<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>
|
626
|
-
</ul></li>
|
627
|
-
</ul>
|
628
|
-
|
629
|
-
|
630
|
-
<ul>
|
631
|
-
<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>
|
632
|
-
</ul>
|
633
|
-
|
634
|
-
|
635
|
-
<ul>
|
636
|
-
<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>
|
637
|
-
</ul>
|
638
|
-
|
639
|
-
|
640
|
-
<ul>
|
641
|
-
<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>
|
642
|
-
</ul>
|
643
|
-
|
644
|
-
|
645
|
-
<ul>
|
646
|
-
<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>
|
647
|
-
</ul>
|
648
|
-
|
649
|
-
|
650
|
-
<ul>
|
651
|
-
<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>
|
652
|
-
</ul>
|
653
|
-
|
654
|
-
|
655
|
-
<ul>
|
656
|
-
<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>
|
657
|
-
</ul>
|
658
|
-
|
659
|
-
|
660
|
-
<ul>
|
661
|
-
<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>
|
662
|
-
</ul></description>
|
663
|
-
<pubDate>Wed, 08 Nov 2006 00:00:00 PST</pubDate>
|
664
|
-
</item>
|
665
|
-
<item>
|
666
|
-
<title>Version 11.0.0 released</title>
|
667
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a11.0.0</link>
|
668
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a11.0.0</guid>
|
669
|
-
<description><h1 id="11.0.0">Version 11.0.0 (2006-11-05)</h1>
|
670
|
-
|
671
|
-
<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>
|
672
|
-
|
673
|
-
|
674
|
-
<h2>Caution</h2>
|
675
|
-
|
676
|
-
|
677
|
-
<ul>
|
678
|
-
<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>
|
679
|
-
</ul>
|
680
|
-
|
681
|
-
|
682
|
-
<ul>
|
683
|
-
<li><strong>generate_test.rb</strong> no longer emits undocumented status indicators: <em>name</em> and <em>format</em>.</li>
|
684
|
-
</ul>
|
685
|
-
|
686
|
-
|
687
|
-
<ul>
|
688
|
-
<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>
|
689
|
-
</ul>
|
690
|
-
|
691
|
-
|
692
|
-
<h2>Details</h2>
|
693
|
-
|
694
|
-
|
695
|
-
<ul>
|
696
|
-
<li>Generated Ruby benches have been shortened to just <em>one</em> line of code!</li>
|
697
|
-
</ul>
|
698
|
-
|
699
|
-
|
700
|
-
<ul>
|
701
|
-
<li>The less confusing notation of <pre class="code"><span style="color:#080; font-weight:bold">def</span> some_object.a_singleton_method
|
702
|
-
do_stuff
|
703
|
-
<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>
|
704
|
-
<span style="color:#080; font-weight:bold">def</span> <span style="color:#06B; font-weight:bold">a_singleton_method</span>
|
705
|
-
do_stuff
|
706
|
-
<span style="color:#080; font-weight:bold">end</span>
|
707
|
-
<span style="color:#080; font-weight:bold">end</span></pre> notation.
|
708
|
-
<ul>
|
709
|
-
<li>The tutorial and examples have been updated accordingly.</li>
|
710
|
-
</ul></li>
|
711
|
-
</ul>
|
712
|
-
|
713
|
-
|
714
|
-
<ul>
|
715
|
-
<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>
|
716
|
-
</ul></description>
|
717
|
-
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
718
|
-
</item>
|
719
|
-
<item>
|
720
|
-
<title>Version 10.0.0 released</title>
|
721
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a10.0.0</link>
|
722
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a10.0.0</guid>
|
723
|
-
<description><h1 id="10.0.0">Version 10.0.0 (2006-11-05)</h1>
|
724
|
-
|
725
|
-
<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>
|
726
|
-
|
727
|
-
|
728
|
-
<h2>Thanks</h2>
|
729
|
-
|
730
|
-
|
731
|
-
<ul>
|
732
|
-
<li>Matt Fischler found the problem of misdirected compilation errors in Verilog benches.</li>
|
733
|
-
</ul>
|
734
|
-
|
735
|
-
|
736
|
-
<h2>Caution</h2>
|
737
|
-
|
738
|
-
|
739
|
-
<ul>
|
740
|
-
<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.
|
741
|
-
<ul>
|
742
|
-
<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>
|
743
|
-
</ul></li>
|
744
|
-
</ul>
|
745
|
-
|
746
|
-
|
747
|
-
<ul>
|
748
|
-
<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>
|
749
|
-
</ul>
|
750
|
-
|
751
|
-
|
752
|
-
<ul>
|
753
|
-
<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>
|
754
|
-
</ul>
|
755
|
-
|
756
|
-
|
757
|
-
<h2>Details</h2>
|
758
|
-
|
759
|
-
|
760
|
-
<h3>Automated test generator</h3>
|
761
|
-
|
762
|
-
|
763
|
-
<ul>
|
764
|
-
<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>
|
765
|
-
</ul>
|
766
|
-
|
767
|
-
|
768
|
-
<ul>
|
769
|
-
<li>The user is now notified when a backup of an existing file is made.</li>
|
770
|
-
</ul>
|
771
|
-
|
772
|
-
|
773
|
-
<ul>
|
774
|
-
<li>Generated tests have been greatly simplified to reduce the amount of work for the user.
|
775
|
-
<ul>
|
776
|
-
<li>The design is now just a handle to the module in the Verilog bench.</li>
|
777
|
-
<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>
|
778
|
-
<li>The tutorial and examples have been updated accordingly.</li>
|
779
|
-
</ul></li>
|
780
|
-
</ul>
|
781
|
-
|
782
|
-
|
783
|
-
<h3>User manual</h3>
|
784
|
-
|
785
|
-
|
786
|
-
<ul>
|
787
|
-
<li>Revised the stylesheet to make disjoint sections readily distinguishable from each other, through generous spacing and minor coloring.</li>
|
788
|
-
</ul>
|
789
|
-
|
790
|
-
|
791
|
-
<ul>
|
792
|
-
<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>
|
793
|
-
</ul>
|
794
|
-
|
795
|
-
|
796
|
-
<ul>
|
797
|
-
<li>Moved installation information into a new &#8220;setup&#8221; chapter.</li>
|
798
|
-
</ul></description>
|
799
|
-
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
800
|
-
</item>
|
801
|
-
<item>
|
802
|
-
<title>Version 9.0.0 released</title>
|
803
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a9.0.0</link>
|
804
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a9.0.0</guid>
|
805
|
-
<description><h1 id="9.0.0">Version 9.0.0 (2006-10-28)</h1>
|
806
|
-
|
807
|
-
<p>This release improves the automated test generator and adds new content to the user manual.</p>
|
808
|
-
|
809
|
-
|
810
|
-
<h2>Thanks</h2>
|
811
|
-
|
812
|
-
|
813
|
-
<ul>
|
814
|
-
<li>Matt Fischler helped test and debug the installation of Ruby-VPI on Windows.</li>
|
815
|
-
</ul>
|
816
|
-
|
817
|
-
|
818
|
-
<h2>Caution</h2>
|
819
|
-
|
820
|
-
|
821
|
-
<ul>
|
822
|
-
<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>
|
823
|
-
</ul>
|
824
|
-
|
825
|
-
|
826
|
-
<h2>Details</h2>
|
827
|
-
|
828
|
-
|
829
|
-
<ul>
|
830
|
-
<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>
|
831
|
-
</ul>
|
832
|
-
|
833
|
-
|
834
|
-
<ul>
|
835
|
-
<li>Synopsys <span class="caps">VCS</span> is now used in a better way (via the <pre>-load</pre> option).
|
836
|
-
<ul>
|
837
|
-
<li>The old <span class="caps">PLI</span> table file (<tt>synopsys_vcs.tab</tt>) has been removed.</li>
|
838
|
-
<li>The C extension has been revised accordingly.</li>
|
839
|
-
</ul></li>
|
840
|
-
</ul>
|
841
|
-
|
842
|
-
|
843
|
-
<ul>
|
844
|
-
<li>The C extension now compiles without errors in Cygwin.</li>
|
845
|
-
</ul>
|
846
|
-
|
847
|
-
|
848
|
-
<ul>
|
849
|
-
<li>The automated test generator now:
|
850
|
-
<ul>
|
851
|
-
<li>Only creates output files when necessary.</li>
|
852
|
-
<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>
|
853
|
-
<li>Emits progress information similar to Ruby on Rails.</li>
|
854
|
-
</ul></li>
|
855
|
-
</ul>
|
856
|
-
|
857
|
-
|
858
|
-
<ul>
|
859
|
-
<li>The user manual now:
|
860
|
-
<ul>
|
861
|
-
<li>Includes instructions for installing on Windows (via Cygwin).</li>
|
862
|
-
<li>Has a recommended software section, with links to text merging tools.</li>
|
863
|
-
<li>Uses the term <a href="http://en.wikipedia.org/wiki/XUnit">xUnit</a> instead of &#8220;unit test&#8221;.</li>
|
864
|
-
<li>Correctly spells &#8220;rSpec&#8221;.</li>
|
865
|
-
</ul></li>
|
866
|
-
</ul></description>
|
867
|
-
<pubDate>Sat, 28 Oct 2006 00:00:00 PDT</pubDate>
|
868
|
-
</item>
|
869
|
-
<item>
|
870
|
-
<title>Version 8.2.0 released</title>
|
871
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a8.2.0</link>
|
872
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a8.2.0</guid>
|
873
|
-
<description><h1 id="8.2.0">Version 8.2.0 (2006-10-24)</h1>
|
874
|
-
|
875
|
-
<p>This release simplifies configuration of generated tests.</p>
|
876
|
-
|
877
|
-
|
878
|
-
<h2>Thanks</h2>
|
879
|
-
|
880
|
-
|
881
|
-
<ul>
|
882
|
-
<li><a href="http://www.soe.ucsc.edu/classes/cmpe126/Fall06/">Students in the <span class="caps">CMPE</span>-126 class</a> for their comments and criticisms.</li>
|
883
|
-
</ul>
|
884
|
-
|
885
|
-
|
886
|
-
<h2>Caution</h2>
|
887
|
-
|
888
|
-
|
889
|
-
<ul>
|
890
|
-
<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>
|
891
|
-
</ul>
|
892
|
-
|
893
|
-
|
894
|
-
<h2>Details</h2>
|
895
|
-
|
896
|
-
|
897
|
-
<ul>
|
898
|
-
<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>
|
899
|
-
<li>A generated test no longer requires its Verilog design to reside in the same directory.</li>
|
900
|
-
<li>The sample tests have been updated accordingly.</li>
|
901
|
-
</ul></description>
|
902
|
-
<pubDate>Tue, 24 Oct 2006 00:00:00 PDT</pubDate>
|
903
|
-
</item>
|
904
|
-
<item>
|
905
|
-
<title>Version 8.1.0 released</title>
|
906
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a8.1.0</link>
|
907
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a8.1.0</guid>
|
908
|
-
<description><h1 id="8.1.0">Version 8.1.0 (2006-10-21)</h1>
|
909
|
-
|
910
|
-
<p>This release adds an integer library and renames the vpi_util library.</p>
|
911
|
-
|
912
|
-
|
913
|
-
<h2>Caution</h2>
|
914
|
-
|
915
|
-
|
916
|
-
<ul>
|
917
|
-
<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>
|
918
|
-
</ul>
|
919
|
-
|
920
|
-
|
921
|
-
<h2>Details</h2>
|
922
|
-
|
923
|
-
|
924
|
-
<ul>
|
925
|
-
<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>
|
926
|
-
</ul></description>
|
927
|
-
<pubDate>Sat, 21 Oct 2006 00:00:00 PDT</pubDate>
|
928
|
-
</item>
|
929
|
-
<item>
|
930
|
-
<title>Version 8.0.0 released</title>
|
931
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a8.0.0</link>
|
932
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a8.0.0</guid>
|
933
|
-
<description><h1 id="8.0.0">Version 8.0.0 (2006-10-13)</h1>
|
934
|
-
|
935
|
-
<p>This release renames some identifiers for consistency, updates the documentation, and improves integration with RubyGems.</p>
|
936
|
-
|
937
|
-
|
938
|
-
<h2>Caution</h2>
|
939
|
-
|
940
|
-
|
941
|
-
<ul>
|
942
|
-
<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>
|
943
|
-
</ul>
|
944
|
-
|
945
|
-
|
946
|
-
<ul>
|
947
|
-
<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>.
|
948
|
-
<ul>
|
949
|
-
<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>
|
950
|
-
</ul></li>
|
951
|
-
</ul>
|
952
|
-
|
953
|
-
|
954
|
-
<h2>Details</h2>
|
955
|
-
|
956
|
-
|
957
|
-
<ul>
|
958
|
-
<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>
|
959
|
-
</ul>
|
960
|
-
|
961
|
-
|
962
|
-
<ul>
|
963
|
-
<li>The source code is now distributed in tar.gz and zip form, in addition to gem.</li>
|
964
|
-
</ul>
|
965
|
-
|
966
|
-
|
967
|
-
<ul>
|
968
|
-
<li>Some identifiers have been renamed for better consistency.</li>
|
969
|
-
</ul>
|
970
|
-
|
971
|
-
|
972
|
-
<ul>
|
973
|
-
<li>The user manual now resides directly within the <tt>doc/</tt> directory.
|
974
|
-
<ul>
|
975
|
-
<li>The integration of documentation in <strong>gem_server</strong> has been improved.</li>
|
976
|
-
</ul></li>
|
977
|
-
</ul>
|
978
|
-
|
979
|
-
|
980
|
-
<ul>
|
981
|
-
<li>The glossary and tutorial in the user manual have been revised.</li>
|
982
|
-
</ul></description>
|
983
|
-
<pubDate>Fri, 13 Oct 2006 00:00:00 PDT</pubDate>
|
984
|
-
</item>
|
985
|
-
<item>
|
986
|
-
<title>Version 7.3.0 released</title>
|
987
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a7.3.0</link>
|
988
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a7.3.0</guid>
|
989
|
-
<description><h1 id="7.3.0">Version 7.3.0 (2006-09-30)</h1>
|
990
|
-
|
991
|
-
<p>This release fixes a bug in generated Verilog benches, includes parsed constants in generated tests, and adds new methods to handles.</p>
|
992
|
-
|
993
|
-
|
994
|
-
<h2>Caution</h2>
|
995
|
-
|
996
|
-
|
997
|
-
<ul>
|
998
|
-
<li>Handles now have two new methods:
|
999
|
-
<ul>
|
1000
|
-
<li><code class="code">handle.x?</code> checks if the logic value is &#8220;don&#8217;t care&#8221; </li>
|
1001
|
-
<li><code class="code">handle.z?</code> checks if the logic value is high impedance</li>
|
1002
|
-
</ul></li>
|
1003
|
-
</ul>
|
1004
|
-
|
1005
|
-
|
1006
|
-
<h2>Details</h2>
|
1007
|
-
|
1008
|
-
|
1009
|
-
<ul>
|
1010
|
-
<li>Module instantiation code in generated Verilog benches has been fixed. Whitespace between the module type and instance variable was missing.</li>
|
1011
|
-
</ul>
|
1012
|
-
|
1013
|
-
|
1014
|
-
<ul>
|
1015
|
-
<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.
|
1016
|
-
<ul>
|
1017
|
-
<li>The pipelined <span class="caps">ALU</span> example has been revised accordingly.</li>
|
1018
|
-
</ul></li>
|
1019
|
-
</ul>
|
1020
|
-
|
1021
|
-
|
1022
|
-
<ul>
|
1023
|
-
<li>A library for parsing Verilog source code has been added as <tt>lib/ruby-vpi/verilog_parser.rb</tt>.</li>
|
1024
|
-
</ul></description>
|
1025
|
-
<pubDate>Sat, 30 Sep 2006 00:00:00 PDT</pubDate>
|
1026
|
-
</item>
|
1027
|
-
<item>
|
1028
|
-
<title>Version 7.2.0 released</title>
|
1029
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a7.2.0</link>
|
1030
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a7.2.0</guid>
|
1031
|
-
<description><h1 id="7.2.0">Version 7.2.0 (2006-09-15)</h1>
|
1032
|
-
|
1033
|
-
<p>This release adds initial support for code coverage analysis via the <a href="http://eigenclass.org/hiki.rb?rcov">rcov library</a>.</p>
|
1034
|
-
|
1035
|
-
|
1036
|
-
<h2>Thanks</h2>
|
1037
|
-
|
1038
|
-
|
1039
|
-
<ul>
|
1040
|
-
<li>Mauricio Fernandez helped me use rcov without its runner.</li>
|
1041
|
-
</ul>
|
1042
|
-
|
1043
|
-
|
1044
|
-
<h2>Details</h2>
|
1045
|
-
|
1046
|
-
|
1047
|
-
<ul>
|
1048
|
-
<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.
|
1049
|
-
<ul>
|
1050
|
-
<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>
|
1051
|
-
</ul></li>
|
1052
|
-
</ul>
|
1053
|
-
|
1054
|
-
|
1055
|
-
<ul>
|
1056
|
-
<li>Coverage reports are generated in text and <span class="caps">HTML</span> formats.</li>
|
1057
|
-
</ul></description>
|
1058
|
-
<pubDate>Fri, 15 Sep 2006 00:00:00 PDT</pubDate>
|
1059
|
-
</item>
|
1060
|
-
<item>
|
1061
|
-
<title>Version 7.1.0 released</title>
|
1062
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a7.1.0</link>
|
1063
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a7.1.0</guid>
|
1064
|
-
<description><h1 id="7.1.0">Version 7.1.0 (2006-08-29)</h1>
|
1065
|
-
|
1066
|
-
<p>This release simplifies running of multiple tests, restores compatibility with Synopsys <span class="caps">VCS</span>, and better integrates with RubyGems.</p>
|
1067
|
-
|
1068
|
-
|
1069
|
-
<h2>Details</h2>
|
1070
|
-
|
1071
|
-
|
1072
|
-
<ul>
|
1073
|
-
<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>
|
1074
|
-
</ul>
|
1075
|
-
|
1076
|
-
|
1077
|
-
<ul>
|
1078
|
-
<li>Fixed a bug that prevented one from running tests with Synopsys <span class="caps">VCS</span>.</li>
|
1079
|
-
</ul>
|
1080
|
-
|
1081
|
-
|
1082
|
-
<ul>
|
1083
|
-
<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>
|
1084
|
-
</ul>
|
1085
|
-
|
1086
|
-
|
1087
|
-
<ul>
|
1088
|
-
<li>The user manual now discusses how to determine the location of a Ruby-VPI installation.</li>
|
1089
|
-
</ul>
|
1090
|
-
|
1091
|
-
|
1092
|
-
<ul>
|
1093
|
-
<li>The <tt>tpl/</tt> directory has been removed.</li>
|
1094
|
-
</ul></description>
|
1095
|
-
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
1096
|
-
</item>
|
1097
|
-
<item>
|
1098
|
-
<title>Version 7.0.0 released</title>
|
1099
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a7.0.0</link>
|
1100
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a7.0.0</guid>
|
1101
|
-
<description><h1 id="7.0.0">Version 7.0.0 (2006-08-29)</h1>
|
1102
|
-
|
1103
|
-
<p>This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.</p>
|
1104
|
-
|
1105
|
-
|
1106
|
-
<h2>Caution</h2>
|
1107
|
-
|
1108
|
-
|
1109
|
-
<ul>
|
1110
|
-
<li><code class="code">put_value()</code> now accomodates register value overflows when verifying the value it has written.</li>
|
1111
|
-
</ul>
|
1112
|
-
|
1113
|
-
|
1114
|
-
<ul>
|
1115
|
-
<li>The test generator&#8217;s templates and the examples have been updated as follows:
|
1116
|
-
<ul>
|
1117
|
-
<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>
|
1118
|
-
<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>
|
1119
|
-
</ul></li>
|
1120
|
-
</ul>
|
1121
|
-
|
1122
|
-
|
1123
|
-
<ul>
|
1124
|
-
<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>
|
1125
|
-
</ul>
|
1126
|
-
|
1127
|
-
|
1128
|
-
<ul>
|
1129
|
-
<li>The <tt>src/</tt> directory has been renamed to <tt>ext/</tt> to follow RubyGems convention.</li>
|
1130
|
-
</ul>
|
1131
|
-
|
1132
|
-
|
1133
|
-
<h2>Details</h2>
|
1134
|
-
|
1135
|
-
|
1136
|
-
<ul>
|
1137
|
-
<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>
|
1138
|
-
</ul>
|
1139
|
-
|
1140
|
-
|
1141
|
-
<ul>
|
1142
|
-
<li>The tools in <tt>bin/</tt> become available in your system&#8217;s <tt>bin/</tt> directory when the gem is installed.
|
1143
|
-
<ul>
|
1144
|
-
<li>Usage and help information has been added to the <strong>header_to_ruby.rb</strong> tool.</li>
|
1145
|
-
</ul></li>
|
1146
|
-
</ul>
|
1147
|
-
|
1148
|
-
|
1149
|
-
<ul>
|
1150
|
-
<li>Incorrect spelling of <span class="caps">GPL</span> Cver (v should be uncapitalized) has been fixed.</li>
|
1151
|
-
</ul>
|
1152
|
-
|
1153
|
-
|
1154
|
-
<ul>
|
1155
|
-
<li>Incorrect link to <span class="caps">GPL</span> Cver website has been fixed.</li>
|
1156
|
-
</ul>
|
1157
|
-
|
1158
|
-
|
1159
|
-
<ul>
|
1160
|
-
<li>The user manual has been updated according to all of the above changes.</li>
|
1161
|
-
</ul></description>
|
1162
|
-
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
1163
|
-
</item>
|
1164
|
-
<item>
|
1165
|
-
<title>Version 6.3.0 released</title>
|
1166
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a6.3.0</link>
|
1167
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a6.3.0</guid>
|
1168
|
-
<description><h1 id="6.3.0">Version 6.3.0 (2006-08-27)</h1>
|
1169
|
-
|
1170
|
-
<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>
|
1171
|
-
|
1172
|
-
|
1173
|
-
<h2>Caution</h2>
|
1174
|
-
|
1175
|
-
|
1176
|
-
<ul>
|
1177
|
-
<li>Ruby-VPI now only needs to be built once.
|
1178
|
-
<ul>
|
1179
|
-
<li>You can run tests with different Verilog simulators without having to re-compile Ruby-VPI.</li>
|
1180
|
-
</ul></li>
|
1181
|
-
</ul>
|
1182
|
-
|
1183
|
-
|
1184
|
-
<h2>Details</h2>
|
1185
|
-
|
1186
|
-
|
1187
|
-
<ul>
|
1188
|
-
<li>The <span class="caps">GPL</span> Cver simulator is now supported.</li>
|
1189
|
-
</ul>
|
1190
|
-
|
1191
|
-
|
1192
|
-
<ul>
|
1193
|
-
<li>Release packages are now available in both source and binary form.</li>
|
1194
|
-
</ul>
|
1195
|
-
|
1196
|
-
|
1197
|
-
<ul>
|
1198
|
-
<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>
|
1199
|
-
</ul>
|
1200
|
-
|
1201
|
-
|
1202
|
-
<ul>
|
1203
|
-
<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:
|
1204
|
-
<table>
|
1205
|
-
<tr>
|
1206
|
-
<th>Release date </th>
|
1207
|
-
<th>Original version number </th>
|
1208
|
-
<th>New version number </th>
|
1209
|
-
</tr>
|
1210
|
-
<tr>
|
1211
|
-
<td> 1999-10-31 </td>
|
1212
|
-
<td> 0.0 </td>
|
1213
|
-
<td> 0.0.0 </td>
|
1214
|
-
</tr>
|
1215
|
-
<tr>
|
1216
|
-
<td> 2006-02-26 </td>
|
1217
|
-
<td> 0.1 </td>
|
1218
|
-
<td> 1.0.0 </td>
|
1219
|
-
</tr>
|
1220
|
-
<tr>
|
1221
|
-
<td> 2006-04-17 </td>
|
1222
|
-
<td> 0.2 </td>
|
1223
|
-
<td> 2.0.0 </td>
|
1224
|
-
</tr>
|
1225
|
-
<tr>
|
1226
|
-
<td> 2006-04-23 </td>
|
1227
|
-
<td> 0.3 </td>
|
1228
|
-
<td> 3.0.0 </td>
|
1229
|
-
</tr>
|
1230
|
-
<tr>
|
1231
|
-
<td> 2006-04-28 </td>
|
1232
|
-
<td> 0.4 </td>
|
1233
|
-
<td> 3.1.0 </td>
|
1234
|
-
</tr>
|
1235
|
-
<tr>
|
1236
|
-
<td> 2006-05-13 </td>
|
1237
|
-
<td> 0.5 </td>
|
1238
|
-
<td> 3.2.0 </td>
|
1239
|
-
</tr>
|
1240
|
-
<tr>
|
1241
|
-
<td> 2006-05-25 </td>
|
1242
|
-
<td> 0.6 </td>
|
1243
|
-
<td> 4.0.0 </td>
|
1244
|
-
</tr>
|
1245
|
-
<tr>
|
1246
|
-
<td> 2006-07-22 </td>
|
1247
|
-
<td> 0.7 </td>
|
1248
|
-
<td> 5.0.0 </td>
|
1249
|
-
</tr>
|
1250
|
-
<tr>
|
1251
|
-
<td> 2006-07-29 </td>
|
1252
|
-
<td> 0.8 </td>
|
1253
|
-
<td> 5.1.0 </td>
|
1254
|
-
</tr>
|
1255
|
-
<tr>
|
1256
|
-
<td> 2006-08-04 </td>
|
1257
|
-
<td> 0.8.1 </td>
|
1258
|
-
<td> 5.1.1 </td>
|
1259
|
-
</tr>
|
1260
|
-
<tr>
|
1261
|
-
<td> 2006-08-07 </td>
|
1262
|
-
<td> 0.9 </td>
|
1263
|
-
<td> 6.0.0 </td>
|
1264
|
-
</tr>
|
1265
|
-
<tr>
|
1266
|
-
<td> 2006-08-09 </td>
|
1267
|
-
<td> 0.9.1 </td>
|
1268
|
-
<td> 6.1.0 </td>
|
1269
|
-
</tr>
|
1270
|
-
<tr>
|
1271
|
-
<td> 2006-08-26 </td>
|
1272
|
-
<td> 0.9.2 </td>
|
1273
|
-
<td> 6.2.0 </td>
|
1274
|
-
</tr>
|
1275
|
-
</table></li>
|
1276
|
-
</ul></description>
|
1277
|
-
<pubDate>Sun, 27 Aug 2006 00:00:00 PDT</pubDate>
|
1278
|
-
</item>
|
1279
|
-
<item>
|
1280
|
-
<title>Version 6.2.0 released</title>
|
1281
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a6.2.0</link>
|
1282
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a6.2.0</guid>
|
1283
|
-
<description><h1 id="6.2.0">Version 6.2.0 (2006-08-26)</h1>
|
1284
|
-
|
1285
|
-
<p>This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.</p>
|
1286
|
-
|
1287
|
-
|
1288
|
-
<h2>Caution</h2>
|
1289
|
-
|
1290
|
-
|
1291
|
-
<ul>
|
1292
|
-
<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>
|
1293
|
-
</ul>
|
1294
|
-
|
1295
|
-
|
1296
|
-
<ul>
|
1297
|
-
<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>
|
1298
|
-
</ul>
|
1299
|
-
|
1300
|
-
|
1301
|
-
<h2>Details</h2>
|
1302
|
-
|
1303
|
-
|
1304
|
-
<ul>
|
1305
|
-
<li>The test generator now uses <span class="caps">ERB</span> templates which ensures nice indentation of generated output.</li>
|
1306
|
-
</ul>
|
1307
|
-
|
1308
|
-
|
1309
|
-
<ul>
|
1310
|
-
<li>The test generator now decouples Ruby-VPI paths from Verilog benches via the <span class="caps">RUBYLIB</span> environment variable.</li>
|
1311
|
-
</ul>
|
1312
|
-
|
1313
|
-
|
1314
|
-
<ul>
|
1315
|
-
<li>A tool which converts Verilog headers into Ruby has been added.</li>
|
1316
|
-
</ul>
|
1317
|
-
|
1318
|
-
|
1319
|
-
<ul>
|
1320
|
-
<li>The source code is now indented with two spaces instead of one tab character.</li>
|
1321
|
-
</ul></description>
|
1322
|
-
<pubDate>Sat, 26 Aug 2006 00:00:00 PDT</pubDate>
|
1323
|
-
</item>
|
1324
|
-
<item>
|
1325
|
-
<title>Version 6.1.0 released</title>
|
1326
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a6.1.0</link>
|
1327
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a6.1.0</guid>
|
1328
|
-
<description><h1 id="6.1.0">Version 6.1.0 (2006-08-09)</h1>
|
1329
|
-
|
1330
|
-
<p>This release simplifies generated tests and fixes a bug.</p>
|
1331
|
-
|
1332
|
-
|
1333
|
-
<h2>Details</h2>
|
1334
|
-
|
1335
|
-
|
1336
|
-
<ul>
|
1337
|
-
<li>The test generator now produces simpler Ruby benches and specifications.
|
1338
|
-
<ul>
|
1339
|
-
<li>A template used by generated specifications has been added.</li>
|
1340
|
-
<li>The counter example and tutorial have also been simplified accordingly.</li>
|
1341
|
-
</ul></li>
|
1342
|
-
</ul>
|
1343
|
-
|
1344
|
-
|
1345
|
-
<ul>
|
1346
|
-
<li>Boolean <span class="caps">VPI</span> property values are now correctly converted into Ruby truth values.</li>
|
1347
|
-
</ul></description>
|
1348
|
-
<pubDate>Wed, 09 Aug 2006 00:00:00 PDT</pubDate>
|
1349
|
-
</item>
|
1350
|
-
<item>
|
1351
|
-
<title>Version 6.0.0 released</title>
|
1352
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a6.0.0</link>
|
1353
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a6.0.0</guid>
|
1354
|
-
<description><h1 id="6.0.0">Version 6.0.0 (2006-08-07)</h1>
|
1355
|
-
|
1356
|
-
<p>This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.</p>
|
1357
|
-
|
1358
|
-
|
1359
|
-
<h2>Caution</h2>
|
1360
|
-
|
1361
|
-
|
1362
|
-
<ul>
|
1363
|
-
<li>The directory structure has been reorganized as follows:
|
1364
|
-
<ul>
|
1365
|
-
<li><tt>ext</tt> &rarr; <tt>src</tt></li>
|
1366
|
-
<li><tt>tools</tt> &rarr; <tt>bin</tt></li>
|
1367
|
-
<li><tt>examples</tt> &rarr; <tt>samp</tt></li>
|
1368
|
-
</ul></li>
|
1369
|
-
</ul>
|
8
|
+
<title>Version 17.0.0 released</title>
|
9
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a17.0.0</link>
|
10
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a17.0.0</guid>
|
11
|
+
<description><h1 id="17.0.0">Version 17.0.0 (2007-07-22)</h1>
|
1370
12
|
|
1371
|
-
|
1372
|
-
<ul>
|
1373
|
-
<li>All template files have been moved into the <tt>tpl</tt> directory.</li>
|
1374
|
-
</ul>
|
1375
|
-
|
1376
|
-
|
1377
|
-
<h2>Details</h2>
|
1378
|
-
|
1379
|
-
|
1380
|
-
<ul>
|
1381
|
-
<li>Support for prototyping designs in Ruby, before they are implemented in Verilog, has been added.
|
1382
|
-
<ul>
|
1383
|
-
<li>The <em>same</em> specification can be used to verify both prototype <em>and</em> design! :-)</li>
|
1384
|
-
<li>The tutorial in the user manual has been updated to discuss prototyping.
|
1385
|
-
<ul>
|
1386
|
-
<li>Prototypes have been added to the counter example.</li>
|
1387
|
-
</ul></li>
|
1388
|
-
</ul></li>
|
1389
|
-
</ul>
|
1390
|
-
|
1391
|
-
|
1392
|
-
<ul>
|
1393
|
-
<li>The user manual has been revised for consistency.</li>
|
1394
|
-
</ul></description>
|
1395
|
-
<pubDate>Mon, 07 Aug 2006 00:00:00 PDT</pubDate>
|
1396
|
-
</item>
|
1397
|
-
<item>
|
1398
|
-
<title>Version 5.1.1 released</title>
|
1399
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a5.1.1</link>
|
1400
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a5.1.1</guid>
|
1401
|
-
<description><h1 id="5.1.1">Version 5.1.1 (2006-08-04)</h1>
|
1402
|
-
|
1403
|
-
<p>This release fixes unreadable syntax coloring in the user manual.</p>
|
1404
|
-
|
1405
|
-
|
1406
|
-
<h2>Thanks</h2>
|
1407
|
-
|
1408
|
-
|
1409
|
-
<ul>
|
1410
|
-
<li>Todd Nagengast and Matt Fischler notified me about unreadable text in the user manual.</li>
|
1411
|
-
</ul>
|
1412
|
-
|
1413
|
-
|
1414
|
-
<h2>Details</h2>
|
1415
|
-
|
1416
|
-
|
1417
|
-
<ul>
|
1418
|
-
<li>Source code comments in the user manual are now readable.</li>
|
1419
|
-
</ul>
|
1420
|
-
|
1421
|
-
|
1422
|
-
<ul>
|
1423
|
-
<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>
|
1424
|
-
</ul></description>
|
1425
|
-
<pubDate>Fri, 04 Aug 2006 00:00:00 PDT</pubDate>
|
1426
|
-
</item>
|
1427
|
-
<item>
|
1428
|
-
<title>Version 5.1.0 released</title>
|
1429
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a5.1.0</link>
|
1430
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a5.1.0</guid>
|
1431
|
-
<description><h1 id="5.1.0">Version 5.1.0 (2006-07-29)</h1>
|
1432
|
-
|
1433
|
-
<p>This release adds a tutorial to the user manual, and improves the tools and examples.</p>
|
1434
|
-
|
1435
|
-
|
1436
|
-
<h2>Thanks</h2>
|
1437
|
-
|
1438
|
-
|
1439
|
-
<ul>
|
1440
|
-
<li>Phil Tomson corrected the <span class="caps">URL</span> of the <span class="caps">RHDL</span> website in the user manual.</li>
|
1441
|
-
</ul>
|
1442
|
-
|
1443
|
-
|
1444
|
-
<h2>Details</h2>
|
1445
|
-
|
1446
|
-
|
1447
|
-
<h3>User manual</h3>
|
1448
|
-
|
1449
|
-
|
1450
|
-
<ul>
|
1451
|
-
<li>A tutorial, based on the counter example, has been added to the user manual.</li>
|
1452
|
-
</ul>
|
1453
|
-
|
1454
|
-
|
1455
|
-
<ul>
|
1456
|
-
<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>
|
1457
|
-
</ul>
|
1458
|
-
|
1459
|
-
|
1460
|
-
<h3>Examples</h3>
|
1461
|
-
|
1462
|
-
|
1463
|
-
<ul>
|
1464
|
-
<li>A specification, expressed in unit test format, has been added to the counter example.</li>
|
1465
|
-
</ul>
|
1466
|
-
|
1467
|
-
|
1468
|
-
<ul>
|
1469
|
-
<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>
|
1470
|
-
</ul>
|
1471
|
-
|
1472
|
-
|
1473
|
-
<ul>
|
1474
|
-
<li>Running <pre>rake clobber</pre> in an example directory no longer destroys documentation in the Ruby-VPI directory.</li>
|
1475
|
-
</ul>
|
1476
|
-
|
1477
|
-
|
1478
|
-
<ul>
|
1479
|
-
<li>The examples&#8217; Rakefiles now invoke all tests present in the directory via the <tt>launcher_template.rake</tt> template.</li>
|
1480
|
-
</ul>
|
1481
|
-
|
1482
|
-
|
1483
|
-
<ul>
|
1484
|
-
<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>
|
1485
|
-
</ul>
|
1486
|
-
|
1487
|
-
|
1488
|
-
<h3><span class="caps">VPI</span> utility layer</h3>
|
1489
|
-
|
1490
|
-
|
1491
|
-
<ul>
|
1492
|
-
<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>
|
1493
|
-
</ul></description>
|
1494
|
-
<pubDate>Sat, 29 Jul 2006 00:00:00 PDT</pubDate>
|
1495
|
-
</item>
|
1496
|
-
<item>
|
1497
|
-
<title>Version 5.0.0 released</title>
|
1498
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a5.0.0</link>
|
1499
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a5.0.0</guid>
|
1500
|
-
<description><h1 id="5.0.0">Version 5.0.0 (2006-07-22)</h1>
|
1501
|
-
|
1502
|
-
<p>This release enhances the <span class="caps">VPI</span> utility layer and adds new content to the user manual.</p>
|
1503
|
-
|
1504
|
-
|
1505
|
-
<h2>Thanks</h2>
|
1506
|
-
|
1507
|
-
|
1508
|
-
<ul>
|
1509
|
-
<li>Jan Decaluwe corrected the description of MyHDL in the user manual.</li>
|
1510
|
-
</ul>
|
13
|
+
<p>This release makes the Ruby-VPI testing framework more lightweight by reducing the number of files and parameters involved.</p>
|
1511
14
|
|
1512
15
|
|
1513
16
|
<h2>Caution</h2>
|
1514
17
|
|
1515
18
|
|
1516
19
|
<ul>
|
1517
|
-
<li>
|
1518
|
-
</ul>
|
1519
|
-
|
1520
|
-
|
1521
|
-
<ul>
|
1522
|
-
<li>The <code class="code">handle.value</code> and <code class="code">handle.value=</code> methods have been removed.</li>
|
20
|
+
<li>The <strong>generate_test.rb</strong> and <strong>convert.rb</strong> executables have been replaced by a single <strong>ruby-vpi</strong> executable to avoid name conflicts with other software. They are now accessed using the <pre>ruby-vpi generate</pre> and <pre>ruby-vpi convert</pre> commands respectively.</li>
|
1523
21
|
</ul>
|
1524
22
|
|
1525
23
|
|
1526
|
-
<h2>Details</h2>
|
1527
|
-
|
1528
|
-
|
1529
24
|
<ul>
|
1530
|
-
<li>The <
|
25
|
+
<li>The <tt>--name</tt> parameter has been removed from the automated test generator. Similarly, you can no longer insert an arbitrary name in a test&#8217;s file names (see the <a href="manual.html#Do_not_rename_generated_files">user manual</a> for details).</li>
|
1531
26
|
</ul>
|
1532
27
|
|
1533
28
|
|
1534
29
|
<ul>
|
1535
|
-
<li>
|
30
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">DEBUG</span></code> environment variable, which controls wether the test runner starts the interactive debugger, has been renamed to <code class="code"><span style="color:#036; font-weight:bold">DEBUGGER</span></code>.</li>
|
1536
31
|
</ul>
|
1537
32
|
|
1538
33
|
|
1539
34
|
<ul>
|
1540
|
-
<li>The
|
35
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_TARGET</span></code> and <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_INCLUDES</span></code> parameters have been eliminated from test runners. The former is detected automatically. As for the latter, you can specify paths to directories in the <code class="code"><span style="color:#036; font-weight:bold">SIMULATOR_SOURCES</span></code> parameter instead.</li>
|
1541
36
|
</ul>
|
1542
37
|
|
1543
38
|
|
1544
39
|
<ul>
|
1545
|
-
<li>
|
1546
|
-
<ul>
|
1547
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1548
|
-
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1549
|
-
</ul></li>
|
1550
|
-
</ul></description>
|
1551
|
-
<pubDate>Sat, 22 Jul 2006 00:00:00 PDT</pubDate>
|
1552
|
-
</item>
|
1553
|
-
<item>
|
1554
|
-
<title>Version 4.0.0 released</title>
|
1555
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a4.0.0</link>
|
1556
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a4.0.0</guid>
|
1557
|
-
<description><h1 id="4.0.0">Version 4.0.0 (2006-05-25)</h1>
|
1558
|
-
|
1559
|
-
<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>
|
1560
|
-
|
1561
|
-
|
1562
|
-
<h2>Thanks</h2>
|
1563
|
-
|
1564
|
-
|
1565
|
-
<ul>
|
1566
|
-
<li>Jose Renau solved the problem of strange delays that occurred whenever a design was reset.</li>
|
40
|
+
<li>The <tt>bench.rb</tt> and <tt>bench.v</tt> files of a generated test are (1) no longer generated by the test generator and (2) are now ignored. You must move the functionality provided by these files into <tt>design.rb</tt> and your Verilog module&#8217;s source file respectively.</li>
|
1567
41
|
</ul>
|
1568
42
|
|
1569
43
|
|
1570
|
-
<h2>Caution</h2>
|
1571
|
-
|
1572
|
-
|
1573
44
|
<ul>
|
1574
|
-
<li>
|
45
|
+
<li>The <tt>design.rb</tt> and <tt>proto.rb</tt> files are now loaded into a separate namespace (Ruby module). For example, if the Verilog module under test has the name &#8220;counter&#8221; and the <tt>design.rb</tt> file defines a class named &#8220;Foo&#8221;, then that class will be accessible as &#8220;Counter::Foo&#8221;.</li>
|
1575
46
|
</ul>
|
1576
47
|
|
1577
48
|
|
1578
49
|
<ul>
|
1579
|
-
<li>The
|
50
|
+
<li>The global <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::simulate</code> method has been replaced by the <code class="code">cycle!</code> method in the <tt>design.rb</tt> file.</li>
|
1580
51
|
</ul>
|
1581
52
|
|
1582
53
|
|
1583
|
-
<h2>Details</h2>
|
1584
|
-
|
1585
|
-
|
1586
54
|
<ul>
|
1587
|
-
<li>
|
55
|
+
<li>The <code class="code">simulate!</code> method in the <tt>proto.rb</tt> file has been renamed to <code class="code">feign!</code> for accuracy.</li>
|
1588
56
|
</ul>
|
1589
57
|
|
1590
58
|
|
1591
59
|
<ul>
|
1592
|
-
<li>
|
1593
|
-
<ul>
|
1594
|
-
<li>The counter example now makes use of RSpec.</li>
|
1595
|
-
</ul></li>
|
60
|
+
<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>
|
1596
61
|
</ul>
|
1597
62
|
|
1598
63
|
|
1599
64
|
<ul>
|
1600
|
-
<li>
|
1601
|
-
<ul>
|
1602
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1603
|
-
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1604
|
-
</ul></li>
|
1605
|
-
</ul></description>
|
1606
|
-
<pubDate>Thu, 25 May 2006 00:00:00 PDT</pubDate>
|
1607
|
-
</item>
|
1608
|
-
<item>
|
1609
|
-
<title>Version 3.2.0 released</title>
|
1610
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a3.2.0</link>
|
1611
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a3.2.0</guid>
|
1612
|
-
<description><h1 id="3.2.0">Version 3.2.0 (2006-05-13)</h1>
|
1613
|
-
|
1614
|
-
<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>
|
1615
|
-
|
1616
|
-
|
1617
|
-
<h2>Thanks</h2>
|
1618
|
-
|
1619
|
-
|
1620
|
-
<ul>
|
1621
|
-
<li>Scott L Holmes helped me <a href="http://article.gmane.org/gmane.comp.lang.ruby.general/150087">use the RSpec library without its runner</a> program.</li>
|
65
|
+
<li>RSpec &gt;= 1.0.0 is now required by Ruby-VPI.</li>
|
1622
66
|
</ul>
|
1623
67
|
|
1624
68
|
|
1625
|
-
<h2>Details</h2>
|
1626
|
-
|
1627
|
-
|
1628
69
|
<ul>
|
1629
|
-
<li>
|
70
|
+
<li>The <a href="readme.html#intro.license">project license</a> has been further simplified.</li>
|
1630
71
|
</ul>
|
1631
72
|
|
1632
73
|
|
1633
|
-
<
|
1634
|
-
<li>Ability to use RSpec in a test bench has been added.</li>
|
1635
|
-
</ul>
|
74
|
+
<h2>Repairs</h2>
|
1636
75
|
|
1637
76
|
|
1638
77
|
<ul>
|
1639
|
-
<li>
|
78
|
+
<li>Restored support for Enumerable methods in <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code>.</li>
|
1640
79
|
</ul>
|
1641
80
|
|
1642
81
|
|
1643
82
|
<ul>
|
1644
|
-
<li>
|
1645
|
-
<ul>
|
1646
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1647
|
-
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1648
|
-
</ul></li>
|
1649
|
-
</ul></description>
|
1650
|
-
<pubDate>Sat, 13 May 2006 00:00:00 PDT</pubDate>
|
1651
|
-
</item>
|
1652
|
-
<item>
|
1653
|
-
<title>Version 3.1.0 released</title>
|
1654
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a3.1.0</link>
|
1655
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a3.1.0</guid>
|
1656
|
-
<description><h1 id="3.1.0">Version 3.1.0 (2006-04-28)</h1>
|
1657
|
-
|
1658
|
-
<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>
|
1659
|
-
|
1660
|
-
|
1661
|
-
<h2>Caution</h2>
|
1662
|
-
|
1663
|
-
|
1664
|
-
<ul>
|
1665
|
-
<li>The <strong>msim</strong> Makefile target for Mentor Modelsim has been renamed back to <strong>vsim</strong>.</li>
|
83
|
+
<li>The specification now begins to execute at simulation time 0. Previously it began at simulation time 1.</li>
|
1666
84
|
</ul>
|
1667
85
|
|
1668
86
|
|
1669
|
-
<h2>
|
1670
|
-
|
1671
|
-
|
1672
|
-
<ul>
|
1673
|
-
<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>
|
1674
|
-
</ul>
|
87
|
+
<h2>Improvements</h2>
|
1675
88
|
|
1676
89
|
|
1677
90
|
<ul>
|
1678
|
-
<li>The
|
1679
|
-
</ul>
|
1680
|
-
|
91
|
+
<li>The <tt>bench.rb</tt> and <tt>bench.v</tt> files of a generated test have been eliminated!
|
1681
92
|
|
1682
|
-
<
|
1683
|
-
<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>
|
1684
|
-
</ul>
|
93
|
+
<p>One important benefit is that the Ruby interface to the Verilog module under test is now a direct reference, whereas previously it was an <em>indirect</em> reference (it pointed to the Verilog module defined in <tt>bench.v</tt>, which in turn wrapped around the actual Verilog module under test).</p>
|
1685
94
|
|
1686
95
|
|
1687
|
-
<
|
1688
|
-
<li>The project wiki has been abandoned in favor of RDoc.</li>
|
96
|
+
<p>As a result, you can now access the internals of the Verilog module under test by simply calling methods on the Ruby interface, as you would naturally expect to be the case.</p></li>
|
1689
97
|
</ul>
|
1690
98
|
|
1691
99
|
|
1692
100
|
<ul>
|
1693
|
-
<li>The
|
101
|
+
<li>The &#8220;a&#8221; accessor, which returns an <em>array</em> of child handles, has been added to <a href="manual.html#tbl:accessors">the method naming format</a> for accessing child handles.</li>
|
1694
102
|
</ul>
|
1695
103
|
|
1696
104
|
|
1697
105
|
<ul>
|
1698
|
-
<li>
|
1699
|
-
<ul>
|
1700
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1701
|
-
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1702
|
-
</ul></li>
|
1703
|
-
</ul></description>
|
1704
|
-
<pubDate>Fri, 28 Apr 2006 00:00:00 PDT</pubDate>
|
1705
|
-
</item>
|
1706
|
-
<item>
|
1707
|
-
<title>Version 3.0.0 released</title>
|
1708
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a3.0.0</link>
|
1709
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a3.0.0</guid>
|
1710
|
-
<description><h1 id="3.0.0">Version 3.0.0 (2006-04-23)</h1>
|
1711
|
-
|
1712
|
-
<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>
|
1713
|
-
|
1714
|
-
|
1715
|
-
<h2>Thanks</h2>
|
1716
|
-
|
1717
|
-
|
1718
|
-
<ul>
|
1719
|
-
<li>The <a href="http://www.swig.org/guilty.html"><span class="caps">SWIG</span> developers</a> made this project <em>much</em> easier! ;-)</li>
|
106
|
+
<li>All parameter objects in the Verilog module under test are automatically made available as constants. For example, if the Verilog module under test has the name <code class="code">counter</code> and has a parameter object named <code class="code"><span style="color:#036; font-weight:bold">WIDTH</span></code>, then you can access the integer value of that parameter using <code class="code"><span style="color:#036; font-weight:bold">Counter</span>::<span style="color:#036; font-weight:bold">WIDTH</span></code>.</li>
|
1720
107
|
</ul>
|
1721
108
|
|
1722
109
|
|
1723
|
-
<h2>Caution</h2>
|
1724
|
-
|
1725
|
-
|
1726
110
|
<ul>
|
1727
|
-
<li>The
|
111
|
+
<li>The automated test generator now tries to automatically detect the clock and reset signal from Verilog module declarations.</li>
|
1728
112
|
</ul>
|
1729
113
|
|
1730
114
|
|
1731
|
-
<h2>Details</h2>
|
1732
|
-
|
1733
|
-
|
1734
115
|
<ul>
|
1735
|
-
<li>The
|
1736
|
-
<ul>
|
1737
|
-
<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>
|
1738
|
-
<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>
|
1739
|
-
<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>
|
1740
|
-
</ul></li>
|
116
|
+
<li>The automated test generator now supports Verilog 95 style module declarations.</li>
|
1741
117
|
</ul>
|
1742
118
|
|
1743
119
|
|
1744
120
|
<ul>
|
1745
|
-
<li>
|
121
|
+
<li>Exceptions are now raised when you try to write to a read-only VPI property, such as <code class="code"><span style="color:#036; font-weight:bold">VpiName</span></code>.</li>
|
1746
122
|
</ul>
|
1747
123
|
|
1748
124
|
|
1749
125
|
<ul>
|
1750
|
-
<li>
|
126
|
+
<li>Added <code class="code">high?</code>, <code class="code">high!</code>, <code class="code">low?</code>, and <code class="code">low!</code> methods to the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span></code> class.</li>
|
1751
127
|
</ul>
|
1752
128
|
|
1753
129
|
|
1754
130
|
<ul>
|
1755
|
-
<li>
|
131
|
+
<li>Revised the user manual by removing unnecessary sections and adding newer material from my master&#8217;s thesis.</li>
|
1756
132
|
</ul>
|
1757
133
|
|
1758
134
|
|
1759
|
-
<
|
1760
|
-
<li>The makefiles for the examples have been simplified through the use of a common template.</li>
|
1761
|
-
</ul>
|
135
|
+
<h2>Contributions</h2>
|
1762
136
|
|
1763
137
|
|
1764
138
|
<ul>
|
1765
|
-
<li>
|
1766
|
-
<ul>
|
1767
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1768
|
-
<li>Ruby 1.8.4 and Mentor Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1769
|
-
</ul></li>
|
139
|
+
<li>Added Jacinto Shy II&#8217;s <a href="http://jacintoshy.blogspot.com/2007/05/hacking-verilog-with-ruby-part-2.html">register file example</a> to Ruby-VPI. It can be found in <tt>samp/register_file/</tt>.</li>
|
1770
140
|
</ul></description>
|
1771
|
-
<pubDate>Sun,
|
141
|
+
<pubDate>Sun, 22 Jul 2007 00:00:00 PDT</pubDate>
|
1772
142
|
</item>
|
1773
143
|
<item>
|
1774
|
-
<title>Version
|
1775
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#
|
1776
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#
|
1777
|
-
<description><h1 id="
|
144
|
+
<title>Version 16.0.1 released</title>
|
145
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.1</link>
|
146
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.1</guid>
|
147
|
+
<description><h1 id="16.0.1">Version 16.0.1 (2007-05-27)</h1>
|
1778
148
|
|
1779
|
-
<p>This release
|
149
|
+
<p>This release restores support for installation on Mac <span class="caps">OS X</span>.</p>
|
1780
150
|
|
1781
151
|
|
1782
152
|
<h2>Thanks</h2>
|
1783
153
|
|
1784
154
|
|
1785
155
|
<ul>
|
1786
|
-
<li>
|
1787
|
-
</ul>
|
1788
|
-
|
1789
|
-
|
1790
|
-
<h2>Caution</h2>
|
1791
|
-
|
1792
|
-
|
1793
|
-
<ul>
|
1794
|
-
<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>
|
1795
|
-
</ul>
|
1796
|
-
|
1797
|
-
|
1798
|
-
<h2>Details</h2>
|
1799
|
-
|
1800
|
-
|
1801
|
-
<ul>
|
1802
|
-
<li>The &#8220;cross-thread violation on rb_gc()&#8221; error has been fixed.
|
1803
|
-
<ul>
|
1804
|
-
<li>The &#8220;stack level too deep (SystemStackError)&#8221; error has been fixed.</li>
|
1805
|
-
<li>The test/unit library can be used in Ruby test bench.</li>
|
1806
|
-
<li>Mentor Modelsim Verilog simulator works with Ruby-VPI.</li>
|
1807
|
-
</ul></li>
|
156
|
+
<li>Mark Thompson <a href="http://rubyforge.org/tracker/index.php?func=detail&#38;aid=11125&#38;group_id=1339&#38;atid=5281">reported and solved</a> the problem.</li>
|
1808
157
|
</ul>
|
1809
158
|
|
1810
159
|
|
1811
|
-
<
|
1812
|
-
<li>Added piplelined <span class="caps">ALU</span> example.</li>
|
1813
|
-
</ul>
|
160
|
+
<h2>Repairs</h2>
|
1814
161
|
|
1815
162
|
|
1816
163
|
<ul>
|
1817
|
-
<li>
|
1818
|
-
<ul>
|
1819
|
-
<li>Ruby 1.8.4 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1820
|
-
<li>Ruby 1.8.4 and Modelsim 6.1d on x86_64 <span class="caps">GNU</span>/Linux</li>
|
1821
|
-
<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>
|
1822
|
-
</ul></li>
|
164
|
+
<li>Shared-object files have a file extension of <tt>.so</tt> in Linux and <tt>.bundle</tt> on Mac <span class="caps">OS X</span>. Previously, only the Linux file extension was supported.</li>
|
1823
165
|
</ul></description>
|
1824
|
-
<pubDate>
|
166
|
+
<pubDate>Sun, 27 May 2007 00:00:00 PDT</pubDate>
|
1825
167
|
</item>
|
1826
168
|
<item>
|
1827
|
-
<title>Version
|
1828
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#
|
1829
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#
|
1830
|
-
<description><h1 id="
|
169
|
+
<title>Version 16.0.0 released</title>
|
170
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.0</link>
|
171
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a16.0.0</guid>
|
172
|
+
<description><h1 id="16.0.0">Version 16.0.0 (2007-05-02)</h1>
|
1831
173
|
|
1832
|
-
This release adds
|
1833
|
-
<ul>
|
1834
|
-
<li>access Verilog objects through <span class="caps">VPI</span> handles</li>
|
1835
|
-
<li>read and change <span class="caps">VPI</span> handle values</li>
|
1836
|
-
<li>stop, finish, restart the simulation</li>
|
1837
|
-
</ul>
|
174
|
+
<p>This release adds support for the <a href="http://www.cadence.com/products/functional_ver/nc-verilog/">Cadence NC-Sim / NC-Verilog</a> simulator, improves the project website and documentation, simplifies interaction with VPI, and comes with a more permissive license.</p>
|
1838
175
|
|
1839
176
|
|
1840
|
-
<h2>
|
177
|
+
<h2>Caution</h2>
|
1841
178
|
|
1842
179
|
|
1843
180
|
<ul>
|
1844
|
-
<li>
|
1845
|
-
|
1846
|
-
|
181
|
+
<li>The <code class="code"><span style="color:#036; font-weight:bold">Integer</span>.ensure_min</code> and <code class="code"><span style="color:#036; font-weight:bold">Integer</span>.ensure_max</code> methods have been removed from the <tt>ruby-vpi/integer.rb</tt> library because Ruby already has idioms for these operations: <pre>
|
182
|
+
&gt;&gt; 5.ensure_min 10
|
183
|
+
=&gt; 10
|
184
|
+
&gt;&gt; [5, 10].max
|
185
|
+
=&gt; 10
|
1847
186
|
|
1848
|
-
|
1849
|
-
|
187
|
+
&gt;&gt; 5.ensure_max 10
|
188
|
+
=&gt; 5
|
189
|
+
&gt;&gt; [5, 10].min
|
190
|
+
=&gt; 5
|
191
|
+
</pre></li>
|
1850
192
|
</ul>
|
1851
193
|
|
1852
194
|
|
1853
|
-
<h2>Details</h2>
|
1854
|
-
|
1855
|
-
|
1856
|
-
<ul>
|
1857
|
-
<li>Implemented some Verilog <span class="caps">VPI</span> functionality:
|
1858
195
|
<ul>
|
1859
|
-
<li>
|
1860
|
-
<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>
|
1861
|
-
<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>
|
1862
|
-
<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>
|
1863
|
-
<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>
|
1864
|
-
<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>
|
1865
|
-
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::stop</code></li>
|
1866
|
-
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::finish</code></li>
|
1867
|
-
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::reset</code></li>
|
1868
|
-
</ul></li>
|
196
|
+
<li>Ruby-VPI is now developed under a <a href="readme.html#intro.license">more permissive license</a> that better reflects my ethical beliefs than <a href="http://www.gnu.org/copyleft/gpl.html">the previous license</a>.</li>
|
1869
197
|
</ul>
|
1870
198
|
|
1871
199
|
|
1872
|
-
<
|
1873
|
-
<li>Implemented some additional functionality:
|
1874
|
-
<ul>
|
1875
|
-
<li><code class="code"><span style="color:#036; font-weight:bold">VPI</span>::register_task(string, &amp;proc)</code></li>
|
1876
|
-
</ul></li>
|
1877
|
-
</ul>
|
200
|
+
<h2>New features</h2>
|
1878
201
|
|
1879
202
|
|
1880
203
|
<ul>
|
1881
|
-
<li>
|
204
|
+
<li>The <a href="http://www.cadence.com/products/functional_ver/nc-verilog/">Cadence NC-Sim / NC-Verilog</a> (ncsim) simulator is now supported.</li>
|
1882
205
|
</ul>
|
1883
206
|
|
1884
207
|
|
1885
208
|
<ul>
|
1886
|
-
<li>
|
209
|
+
<li>VPI structures (whose names begin with &#8220;S_&#8221;) now allow initialization of their members through their constructor, in the style of Ruby on Rails. For example, the expression <code class="code">time = <span style="color:#036; font-weight:bold">S_vpi_time</span>.new <span style="color:#A60">:type</span> =&gt; <span style="color:#036; font-weight:bold">VpiSuppressTime</span></code> is equivalent to: <pre class="code">
|
210
|
+
time = <span style="color:#036; font-weight:bold">S_vpi_time</span>.new
|
211
|
+
time.type = <span style="color:#036; font-weight:bold">VpiSuppressTime</span>
|
212
|
+
</pre></li>
|
1887
213
|
</ul>
|
1888
214
|
|
1889
215
|
|
1890
216
|
<ul>
|
1891
|
-
<li>Added <code class="code"><span style="color:#036; font-weight:bold">
|
217
|
+
<li>Added the <code class="code"><span style="color:#036; font-weight:bold">Vpi</span>::<span style="color:#036; font-weight:bold">Handle</span>.cbValueChange</code> method which simplifies the registration of a value-change callback for a particular VPI handle. For instance, the user manual&#8217;s <a href="manual.html#ex..callback">example of setting up a value-change callback</a> can now be written as follows: <pre class="code">
|
218
|
+
<span style="color:#036; font-weight:bold">Counter</span>.count.cbValueChange <span style="color:#080; font-weight:bold">do</span> |s_cb_data|
|
219
|
+
puts <span style="background-color:#fff0f0"><span style="color:#710">&quot;</span><span style="color:#D20">hello from callback! time=</span><span style="background: #eee"><span style="font-weight: bold; color: #888">#{</span>s_cb_data.time.to_i<span style="font-weight: bold; color: #888">}</span></span><span style="color:#D20"> count=</span><span style="background: #eee"><span style="font-weight: bold; color: #888">#{</span>s_cb_data.obj.intVal<span style="font-weight: bold; color: #888">}</span></span><span style="color:#710">&quot;</span></span>
|
220
|
+
<span style="color:#080; font-weight:bold">end</span>
|
221
|
+
</pre></li>
|
1892
222
|
</ul>
|
1893
223
|
|
1894
224
|
|
1895
|
-
<ul>
|
1896
|
-
<li>This release was tested and developed using:
|
1897
|
-
<ul>
|
1898
|
-
<li>Ruby 1.8.2 and Icarus Verilog 0.8 on i686 <span class="caps">GNU</span>/Linux</li>
|
1899
|
-
<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>
|
1900
|
-
</ul></li>
|
1901
|
-
</ul></description>
|
1902
|
-
<pubDate>Sun, 26 Feb 2006 00:00:00 PST</pubDate>
|
1903
|
-
</item>
|
1904
|
-
<item>
|
1905
|
-
<title>Version 0.0.0 released</title>
|
1906
|
-
<link>http://ruby-vpi.rubyforge.org/doc/history.html#a0.0.0</link>
|
1907
|
-
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#a0.0.0</guid>
|
1908
|
-
<description><h1 id="0.0.0">Version 0.0.0 (1999-10-31)</h1>
|
1909
|
-
|
1910
|
-
<p>This is Kazuhiro <span class="caps">HIWADA</span>&#8217;s initial testing release of Ruby-VPI. See its <a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/18193">original announcement</a> and <a href="http://rubyforge.org/frs/?group_id=1339&#38;release_id=8852">source code</a>.</p>
|
1911
|
-
|
1912
|
-
|
1913
225
|
<h2>Details</h2>
|
1914
226
|
|
1915
227
|
|
1916
228
|
<ul>
|
1917
|
-
<li>
|
229
|
+
<li>Revised the project website according to the <a href="http://producingoss.com">Producing OSS</a> guidelines.</li>
|
1918
230
|
</ul>
|
1919
231
|
|
1920
232
|
|
1921
233
|
<ul>
|
1922
|
-
<li>
|
234
|
+
<li>Added instructions for checking out source code and generating documentation.</li>
|
1923
235
|
</ul></description>
|
1924
|
-
<pubDate>
|
236
|
+
<pubDate>Wed, 02 May 2007 00:00:00 PDT</pubDate>
|
1925
237
|
</item>
|
1926
238
|
</channel>
|
1927
239
|
</rss>
|