ruby-vpi 15.0.0 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/Rakefile +2 -2
  2. data/doc/common.css +10 -18
  3. data/doc/common.tpl +28 -15
  4. data/doc/history.doc +4 -6
  5. data/doc/history.html +327 -286
  6. data/doc/history.yml +19 -0
  7. data/doc/intro.inc +47 -2
  8. data/doc/lib/doc_proxy.rb +16 -0
  9. data/doc/lib/erb_proxy.rb +5 -0
  10. data/doc/manual.doc +35 -26
  11. data/doc/manual.html +152 -100
  12. data/doc/memo.doc +16 -10
  13. data/doc/memo.html +29 -18
  14. data/doc/print.css +10 -0
  15. data/doc/readme.doc +2 -43
  16. data/doc/readme.html +42 -49
  17. data/doc/rss.xml +37 -0
  18. data/ext/Rakefile +10 -1
  19. data/ext/swig_vpi.h +924 -0
  20. data/ext/swig_vpi.i +2 -3
  21. data/ext/swig_wrap.cin +20 -37
  22. data/ref/c/annotated.html +1 -1
  23. data/ref/c/common_8h.html +1 -1
  24. data/ref/c/files.html +2 -1
  25. data/ref/c/functions.html +17 -17
  26. data/ref/c/functions_vars.html +17 -17
  27. data/ref/c/globals.html +3 -5
  28. data/ref/c/globals_0x62.html +1 -1
  29. data/ref/c/globals_0x63.html +30 -30
  30. data/ref/c/globals_0x65.html +2 -2
  31. data/ref/c/globals_0x66.html +1 -1
  32. data/ref/c/globals_0x67.html +1 -1
  33. data/ref/c/globals_0x69.html +1 -1
  34. data/ref/c/globals_0x6c.html +1 -1
  35. data/ref/c/globals_0x6d.html +1 -1
  36. data/ref/c/globals_0x6e.html +1 -1
  37. data/ref/c/globals_0x70.html +18 -18
  38. data/ref/c/globals_0x72.html +1 -1
  39. data/ref/c/globals_0x73.html +12 -13
  40. data/ref/c/globals_0x74.html +1 -1
  41. data/ref/c/globals_0x75.html +1 -1
  42. data/ref/c/globals_0x76.html +413 -413
  43. data/ref/c/globals_0x78.html +2 -2
  44. data/ref/c/globals_defs.html +30 -30
  45. data/ref/c/globals_defs_0x65.html +2 -2
  46. data/ref/c/globals_defs_0x6c.html +1 -1
  47. data/ref/c/globals_defs_0x6e.html +1 -1
  48. data/ref/c/globals_defs_0x70.html +3 -3
  49. data/ref/c/globals_defs_0x72.html +1 -1
  50. data/ref/c/globals_defs_0x73.html +2 -3
  51. data/ref/c/globals_defs_0x75.html +1 -1
  52. data/ref/c/globals_defs_0x76.html +411 -411
  53. data/ref/c/globals_defs_0x78.html +2 -2
  54. data/ref/c/globals_enum.html +1 -1
  55. data/ref/c/globals_eval.html +1 -1
  56. data/ref/c/globals_func.html +1 -1
  57. data/ref/c/globals_func_0x66.html +1 -1
  58. data/ref/c/globals_func_0x67.html +1 -1
  59. data/ref/c/globals_func_0x69.html +1 -1
  60. data/ref/c/globals_func_0x6d.html +1 -1
  61. data/ref/c/globals_func_0x70.html +2 -2
  62. data/ref/c/globals_func_0x72.html +1 -1
  63. data/ref/c/globals_func_0x73.html +1 -1
  64. data/ref/c/globals_func_0x76.html +1 -1
  65. data/ref/c/globals_type.html +26 -26
  66. data/ref/c/globals_vars.html +5 -7
  67. data/ref/c/index.html +1 -1
  68. data/ref/c/main_8c.html +1 -1
  69. data/ref/c/main_8h.html +1 -1
  70. data/ref/c/relay_8c.html +1 -1
  71. data/ref/c/relay_8h.html +1 -1
  72. data/ref/c/structswig__cast__info.html +1 -1
  73. data/ref/c/structswig__class.html +1 -1
  74. data/ref/c/structswig__module__info.html +1 -1
  75. data/ref/c/structswig__type__info.html +1 -1
  76. data/ref/c/structt__cb__data.html +23 -6
  77. data/ref/c/structt__vpi__delay.html +20 -3
  78. data/ref/c/structt__vpi__error__info.html +71 -3
  79. data/ref/c/structt__vpi__strengthval.html +3 -3
  80. data/ref/c/structt__vpi__systf__data.html +46 -12
  81. data/ref/c/structt__vpi__time.html +3 -3
  82. data/ref/c/structt__vpi__value.html +113 -3
  83. data/ref/c/structt__vpi__vecval.html +3 -3
  84. data/ref/c/structt__vpi__vlog__info.html +54 -3
  85. data/ref/c/swig__vpi_8h.html +8739 -0
  86. data/ref/c/swig__wrap_8cin.html +49 -102
  87. data/ref/c/unions__vpi__value__value.html +1 -1
  88. data/ref/c/verilog_8h.html +1 -1
  89. data/ref/c/vlog_8c.html +1 -1
  90. data/ref/c/vlog_8h.html +1 -1
  91. data/ref/c/vpi__user_8h.html +16 -16
  92. data/ref/ruby/created.rid +1 -1
  93. metadata +5 -2
