ruby-vpi 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +15 -0
- data/doc/background.organization.html +1 -1
- data/doc/index.html +2 -2
- data/doc/usage.tutorial.html +1 -1
- data/ext/swig_wrap.cin +5559 -3041
- data/history.html +25 -0
- data/history.part.html +25 -0
- data/lib/ruby-vpi/integer.rb +156 -0
- data/lib/ruby-vpi/{vpi_util.rb → vpi.rb} +0 -0
- data/lib/ruby-vpi.rb +1 -1
- data/ref/c/annotated.html +8 -4
- data/ref/c/common_8h.html +56 -88
- data/ref/c/doxygen.css +64 -16
- data/ref/c/files.html +5 -3
- data/ref/c/functions.html +46 -27
- data/ref/c/functions_vars.html +46 -27
- data/ref/c/globals.html +213 -7
- data/ref/c/globals_0x62.html +62 -0
- data/ref/c/globals_0x63.html +51 -34
- data/ref/c/globals_0x65.html +12 -5
- data/ref/c/globals_0x66.html +22 -5
- 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 +28 -21
- data/ref/c/globals_0x72.html +17 -6
- data/ref/c/globals_0x73.html +201 -15
- data/ref/c/globals_0x74.html +11 -4
- data/ref/c/globals_0x75.html +63 -0
- data/ref/c/globals_0x76.html +428 -417
- data/ref/c/globals_0x78.html +12 -5
- data/ref/c/globals_defs.html +37 -32
- data/ref/c/globals_defs_0x65.html +9 -4
- 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 +10 -5
- 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 +422 -415
- data/ref/c/globals_defs_0x78.html +9 -4
- data/ref/c/globals_enum.html +3 -3
- data/ref/c/globals_eval.html +3 -3
- data/ref/c/globals_func.html +175 -16
- 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 +31 -28
- data/ref/c/globals_vars.html +90 -6
- data/ref/c/index.html +3 -3
- data/ref/c/relay_8cin.html +104 -168
- data/ref/c/relay_8hin.html +59 -91
- data/ref/c/ruby-vpi_8c.html +3 -3
- data/ref/c/structrelay____RubyOptions____def.html +23 -40
- 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 +93 -133
- data/ref/c/structt__vpi__delay.html +82 -114
- data/ref/c/structt__vpi__error__info.html +143 -132
- data/ref/c/structt__vpi__strengthval.html +35 -60
- data/ref/c/structt__vpi__systf__data.html +112 -135
- data/ref/c/structt__vpi__time.html +45 -78
- data/ref/c/structt__vpi__value.html +215 -186
- data/ref/c/structt__vpi__vecval.html +25 -42
- data/ref/c/structt__vpi__vlog__info.html +96 -78
- data/ref/c/swig_8cin.html +33 -49
- data/ref/c/swig_8hin.html +32 -48
- 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 +58 -90
- data/ref/c/vlog_8cin.html +78 -118
- data/ref/c/vlog_8hin.html +53 -77
- data/ref/c/vpi__user_8h.html +5286 -9294
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/ERB.src/{M000018.html → M000032.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +10 -10
- data/ref/ruby/classes/FileUtils.src/{M000073.html → M000087.html} +0 -0
- data/ref/ruby/classes/FileUtils.src/{M000074.html → M000088.html} +0 -0
- data/ref/ruby/classes/Integer.html +398 -0
- data/ref/ruby/classes/Integer.src/M000010.html +25 -0
- data/ref/ruby/classes/Integer.src/M000011.html +18 -0
- data/ref/ruby/classes/Integer.src/M000012.html +18 -0
- data/ref/ruby/classes/Integer.src/M000013.html +18 -0
- data/ref/ruby/classes/Integer.src/M000014.html +18 -0
- data/ref/ruby/classes/Integer.src/M000015.html +18 -0
- data/ref/ruby/classes/Integer.src/M000018.html +22 -0
- data/ref/ruby/classes/Integer.src/M000019.html +22 -0
- data/ref/ruby/classes/Integer.src/M000020.html +25 -0
- data/ref/ruby/classes/Integer.src/M000021.html +31 -0
- data/ref/ruby/classes/Integer.src/M000022.html +25 -0
- data/ref/ruby/classes/Integer.src/M000023.html +30 -0
- data/ref/ruby/classes/OutputInfo.html +5 -5
- data/ref/ruby/classes/OutputInfo.src/{M000014.html → M000028.html} +0 -0
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000077.html → M000091.html} +0 -0
- data/ref/ruby/classes/RubyVpi.html +10 -10
- data/ref/ruby/classes/RubyVpi.src/{M000075.html → M000089.html} +1 -1
- data/ref/ruby/classes/RubyVpi.src/{M000076.html → M000090.html} +0 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +47 -47
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000065.html → M000079.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000066.html → M000080.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000067.html → M000081.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000068.html → M000082.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000069.html → M000083.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000070.html → M000084.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000071.html → M000085.html} +1 -1
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000072.html → M000086.html} +1 -1
- data/ref/ruby/classes/SWIG.html +2 -2
- data/ref/ruby/classes/String.html +10 -10
- data/ref/ruby/classes/String.src/{M000016.html → M000030.html} +0 -0
- data/ref/ruby/classes/String.src/{M000017.html → M000031.html} +0 -0
- data/ref/ruby/classes/Table.html +20 -20
- data/ref/ruby/classes/Table.src/{M000010.html → M000024.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000011.html → M000025.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000012.html → M000026.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000013.html → M000027.html} +0 -0
- data/ref/ruby/classes/Template.html +5 -5
- data/ref/ruby/classes/Template.src/{M000015.html → M000029.html} +0 -0
- data/ref/ruby/classes/XX/Document.html +45 -45
- data/ref/ruby/classes/XX/Document.src/{M000056.html → M000070.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000057.html → M000071.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000058.html → M000072.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000059.html → M000073.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000060.html → M000074.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000061.html → M000075.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000062.html → M000076.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000063.html → M000077.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000064.html → M000078.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Strict.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Strict.src/{M000022.html → M000036.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Transitional.src/{M000021.html → M000035.html} +0 -0
- data/ref/ruby/classes/XX/HTML4.html +5 -5
- data/ref/ruby/classes/XX/HTML4.src/{M000020.html → M000034.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.html +40 -40
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000028.html → M000042.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000029.html → M000043.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000030.html → M000044.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000031.html → M000045.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000032.html → M000046.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000033.html → M000047.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000034.html → M000048.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000035.html → M000049.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.html +100 -100
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000050.html +43 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000051.html +20 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +18 -8
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +35 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +18 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000042.html → M000056.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000043.html → M000057.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000044.html → M000058.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000045.html → M000059.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000046.html → M000060.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000047.html → M000061.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000048.html → M000062.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/{M000049.html → M000063.html} +0 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000064.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000065.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000066.html +21 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000067.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000068.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000069.html +20 -0
- data/ref/ruby/classes/XX/Markup.html +5 -5
- data/ref/ruby/classes/XX/Markup.src/{M000027.html → M000041.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Strict.src/{M000025.html → M000039.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000024.html → M000038.html} +0 -0
- data/ref/ruby/classes/XX/XHTML.html +5 -5
- data/ref/ruby/classes/XX/XHTML.src/{M000023.html → M000037.html} +0 -0
- data/ref/ruby/classes/XX/XML.html +5 -5
- data/ref/ruby/classes/XX/XML.src/{M000019.html → M000033.html} +0 -0
- data/ref/ruby/classes/XX/XMLish.html +5 -5
- data/ref/ruby/classes/XX/XMLish.src/{M000026.html → M000040.html} +0 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +101 -0
- data/ref/ruby/files/lib/ruby-vpi/{vpi_util_rb.html → vpi_rb.html} +3 -3
- data/ref/ruby/files/lib/ruby-vpi_rb.html +2 -2
- data/ref/ruby/fr_class_index.html +1 -0
- data/ref/ruby/fr_file_index.html +2 -1
- data/ref/ruby/fr_method_index.html +83 -69
- metadata +112 -70
- data/ref/c/hierarchy.html +0 -36
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000036.html +0 -56
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000037.html +0 -33
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000038.html +0 -31
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000039.html +0 -48
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000040.html +0 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000041.html +0 -31
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>pack (Integer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 89</span>
|
14
|
+
89: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pack</span> <span class="ruby-identifier">aPackedWidth</span>
|
15
|
+
90: <span class="ruby-identifier">bits</span> = <span class="ruby-identifier">length</span>
|
16
|
+
91: <span class="ruby-identifier">bits</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-comment cmt"># positive integers also have a sign bit (zero)</span>
|
17
|
+
92:
|
18
|
+
93: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aPackedWidth</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">bits</span>
|
19
|
+
94: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"packed width #{aPackedWidth} must be at least #{bits} for integer #{self}"</span>
|
20
|
+
95: <span class="ruby-keyword kw">end</span>
|
21
|
+
96:
|
22
|
+
97: <span class="ruby-identifier">extend_sign</span>(<span class="ruby-identifier">bits</span>, <span class="ruby-identifier">aPackedWidth</span>)
|
23
|
+
98: <span class="ruby-keyword kw">end</span></pre>
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>unpack (Integer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 101</span>
|
14
|
+
101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unpack</span> <span class="ruby-identifier">aPackedWidth</span>
|
15
|
+
102: <span class="ruby-identifier">bits</span> = <span class="ruby-identifier">length</span>
|
16
|
+
103:
|
17
|
+
104: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aPackedWidth</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">bits</span>
|
18
|
+
105: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"packed width #{aPackedWidth} must be at least #{bits} for integer #{self}"</span>
|
19
|
+
106: <span class="ruby-keyword kw">end</span>
|
20
|
+
107:
|
21
|
+
108: <span class="ruby-identifier">mask</span> = <span class="ruby-identifier">aPackedWidth</span>.<span class="ruby-identifier">to_mask</span>
|
22
|
+
109: <span class="ruby-identifier">result</span> = <span class="ruby-keyword kw">self</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>
|
23
|
+
110:
|
24
|
+
111: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">result</span>[<span class="ruby-identifier">aPackedWidth</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
25
|
+
112: <span class="ruby-operator">-</span>((<span class="ruby-operator">-</span><span class="ruby-identifier">result</span>) <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>)
|
26
|
+
113: <span class="ruby-keyword kw">else</span>
|
27
|
+
114: <span class="ruby-identifier">result</span>
|
28
|
+
115: <span class="ruby-keyword kw">end</span>
|
29
|
+
116: <span class="ruby-keyword kw">end</span></pre>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>extend_sign (Integer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 120</span>
|
14
|
+
120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extend_sign</span> <span class="ruby-identifier">aOrigWidth</span>, <span class="ruby-identifier">aExtWidth</span>
|
15
|
+
121: <span class="ruby-identifier">result</span> = <span class="ruby-keyword kw">self</span>
|
16
|
+
122: <span class="ruby-identifier">maskWidth</span> = <span class="ruby-identifier">aExtWidth</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">aOrigWidth</span>
|
17
|
+
123:
|
18
|
+
124: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">maskWidth</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">result</span>[<span class="ruby-identifier">aOrigWidth</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>] <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
19
|
+
125: <span class="ruby-identifier">result</span> <span class="ruby-operator">|=</span> (<span class="ruby-identifier">maskWidth</span>.<span class="ruby-identifier">to_mask</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">aOrigWidth</span>)
|
20
|
+
126: <span class="ruby-keyword kw">end</span>
|
21
|
+
127:
|
22
|
+
128: <span class="ruby-identifier">result</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">aExtWidth</span>.<span class="ruby-identifier">to_mask</span>
|
23
|
+
129: <span class="ruby-keyword kw">end</span></pre>
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>split (Integer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 141</span>
|
14
|
+
141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span> <span class="ruby-identifier">aWidth</span> = <span class="ruby-value">8</span>
|
15
|
+
142: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"width must be positive and non-zero"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aWidth</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
16
|
+
143:
|
17
|
+
144: <span class="ruby-identifier">int</span>, <span class="ruby-identifier">bits</span> = <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">length</span>
|
18
|
+
145: <span class="ruby-identifier">mask</span> = <span class="ruby-identifier">aWidth</span>.<span class="ruby-identifier">to_mask</span>
|
19
|
+
146: <span class="ruby-identifier">words</span> = []
|
20
|
+
147:
|
21
|
+
148: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">bits</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
22
|
+
149: <span class="ruby-identifier">words</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">int</span> <span class="ruby-operator">&</span> <span class="ruby-identifier">mask</span>
|
23
|
+
150: <span class="ruby-identifier">int</span> <span class="ruby-operator">>>=</span> <span class="ruby-identifier">aWidth</span>
|
24
|
+
151: <span class="ruby-identifier">bits</span> <span class="ruby-operator">-=</span> <span class="ruby-identifier">aWidth</span>
|
25
|
+
152: <span class="ruby-keyword kw">end</span>
|
26
|
+
153:
|
27
|
+
154: <span class="ruby-identifier">words</span>
|
28
|
+
155: <span class="ruby-keyword kw">end</span></pre>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -92,7 +92,7 @@ Holds information about the output destinations of a parsed Verilog module.
|
|
92
92
|
<h3 class="section-bar">Methods</h3>
|
93
93
|
|
94
94
|
<div class="name-list">
|
95
|
-
<a href="#
|
95
|
+
<a href="#M000028">new</a>
|
96
96
|
</div>
|
97
97
|
</div>
|
98
98
|
|
@@ -270,12 +270,12 @@ Holds information about the output destinations of a parsed Verilog module.
|
|
270
270
|
<div id="methods">
|
271
271
|
<h3 class="section-bar">Public Class methods</h3>
|
272
272
|
|
273
|
-
<div id="method-
|
274
|
-
<a name="
|
273
|
+
<div id="method-M000028" class="method-detail">
|
274
|
+
<a name="M000028"></a>
|
275
275
|
|
276
276
|
<div class="method-heading">
|
277
|
-
<a href="OutputInfo.src/
|
278
|
-
onclick="popupCode('OutputInfo.src/
|
277
|
+
<a href="OutputInfo.src/M000028.html" target="Code" class="method-signature"
|
278
|
+
onclick="popupCode('OutputInfo.src/M000028.html');return false;">
|
279
279
|
<span class="method-name">new</span><span class="method-args">(aModuleName, aSpecFormat, aTestName, aRubyVpiPath)</span>
|
280
280
|
</a>
|
281
281
|
</div>
|
File without changes
|
data/ref/ruby/classes/RDoc.html
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
83
|
+
<a href="#M000091">usage_from_file</a>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
|
@@ -102,12 +102,12 @@
|
|
102
102
|
<div id="methods">
|
103
103
|
<h3 class="section-bar">Public Class methods</h3>
|
104
104
|
|
105
|
-
<div id="method-
|
106
|
-
<a name="
|
105
|
+
<div id="method-M000091" class="method-detail">
|
106
|
+
<a name="M000091"></a>
|
107
107
|
|
108
108
|
<div class="method-heading">
|
109
|
-
<a href="RDoc.src/
|
110
|
-
onclick="popupCode('RDoc.src/
|
109
|
+
<a href="RDoc.src/M000091.html" target="Code" class="method-signature"
|
110
|
+
onclick="popupCode('RDoc.src/M000091.html');return false;">
|
111
111
|
<span class="method-name">usage_from_file</span><span class="method-args">(input_file, *args)</span>
|
112
112
|
</a>
|
113
113
|
</div>
|
File without changes
|
@@ -90,8 +90,8 @@ Provides configuration information of the Ruby-VPI project.
|
|
90
90
|
<h3 class="section-bar">Methods</h3>
|
91
91
|
|
92
92
|
<div class="name-list">
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
93
|
+
<a href="#M000089">init_bench</a>
|
94
|
+
<a href="#M000090">with_coverage_analysis</a>
|
95
95
|
</div>
|
96
96
|
</div>
|
97
97
|
|
@@ -131,12 +131,12 @@ Provides configuration information of the Ruby-VPI project.
|
|
131
131
|
<div id="methods">
|
132
132
|
<h3 class="section-bar">Public Class methods</h3>
|
133
133
|
|
134
|
-
<div id="method-
|
135
|
-
<a name="
|
134
|
+
<div id="method-M000089" class="method-detail">
|
135
|
+
<a name="M000089"></a>
|
136
136
|
|
137
137
|
<div class="method-heading">
|
138
|
-
<a href="RubyVpi.src/
|
139
|
-
onclick="popupCode('RubyVpi.src/
|
138
|
+
<a href="RubyVpi.src/M000089.html" target="Code" class="method-signature"
|
139
|
+
onclick="popupCode('RubyVpi.src/M000089.html');return false;">
|
140
140
|
<span class="method-name">init_bench</span><span class="method-args">(aTestPrefix, aProtoClassId)</span>
|
141
141
|
</a>
|
142
142
|
</div>
|
@@ -148,12 +148,12 @@ Initializes the current bench using the given parameters.
|
|
148
148
|
</div>
|
149
149
|
</div>
|
150
150
|
|
151
|
-
<div id="method-
|
152
|
-
<a name="
|
151
|
+
<div id="method-M000090" class="method-detail">
|
152
|
+
<a name="M000090"></a>
|
153
153
|
|
154
154
|
<div class="method-heading">
|
155
|
-
<a href="RubyVpi.src/
|
156
|
-
onclick="popupCode('RubyVpi.src/
|
155
|
+
<a href="RubyVpi.src/M000090.html" target="Code" class="method-signature"
|
156
|
+
onclick="popupCode('RubyVpi.src/M000090.html');return false;">
|
157
157
|
<span class="method-name">with_coverage_analysis</span><span class="method-args">( {|Rcov::CodeCoverageAnalyzer| ...}</span>
|
158
158
|
</a>
|
159
159
|
</div>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<body class="standalone-code">
|
13
13
|
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi.rb, line 24</span>
|
14
14
|
24: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RubyVpi</span>.<span class="ruby-identifier">init_bench</span> <span class="ruby-identifier">aTestPrefix</span>, <span class="ruby-identifier">aProtoClassId</span>
|
15
|
-
25: <span class="ruby-identifier">require</span> <span class="ruby-value str">'ruby-vpi/
|
15
|
+
25: <span class="ruby-identifier">require</span> <span class="ruby-value str">'ruby-vpi/vpi'</span>
|
16
16
|
26: <span class="ruby-constant">Vpi</span><span class="ruby-operator">::</span><span class="ruby-identifier">relay_verilog</span> <span class="ruby-comment cmt"># service the $ruby_init() callback</span>
|
17
17
|
27:
|
18
18
|
28: <span class="ruby-comment cmt"># set up code coverage analysis</span>
|
File without changes
|
@@ -55,8 +55,8 @@
|
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="../../files/lib/ruby-vpi/
|
59
|
-
lib/ruby-vpi/
|
58
|
+
<a href="../../files/lib/ruby-vpi/vpi_rb.html">
|
59
|
+
lib/ruby-vpi/vpi.rb
|
60
60
|
</a>
|
61
61
|
<br />
|
62
62
|
</td>
|
@@ -95,7 +95,7 @@ You can read and write values using <tt>S_vpi_value</tt> objects through
|
|
95
95
|
the following methods.
|
96
96
|
</p>
|
97
97
|
<ul>
|
98
|
-
<li><a href="TYPE_p_unsigned_int.html#
|
98
|
+
<li><a href="TYPE_p_unsigned_int.html#M000081">get_value_wrapper</a>
|
99
99
|
|
100
100
|
</li>
|
101
101
|
<li>Vpi::vpi_get_value
|
@@ -112,10 +112,10 @@ following methods.
|
|
112
112
|
</p>
|
113
113
|
<ul>
|
114
114
|
<li>value = handle.<a
|
115
|
-
href="TYPE_p_unsigned_int.html#
|
115
|
+
href="TYPE_p_unsigned_int.html#M000082">get_value</a>(format)
|
116
116
|
|
117
117
|
</li>
|
118
|
-
<li>handle.<a href="TYPE_p_unsigned_int.html#
|
118
|
+
<li>handle.<a href="TYPE_p_unsigned_int.html#M000083">put_value</a>(value,
|
119
119
|
format)
|
120
120
|
|
121
121
|
</li>
|
@@ -156,7 +156,7 @@ The methods shown above can be used like so:
|
|
156
156
|
To read a handle’s value as an integer:
|
157
157
|
</p>
|
158
158
|
<ul>
|
159
|
-
<li>handle.<a href="TYPE_p_unsigned_int.html#
|
159
|
+
<li>handle.<a href="TYPE_p_unsigned_int.html#M000082">get_value</a>(VpiIntVal)
|
160
160
|
|
161
161
|
</li>
|
162
162
|
<li>handle.intVal
|
@@ -167,7 +167,7 @@ To read a handle’s value as an integer:
|
|
167
167
|
To write a handle’s value as an integer:
|
168
168
|
</p>
|
169
169
|
<ul>
|
170
|
-
<li>handle.<a href="TYPE_p_unsigned_int.html#
|
170
|
+
<li>handle.<a href="TYPE_p_unsigned_int.html#M000083">put_value</a>(15,
|
171
171
|
VpiIntVal)
|
172
172
|
|
173
173
|
</li>
|
@@ -185,14 +185,14 @@ VpiIntVal)
|
|
185
185
|
<h3 class="section-bar">Methods</h3>
|
186
186
|
|
187
187
|
<div class="name-list">
|
188
|
-
<a href="#
|
189
|
-
<a href="#
|
190
|
-
<a href="#
|
191
|
-
<a href="#
|
192
|
-
<a href="#
|
193
|
-
<a href="#
|
194
|
-
<a href="#
|
195
|
-
<a href="#
|
188
|
+
<a href="#M000085">[]</a>
|
189
|
+
<a href="#M000086">each</a>
|
190
|
+
<a href="#M000082">get_value</a>
|
191
|
+
<a href="#M000081">get_value_wrapper</a>
|
192
|
+
<a href="#M000084">method_missing</a>
|
193
|
+
<a href="#M000083">put_value</a>
|
194
|
+
<a href="#M000079">x?</a>
|
195
|
+
<a href="#M000080">z?</a>
|
196
196
|
</div>
|
197
197
|
</div>
|
198
198
|
|
@@ -249,12 +249,12 @@ VpiIntVal)
|
|
249
249
|
<div id="methods">
|
250
250
|
<h3 class="section-bar">Public Instance methods</h3>
|
251
251
|
|
252
|
-
<div id="method-
|
253
|
-
<a name="
|
252
|
+
<div id="method-M000085" class="method-detail">
|
253
|
+
<a name="M000085"></a>
|
254
254
|
|
255
255
|
<div class="method-heading">
|
256
|
-
<a href="TYPE_p_unsigned_int.src/
|
257
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
256
|
+
<a href="TYPE_p_unsigned_int.src/M000085.html" target="Code" class="method-signature"
|
257
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000085.html');return false;">
|
258
258
|
<span class="method-name">[]</span><span class="method-args">(aType)</span>
|
259
259
|
</a>
|
260
260
|
</div>
|
@@ -266,12 +266,12 @@ Returns an array of handles of the given type.
|
|
266
266
|
</div>
|
267
267
|
</div>
|
268
268
|
|
269
|
-
<div id="method-
|
270
|
-
<a name="
|
269
|
+
<div id="method-M000086" class="method-detail">
|
270
|
+
<a name="M000086"></a>
|
271
271
|
|
272
272
|
<div class="method-heading">
|
273
|
-
<a href="TYPE_p_unsigned_int.src/
|
274
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
273
|
+
<a href="TYPE_p_unsigned_int.src/M000086.html" target="Code" class="method-signature"
|
274
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000086.html');return false;">
|
275
275
|
<span class="method-name">each</span><span class="method-args">(aType {|handle| ...}</span>
|
276
276
|
</a>
|
277
277
|
</div>
|
@@ -284,12 +284,12 @@ once for each handle.
|
|
284
284
|
</div>
|
285
285
|
</div>
|
286
286
|
|
287
|
-
<div id="method-
|
288
|
-
<a name="
|
287
|
+
<div id="method-M000082" class="method-detail">
|
288
|
+
<a name="M000082"></a>
|
289
289
|
|
290
290
|
<div class="method-heading">
|
291
|
-
<a href="TYPE_p_unsigned_int.src/
|
292
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
291
|
+
<a href="TYPE_p_unsigned_int.src/M000082.html" target="Code" class="method-signature"
|
292
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000082.html');return false;">
|
293
293
|
<span class="method-name">get_value</span><span class="method-args">(aFormat = VpiObjTypeVal)</span>
|
294
294
|
</a>
|
295
295
|
</div>
|
@@ -303,12 +303,12 @@ format.
|
|
303
303
|
</div>
|
304
304
|
</div>
|
305
305
|
|
306
|
-
<div id="method-
|
307
|
-
<a name="
|
306
|
+
<div id="method-M000081" class="method-detail">
|
307
|
+
<a name="M000081"></a>
|
308
308
|
|
309
309
|
<div class="method-heading">
|
310
|
-
<a href="TYPE_p_unsigned_int.src/
|
311
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
310
|
+
<a href="TYPE_p_unsigned_int.src/M000081.html" target="Code" class="method-signature"
|
311
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000081.html');return false;">
|
312
312
|
<span class="method-name">get_value_wrapper</span><span class="method-args">(aFormat)</span>
|
313
313
|
</a>
|
314
314
|
</div>
|
@@ -321,12 +321,12 @@ object.
|
|
321
321
|
</div>
|
322
322
|
</div>
|
323
323
|
|
324
|
-
<div id="method-
|
325
|
-
<a name="
|
324
|
+
<div id="method-M000084" class="method-detail">
|
325
|
+
<a name="M000084"></a>
|
326
326
|
|
327
327
|
<div class="method-heading">
|
328
|
-
<a href="TYPE_p_unsigned_int.src/
|
329
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
328
|
+
<a href="TYPE_p_unsigned_int.src/M000084.html" target="Code" class="method-signature"
|
329
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000084.html');return false;">
|
330
330
|
<span class="method-name">method_missing</span><span class="method-args">(aMsg, *aArgs, &aBlockArg)</span>
|
331
331
|
</a>
|
332
332
|
</div>
|
@@ -338,12 +338,12 @@ Enables read and write access to VPI properties of this handle.
|
|
338
338
|
</div>
|
339
339
|
</div>
|
340
340
|
|
341
|
-
<div id="method-
|
342
|
-
<a name="
|
341
|
+
<div id="method-M000083" class="method-detail">
|
342
|
+
<a name="M000083"></a>
|
343
343
|
|
344
344
|
<div class="method-heading">
|
345
|
-
<a href="TYPE_p_unsigned_int.src/
|
346
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
345
|
+
<a href="TYPE_p_unsigned_int.src/M000083.html" target="Code" class="method-signature"
|
346
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000083.html');return false;">
|
347
347
|
<span class="method-name">put_value</span><span class="method-args">(aValue, aFormat = nil, aTime = nil, aDelay = VpiNoDelay)</span>
|
348
348
|
</a>
|
349
349
|
</div>
|
@@ -357,12 +357,12 @@ simulator will attempt to determine the correct format.
|
|
357
357
|
</div>
|
358
358
|
</div>
|
359
359
|
|
360
|
-
<div id="method-
|
361
|
-
<a name="
|
360
|
+
<div id="method-M000079" class="method-detail">
|
361
|
+
<a name="M000079"></a>
|
362
362
|
|
363
363
|
<div class="method-heading">
|
364
|
-
<a href="TYPE_p_unsigned_int.src/
|
365
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
364
|
+
<a href="TYPE_p_unsigned_int.src/M000079.html" target="Code" class="method-signature"
|
365
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000079.html');return false;">
|
366
366
|
<span class="method-name">x?</span><span class="method-args">()</span>
|
367
367
|
</a>
|
368
368
|
</div>
|
@@ -375,12 +375,12 @@ Tests if the logic value of this handle is "don’t care"
|
|
375
375
|
</div>
|
376
376
|
</div>
|
377
377
|
|
378
|
-
<div id="method-
|
379
|
-
<a name="
|
378
|
+
<div id="method-M000080" class="method-detail">
|
379
|
+
<a name="M000080"></a>
|
380
380
|
|
381
381
|
<div class="method-heading">
|
382
|
-
<a href="TYPE_p_unsigned_int.src/
|
383
|
-
onclick="popupCode('TYPE_p_unsigned_int.src/
|
382
|
+
<a href="TYPE_p_unsigned_int.src/M000080.html" target="Code" class="method-signature"
|
383
|
+
onclick="popupCode('TYPE_p_unsigned_int.src/M000080.html');return false;">
|
384
384
|
<span class="method-name">z?</span><span class="method-args">()</span>
|
385
385
|
</a>
|
386
386
|
</div>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 65</span>
|
14
14
|
65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x?</span>
|
15
15
|
66: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x/i</span>
|
16
16
|
67: <span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 70</span>
|
14
14
|
70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">z?</span>
|
15
15
|
71: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/z/i</span>
|
16
16
|
72: <span class="ruby-keyword kw">end</span></pre>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 75</span>
|
14
14
|
75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value_wrapper</span> <span class="ruby-identifier">aFormat</span>
|
15
15
|
76: <span class="ruby-identifier">val</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>
|
16
16
|
77: <span class="ruby-identifier">val</span>.<span class="ruby-identifier">format</span> = <span class="ruby-identifier">aFormat</span>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 84</span>
|
14
14
|
84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value</span> <span class="ruby-identifier">aFormat</span> = <span class="ruby-constant">VpiObjTypeVal</span>
|
15
15
|
85: <span class="ruby-identifier">val</span> = <span class="ruby-identifier">get_value_wrapper</span>(<span class="ruby-identifier">aFormat</span>)
|
16
16
|
86:
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 115</span>
|
14
14
|
115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_value</span> <span class="ruby-identifier">aValue</span>, <span class="ruby-identifier">aFormat</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">aTime</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">aDelay</span> = <span class="ruby-constant">VpiNoDelay</span>
|
15
15
|
116: <span class="ruby-identifier">aFormat</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">get_value_wrapper</span>(<span class="ruby-constant">VpiObjTypeVal</span>).<span class="ruby-identifier">format</span>
|
16
16
|
117:
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 189</span>
|
14
14
|
189: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">aMsg</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlockArg</span>
|
15
15
|
190: <span class="ruby-identifier">methName</span> = <span class="ruby-identifier">aMsg</span>.<span class="ruby-identifier">to_s</span>
|
16
16
|
191:
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 303</span>
|
14
14
|
303: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">aType</span>
|
15
15
|
304: <span class="ruby-identifier">handles</span> = []
|
16
16
|
305:
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 316</span>
|
14
14
|
316: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-identifier">aType</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span> <span class="ruby-comment cmt"># :yields: handle</span>
|
15
15
|
317: <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">aType</span>].<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>)
|
16
16
|
318: <span class="ruby-keyword kw">end</span></pre>
|
data/ref/ruby/classes/SWIG.html
CHANGED
@@ -86,8 +86,8 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
89
|
+
<a href="#M000031">to_ruby_const_name</a>
|
90
|
+
<a href="#M000030">verilog_to_ruby</a>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
|
@@ -109,12 +109,12 @@
|
|
109
109
|
<div id="methods">
|
110
110
|
<h3 class="section-bar">Public Instance methods</h3>
|
111
111
|
|
112
|
-
<div id="method-
|
113
|
-
<a name="
|
112
|
+
<div id="method-M000031" class="method-detail">
|
113
|
+
<a name="M000031"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="String.src/
|
117
|
-
onclick="popupCode('String.src/
|
116
|
+
<a href="String.src/M000031.html" target="Code" class="method-signature"
|
117
|
+
onclick="popupCode('String.src/M000031.html');return false;">
|
118
118
|
<span class="method-name">to_ruby_const_name</span><span class="method-args">()</span>
|
119
119
|
</a>
|
120
120
|
</div>
|
@@ -126,12 +126,12 @@ Converts this string into a valid Ruby constant name.
|
|
126
126
|
</div>
|
127
127
|
</div>
|
128
128
|
|
129
|
-
<div id="method-
|
130
|
-
<a name="
|
129
|
+
<div id="method-M000030" class="method-detail">
|
130
|
+
<a name="M000030"></a>
|
131
131
|
|
132
132
|
<div class="method-heading">
|
133
|
-
<a href="String.src/
|
134
|
-
onclick="popupCode('String.src/
|
133
|
+
<a href="String.src/M000030.html" target="Code" class="method-signature"
|
134
|
+
onclick="popupCode('String.src/M000030.html');return false;">
|
135
135
|
<span class="method-name">verilog_to_ruby</span><span class="method-args">()</span>
|
136
136
|
</a>
|
137
137
|
</div>
|
File without changes
|
File without changes
|