ruby-vpi 11.0.0 → 11.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HEADER +15 -14
- data/HISTORY +36 -1
- data/MEMO +17 -14
- data/README +2 -19
- data/Rakefile +1 -2
- data/bin/generate_test.rb +4 -4
- data/bin/generate_test_tpl/bench.rb +1 -0
- data/bin/generate_test_tpl/bench.v +1 -1
- data/bin/header_to_ruby.rb +2 -2
- data/doc/background.organization.html +1 -1
- data/doc/hacking.html +3 -0
- data/doc/hacking.release-packages.html +7 -0
- data/doc/index.html +2 -2
- data/doc/manual.txt +69 -13
- data/doc/problem.ivl.html +3 -3
- data/doc/problems.html +1 -1
- data/doc/problems.ruby.html +1 -1
- data/doc/problems.vsim.html +1 -1
- data/doc/setup.installation.html +1 -1
- data/doc/src/manual.xml +130 -20
- data/doc/usage.examples.html +1 -1
- data/doc/usage.tutorial.html +1 -1
- data/header.html +15 -14
- data/header.part.html +15 -14
- data/history.html +88 -15
- data/history.part.html +73 -1
- data/lib/ruby-vpi.rb +5 -5
- data/lib/ruby-vpi/verilog_parser.rb +1 -1
- data/lib/ruby-vpi/vpi.rb +184 -169
- data/memo.html +44 -38
- data/memo.part.html +29 -24
- data/readme.html +17 -47
- data/readme.part.html +2 -33
- data/ref/c/annotated.html +40 -0
- data/ref/c/common_8h.html +146 -0
- data/ref/c/doxygen.css +358 -0
- data/ref/c/doxygen.png +0 -0
- data/ref/c/files.html +36 -0
- data/ref/c/functions.html +154 -0
- data/ref/c/functions_vars.html +154 -0
- data/ref/c/globals.html +261 -0
- data/ref/c/globals_0x62.html +62 -0
- data/ref/c/globals_0x63.html +103 -0
- data/ref/c/globals_0x65.html +62 -0
- data/ref/c/globals_0x66.html +72 -0
- 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 +78 -0
- data/ref/c/globals_0x72.html +73 -0
- data/ref/c/globals_0x73.html +251 -0
- data/ref/c/globals_0x74.html +62 -0
- data/ref/c/globals_0x75.html +63 -0
- data/ref/c/globals_0x76.html +483 -0
- data/ref/c/globals_0x78.html +62 -0
- data/ref/c/globals_defs.html +86 -0
- data/ref/c/globals_defs_0x65.html +55 -0
- 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 +56 -0
- 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 +470 -0
- data/ref/c/globals_defs_0x78.html +55 -0
- data/ref/c/globals_enum.html +39 -0
- data/ref/c/globals_eval.html +40 -0
- data/ref/c/globals_func.html +208 -0
- 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 +66 -0
- data/ref/c/globals_vars.html +126 -0
- data/ref/c/index.html +20 -0
- data/ref/c/relay_8c.html +214 -0
- data/ref/c/relay_8h.html +129 -0
- data/ref/c/structrelay____RubyOptions____def.html +67 -0
- 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 +168 -0
- data/ref/c/structt__vpi__delay.html +151 -0
- data/ref/c/structt__vpi__error__info.html +219 -0
- data/ref/c/structt__vpi__strengthval.html +83 -0
- data/ref/c/structt__vpi__systf__data.html +185 -0
- data/ref/c/structt__vpi__time.html +100 -0
- data/ref/c/structt__vpi__value.html +314 -0
- data/ref/c/structt__vpi__vecval.html +66 -0
- data/ref/c/structt__vpi__vlog__info.html +151 -0
- data/ref/c/swig_8c.html +80 -0
- data/ref/c/swig_8h.html +83 -0
- data/ref/c/swig__vpi_8h.html +8739 -0
- data/ref/c/swig__wrap_8cin.html +11556 -0
- data/ref/c/tab_b.gif +0 -0
- data/ref/c/tab_l.gif +0 -0
- data/ref/c/tab_r.gif +0 -0
- data/ref/c/tabs.css +102 -0
- data/ref/c/unions__vpi__value__value.html +166 -0
- data/ref/c/verilog_8h.html +117 -0
- data/ref/c/vlog_8c.html +168 -0
- data/ref/c/vlog_8h.html +128 -0
- data/ref/c/vpi__user_8h.html +8739 -0
- data/ref/ruby/classes/ERB.html +158 -0
- data/ref/ruby/classes/ERB.src/M000034.html +29 -0
- data/ref/ruby/classes/FileUtils.html +165 -0
- data/ref/ruby/classes/FileUtils.src/M000081.html +18 -0
- data/ref/ruby/classes/FileUtils.src/M000082.html +18 -0
- data/ref/ruby/classes/Integer.html +398 -0
- data/ref/ruby/classes/Integer.src/M000012.html +25 -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/M000016.html +18 -0
- data/ref/ruby/classes/Integer.src/M000017.html +18 -0
- data/ref/ruby/classes/Integer.src/M000020.html +22 -0
- data/ref/ruby/classes/Integer.src/M000021.html +22 -0
- data/ref/ruby/classes/Integer.src/M000022.html +25 -0
- data/ref/ruby/classes/Integer.src/M000023.html +31 -0
- data/ref/ruby/classes/Integer.src/M000024.html +25 -0
- data/ref/ruby/classes/Integer.src/M000025.html +30 -0
- data/ref/ruby/classes/OutputInfo.html +294 -0
- data/ref/ruby/classes/OutputInfo.src/M000030.html +50 -0
- data/ref/ruby/classes/RDoc.html +135 -0
- data/ref/ruby/classes/RDoc.src/M000095.html +40 -0
- data/ref/ruby/classes/RubyVpi.html +206 -0
- data/ref/ruby/classes/RubyVpi.src/M000083.html +78 -0
- data/ref/ruby/classes/RubyVpi.src/M000084.html +20 -0
- data/ref/ruby/classes/RubyVpi/Config.html +159 -0
- data/ref/ruby/classes/String.html +159 -0
- data/ref/ruby/classes/String.src/M000032.html +41 -0
- data/ref/ruby/classes/String.src/M000033.html +18 -0
- data/ref/ruby/classes/Table.html +191 -0
- data/ref/ruby/classes/Table.src/M000026.html +38 -0
- data/ref/ruby/classes/Table.src/M000027.html +18 -0
- data/ref/ruby/classes/Table.src/M000028.html +18 -0
- data/ref/ruby/classes/Table.src/M000029.html +18 -0
- data/ref/ruby/classes/Template.html +158 -0
- data/ref/ruby/classes/Template.src/M000031.html +18 -0
- data/ref/ruby/classes/VerilogParser.html +187 -0
- data/ref/ruby/classes/VerilogParser.src/M000005.html +34 -0
- data/ref/ruby/classes/VerilogParser/Module.html +172 -0
- data/ref/ruby/classes/VerilogParser/Module.src/M000006.html +29 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.html +160 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000011.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +207 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000009.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000010.html +18 -0
- data/ref/ruby/classes/Vpi.html +124 -0
- data/ref/ruby/classes/Vpi/Handle.html +383 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000085.html +18 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000086.html +18 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000087.html +22 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000088.html +44 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000089.html +87 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000090.html +30 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000091.html +24 -0
- data/ref/ruby/classes/Vpi/Handle.src/M000093.html +68 -0
- data/ref/ruby/classes/Vpi/Handle/Property.html +130 -0
- data/ref/ruby/classes/Vpi/Handle/Property.src/M000094.html +80 -0
- data/ref/ruby/classes/XX.html +138 -0
- data/ref/ruby/classes/XX/Document.html +295 -0
- data/ref/ruby/classes/XX/Document.src/M000072.html +22 -0
- data/ref/ruby/classes/XX/Document.src/M000073.html +20 -0
- data/ref/ruby/classes/XX/Document.src/M000074.html +20 -0
- data/ref/ruby/classes/XX/Document.src/M000075.html +20 -0
- data/ref/ruby/classes/XX/Document.src/M000076.html +22 -0
- data/ref/ruby/classes/XX/Document.src/M000077.html +21 -0
- data/ref/ruby/classes/XX/Document.src/M000078.html +21 -0
- data/ref/ruby/classes/XX/Document.src/M000079.html +34 -0
- data/ref/ruby/classes/XX/Document.src/M000080.html +98 -0
- data/ref/ruby/classes/XX/HTML4.html +145 -0
- data/ref/ruby/classes/XX/HTML4.src/M000036.html +20 -0
- data/ref/ruby/classes/XX/HTML4/Strict.html +138 -0
- data/ref/ruby/classes/XX/HTML4/Strict.src/M000038.html +20 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.html +138 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.src/M000037.html +20 -0
- data/ref/ruby/classes/XX/Markup.html +160 -0
- data/ref/ruby/classes/XX/Markup.src/M000043.html +28 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.html +236 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000044.html +22 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000045.html +20 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000046.html +25 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000047.html +20 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000048.html +27 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000049.html +20 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000050.html +27 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000051.html +22 -0
- data/ref/ruby/classes/XX/Markup/Error.html +111 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.html +474 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +56 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +33 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +31 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +48 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000056.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000057.html +31 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000058.html +32 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000059.html +32 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000060.html +28 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000061.html +23 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000062.html +26 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000063.html +20 -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 +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000067.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000068.html +21 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000069.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000070.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000071.html +20 -0
- data/ref/ruby/classes/XX/XHTML.html +145 -0
- data/ref/ruby/classes/XX/XHTML.src/M000039.html +36 -0
- data/ref/ruby/classes/XX/XHTML/Strict.html +138 -0
- data/ref/ruby/classes/XX/XHTML/Strict.src/M000041.html +20 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.html +138 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.src/M000040.html +20 -0
- data/ref/ruby/classes/XX/XML.html +138 -0
- data/ref/ruby/classes/XX/XML.src/M000035.html +20 -0
- data/ref/ruby/classes/XX/XMLish.html +138 -0
- data/ref/ruby/classes/XX/XMLish.src/M000042.html +18 -0
- data/ref/ruby/created.rid +1 -0
- data/ref/ruby/files/bin/generate_test_rb.html +248 -0
- data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +18 -0
- data/ref/ruby/files/bin/generate_test_rb.src/M000002.html +40 -0
- data/ref/ruby/files/bin/header_to_ruby_rb.html +124 -0
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/integer_rb.html +101 -0
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +111 -0
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +115 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +208 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000003.html +24 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html +26 -0
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +107 -0
- data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +148 -0
- data/ref/ruby/files/lib/ruby-vpi_rb.html +111 -0
- data/ref/ruby/fr_class_index.html +57 -0
- data/ref/ruby/fr_file_index.html +40 -0
- data/ref/ruby/fr_method_index.html +121 -0
- data/ref/ruby/index.html +24 -0
- data/ref/ruby/rdoc-style.css +208 -0
- data/samp/counter/counter_rspec_bench.rb +1 -0
- data/samp/counter/counter_rspec_bench.v +1 -1
- data/samp/counter/counter_xunit_bench.rb +1 -0
- data/samp/counter/counter_xunit_bench.v +1 -1
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +1 -0
- data/samp/pipelined_alu/hw5_unit_test_bench.v +1 -1
- data/samp/pipelined_alu/int_gen.rb +6 -7
- metadata +269 -2
data/ref/c/tab_b.gif
ADDED
Binary file
|
data/ref/c/tab_l.gif
ADDED
Binary file
|
data/ref/c/tab_r.gif
ADDED
Binary file
|
data/ref/c/tabs.css
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */
|
2
|
+
|
3
|
+
DIV.tabs
|
4
|
+
{
|
5
|
+
float : left;
|
6
|
+
width : 100%;
|
7
|
+
background : url("tab_b.gif") repeat-x bottom;
|
8
|
+
margin-bottom : 4px;
|
9
|
+
}
|
10
|
+
|
11
|
+
DIV.tabs UL
|
12
|
+
{
|
13
|
+
margin : 0px;
|
14
|
+
padding-left : 10px;
|
15
|
+
list-style : none;
|
16
|
+
}
|
17
|
+
|
18
|
+
DIV.tabs LI, DIV.tabs FORM
|
19
|
+
{
|
20
|
+
display : inline;
|
21
|
+
margin : 0px;
|
22
|
+
padding : 0px;
|
23
|
+
}
|
24
|
+
|
25
|
+
DIV.tabs FORM
|
26
|
+
{
|
27
|
+
float : right;
|
28
|
+
}
|
29
|
+
|
30
|
+
DIV.tabs A
|
31
|
+
{
|
32
|
+
float : left;
|
33
|
+
background : url("tab_r.gif") no-repeat right top;
|
34
|
+
border-bottom : 1px solid #84B0C7;
|
35
|
+
font-size : x-small;
|
36
|
+
font-weight : bold;
|
37
|
+
text-decoration : none;
|
38
|
+
}
|
39
|
+
|
40
|
+
DIV.tabs A:hover
|
41
|
+
{
|
42
|
+
background-position: 100% -150px;
|
43
|
+
}
|
44
|
+
|
45
|
+
DIV.tabs A:link, DIV.tabs A:visited,
|
46
|
+
DIV.tabs A:active, DIV.tabs A:hover
|
47
|
+
{
|
48
|
+
color: #1A419D;
|
49
|
+
}
|
50
|
+
|
51
|
+
DIV.tabs SPAN
|
52
|
+
{
|
53
|
+
float : left;
|
54
|
+
display : block;
|
55
|
+
background : url("tab_l.gif") no-repeat left top;
|
56
|
+
padding : 5px 9px;
|
57
|
+
white-space : nowrap;
|
58
|
+
}
|
59
|
+
|
60
|
+
DIV.tabs INPUT
|
61
|
+
{
|
62
|
+
float : right;
|
63
|
+
display : inline;
|
64
|
+
font-size : 1em;
|
65
|
+
}
|
66
|
+
|
67
|
+
DIV.tabs TD
|
68
|
+
{
|
69
|
+
font-size : x-small;
|
70
|
+
font-weight : bold;
|
71
|
+
text-decoration : none;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
77
|
+
DIV.tabs SPAN {float : none;}
|
78
|
+
/* End IE5-Mac hack */
|
79
|
+
|
80
|
+
DIV.tabs A:hover SPAN
|
81
|
+
{
|
82
|
+
background-position: 0% -150px;
|
83
|
+
}
|
84
|
+
|
85
|
+
DIV.tabs LI#current A
|
86
|
+
{
|
87
|
+
background-position: 100% -150px;
|
88
|
+
border-width : 0px;
|
89
|
+
}
|
90
|
+
|
91
|
+
DIV.tabs LI#current SPAN
|
92
|
+
{
|
93
|
+
background-position: 0% -150px;
|
94
|
+
padding-bottom : 6px;
|
95
|
+
}
|
96
|
+
|
97
|
+
DIV.nav
|
98
|
+
{
|
99
|
+
background : none;
|
100
|
+
border : none;
|
101
|
+
border-bottom : 1px solid #84B0C7;
|
102
|
+
}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
+
<title>Ruby-VPI: s_vpi_value_value Union Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.4.7 -->
|
8
|
+
<div class="tabs">
|
9
|
+
<ul>
|
10
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
11
|
+
<li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
12
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
13
|
+
</ul></div>
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
17
|
+
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
18
|
+
</ul></div>
|
19
|
+
<h1>s_vpi_value_value Union Reference</h1><!-- doxytag: class="s_vpi_value_value" --><table border="0" cellpadding="0" cellspacing="0">
|
20
|
+
<tr><td></td></tr>
|
21
|
+
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
22
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#fa9c2707008632f4483435de8479bf09">str</a></td></tr>
|
23
|
+
|
24
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#ddde1b42b67cc33b24f848b6136452a6">scalar</a></td></tr>
|
25
|
+
|
26
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#5b7b4294baa69af942467e56985acde7">integer</a></td></tr>
|
27
|
+
|
28
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#65be6f4dfb83ecda12243906b02e779c">real</a></td></tr>
|
29
|
+
|
30
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__time.html">t_vpi_time</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#3c2ca8f361f470a20e44e7f9fdb41672">time</a></td></tr>
|
31
|
+
|
32
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__vecval.html">t_vpi_vecval</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#83be7b9659a7336f2c89c03398f8f36f">vector</a></td></tr>
|
33
|
+
|
34
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structt__vpi__strengthval.html">t_vpi_strengthval</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#575232f92b4e2190577a3c14294a324d">strength</a></td></tr>
|
35
|
+
|
36
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="unions__vpi__value__value.html#28cffae0783d0a647c228b110f74e585">misc</a></td></tr>
|
37
|
+
|
38
|
+
</table>
|
39
|
+
<hr><h2>Field Documentation</h2>
|
40
|
+
<a class="anchor" name="5b7b4294baa69af942467e56985acde7"></a><!-- doxytag: member="s_vpi_value_value::integer" ref="5b7b4294baa69af942467e56985acde7" args="" -->
|
41
|
+
<div class="memitem">
|
42
|
+
<div class="memproto">
|
43
|
+
<table class="memname">
|
44
|
+
<tr>
|
45
|
+
<td class="memname"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> <a class="el" href="unions__vpi__value__value.html#5b7b4294baa69af942467e56985acde7">s_vpi_value_value::integer</a> </td>
|
46
|
+
</tr>
|
47
|
+
</table>
|
48
|
+
</div>
|
49
|
+
<div class="memdoc">
|
50
|
+
|
51
|
+
<p>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</div><p>
|
55
|
+
<a class="anchor" name="28cffae0783d0a647c228b110f74e585"></a><!-- doxytag: member="s_vpi_value_value::misc" ref="28cffae0783d0a647c228b110f74e585" args="" -->
|
56
|
+
<div class="memitem">
|
57
|
+
<div class="memproto">
|
58
|
+
<table class="memname">
|
59
|
+
<tr>
|
60
|
+
<td class="memname"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* <a class="el" href="unions__vpi__value__value.html#28cffae0783d0a647c228b110f74e585">s_vpi_value_value::misc</a> </td>
|
61
|
+
</tr>
|
62
|
+
</table>
|
63
|
+
</div>
|
64
|
+
<div class="memdoc">
|
65
|
+
|
66
|
+
<p>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div><p>
|
70
|
+
<a class="anchor" name="65be6f4dfb83ecda12243906b02e779c"></a><!-- doxytag: member="s_vpi_value_value::real" ref="65be6f4dfb83ecda12243906b02e779c" args="" -->
|
71
|
+
<div class="memitem">
|
72
|
+
<div class="memproto">
|
73
|
+
<table class="memname">
|
74
|
+
<tr>
|
75
|
+
<td class="memname">double <a class="el" href="unions__vpi__value__value.html#65be6f4dfb83ecda12243906b02e779c">s_vpi_value_value::real</a> </td>
|
76
|
+
</tr>
|
77
|
+
</table>
|
78
|
+
</div>
|
79
|
+
<div class="memdoc">
|
80
|
+
|
81
|
+
<p>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
</div><p>
|
85
|
+
<a class="anchor" name="ddde1b42b67cc33b24f848b6136452a6"></a><!-- doxytag: member="s_vpi_value_value::scalar" ref="ddde1b42b67cc33b24f848b6136452a6" args="" -->
|
86
|
+
<div class="memitem">
|
87
|
+
<div class="memproto">
|
88
|
+
<table class="memname">
|
89
|
+
<tr>
|
90
|
+
<td class="memname"><a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> <a class="el" href="unions__vpi__value__value.html#ddde1b42b67cc33b24f848b6136452a6">s_vpi_value_value::scalar</a> </td>
|
91
|
+
</tr>
|
92
|
+
</table>
|
93
|
+
</div>
|
94
|
+
<div class="memdoc">
|
95
|
+
|
96
|
+
<p>
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div><p>
|
100
|
+
<a class="anchor" name="fa9c2707008632f4483435de8479bf09"></a><!-- doxytag: member="s_vpi_value_value::str" ref="fa9c2707008632f4483435de8479bf09" args="" -->
|
101
|
+
<div class="memitem">
|
102
|
+
<div class="memproto">
|
103
|
+
<table class="memname">
|
104
|
+
<tr>
|
105
|
+
<td class="memname"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* <a class="el" href="unions__vpi__value__value.html#fa9c2707008632f4483435de8479bf09">s_vpi_value_value::str</a> </td>
|
106
|
+
</tr>
|
107
|
+
</table>
|
108
|
+
</div>
|
109
|
+
<div class="memdoc">
|
110
|
+
|
111
|
+
<p>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div><p>
|
115
|
+
<a class="anchor" name="575232f92b4e2190577a3c14294a324d"></a><!-- doxytag: member="s_vpi_value_value::strength" ref="575232f92b4e2190577a3c14294a324d" args="" -->
|
116
|
+
<div class="memitem">
|
117
|
+
<div class="memproto">
|
118
|
+
<table class="memname">
|
119
|
+
<tr>
|
120
|
+
<td class="memname">struct <a class="el" href="structt__vpi__strengthval.html">t_vpi_strengthval</a>* <a class="el" href="unions__vpi__value__value.html#575232f92b4e2190577a3c14294a324d">s_vpi_value_value::strength</a> </td>
|
121
|
+
</tr>
|
122
|
+
</table>
|
123
|
+
</div>
|
124
|
+
<div class="memdoc">
|
125
|
+
|
126
|
+
<p>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
</div><p>
|
130
|
+
<a class="anchor" name="3c2ca8f361f470a20e44e7f9fdb41672"></a><!-- doxytag: member="s_vpi_value_value::time" ref="3c2ca8f361f470a20e44e7f9fdb41672" args="" -->
|
131
|
+
<div class="memitem">
|
132
|
+
<div class="memproto">
|
133
|
+
<table class="memname">
|
134
|
+
<tr>
|
135
|
+
<td class="memname">struct <a class="el" href="structt__vpi__time.html">t_vpi_time</a>* <a class="el" href="unions__vpi__value__value.html#3c2ca8f361f470a20e44e7f9fdb41672">s_vpi_value_value::time</a> </td>
|
136
|
+
</tr>
|
137
|
+
</table>
|
138
|
+
</div>
|
139
|
+
<div class="memdoc">
|
140
|
+
|
141
|
+
<p>
|
142
|
+
|
143
|
+
</div>
|
144
|
+
</div><p>
|
145
|
+
<a class="anchor" name="83be7b9659a7336f2c89c03398f8f36f"></a><!-- doxytag: member="s_vpi_value_value::vector" ref="83be7b9659a7336f2c89c03398f8f36f" args="" -->
|
146
|
+
<div class="memitem">
|
147
|
+
<div class="memproto">
|
148
|
+
<table class="memname">
|
149
|
+
<tr>
|
150
|
+
<td class="memname">struct <a class="el" href="structt__vpi__vecval.html">t_vpi_vecval</a>* <a class="el" href="unions__vpi__value__value.html#83be7b9659a7336f2c89c03398f8f36f">s_vpi_value_value::vector</a> </td>
|
151
|
+
</tr>
|
152
|
+
</table>
|
153
|
+
</div>
|
154
|
+
<div class="memdoc">
|
155
|
+
|
156
|
+
<p>
|
157
|
+
|
158
|
+
</div>
|
159
|
+
</div><p>
|
160
|
+
<hr>The documentation for this union was generated from the following file:<ul>
|
161
|
+
<li><a class="el" href="swig__wrap_8cin.html">swig_wrap.cin</a></ul>
|
162
|
+
<hr size="1"><address style="align: right;"><small>Generated on Wed Nov 8 19:07:51 2006 for Ruby-VPI by
|
163
|
+
<a href="http://www.doxygen.org/index.html">
|
164
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
165
|
+
</body>
|
166
|
+
</html>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
+
<title>Ruby-VPI: verilog.h File Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.4.7 -->
|
8
|
+
<div class="tabs">
|
9
|
+
<ul>
|
10
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
11
|
+
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
12
|
+
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
13
|
+
</ul></div>
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
17
|
+
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
|
+
</ul></div>
|
19
|
+
<h1>verilog.h File Reference</h1>A proxy for all Verilog headers of interest to us. <a href="#_details">More...</a>
|
20
|
+
<p>
|
21
|
+
<code>#include "<a class="el" href="vpi__user_8h.html">vpi_user.h</a>"</code><br>
|
22
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
23
|
+
<tr><td></td></tr>
|
24
|
+
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
25
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#858d173d13926845fc1c1248519d7fdc">verilog_tf_funcPtr_strict</a>(aPtrName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> (*aPtrName)(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>*)</td></tr>
|
26
|
+
|
27
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#6e8374d012a82e20b7e93415b95cf33d">verilog_tf_funcPtr</a> verilog_tf_funcPtr_strict</td></tr>
|
28
|
+
|
29
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#d3ce96438bf5e9101337a49bac4507f7">verilog_tf_funcSig</a>(aFuncName) <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* aDummy)</td></tr>
|
30
|
+
|
31
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="verilog_8h.html#0895cc43ee6708ed1a7fa8b9829665ba">verilog_tf_funcReturn</a>(aReturnVal) return aReturnVal</td></tr>
|
32
|
+
|
33
|
+
</table>
|
34
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
35
|
+
A proxy for all Verilog headers of interest to us.
|
36
|
+
<p>
|
37
|
+
<hr><h2>Define Documentation</h2>
|
38
|
+
<a class="anchor" name="6e8374d012a82e20b7e93415b95cf33d"></a><!-- doxytag: member="verilog.h::verilog_tf_funcPtr" ref="6e8374d012a82e20b7e93415b95cf33d" args="" -->
|
39
|
+
<div class="memitem">
|
40
|
+
<div class="memproto">
|
41
|
+
<table class="memname">
|
42
|
+
<tr>
|
43
|
+
<td class="memname">#define verilog_tf_funcPtr verilog_tf_funcPtr_strict </td>
|
44
|
+
</tr>
|
45
|
+
</table>
|
46
|
+
</div>
|
47
|
+
<div class="memdoc">
|
48
|
+
|
49
|
+
<p>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
</div><p>
|
53
|
+
<a class="anchor" name="858d173d13926845fc1c1248519d7fdc"></a><!-- doxytag: member="verilog.h::verilog_tf_funcPtr_strict" ref="858d173d13926845fc1c1248519d7fdc" args="(aPtrName)" -->
|
54
|
+
<div class="memitem">
|
55
|
+
<div class="memproto">
|
56
|
+
<table class="memname">
|
57
|
+
<tr>
|
58
|
+
<td class="memname">#define verilog_tf_funcPtr_strict </td>
|
59
|
+
<td>(</td>
|
60
|
+
<td class="paramtype">aPtrName </td>
|
61
|
+
<td class="paramname"> </td>
|
62
|
+
<td> ) </td>
|
63
|
+
<td width="100%"> <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> (*aPtrName)(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>*)</td>
|
64
|
+
</tr>
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<div class="memdoc">
|
68
|
+
|
69
|
+
<p>
|
70
|
+
|
71
|
+
</div>
|
72
|
+
</div><p>
|
73
|
+
<a class="anchor" name="0895cc43ee6708ed1a7fa8b9829665ba"></a><!-- doxytag: member="verilog.h::verilog_tf_funcReturn" ref="0895cc43ee6708ed1a7fa8b9829665ba" args="(aReturnVal)" -->
|
74
|
+
<div class="memitem">
|
75
|
+
<div class="memproto">
|
76
|
+
<table class="memname">
|
77
|
+
<tr>
|
78
|
+
<td class="memname">#define verilog_tf_funcReturn </td>
|
79
|
+
<td>(</td>
|
80
|
+
<td class="paramtype">aReturnVal </td>
|
81
|
+
<td class="paramname"> </td>
|
82
|
+
<td> ) </td>
|
83
|
+
<td width="100%"> return aReturnVal</td>
|
84
|
+
</tr>
|
85
|
+
</table>
|
86
|
+
</div>
|
87
|
+
<div class="memdoc">
|
88
|
+
|
89
|
+
<p>
|
90
|
+
|
91
|
+
</div>
|
92
|
+
</div><p>
|
93
|
+
<a class="anchor" name="d3ce96438bf5e9101337a49bac4507f7"></a><!-- doxytag: member="verilog.h::verilog_tf_funcSig" ref="d3ce96438bf5e9101337a49bac4507f7" args="(aFuncName)" -->
|
94
|
+
<div class="memitem">
|
95
|
+
<div class="memproto">
|
96
|
+
<table class="memname">
|
97
|
+
<tr>
|
98
|
+
<td class="memname">#define verilog_tf_funcSig </td>
|
99
|
+
<td>(</td>
|
100
|
+
<td class="paramtype">aFuncName </td>
|
101
|
+
<td class="paramname"> </td>
|
102
|
+
<td> ) </td>
|
103
|
+
<td width="100%"> <a class="el" href="vpi__user_8h.html#4a478dfb1ea580b36c39dcec9fc8d53c">PLI_INT32</a> aFuncName(<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a>* aDummy)</td>
|
104
|
+
</tr>
|
105
|
+
</table>
|
106
|
+
</div>
|
107
|
+
<div class="memdoc">
|
108
|
+
|
109
|
+
<p>
|
110
|
+
|
111
|
+
</div>
|
112
|
+
</div><p>
|
113
|
+
<hr size="1"><address style="align: right;"><small>Generated on Wed Nov 8 19:07:51 2006 for Ruby-VPI by
|
114
|
+
<a href="http://www.doxygen.org/index.html">
|
115
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
116
|
+
</body>
|
117
|
+
</html>
|
data/ref/c/vlog_8c.html
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
3
|
+
<title>Ruby-VPI: vlog.c File Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.4.7 -->
|
8
|
+
<div class="tabs">
|
9
|
+
<ul>
|
10
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
11
|
+
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
12
|
+
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
13
|
+
</ul></div>
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
17
|
+
<li><a href="globals.html"><span>Globals</span></a></li>
|
18
|
+
</ul></div>
|
19
|
+
<h1>vlog.c File Reference</h1><code>#include "<a class="el" href="vlog_8h.html">vlog.h</a>"</code><br>
|
20
|
+
<code>#include "<a class="el" href="relay_8h.html">relay.h</a>"</code><br>
|
21
|
+
<code>#include <stdlib.h></code><br>
|
22
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
23
|
+
<tr><td></td></tr>
|
24
|
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
25
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#2e0274a583a8e9f28e0a99003053a354">verilog_tf_funcSig</a> (vlog_ruby_relay)</td></tr>
|
26
|
+
|
27
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_relay VPI task. <a href="#2e0274a583a8e9f28e0a99003053a354"></a><br></td></tr>
|
28
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#1b39935aef93f96d0dfb959639b00754">verilog_tf_funcSig</a> (vlog_ruby_init)</td></tr>
|
29
|
+
|
30
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_init VPI task. <a href="#1b39935aef93f96d0dfb959639b00754"></a><br></td></tr>
|
31
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#152829ae9d28417665d4d15a059e096c">vlog_bind_task</a> (<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> *apTaskName, verilog_tf_funcPtr(apTaskDef))</td></tr>
|
32
|
+
|
33
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Binds a C function to a VPI task, so that Verilog code can invoke the C function by calling the VPI task. <a href="#152829ae9d28417665d4d15a059e096c"></a><br></td></tr>
|
34
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#dc9eaadf567421f239b8b647a3ea0eb2">vlog_startup</a> ()</td></tr>
|
35
|
+
|
36
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator begins to simulate. <a href="#dc9eaadf567421f239b8b647a3ea0eb2"></a><br></td></tr>
|
37
|
+
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
38
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*[]) </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8c.html#c1228ec9528d9c9be4de1c8e42cd3835">vlog_startup_routines</a> () = { vlog_startup, 0 }</td></tr>
|
39
|
+
|
40
|
+
</table>
|
41
|
+
<hr><h2>Function Documentation</h2>
|
42
|
+
<a class="anchor" name="1b39935aef93f96d0dfb959639b00754"></a><!-- doxytag: member="vlog.c::verilog_tf_funcSig" ref="1b39935aef93f96d0dfb959639b00754" args="(vlog_ruby_init)" -->
|
43
|
+
<div class="memitem">
|
44
|
+
<div class="memproto">
|
45
|
+
<table class="memname">
|
46
|
+
<tr>
|
47
|
+
<td class="memname">verilog_tf_funcSig </td>
|
48
|
+
<td>(</td>
|
49
|
+
<td class="paramtype">vlog_ruby_init </td>
|
50
|
+
<td class="paramname"> </td>
|
51
|
+
<td> ) </td>
|
52
|
+
<td width="100%"></td>
|
53
|
+
</tr>
|
54
|
+
</table>
|
55
|
+
</div>
|
56
|
+
<div class="memdoc">
|
57
|
+
|
58
|
+
<p>
|
59
|
+
Callback for the $ruby_init VPI task.
|
60
|
+
<p>
|
61
|
+
Initializes and starts the Ruby interpreter with the same arguments as those given to the VPI task-call.<p>
|
62
|
+
For example, to start the Ruby interpreter with the "-w" option and with the "hello_world.rb" script, the Verilog code would have a statement like this:<ul>
|
63
|
+
<li><code>$ruby_init("-w", "hello_world.rb");</code> </li></ul>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
</div><p>
|
67
|
+
<a class="anchor" name="2e0274a583a8e9f28e0a99003053a354"></a><!-- doxytag: member="vlog.c::verilog_tf_funcSig" ref="2e0274a583a8e9f28e0a99003053a354" args="(vlog_ruby_relay)" -->
|
68
|
+
<div class="memitem">
|
69
|
+
<div class="memproto">
|
70
|
+
<table class="memname">
|
71
|
+
<tr>
|
72
|
+
<td class="memname">verilog_tf_funcSig </td>
|
73
|
+
<td>(</td>
|
74
|
+
<td class="paramtype">vlog_ruby_relay </td>
|
75
|
+
<td class="paramname"> </td>
|
76
|
+
<td> ) </td>
|
77
|
+
<td width="100%"></td>
|
78
|
+
</tr>
|
79
|
+
</table>
|
80
|
+
</div>
|
81
|
+
<div class="memdoc">
|
82
|
+
|
83
|
+
<p>
|
84
|
+
Callback for the $ruby_relay VPI task.
|
85
|
+
<p>
|
86
|
+
Transfers control from Verilog to Ruby code.
|
87
|
+
</div>
|
88
|
+
</div><p>
|
89
|
+
<a class="anchor" name="152829ae9d28417665d4d15a059e096c"></a><!-- doxytag: member="vlog.c::vlog_bind_task" ref="152829ae9d28417665d4d15a059e096c" args="(PLI_BYTE8 *apTaskName, verilog_tf_funcPtr(apTaskDef))" -->
|
90
|
+
<div class="memitem">
|
91
|
+
<div class="memproto">
|
92
|
+
<table class="memname">
|
93
|
+
<tr>
|
94
|
+
<td class="memname">void vlog_bind_task </td>
|
95
|
+
<td>(</td>
|
96
|
+
<td class="paramtype"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td>
|
97
|
+
<td class="paramname"> <em>apTaskName</em>, </td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="paramkey"></td>
|
101
|
+
<td></td>
|
102
|
+
<td class="paramtype">verilog_tf_funcPtr(apTaskDef) </td>
|
103
|
+
<td class="paramname"></td><td> </td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td></td>
|
107
|
+
<td>)</td>
|
108
|
+
<td></td><td></td><td width="100%"></td>
|
109
|
+
</tr>
|
110
|
+
</table>
|
111
|
+
</div>
|
112
|
+
<div class="memdoc">
|
113
|
+
|
114
|
+
<p>
|
115
|
+
Binds a C function to a VPI task, so that Verilog code can invoke the C function by calling the VPI task.
|
116
|
+
<p>
|
117
|
+
For example, if we bound a VPI task named "$hello_world" to the C function hello_world(), then the hello_world() function would be invoked whenever Verilog code called the "$hello_world" VPI task.<p>
|
118
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
119
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
120
|
+
<tr><td valign="top"></td><td valign="top"><em>apTaskName</em> </td><td>Name of the VPI task. For example, "$hello_world".</td></tr>
|
121
|
+
<tr><td valign="top"></td><td valign="top"><em>apTaskDef</em> </td><td>The C function which you want to associate with the given VPI task. For example, hello_world(). </td></tr>
|
122
|
+
</table>
|
123
|
+
</dl>
|
124
|
+
|
125
|
+
</div>
|
126
|
+
</div><p>
|
127
|
+
<a class="anchor" name="dc9eaadf567421f239b8b647a3ea0eb2"></a><!-- doxytag: member="vlog.c::vlog_startup" ref="dc9eaadf567421f239b8b647a3ea0eb2" args="()" -->
|
128
|
+
<div class="memitem">
|
129
|
+
<div class="memproto">
|
130
|
+
<table class="memname">
|
131
|
+
<tr>
|
132
|
+
<td class="memname">void vlog_startup </td>
|
133
|
+
<td>(</td>
|
134
|
+
<td class="paramname"> </td>
|
135
|
+
<td> ) </td>
|
136
|
+
<td width="100%"></td>
|
137
|
+
</tr>
|
138
|
+
</table>
|
139
|
+
</div>
|
140
|
+
<div class="memdoc">
|
141
|
+
|
142
|
+
<p>
|
143
|
+
Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator begins to simulate.
|
144
|
+
<p>
|
145
|
+
|
146
|
+
</div>
|
147
|
+
</div><p>
|
148
|
+
<hr><h2>Variable Documentation</h2>
|
149
|
+
<a class="anchor" name="c1228ec9528d9c9be4de1c8e42cd3835"></a><!-- doxytag: member="vlog.c::vlog_startup_routines" ref="c1228ec9528d9c9be4de1c8e42cd3835" args="()" -->
|
150
|
+
<div class="memitem">
|
151
|
+
<div class="memproto">
|
152
|
+
<table class="memname">
|
153
|
+
<tr>
|
154
|
+
<td class="memname">void(*[]) <a class="el" href="vpi__user_8h.html#c633eb05d7e314a57629aa32ca3a9076">vlog_startup_routines</a>() = { vlog_startup, 0 } </td>
|
155
|
+
</tr>
|
156
|
+
</table>
|
157
|
+
</div>
|
158
|
+
<div class="memdoc">
|
159
|
+
|
160
|
+
<p>
|
161
|
+
|
162
|
+
</div>
|
163
|
+
</div><p>
|
164
|
+
<hr size="1"><address style="align: right;"><small>Generated on Wed Nov 8 19:07:51 2006 for Ruby-VPI by
|
165
|
+
<a href="http://www.doxygen.org/index.html">
|
166
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
167
|
+
</body>
|
168
|
+
</html>
|