data/doc/readme.html CHANGED
@@ -2,88 +2,81 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5
- <link rel="stylesheet" type="text/css" href="common.css" />
5
+ <link rel="stylesheet" type="text/css" href="common.css" media="screen" />
6
+ <link rel="stylesheet" type="text/css" href="print.css" media="print" />
6
7
  <link rel="alternate" type="application/rss+xml" href="http://ruby-vpi.rubyforge.org/doc/rss.xml" title="RSS feed for this project." />
7
8
  <title>Welcome to Ruby-VPI</title>
8
9
  </head>
9
10
  <body>
10
- <div id="navigation">
11
11
 
12
- <p><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></p>
12
+ <h1 style="margin-top: 0;" id="anchor130">1 &nbsp; Welcome to Ruby-VPI</h1>
13
13
 
14
14
 
15
- <ul>
16
- <li><a href="manual.html#usage.tutorial">Tutorial</a>
17
- &#8211; learn how to use Ruby-VPI quickly.</li>
18
- </ul>
15
+ <p>Ruby-VPI is a <a href="http://www.ruby-lang.org">Ruby</a> interface to <a href="http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=33945"><span class="caps">IEEE 1364</span>-2005 Verilog <span class="caps">VPI</span></a>. It lets you create complex Verilog test benches easily and wholly in Ruby.</p>
19
16
 
20
17
 
21
- <ul>
22
- <li><a href="manual.html">Manual</a>
23
- &#8211; complete documentation for users. <em>Start here!</em></li>
24
- </ul>
18
+ <p class="title">Documentation</p>
25
19
 
26
20
 
27
21
  <ul>
28
- <li><a href="../ref/">Reference</a>
22
+ <li><a href="manual.html#usage.tutorial">Tutorial</a>
23
+ &#8211; learn how to use Ruby-VPI quickly.</li>
24
+ <li><a href="manual.html">Manual</a>
25
+ &#8211; complete documentation for users. <em>Start here!</em></li>
26
+ <li><a href="../ref/">Reference</a>
29
27
  &#8211; <span class="caps">API</span> documentation for Ruby libraries and C extension.</li>
30
28
  </ul>
31
29
 
32
30
 
33
- <ul>
34
- <li><a href="http://rubyforge.org/projects/ruby-vpi">Facilities</a>
35
- <ul>
36
- <li><a href="http://rubyforge.org/frs/?group_id=1339">Downloads</a></li>
37
- <li><a href="http://rubyforge.org/tracker/?group_id=1339">Bugs</a></li>
38
- <li><a href="http://rubyforge.org/tracker/?group_id=1339">Patches</a></li>
39
- <li><a href="http://rubyforge.org/tracker/?group_id=1339">Requests</a></li>
40
- <li><a href="http://rubyforge.org/forum/?group_id=1339">Forums</a></li>
41
- </ul></li>
42
- </ul>
31
+ <p class="title">Records</p>
43
32
 
44
33
 
45
34
  <ul>
