ruby-vpi 12.0.0 → 12.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +16 -0
- data/doc/Rakefile +34 -8
- data/doc/common.css +8 -3
- data/doc/common.tpl +1 -0
- data/doc/{history.erb → history.doc} +0 -0
- data/doc/history.html +281 -277
- data/doc/history.rb +4 -1
- data/doc/history.yml +18 -1
- data/doc/images/feed-icon.LICENSE +2 -0
- data/doc/images/feed-icon.png +0 -0
- data/doc/images/feed-icon.svg +18 -0
- data/doc/intro.inc +1 -1
- data/doc/lib/doc_format.rb +44 -10
- data/doc/lib/doc_proxy.rb +18 -17
- data/doc/{manual.erb → manual.doc} +3 -3
- data/doc/manual.html +35 -105
- data/doc/{memo.erb → memo.doc} +2 -2
- data/doc/memo.html +22 -49
- data/doc/{readme.erb → readme.doc} +2 -0
- data/doc/readme.html +5 -5
- data/doc/rss.erb +30 -0
- data/doc/rss.xml +209 -0
- data/lib/ruby-vpi.rb +16 -15
- data/ref/c/annotated.html +6 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +3 -1
- data/ref/c/functions.html +44 -24
- data/ref/c/functions_vars.html +44 -24
- data/ref/c/globals.html +211 -5
- data/ref/c/globals_0x62.html +62 -0
- data/ref/c/globals_0x63.html +49 -32
- data/ref/c/globals_0x65.html +10 -3
- data/ref/c/globals_0x66.html +20 -3
- data/ref/c/globals_0x67.html +64 -0
- data/ref/c/globals_0x69.html +62 -0
- data/ref/c/globals_0x6c.html +64 -0
- data/ref/c/globals_0x6d.html +62 -0
- data/ref/c/globals_0x6e.html +63 -0
- data/ref/c/globals_0x70.html +26 -19
- data/ref/c/globals_0x72.html +15 -4
- data/ref/c/globals_0x73.html +199 -13
- data/ref/c/globals_0x74.html +9 -2
- data/ref/c/globals_0x75.html +63 -0
- data/ref/c/globals_0x76.html +426 -415
- data/ref/c/globals_0x78.html +10 -3
- data/ref/c/globals_defs.html +35 -30
- data/ref/c/globals_defs_0x65.html +7 -2
- data/ref/c/globals_defs_0x6c.html +57 -0
- data/ref/c/globals_defs_0x6e.html +56 -0
- data/ref/c/globals_defs_0x70.html +8 -3
- data/ref/c/globals_defs_0x72.html +57 -0
- data/ref/c/globals_defs_0x73.html +164 -0
- data/ref/c/globals_defs_0x75.html +56 -0
- data/ref/c/globals_defs_0x76.html +420 -413
- data/ref/c/globals_defs_0x78.html +7 -2
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +173 -14
- data/ref/c/globals_func_0x66.html +62 -0
- data/ref/c/globals_func_0x67.html +55 -0
- data/ref/c/globals_func_0x69.html +53 -0
- data/ref/c/globals_func_0x70.html +53 -0
- data/ref/c/globals_func_0x72.html +57 -0
- data/ref/c/globals_func_0x73.html +114 -0
- data/ref/c/globals_func_0x76.html +57 -0
- data/ref/c/globals_type.html +29 -26
- data/ref/c/globals_vars.html +88 -4
- data/ref/c/index.html +1 -1
- data/ref/c/relay_8c.html +1 -1
- data/ref/c/relay_8h.html +1 -1
- data/ref/c/structrelay____RubyOptions____def.html +1 -1
- data/ref/c/structswig__cast__info.html +98 -0
- data/ref/c/structswig__class.html +115 -0
- data/ref/c/structswig__module__info.html +132 -0
- data/ref/c/structswig__type__info.html +132 -0
- data/ref/c/structt__cb__data.html +23 -6
- data/ref/c/structt__vpi__delay.html +20 -3
- data/ref/c/structt__vpi__error__info.html +71 -3
- data/ref/c/structt__vpi__strengthval.html +3 -3
- data/ref/c/structt__vpi__systf__data.html +46 -12
- data/ref/c/structt__vpi__time.html +3 -3
- data/ref/c/structt__vpi__value.html +113 -3
- data/ref/c/structt__vpi__vecval.html +3 -3
- data/ref/c/structt__vpi__vlog__info.html +54 -3
- data/ref/c/swig_8c.html +2 -2
- data/ref/c/swig_8h.html +1 -1
- data/ref/c/swig__vpi_8h.html +8739 -0
- data/ref/c/swig__wrap_8cin.html +11556 -0
- data/ref/c/unions__vpi__value__value.html +166 -0
- 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 +16 -16
- data/ref/ruby/classes/RubyVpi.src/M000085.html +27 -27
- data/ref/ruby/classes/RubyVpi/Config.html +6 -1
- data/ref/ruby/classes/String.html +19 -19
- data/ref/ruby/classes/String.src/M000033.html +23 -28
- data/ref/ruby/classes/String.src/M000034.html +28 -5
- data/ref/ruby/classes/String.src/M000035.html +5 -23
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_test_rb.html +1 -1
- data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
- 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/rspec_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -2
- data/ref/ruby/fr_method_index.html +3 -3
- data/ref/ruby/index.html +2 -2
- metadata +116 -86
data/doc/{memo.erb → memo.doc}
RENAMED
@@ -11,8 +11,6 @@ h1. Pending tasks
|
|
11
11
|
|
12
12
|
* add instructions for using *ruby-debug* with a graphical debugging tool or IDE like RadRails
|
13
13
|
|
14
|
-
* make RCov correctly profile the code and report useful coverage metrics...
|
15
|
-
|
16
14
|
|
17
15
|
h1. Finished tasks
|
18
16
|
|
@@ -38,6 +36,8 @@ h1. Finished tasks
|
|
38
36
|
* define handled methods in Vpi::method_missing for faster response
|
39
37
|
** this has been verified as bottleneck from profiling data
|
40
38
|
|
39
|
+
* make RCov correctly profile the code and report useful coverage metrics...
|
40
|
+
|
41
41
|
|
42
42
|
h1. Obsolete tasks
|
43
43
|
|
data/doc/memo.html
CHANGED
@@ -1,56 +1,29 @@
|
|
1
|
-
|
2
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
2
|
<html>
|
4
3
|
<head>
|
5
4
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
6
5
|
<link rel="stylesheet" type="text/css" href="common.css" />
|
6
|
+
<link rel="alternate" type="application/rss+xml" href="http://ruby-vpi.rubyforge.org/doc/rss.xml" title="RSS feed for this project." />
|
7
7
|
<title>Pending tasks</title>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
|
-
|
11
|
-
<div id="navigation">
|
10
|
+
<div id="navigation">
|
12
11
|
<p><a href="readme.html"><img src="images/home.png" title="project home" alt="project home" /></a></p>
|
13
12
|
|
14
13
|
<h1>Contents</h1>
|
15
14
|
<ul>
|
16
|
-
<li><a href="#
|
17
|
-
<li><a href="#
|
18
|
-
<li><a href="#
|
19
|
-
<li><a href="#
|
20
|
-
</ul>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<h1>Formals</h1>
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<h1 id="anchor0">Pending tasks</h1>
|
15
|
+
<li><a href="#anchor1">Pending tasks</a></li>
|
16
|
+
<li><a href="#anchor2">Finished tasks</a></li>
|
17
|
+
<li><a href="#anchor3">Obsolete tasks</a></li>
|
18
|
+
<li><a href="#anchor4">Notes</a></li>
|
19
|
+
</ul>
|
20
|
+
|
21
|
+
<h1>Admonitions</h1>
|
22
|
+
|
23
|
+
<h1>Formals</h1>
|
24
|
+
|
25
|
+
</div>
|
26
|
+
<h1 id="anchor1">Pending tasks</h1>
|
54
27
|
|
55
28
|
|
56
29
|
<ul>
|
@@ -80,12 +53,7 @@
|
|
80
53
|
</ul>
|
81
54
|
|
82
55
|
|
83
|
-
<
|
84
|
-
<li>make RCov correctly profile the code and report useful coverage metrics…</li>
|
85
|
-
</ul>
|
86
|
-
|
87
|
-
|
88
|
-
<h1 id="anchor1">Finished tasks</h1>
|
56
|
+
<h1 id="anchor2">Finished tasks</h1>
|
89
57
|
|
90
58
|
|
91
59
|
<ul>
|
@@ -143,7 +111,12 @@
|
|
143
111
|
</ul>
|
144
112
|
|
145
113
|
|
146
|
-
<
|
114
|
+
<ul>
|
115
|
+
<li>make RCov correctly profile the code and report useful coverage metrics…</li>
|
116
|
+
</ul>
|
117
|
+
|
118
|
+
|
119
|
+
<h1 id="anchor3">Obsolete tasks</h1>
|
147
120
|
|
148
121
|
|
149
122
|
<ul>
|
@@ -159,7 +132,7 @@
|
|
159
132
|
</ul>
|
160
133
|
|
161
134
|
|
162
|
-
<h1 id="
|
135
|
+
<h1 id="anchor4">Notes</h1>
|
163
136
|
|
164
137
|
|
165
138
|
<ul>
|
data/doc/readme.html
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
|
2
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
2
|
<html>
|
4
3
|
<head>
|
5
4
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
6
5
|
<link rel="stylesheet" type="text/css" href="common.css" />
|
6
|
+
<link rel="alternate" type="application/rss+xml" href="http://ruby-vpi.rubyforge.org/doc/rss.xml" title="RSS feed for this project." />
|
7
7
|
<title>Welcome to Ruby-VPI</title>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
|
-
|
11
|
-
<div id="navigation">
|
10
|
+
<div id="navigation">
|
12
11
|
|
13
12
|
<ul>
|
14
13
|
<li><a href="manual.html#usage.tutorial">Tutorial</a>
|
@@ -66,7 +65,8 @@
|
|
66
65
|
|
67
66
|
</div>
|
68
67
|
|
69
|
-
<h1 id="
|
68
|
+
<h1 id="anchor104">Welcome to Ruby-VPI
|
69
|
+
<a type="application/rss+xml" href="http://ruby-vpi.rubyforge.org/doc/rss.xml"><img src="images/feed-icon.png" title="RSS feed for this project." alt="RSS feed for this project." /></a></h1>
|
70
70
|
|
71
71
|
|
72
72
|
<blockquote>
|
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
|
80
80
|
<ul>
|
81
|
-
<li>Supports the <em>entire</em>
|
81
|
+
<li>Supports 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 standard.</li>
|
82
82
|
</ul>
|
83
83
|
|
84
84
|
|
data/doc/rss.erb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<%
|
2
|
+
# note: this file depends on constants defined in Rakefile
|
3
|
+
|
4
|
+
require 'history'
|
5
|
+
require 'date'
|
6
|
+
require 'time'
|
7
|
+
%>
|
8
|
+
<?xml version="1.0" encoding="utf-8"?>
|
9
|
+
<rss version="2.0">
|
10
|
+
<channel>
|
11
|
+
<title><%= PROJECT_NAME %></title>
|
12
|
+
<link><%= PROJECT_URL %></link>
|
13
|
+
<description><%= PROJECT_DETAIL %></description>
|
14
|
+
<%
|
15
|
+
@history.each do |entry|
|
16
|
+
link = HISTORY_URL + '#' + entry['Version']
|
17
|
+
|
18
|
+
stamp = Time.parse entry['Date'].to_s
|
19
|
+
rfc822 = stamp.strftime "%a, %d %b %Y 00:00:00 %Z"
|
20
|
+
%>
|
21
|
+
<item>
|
22
|
+
<title>Version <%= entry['Version'] %> released</title>
|
23
|
+
<link><%= link %></link>
|
24
|
+
<guid><%= link %></guid>
|
25
|
+
<description><%=ERB::Util.h entry['Summary'].redcloth %></description>
|
26
|
+
<pubDate><%= rfc822 %></pubDate>
|
27
|
+
</item>
|
28
|
+
<% end %>
|
29
|
+
</channel>
|
30
|
+
</rss>
|
data/doc/rss.xml
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<rss version="2.0">
|
3
|
+
<channel>
|
4
|
+
<title>Ruby-VPI</title>
|
5
|
+
<link>http://ruby-vpi.rubyforge.org</link>
|
6
|
+
<description>Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby.</description>
|
7
|
+
<item>
|
8
|
+
<title>Version 12.0.1 released</title>
|
9
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.1</link>
|
10
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.1</guid>
|
11
|
+
<description><p>This release fixes a problem in code coverage analysis.</p></description>
|
12
|
+
<pubDate>Mon, 18 Dec 2006 00:00:00 PST</pubDate>
|
13
|
+
</item>
|
14
|
+
<item>
|
15
|
+
<title>Version 12.0.0 released</title>
|
16
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.0</link>
|
17
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#12.0.0</guid>
|
18
|
+
<description><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></description>
|
19
|
+
<pubDate>Thu, 07 Dec 2006 00:00:00 PST</pubDate>
|
20
|
+
</item>
|
21
|
+
<item>
|
22
|
+
<title>Version 11.1.1 released</title>
|
23
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.1</link>
|
24
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.1</guid>
|
25
|
+
<description><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></description>
|
26
|
+
<pubDate>Wed, 15 Nov 2006 00:00:00 PST</pubDate>
|
27
|
+
</item>
|
28
|
+
<item>
|
29
|
+
<title>Version 11.1.0 released</title>
|
30
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.0</link>
|
31
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.1.0</guid>
|
32
|
+
<description><p>This release fixes a bug in generated benches, improves the <a href="../ref/ruby/classes/Vpi/Handle.html">the <code>Vpi::Handle</code> class</a>, and improves performance by roughly 20%.</p></description>
|
33
|
+
<pubDate>Wed, 08 Nov 2006 00:00:00 PST</pubDate>
|
34
|
+
</item>
|
35
|
+
<item>
|
36
|
+
<title>Version 11.0.0 released</title>
|
37
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#11.0.0</link>
|
38
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#11.0.0</guid>
|
39
|
+
<description><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></description>
|
40
|
+
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
41
|
+
</item>
|
42
|
+
<item>
|
43
|
+
<title>Version 10.0.0 released</title>
|
44
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#10.0.0</link>
|
45
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#10.0.0</guid>
|
46
|
+
<description><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></description>
|
47
|
+
<pubDate>Sun, 05 Nov 2006 00:00:00 PST</pubDate>
|
48
|
+
</item>
|
49
|
+
<item>
|
50
|
+
<title>Version 9.0.0 released</title>
|
51
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#9.0.0</link>
|
52
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#9.0.0</guid>
|
53
|
+
<description><p>This release improves the automated test generator and adds new content to the user manual.</p></description>
|
54
|
+
<pubDate>Sat, 28 Oct 2006 00:00:00 PDT</pubDate>
|
55
|
+
</item>
|
56
|
+
<item>
|
57
|
+
<title>Version 8.2.0 released</title>
|
58
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.2.0</link>
|
59
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.2.0</guid>
|
60
|
+
<description><p>This release simplifies configuration of generated tests.</p></description>
|
61
|
+
<pubDate>Tue, 24 Oct 2006 00:00:00 PDT</pubDate>
|
62
|
+
</item>
|
63
|
+
<item>
|
64
|
+
<title>Version 8.1.0 released</title>
|
65
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.1.0</link>
|
66
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.1.0</guid>
|
67
|
+
<description><p>This release adds an integer library and renames the vpi_util library.</p></description>
|
68
|
+
<pubDate>Sat, 21 Oct 2006 00:00:00 PDT</pubDate>
|
69
|
+
</item>
|
70
|
+
<item>
|
71
|
+
<title>Version 8.0.0 released</title>
|
72
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#8.0.0</link>
|
73
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#8.0.0</guid>
|
74
|
+
<description><p>This release renames some identifiers for consistency, updates the documentation, and improves integration with RubyGems.</p></description>
|
75
|
+
<pubDate>Fri, 13 Oct 2006 00:00:00 PDT</pubDate>
|
76
|
+
</item>
|
77
|
+
<item>
|
78
|
+
<title>Version 7.3.0 released</title>
|
79
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.3.0</link>
|
80
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.3.0</guid>
|
81
|
+
<description><p>This release fixes a bug in generated Verilog benches, includes parsed constants in generated tests, and adds new methods to handles.</p></description>
|
82
|
+
<pubDate>Sat, 30 Sep 2006 00:00:00 PDT</pubDate>
|
83
|
+
</item>
|
84
|
+
<item>
|
85
|
+
<title>Version 7.2.0 released</title>
|
86
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.2.0</link>
|
87
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.2.0</guid>
|
88
|
+
<description><p>This release adds initial support for code coverage analysis via the <a href="http://eigenclass.org/hiki.rb?rcov">rcov library</a>.</p></description>
|
89
|
+
<pubDate>Fri, 15 Sep 2006 00:00:00 PDT</pubDate>
|
90
|
+
</item>
|
91
|
+
<item>
|
92
|
+
<title>Version 7.1.0 released</title>
|
93
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.1.0</link>
|
94
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.1.0</guid>
|
95
|
+
<description><p>This release simplifies running of multiple tests, restores compatibility with Synopsys <span class="caps">VCS</span>, and better integrates with RubyGems.</p></description>
|
96
|
+
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
97
|
+
</item>
|
98
|
+
<item>
|
99
|
+
<title>Version 7.0.0 released</title>
|
100
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#7.0.0</link>
|
101
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#7.0.0</guid>
|
102
|
+
<description><p>This release distributes Ruby-VPI as a gem, improves portability of generated tests, and fixes a bug.</p></description>
|
103
|
+
<pubDate>Tue, 29 Aug 2006 00:00:00 PDT</pubDate>
|
104
|
+
</item>
|
105
|
+
<item>
|
106
|
+
<title>Version 6.3.0 released</title>
|
107
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.3.0</link>
|
108
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.3.0</guid>
|
109
|
+
<description><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></description>
|
110
|
+
<pubDate>Sun, 27 Aug 2006 00:00:00 PDT</pubDate>
|
111
|
+
</item>
|
112
|
+
<item>
|
113
|
+
<title>Version 6.2.0 released</title>
|
114
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.2.0</link>
|
115
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.2.0</guid>
|
116
|
+
<description><p>This release beautifies generated tests, adds checks to find signal width bugs, and includes a new tool.</p></description>
|
117
|
+
<pubDate>Sat, 26 Aug 2006 00:00:00 PDT</pubDate>
|
118
|
+
</item>
|
119
|
+
<item>
|
120
|
+
<title>Version 6.1.0 released</title>
|
121
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.1.0</link>
|
122
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.1.0</guid>
|
123
|
+
<description><p>This release simplifies generated tests and fixes a bug.</p></description>
|
124
|
+
<pubDate>Wed, 09 Aug 2006 00:00:00 PDT</pubDate>
|
125
|
+
</item>
|
126
|
+
<item>
|
127
|
+
<title>Version 6.0.0 released</title>
|
128
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#6.0.0</link>
|
129
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#6.0.0</guid>
|
130
|
+
<description><p>This release adds support and documentation for rapid prototyping of Verilog designs in Ruby.</p></description>
|
131
|
+
<pubDate>Mon, 07 Aug 2006 00:00:00 PDT</pubDate>
|
132
|
+
</item>
|
133
|
+
<item>
|
134
|
+
<title>Version 5.1.1 released</title>
|
135
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.1</link>
|
136
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.1</guid>
|
137
|
+
<description><p>This release fixes unreadable syntax coloring in the user manual.</p></description>
|
138
|
+
<pubDate>Fri, 04 Aug 2006 00:00:00 PDT</pubDate>
|
139
|
+
</item>
|
140
|
+
<item>
|
141
|
+
<title>Version 5.1.0 released</title>
|
142
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.0</link>
|
143
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.1.0</guid>
|
144
|
+
<description><p>This release adds a tutorial to the user manual, and improves the tools and examples.</p></description>
|
145
|
+
<pubDate>Sat, 29 Jul 2006 00:00:00 PDT</pubDate>
|
146
|
+
</item>
|
147
|
+
<item>
|
148
|
+
<title>Version 5.0.0 released</title>
|
149
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#5.0.0</link>
|
150
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#5.0.0</guid>
|
151
|
+
<description><p>This release enhances the <span class="caps">VPI</span> utility layer and adds new content to the user manual.</p></description>
|
152
|
+
<pubDate>Sat, 22 Jul 2006 00:00:00 PDT</pubDate>
|
153
|
+
</item>
|
154
|
+
<item>
|
155
|
+
<title>Version 4.0.0 released</title>
|
156
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#4.0.0</link>
|
157
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#4.0.0</guid>
|
158
|
+
<description><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></description>
|
159
|
+
<pubDate>Thu, 25 May 2006 00:00:00 PDT</pubDate>
|
160
|
+
</item>
|
161
|
+
<item>
|
162
|
+
<title>Version 3.2.0 released</title>
|
163
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.2.0</link>
|
164
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.2.0</guid>
|
165
|
+
<description><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></description>
|
166
|
+
<pubDate>Sat, 13 May 2006 00:00:00 PDT</pubDate>
|
167
|
+
</item>
|
168
|
+
<item>
|
169
|
+
<title>Version 3.1.0 released</title>
|
170
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.1.0</link>
|
171
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.1.0</guid>
|
172
|
+
<description><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></description>
|
173
|
+
<pubDate>Fri, 28 Apr 2006 00:00:00 PDT</pubDate>
|
174
|
+
</item>
|
175
|
+
<item>
|
176
|
+
<title>Version 3.0.0 released</title>
|
177
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#3.0.0</link>
|
178
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#3.0.0</guid>
|
179
|
+
<description><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></description>
|
180
|
+
<pubDate>Sun, 23 Apr 2006 00:00:00 PDT</pubDate>
|
181
|
+
</item>
|
182
|
+
<item>
|
183
|
+
<title>Version 2.0.0 released</title>
|
184
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#2.0.0</link>
|
185
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#2.0.0</guid>
|
186
|
+
<description><p>This release fixes major bugs, adds support for Mentor Modelsim, and removes the <code>$ruby_task</code> callback.</p></description>
|
187
|
+
<pubDate>Mon, 17 Apr 2006 00:00:00 PDT</pubDate>
|
188
|
+
</item>
|
189
|
+
<item>
|
190
|
+
<title>Version 1.0.0 released</title>
|
191
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#1.0.0</link>
|
192
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#1.0.0</guid>
|
193
|
+
<description>This release adds enough Verilog <span class="caps">VPI</span> functionality to make Ruby-VPI usable for simple test benches:
|
194
|
+
<ul>
|
195
|
+
<li>access Verilog objects through <span class="caps">VPI</span> handles</li>
|
196
|
+
<li>read and change <span class="caps">VPI</span> handle values</li>
|
197
|
+
<li>stop, finish, restart the simulation</li>
|
198
|
+
</ul></description>
|
199
|
+
<pubDate>Sun, 26 Feb 2006 00:00:00 PST</pubDate>
|
200
|
+
</item>
|
201
|
+
<item>
|
202
|
+
<title>Version 0.0.0 released</title>
|
203
|
+
<link>http://ruby-vpi.rubyforge.org/doc/history.html#0.0.0</link>
|
204
|
+
<guid>http://ruby-vpi.rubyforge.org/doc/history.html#0.0.0</guid>
|
205
|
+
<description><p>This is Kazuhiro <span class="caps">HIWADA</span>&#8217;s initial testing release of Ruby-VPI. See its <a href="http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-list/18193">original announcement</a> and <a href="http://easter.kuee.kyoto-u.ac.jp/~hiwada/ruby/memo/src/ruby-vpi-test.tgz">source code</a>.</p></description>
|
206
|
+
<pubDate>Sun, 31 Oct 1999 00:00:00 PDT</pubDate>
|
207
|
+
</item>
|
208
|
+
</channel>
|
209
|
+
</rss>
|
data/lib/ruby-vpi.rb
CHANGED
@@ -40,20 +40,6 @@ module RubyVpi
|
|
40
40
|
include Vpi
|
41
41
|
end
|
42
42
|
|
43
|
-
# set up the specification library
|
44
|
-
case aSpecFormat
|
45
|
-
when :xUnit
|
46
|
-
require 'test/unit'
|
47
|
-
|
48
|
-
when :rSpec
|
49
|
-
ARGV.concat %w[-f s]
|
50
|
-
require 'ruby-vpi/rspec'
|
51
|
-
|
52
|
-
when :tSpec
|
53
|
-
ARGV << '-rs'
|
54
|
-
require 'test/spec'
|
55
|
-
end
|
56
|
-
|
57
43
|
# service the $ruby_init() task
|
58
44
|
relay_verilog
|
59
45
|
|
@@ -69,6 +55,20 @@ module RubyVpi
|
|
69
55
|
end
|
70
56
|
end
|
71
57
|
|
58
|
+
# set up the specification library
|
59
|
+
case aSpecFormat
|
60
|
+
when :xUnit
|
61
|
+
require 'test/unit'
|
62
|
+
|
63
|
+
when :rSpec
|
64
|
+
ARGV.concat %w[-f s]
|
65
|
+
require 'ruby-vpi/rspec'
|
66
|
+
|
67
|
+
when :tSpec
|
68
|
+
ARGV << '-rs'
|
69
|
+
require 'test/spec'
|
70
|
+
end
|
71
|
+
|
72
72
|
# load the design under test
|
73
73
|
unless design = vpi_handle_by_name("#{testName}_bench", nil)
|
74
74
|
raise "Verilog bench for test #{testName.inspect} is inaccessible."
|
@@ -99,7 +99,8 @@ module RubyVpi
|
|
99
99
|
PROJECT_ID = 'ruby-vpi'
|
100
100
|
PROJECT_NAME = 'Ruby-VPI'
|
101
101
|
PROJECT_URL = "http://#{PROJECT_ID}.rubyforge.org"
|
102
|
-
|
102
|
+
WEBSITE_URL = PROJECT_URL + "/doc"
|
103
|
+
PROJECT_SUMMARY = "Ruby interface to IEEE 1364-2005 Verilog VPI"
|
103
104
|
PROJECT_DETAIL = "#{PROJECT_NAME} is a #{PROJECT_SUMMARY}. It lets you create complex Verilog test benches easily and wholly in Ruby."
|
104
105
|
|
105
106
|
Simulator = Struct.new(:id, :name, :compiler_args, :linker_args)
|