46
- <li><a href="http://ruby-vpi.rubyforge.org/src/ruby-vpi">Sources</a>
47
- &#8211; browse or access the <a href="http://abridgegame.org/darcs/">Darcs</a> source code repository.</li>
35
+ <li><a type="application/rss+xml" href="http://ruby-vpi.rubyforge.org/doc/rss.xml"><img src="images/feed-icon.png" title="RSS feed icon" alt="RSS feed icon" /> RSS feed</a>
36
+ &#8211; keep track of new releases at your leisure.</li>
37
+ <li><a href="history.html">Release history</a>
38
+ &#8211; record of all release notes.</li>
39
+ <li><a href="memo.html">Memorandum</a>
40
+ &#8211; pending tasks for future releases.</li>
48
41
  </ul>
49
42
 
50
43
 
51
- <ul>
52
- <li><a href="http://ruby-vpi.rubyforge.org/news">News</a>
53
- &#8211; see what&#8217;s cooking for the next release.</li>
54
- </ul>
44
+ <p class="title">Facilities</p>
55
45
 
56
46
 
57
47
  <ul>
58
- <li><a href="http://ruby-vpi.rubyforge.org/talks">Talks</a>
59
- &#8211; slides from public presentations about Ruby-VPI.</li>
48
+ <li><a href="http://rubyforge.org/projects/ruby-vpi">Project portal</a>
49
+ &#8211; hosted generously by <a href="http://rubyforge.org">RubyForge</a>.</li>
50
+ <li><a href="http://ruby-vpi.rubyforge.org/src/ruby-vpi">Source code</a>
51
+ &#8211; browse online or obtain through <a href="http://abridgegame.org/darcs/">Darcs</a>.</li>
52
+ <li><a href="http://rubyforge.org/frs/?group_id=1339">Downloads</a>
53
+ &#8211; obtain release packages.</li>
54
+ <li><a href="http://rubyforge.org/tracker/?group_id=1339">Bugs</a>
55
+ &#8211; report defects in the software.</li>
56
+ <li><a href="http://rubyforge.org/tracker/?group_id=1339">Patches</a>
57
+ &#8211; submit patches to source code.</li>
58
+ <li><a href="http://rubyforge.org/tracker/?group_id=1339">Requests</a>
59
+ &#8211; request new features or get support.</li>
60
+ <li><a href="http://rubyforge.org/forum/?group_id=1339">Forums</a>
61
+ &#8211; discuss things and ask questions.</li>
60
62
  </ul>
61
63
 
62
64
 
63
- <ul>
64
- <li><a href="memo.html">Memo</a>
65
- &#8211; pending tasks for future releases.</li>
66
- </ul>
65
+ <p class="title">Outreach</p>
67
66
 
68
67
 
69
68
  <ul>
70
- <li><a href="history.html">History</a>
71
- &#8211; record of all release notes.</li>
69
+ <li><a href="http://ruby-vpi.rubyforge.org/news">News</a>
70
+ &#8211; see what&#8217;s cooking for the next release.</li>
71
+ <li><a href="http://ruby-vpi.rubyforge.org/talks">Talks</a>
72
+ &#8211; materials from presentations and seminars.</li>
72
73
  </ul>
73
74
 
74
75
 
75
- </div>
76
-
77
- <h1 id="anchor127">1 &nbsp; Welcome to Ruby-VPI</h1>
78
-
79
-
80
- <p>Ruby-VPI is a <a href="http://www.ruby-lang.org">Ruby</a> interface to <a href="http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=33945"><span class="caps">IEEE 1364</span>-2005 Verilog <span class="caps">VPI</span></a>. It lets you create complex Verilog test benches easily and wholly in Ruby.</p>
81
-
82
-
83
- <h2 id="intro.features">1.1 &nbsp; Features</h2>
76
+ <h2 id="intro.features">1.1 &nbsp; Prominent features</h2>
84
77
 
85
78
 
86
- <h3 id="anchor128">1.1.1 &nbsp; Portable</h3>
79
+ <h3 id="anchor131">1.1.1 &nbsp; Portable</h3>
87
80
 
88
81
 
89
82
  <ul>
@@ -99,7 +92,7 @@
99
92
  </ul>
100
93
 
101
94
 
102
- <h3 id="anchor129">1.1.2 &nbsp; Agile</h3>
95
+ <h3 id="anchor132">1.1.2 &nbsp; Agile</h3>
103
96
 
104
97
 
105
98
  <ul>
@@ -122,7 +115,7 @@
122
115
  </ul>
123
116
 
124
117
 
125
- <h3 id="anchor130">1.1.3 &nbsp; Powerful</h3>
118
+ <h3 id="anchor133">1.1.3 &nbsp; Powerful</h3>
126
119
 
127
120
 
128
121
  <ul>
@@ -143,7 +136,7 @@
143
136
  </ul>
144
137
 
145
138
 
146
- <h3 id="anchor131">1.1.4 &nbsp; Free</h3>
139
+ <h3 id="anchor134">1.1.4 &nbsp; Free</h3>
147
140
 
148
141
 
149
142
  <ul>
data/doc/rss.xml CHANGED
@@ -4,6 +4,43 @@
4
4
  <title>Ruby-VPI</title>
5
5
  <link>http://ruby-vpi.rubyforge.org</link>
6
6
  <description>Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby.</description>
7
+ <item>
8
+ <title>Version 15.0.1 released</title>
9
+ <link>http://ruby-vpi.rubyforge.org/doc/history.html#15.0.1</link>
10
+ <guid>http://ruby-vpi.rubyforge.org/doc/history.html#15.0.1</guid>
11
+ <description>&lt;h1 id=&quot;15.0.1&quot;&gt;Version 15.0.1 (2007-01-15)&lt;/h1&gt;
12
+
13
+
14
+ &lt;h2&gt;Summary&lt;/h2&gt;
15
+
16
+
17
+ &lt;p&gt;This release fixes a problem with compilation of the C extension and improves the user documentation&amp;#8217;s appearance.&lt;/p&gt;
18
+
19
+
20
+ &lt;h2&gt;Acknowledgment&lt;/h2&gt;
21
+
22
+
23
+ &lt;p&gt;Thanks to Derek Graham for reporting the problem.&lt;/p&gt;
24
+
25
+
26
+ &lt;h2&gt;Details&lt;/h2&gt;
27
+
28
+
29
+ &lt;ul&gt;
30
+ &lt;li&gt;Restored the monkey patch, which was removed in release 14.0.0, for the &lt;span class=&quot;caps&quot;&gt;SWIG&lt;/span&gt; &lt;code class=&quot;code&quot;&gt;va_list&lt;/code&gt; problem.&lt;/li&gt;
31
+ &lt;/ul&gt;
32
+
33
+
34
+ &lt;ul&gt;
35
+ &lt;li&gt;Made table of contents in-line with the content in user documentation.&lt;/li&gt;
36
+ &lt;/ul&gt;
37
+
38
+
39
+ &lt;ul&gt;
40
+ &lt;li&gt;Added printer-friendly stylesheet for user documentation.&lt;/li&gt;
41
+ &lt;/ul&gt;</description>
42
+ <pubDate>Mon, 15 Jan 2007 00:00:00 PST</pubDate>
43
+ </item>
7
44
  <item>
8
45
  <title>Version 15.0.0 released</title>
9
46
  <link>http://ruby-vpi.rubyforge.org/doc/history.html#15.0.0</link>
data/ext/Rakefile CHANGED
@@ -50,7 +50,16 @@ file 'swig_wrap.cin' => 'swig_vpi.i' do |t|
50
50
  sh %w{swig -ruby -o}, t.name, t.prerequisites[0]
51
51
  end
52
52
 
53
- file 'swig_vpi.i' => 'vpi_user.h'
53
+ file 'swig_vpi.i' => 'swig_vpi.h'
54
+
55
+ # avoid compilation problems due to va_list, which is used in the SWIG-generated wrapper for VPI vprintf functions
56
+ file 'swig_vpi.h' => 'vpi_user.h' do |t|
57
+ src, dst = t.prerequisites[0], t.name
58
+
59
+ File.open(dst, 'w') do |f|
60
+ f << File.read(src).gsub(/\bva_list\b/, 'int')
61
+ end
62
+ end
54
63
 
55
64
  # NOTE: since SWIG is not a requirement for users, we should not clobber these generated files
56
65
  #CLOBBER.include 'swig_wrap.cin', 'swig_vpi.h'