ruby-vpi 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +398 -0
- data/LICENSE +340 -0
- data/MEMO +38 -0
- data/README +9 -0
- data/Rakefile +271 -0
- data/bin/generate_test.rb +258 -0
- data/bin/generate_test_tpl/bench.rb +31 -0
- data/bin/generate_test_tpl/bench.v +54 -0
- data/bin/generate_test_tpl/design.rb +26 -0
- data/bin/generate_test_tpl/proto.rb +8 -0
- data/bin/generate_test_tpl/runner.rake +28 -0
- data/bin/generate_test_tpl/spec.rb +46 -0
- data/bin/header_to_ruby.rb +70 -0
- data/doc/Rakefile +55 -0
- data/doc/src/LICENSE +397 -0
- data/doc/src/figures/organization.png +0 -0
- data/doc/src/figures/organization_detailed.png +0 -0
- data/doc/src/figures/ruby_init.png +0 -0
- data/doc/src/figures/ruby_relay.png +0 -0
- data/doc/src/figures.dia +0 -0
- data/doc/src/images/COPYING +67 -0
- data/doc/src/images/ChangeLog +27 -0
- data/doc/src/images/blank.png +0 -0
- data/doc/src/images/callouts/1.png +0 -0
- data/doc/src/images/callouts/10.png +0 -0
- data/doc/src/images/callouts/11.png +0 -0
- data/doc/src/images/callouts/12.png +0 -0
- data/doc/src/images/callouts/13.png +0 -0
- data/doc/src/images/callouts/14.png +0 -0
- data/doc/src/images/callouts/15.png +0 -0
- data/doc/src/images/callouts/2.png +0 -0
- data/doc/src/images/callouts/3.png +0 -0
- data/doc/src/images/callouts/4.png +0 -0
- data/doc/src/images/callouts/5.png +0 -0
- data/doc/src/images/callouts/6.png +0 -0
- data/doc/src/images/callouts/7.png +0 -0
- data/doc/src/images/callouts/8.png +0 -0
- data/doc/src/images/callouts/9.png +0 -0
- data/doc/src/images/callouts/ChangeLog +15 -0
- data/doc/src/images/caution.png +0 -0
- data/doc/src/images/caution.svg +290 -0
- data/doc/src/images/copyright +55 -0
- data/doc/src/images/draft.png +0 -0
- data/doc/src/images/home.png +0 -0
- data/doc/src/images/home.svg +386 -0
- data/doc/src/images/important.png +0 -0
- data/doc/src/images/important.svg +163 -0
- data/doc/src/images/next.png +0 -0
- data/doc/src/images/next.svg +191 -0
- data/doc/src/images/note.png +0 -0
- data/doc/src/images/note.svg +483 -0
- data/doc/src/images/prev.png +0 -0
- data/doc/src/images/prev.svg +852 -0
- data/doc/src/images/tip.png +0 -0
- data/doc/src/images/tip.svg +1145 -0
- data/doc/src/images/toc-blank.png +0 -0
- data/doc/src/images/toc-minus.png +0 -0
- data/doc/src/images/toc-plus.png +0 -0
- data/doc/src/images/up.png +0 -0
- data/doc/src/images/up.svg +195 -0
- data/doc/src/images/warning.png +0 -0
- data/doc/src/images/warning.svg +334 -0
- data/doc/src/license.xml +446 -0
- data/doc/src/manual.xml +1582 -0
- data/doc/src/manual.xsl +23 -0
- data/doc/src/shared.dtd +63 -0
- data/doc/src/styles/manual.css +87 -0
- data/doc/txt/manual.txt +1657 -0
- data/doc/xhtml/background.html +3 -0
- data/doc/xhtml/background.methodology.html +3 -0
- data/doc/xhtml/background.organization.html +10 -0
- data/doc/xhtml/background.running-tests.html +3 -0
- data/doc/xhtml/background.terminology.html +3 -0
- data/doc/xhtml/figures/organization.png +0 -0
- data/doc/xhtml/figures/organization_detailed.png +0 -0
- data/doc/xhtml/figures/ruby_init.png +0 -0
- data/doc/xhtml/figures/ruby_relay.png +0 -0
- data/doc/xhtml/gfdl-0.html +18 -0
- data/doc/xhtml/gfdl-1.html +70 -0
- data/doc/xhtml/gfdl-10.html +15 -0
- data/doc/xhtml/gfdl-2.html +13 -0
- data/doc/xhtml/gfdl-3.html +31 -0
- data/doc/xhtml/gfdl-4.html +75 -0
- data/doc/xhtml/gfdl-5.html +20 -0
- data/doc/xhtml/gfdl-6.html +12 -0
- data/doc/xhtml/gfdl-7.html +16 -0
- data/doc/xhtml/gfdl-8.html +17 -0
- data/doc/xhtml/gfdl-9.html +9 -0
- data/doc/xhtml/gfdl-addendum.html +25 -0
- data/doc/xhtml/gfdl.html +11 -0
- data/doc/xhtml/glossary.html +3 -0
- data/doc/xhtml/images/COPYING +67 -0
- data/doc/xhtml/images/ChangeLog +27 -0
- data/doc/xhtml/images/blank.png +0 -0
- data/doc/xhtml/images/callouts/1.png +0 -0
- data/doc/xhtml/images/callouts/10.png +0 -0
- data/doc/xhtml/images/callouts/11.png +0 -0
- data/doc/xhtml/images/callouts/12.png +0 -0
- data/doc/xhtml/images/callouts/13.png +0 -0
- data/doc/xhtml/images/callouts/14.png +0 -0
- data/doc/xhtml/images/callouts/15.png +0 -0
- data/doc/xhtml/images/callouts/2.png +0 -0
- data/doc/xhtml/images/callouts/3.png +0 -0
- data/doc/xhtml/images/callouts/4.png +0 -0
- data/doc/xhtml/images/callouts/5.png +0 -0
- data/doc/xhtml/images/callouts/6.png +0 -0
- data/doc/xhtml/images/callouts/7.png +0 -0
- data/doc/xhtml/images/callouts/8.png +0 -0
- data/doc/xhtml/images/callouts/9.png +0 -0
- data/doc/xhtml/images/callouts/ChangeLog +15 -0
- data/doc/xhtml/images/caution.png +0 -0
- data/doc/xhtml/images/caution.svg +290 -0
- data/doc/xhtml/images/copyright +55 -0
- data/doc/xhtml/images/draft.png +0 -0
- data/doc/xhtml/images/home.png +0 -0
- data/doc/xhtml/images/home.svg +386 -0
- data/doc/xhtml/images/important.png +0 -0
- data/doc/xhtml/images/important.svg +163 -0
- data/doc/xhtml/images/next.png +0 -0
- data/doc/xhtml/images/next.svg +191 -0
- data/doc/xhtml/images/note.png +0 -0
- data/doc/xhtml/images/note.svg +483 -0
- data/doc/xhtml/images/prev.png +0 -0
- data/doc/xhtml/images/prev.svg +852 -0
- data/doc/xhtml/images/tip.png +0 -0
- data/doc/xhtml/images/tip.svg +1145 -0
- data/doc/xhtml/images/toc-blank.png +0 -0
- data/doc/xhtml/images/toc-minus.png +0 -0
- data/doc/xhtml/images/toc-plus.png +0 -0
- data/doc/xhtml/images/up.png +0 -0
- data/doc/xhtml/images/up.svg +195 -0
- data/doc/xhtml/images/warning.png +0 -0
- data/doc/xhtml/images/warning.svg +334 -0
- data/doc/xhtml/index.html +4 -0
- data/doc/xhtml/introduction.html +3 -0
- data/doc/xhtml/introduction.license.html +3 -0
- data/doc/xhtml/introduction.manifest.html +3 -0
- data/doc/xhtml/introduction.related-works.html +3 -0
- data/doc/xhtml/introduction.resources.html +3 -0
- data/doc/xhtml/problem.ivl.html +18 -0
- data/doc/xhtml/problems.html +3 -0
- data/doc/xhtml/problems.ruby.html +3 -0
- data/doc/xhtml/problems.vsim.html +3 -0
- data/doc/xhtml/styles/manual.css +87 -0
- data/doc/xhtml/usage.examples.html +3 -0
- data/doc/xhtml/usage.html +3 -0
- data/doc/xhtml/usage.installation.html +3 -0
- data/doc/xhtml/usage.requirements.html +3 -0
- data/doc/xhtml/usage.tools.html +3 -0
- data/doc/xhtml/usage.tutorial.html +199 -0
- data/ext/Doxyfile +272 -0
- data/ext/README +124 -0
- data/ext/Rakefile +65 -0
- data/ext/common.h +56 -0
- data/ext/extconf.rb +4 -0
- data/ext/relay.cin +146 -0
- data/ext/relay.hin +48 -0
- data/ext/ruby-vpi.c +36 -0
- data/ext/swig.cin +38 -0
- data/ext/swig.hin +39 -0
- data/ext/swig_vpi.h +924 -0
- data/ext/swig_vpi.i +8 -0
- data/ext/swig_wrap.cin +4613 -0
- data/ext/verilog.h +59 -0
- data/ext/vlog.cin +92 -0
- data/ext/vlog.hin +57 -0
- data/ext/vpi_user.h +924 -0
- data/gem_extconf.rb +8 -0
- data/history.html +809 -0
- data/lib/ruby-vpi/erb.rb +41 -0
- data/lib/ruby-vpi/rake.rb +35 -0
- data/lib/ruby-vpi/rdoc.rb +51 -0
- data/lib/ruby-vpi/rspec.rb +32 -0
- data/lib/ruby-vpi/runner.rb +22 -0
- data/lib/ruby-vpi/vpi_util.rb +310 -0
- data/lib/ruby-vpi.rb +58 -0
- data/memo.html +86 -0
- data/readme.html +19 -0
- data/ref/c/annotated.html +36 -0
- data/ref/c/common_8h.html +178 -0
- data/ref/c/doxygen.css +310 -0
- data/ref/c/doxygen.png +0 -0
- data/ref/c/files.html +35 -0
- data/ref/c/functions.html +135 -0
- data/ref/c/functions_vars.html +135 -0
- data/ref/c/globals.html +55 -0
- data/ref/c/globals_0x63.html +86 -0
- data/ref/c/globals_0x65.html +55 -0
- data/ref/c/globals_0x66.html +55 -0
- data/ref/c/globals_0x70.html +71 -0
- data/ref/c/globals_0x72.html +62 -0
- data/ref/c/globals_0x73.html +65 -0
- data/ref/c/globals_0x74.html +55 -0
- data/ref/c/globals_0x76.html +472 -0
- data/ref/c/globals_0x78.html +55 -0
- data/ref/c/globals_defs.html +81 -0
- data/ref/c/globals_defs_0x65.html +50 -0
- data/ref/c/globals_defs_0x70.html +51 -0
- data/ref/c/globals_defs_0x76.html +463 -0
- data/ref/c/globals_defs_0x78.html +50 -0
- data/ref/c/globals_enum.html +39 -0
- data/ref/c/globals_eval.html +40 -0
- data/ref/c/globals_func.html +49 -0
- data/ref/c/globals_type.html +63 -0
- data/ref/c/globals_vars.html +42 -0
- data/ref/c/hierarchy.html +36 -0
- data/ref/c/index.html +20 -0
- data/ref/c/relay_8cin.html +268 -0
- data/ref/c/relay_8hin.html +161 -0
- data/ref/c/ruby-vpi_8c.html +34 -0
- data/ref/c/structrelay____RubyOptions____def.html +84 -0
- data/ref/c/structt__cb__data.html +208 -0
- data/ref/c/structt__vpi__delay.html +183 -0
- data/ref/c/structt__vpi__error__info.html +208 -0
- data/ref/c/structt__vpi__strengthval.html +108 -0
- data/ref/c/structt__vpi__systf__data.html +208 -0
- data/ref/c/structt__vpi__time.html +133 -0
- data/ref/c/structt__vpi__value.html +285 -0
- data/ref/c/structt__vpi__vecval.html +83 -0
- data/ref/c/structt__vpi__vlog__info.html +133 -0
- data/ref/c/swig_8cin.html +91 -0
- data/ref/c/swig_8hin.html +99 -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/verilog_8h.html +149 -0
- data/ref/c/vlog_8cin.html +199 -0
- data/ref/c/vlog_8hin.html +152 -0
- data/ref/c/vpi__user_8h.html +12747 -0
- data/ref/ruby/classes/Counter.html +258 -0
- data/ref/ruby/classes/Counter.src/M000037.html +20 -0
- data/ref/ruby/classes/Counter.src/M000038.html +22 -0
- data/ref/ruby/classes/Counter.src/M000039.html +20 -0
- data/ref/ruby/classes/Counter.src/M000040.html +22 -0
- data/ref/ruby/classes/CounterProto.html +164 -0
- data/ref/ruby/classes/CounterProto.src/M000004.html +22 -0
- data/ref/ruby/classes/CounterProto.src/M000005.html +22 -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/M000047.html +18 -0
- data/ref/ruby/classes/FileUtils.src/M000048.html +18 -0
- data/ref/ruby/classes/Hw5UnitModel/Operation.html +216 -0
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000011.html +25 -0
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000012.html +33 -0
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000013.html +18 -0
- data/ref/ruby/classes/Hw5UnitModel.html +256 -0
- data/ref/ruby/classes/Hw5UnitModel.src/M000006.html +24 -0
- data/ref/ruby/classes/Hw5UnitModel.src/M000008.html +20 -0
- data/ref/ruby/classes/Hw5UnitModel.src/M000009.html +38 -0
- data/ref/ruby/classes/Hw5UnitModel.src/M000010.html +22 -0
- data/ref/ruby/classes/Hw5_unit.html +196 -0
- data/ref/ruby/classes/Hw5_unit.src/M000003.html +27 -0
- data/ref/ruby/classes/Hw5_unit_spec.html +237 -0
- data/ref/ruby/classes/Hw5_unit_spec.src/M000023.html +21 -0
- data/ref/ruby/classes/Hw5_unit_spec.src/M000024.html +21 -0
- data/ref/ruby/classes/Hw5_unit_spec.src/M000025.html +67 -0
- data/ref/ruby/classes/InputGenerator.html +260 -0
- data/ref/ruby/classes/InputGenerator.src/M000027.html +18 -0
- data/ref/ruby/classes/InputGenerator.src/M000028.html +18 -0
- data/ref/ruby/classes/InputGenerator.src/M000029.html +19 -0
- data/ref/ruby/classes/InputGenerator.src/M000030.html +38 -0
- data/ref/ruby/classes/InputGenerator.src/M000031.html +19 -0
- data/ref/ruby/classes/InputGenerator.src/M000032.html +19 -0
- data/ref/ruby/classes/MaximumCounterValue.html +159 -0
- data/ref/ruby/classes/MaximumCounterValue.src/M000035.html +23 -0
- data/ref/ruby/classes/MaximumCounterValue.src/M000036.html +21 -0
- data/ref/ruby/classes/ModuleInfo.html +199 -0
- data/ref/ruby/classes/ModuleInfo.src/M000018.html +44 -0
- data/ref/ruby/classes/ModuleInfo.src/M000019.html +26 -0
- data/ref/ruby/classes/OutputInfo.html +304 -0
- data/ref/ruby/classes/OutputInfo.src/M000017.html +51 -0
- data/ref/ruby/classes/RDoc.html +135 -0
- data/ref/ruby/classes/RDoc.src/M000051.html +40 -0
- data/ref/ruby/classes/ResettedCounterValue.html +174 -0
- data/ref/ruby/classes/ResettedCounterValue.src/M000014.html +19 -0
- data/ref/ruby/classes/ResettedCounterValue.src/M000015.html +18 -0
- data/ref/ruby/classes/ResettedCounterValue.src/M000016.html +23 -0
- data/ref/ruby/classes/RubyVPI.html +186 -0
- data/ref/ruby/classes/RubyVPI.src/M000049.html +18 -0
- data/ref/ruby/classes/RubyVPI.src/M000050.html +39 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +370 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000041.html +22 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000042.html +44 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000043.html +82 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000044.html +127 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000045.html +26 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000046.html +18 -0
- data/ref/ruby/classes/SWIG.html +111 -0
- data/ref/ruby/classes/String.html +140 -0
- data/ref/ruby/classes/String.src/M000033.html +37 -0
- data/ref/ruby/classes/Template.html +158 -0
- data/ref/ruby/classes/Template.src/M000026.html +18 -0
- data/ref/ruby/classes/TestHw5UnitModel.html +180 -0
- data/ref/ruby/classes/TestHw5UnitModel.src/M000020.html +19 -0
- data/ref/ruby/classes/TestHw5UnitModel.src/M000021.html +19 -0
- data/ref/ruby/classes/TestHw5UnitModel.src/M000022.html +64 -0
- data/ref/ruby/created.rid +1 -0
- data/ref/ruby/files/bin/generate_test_rb.html +236 -0
- data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +29 -0
- data/ref/ruby/files/bin/generate_test_tpl/bench_rb.html +115 -0
- data/ref/ruby/files/bin/generate_test_tpl/design_rb.html +107 -0
- data/ref/ruby/files/bin/generate_test_tpl/proto_rb.html +107 -0
- data/ref/ruby/files/bin/generate_test_tpl/spec_rb.html +140 -0
- data/ref/ruby/files/bin/generate_test_tpl/spec_rb.src/M000002.html +22 -0
- data/ref/ruby/files/bin/header_to_ruby_rb.html +116 -0
- data/ref/ruby/files/ext/extconf_rb.html +108 -0
- data/ref/ruby/files/gem_extconf_rb.html +114 -0
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +108 -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_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi_rb.html +108 -0
- data/ref/ruby/files/samp/counter/counter_rspecTest_bench_rb.html +115 -0
- data/ref/ruby/files/samp/counter/counter_rspecTest_design_rb.html +107 -0
- data/ref/ruby/files/samp/counter/counter_rspecTest_proto_rb.html +107 -0
- data/ref/ruby/files/samp/counter/counter_rspecTest_spec_rb.html +142 -0
- data/ref/ruby/files/samp/counter/counter_unitTest_bench_rb.html +115 -0
- data/ref/ruby/files/samp/counter/counter_unitTest_design_rb.html +107 -0
- data/ref/ruby/files/samp/counter/counter_unitTest_proto_rb.html +107 -0
- data/ref/ruby/files/samp/counter/counter_unitTest_spec_rb.html +135 -0
- data/ref/ruby/files/samp/pipelined_alu/Hw5UnitModel_rb.html +101 -0
- data/ref/ruby/files/samp/pipelined_alu/InputGenerator_rb.html +101 -0
- data/ref/ruby/files/samp/pipelined_alu/TestHw5UnitModel_rb.html +111 -0
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_bench_rb.html +108 -0
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_design_rb.html +107 -0
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_spec_rb.html +112 -0
- data/ref/ruby/fr_class_index.html +46 -0
- data/ref/ruby/fr_file_index.html +55 -0
- data/ref/ruby/fr_method_index.html +77 -0
- data/ref/ruby/index.html +24 -0
- data/ref/ruby/rdoc-style.css +208 -0
- data/samp/counter/Rakefile +1 -0
- data/samp/counter/counter.v +20 -0
- data/samp/counter/counter_rspecTest_bench.rb +9 -0
- data/samp/counter/counter_rspecTest_bench.v +28 -0
- data/samp/counter/counter_rspecTest_design.rb +22 -0
- data/samp/counter/counter_rspecTest_proto.rb +10 -0
- data/samp/counter/counter_rspecTest_runner.rake +28 -0
- data/samp/counter/counter_rspecTest_spec.rb +47 -0
- data/samp/counter/counter_unitTest_bench.rb +9 -0
- data/samp/counter/counter_unitTest_bench.v +28 -0
- data/samp/counter/counter_unitTest_design.rb +22 -0
- data/samp/counter/counter_unitTest_proto.rb +10 -0
- data/samp/counter/counter_unitTest_runner.rake +28 -0
- data/samp/counter/counter_unitTest_spec.rb +49 -0
- data/samp/pipelined_alu/Hw5UnitModel.rb +134 -0
- data/samp/pipelined_alu/InputGenerator.rb +94 -0
- data/samp/pipelined_alu/README +127 -0
- data/samp/pipelined_alu/Rakefile +1 -0
- data/samp/pipelined_alu/TestHw5UnitModel.rb +88 -0
- data/samp/pipelined_alu/hw5_unit.v +186 -0
- data/samp/pipelined_alu/hw5_unit_bench.rb +8 -0
- data/samp/pipelined_alu/hw5_unit_bench.v +45 -0
- data/samp/pipelined_alu/hw5_unit_design.rb +18 -0
- data/samp/pipelined_alu/hw5_unit_runner.rake +10 -0
- data/samp/pipelined_alu/hw5_unit_spec.rb +123 -0
- data/tpl/launcher.rake +30 -0
- data/tpl/runner.rake +96 -0
- data/tpl/synopsys_vcs.tab +2 -0
- metadata +484 -0
@@ -0,0 +1,149 @@
|
|
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.6 -->
|
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) static <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="" --><p>
|
39
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
40
|
+
<tr>
|
41
|
+
<td class="mdRow">
|
42
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
43
|
+
<tr>
|
44
|
+
<td class="md" nowrap valign="top">#define verilog_tf_funcPtr verilog_tf_funcPtr_strict </td>
|
45
|
+
</tr>
|
46
|
+
</table>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
</table>
|
50
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
51
|
+
<tr>
|
52
|
+
<td>
|
53
|
+
|
54
|
+
</td>
|
55
|
+
<td>
|
56
|
+
|
57
|
+
<p>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
</table>
|
61
|
+
<a class="anchor" name="858d173d13926845fc1c1248519d7fdc"></a><!-- doxytag: member="verilog.h::verilog_tf_funcPtr_strict" ref="858d173d13926845fc1c1248519d7fdc" args="(aPtrName)" --><p>
|
62
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
63
|
+
<tr>
|
64
|
+
<td class="mdRow">
|
65
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
66
|
+
<tr>
|
67
|
+
<td class="md" nowrap valign="top">#define verilog_tf_funcPtr_strict </td>
|
68
|
+
<td class="md" valign="top">( </td>
|
69
|
+
<td class="md" nowrap valign="top">aPtrName </td>
|
70
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
71
|
+
<td class="md" valign="top"> ) </td>
|
72
|
+
<td class="md" nowrap> <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>
|
73
|
+
</tr>
|
74
|
+
</table>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
</table>
|
78
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
79
|
+
<tr>
|
80
|
+
<td>
|
81
|
+
|
82
|
+
</td>
|
83
|
+
<td>
|
84
|
+
|
85
|
+
<p>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
</table>
|
89
|
+
<a class="anchor" name="0895cc43ee6708ed1a7fa8b9829665ba"></a><!-- doxytag: member="verilog.h::verilog_tf_funcReturn" ref="0895cc43ee6708ed1a7fa8b9829665ba" args="(aReturnVal)" --><p>
|
90
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
91
|
+
<tr>
|
92
|
+
<td class="mdRow">
|
93
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
94
|
+
<tr>
|
95
|
+
<td class="md" nowrap valign="top">#define verilog_tf_funcReturn </td>
|
96
|
+
<td class="md" valign="top">( </td>
|
97
|
+
<td class="md" nowrap valign="top">aReturnVal </td>
|
98
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
99
|
+
<td class="md" valign="top"> ) </td>
|
100
|
+
<td class="md" nowrap> return aReturnVal</td>
|
101
|
+
</tr>
|
102
|
+
</table>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
</table>
|
106
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
107
|
+
<tr>
|
108
|
+
<td>
|
109
|
+
|
110
|
+
</td>
|
111
|
+
<td>
|
112
|
+
|
113
|
+
<p>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
</table>
|
117
|
+
<a class="anchor" name="d3ce96438bf5e9101337a49bac4507f7"></a><!-- doxytag: member="verilog.h::verilog_tf_funcSig" ref="d3ce96438bf5e9101337a49bac4507f7" args="(aFuncName)" --><p>
|
118
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
119
|
+
<tr>
|
120
|
+
<td class="mdRow">
|
121
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
122
|
+
<tr>
|
123
|
+
<td class="md" nowrap valign="top">#define verilog_tf_funcSig </td>
|
124
|
+
<td class="md" valign="top">( </td>
|
125
|
+
<td class="md" nowrap valign="top">aFuncName </td>
|
126
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
127
|
+
<td class="md" valign="top"> ) </td>
|
128
|
+
<td class="md" nowrap> static <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>
|
129
|
+
</tr>
|
130
|
+
</table>
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
</table>
|
134
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
135
|
+
<tr>
|
136
|
+
<td>
|
137
|
+
|
138
|
+
</td>
|
139
|
+
<td>
|
140
|
+
|
141
|
+
<p>
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
</table>
|
145
|
+
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 29 11:48:55 2006 for Ruby-VPI by
|
146
|
+
<a href="http://www.doxygen.org/index.html">
|
147
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
148
|
+
</body>
|
149
|
+
</html>
|
@@ -0,0 +1,199 @@
|
|
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.cin 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.6 -->
|
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.cin File Reference</h1><code>#include <assert.h></code><br>
|
20
|
+
<code>#include "<a class="el" href="common_8h.html">common.h</a>"</code><br>
|
21
|
+
<code>#include "<a class="el" href="relay_8hin.html">relay.hin</a>"</code><br>
|
22
|
+
<code>#include "<a class="el" href="vlog_8hin.html">vlog.hin</a>"</code><br>
|
23
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
24
|
+
<tr><td></td></tr>
|
25
|
+
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
26
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8cin.html#2e0274a583a8e9f28e0a99003053a354">verilog_tf_funcSig</a> (vlog_ruby_relay)</td></tr>
|
27
|
+
|
28
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_relay VPI task. <a href="#2e0274a583a8e9f28e0a99003053a354"></a><br></td></tr>
|
29
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8cin.html#1b39935aef93f96d0dfb959639b00754">verilog_tf_funcSig</a> (vlog_ruby_init)</td></tr>
|
30
|
+
|
31
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Callback for the $ruby_init VPI task. <a href="#1b39935aef93f96d0dfb959639b00754"></a><br></td></tr>
|
32
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8cin.html#06d32ed980708ad82d26bce8666a873a">vlog_bind_task</a> (<a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> *apTaskName, verilog_tf_funcPtr(apTaskDef))</td></tr>
|
33
|
+
|
34
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8cin.html#b8906b2460b83e436cd00fd26cbe8b2d">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="#b8906b2460b83e436cd00fd26cbe8b2d"></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_8cin.html#00edb494f69a0a405aeed8836cb51318">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.cin::verilog_tf_funcSig" ref="1b39935aef93f96d0dfb959639b00754" args="(vlog_ruby_init)" --><p>
|
43
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
44
|
+
<tr>
|
45
|
+
<td class="mdRow">
|
46
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
47
|
+
<tr>
|
48
|
+
<td class="md" nowrap valign="top">verilog_tf_funcSig </td>
|
49
|
+
<td class="md" valign="top">( </td>
|
50
|
+
<td class="md" nowrap valign="top">vlog_ruby_init </td>
|
51
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
52
|
+
<td class="md" valign="top"> ) </td>
|
53
|
+
<td class="md" nowrap></td>
|
54
|
+
</tr>
|
55
|
+
</table>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
</table>
|
59
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
60
|
+
<tr>
|
61
|
+
<td>
|
62
|
+
|
63
|
+
</td>
|
64
|
+
<td>
|
65
|
+
|
66
|
+
<p>
|
67
|
+
Callback for the $ruby_init VPI task.
|
68
|
+
<p>
|
69
|
+
Initializes and starts the Ruby interpreter with the same arguments as those given to the VPI task-call.<p>
|
70
|
+
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>
|
71
|
+
<li><code>$ruby_init("-w", "hello_world.rb");</code> </li></ul>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
</table>
|
75
|
+
<a class="anchor" name="2e0274a583a8e9f28e0a99003053a354"></a><!-- doxytag: member="vlog.cin::verilog_tf_funcSig" ref="2e0274a583a8e9f28e0a99003053a354" args="(vlog_ruby_relay)" --><p>
|
76
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
77
|
+
<tr>
|
78
|
+
<td class="mdRow">
|
79
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
80
|
+
<tr>
|
81
|
+
<td class="md" nowrap valign="top">verilog_tf_funcSig </td>
|
82
|
+
<td class="md" valign="top">( </td>
|
83
|
+
<td class="md" nowrap valign="top">vlog_ruby_relay </td>
|
84
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
85
|
+
<td class="md" valign="top"> ) </td>
|
86
|
+
<td class="md" nowrap></td>
|
87
|
+
</tr>
|
88
|
+
</table>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
</table>
|
92
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
93
|
+
<tr>
|
94
|
+
<td>
|
95
|
+
|
96
|
+
</td>
|
97
|
+
<td>
|
98
|
+
|
99
|
+
<p>
|
100
|
+
Callback for the $ruby_relay VPI task.
|
101
|
+
<p>
|
102
|
+
Transfers control from Verilog to Ruby code. </td>
|
103
|
+
</tr>
|
104
|
+
</table>
|
105
|
+
<a class="anchor" name="06d32ed980708ad82d26bce8666a873a"></a><!-- doxytag: member="vlog.cin::vlog_bind_task" ref="06d32ed980708ad82d26bce8666a873a" args="(PLI_BYTE8 *apTaskName, verilog_tf_funcPtr(apTaskDef))" --><p>
|
106
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
107
|
+
<tr>
|
108
|
+
<td class="mdRow">
|
109
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
110
|
+
<tr>
|
111
|
+
<td class="md" nowrap valign="top">static void vlog_bind_task </td>
|
112
|
+
<td class="md" valign="top">( </td>
|
113
|
+
<td class="md" nowrap valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td>
|
114
|
+
<td class="mdname" nowrap> <em>apTaskName</em>, </td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="md" nowrap align="right"></td>
|
118
|
+
<td class="md"></td>
|
119
|
+
<td class="md" nowrap>verilog_tf_funcPtr(apTaskDef) </td>
|
120
|
+
<td class="mdname" nowrap></td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="md"></td>
|
124
|
+
<td class="md">) </td>
|
125
|
+
<td class="md" colspan="2"><code> [static]</code></td>
|
126
|
+
</tr>
|
127
|
+
</table>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
</table>
|
131
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
132
|
+
<tr>
|
133
|
+
<td>
|
134
|
+
|
135
|
+
</td>
|
136
|
+
<td>
|
137
|
+
|
138
|
+
<p>
|
139
|
+
</td>
|
140
|
+
</tr>
|
141
|
+
</table>
|
142
|
+
<a class="anchor" name="b8906b2460b83e436cd00fd26cbe8b2d"></a><!-- doxytag: member="vlog.cin::vlog_startup" ref="b8906b2460b83e436cd00fd26cbe8b2d" args="()" --><p>
|
143
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
144
|
+
<tr>
|
145
|
+
<td class="mdRow">
|
146
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
147
|
+
<tr>
|
148
|
+
<td class="md" nowrap valign="top">static void vlog_startup </td>
|
149
|
+
<td class="md" valign="top">( </td>
|
150
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
151
|
+
<td class="md" valign="top"> ) </td>
|
152
|
+
<td class="md" nowrap><code> [static]</code></td>
|
153
|
+
</tr>
|
154
|
+
</table>
|
155
|
+
</td>
|
156
|
+
</tr>
|
157
|
+
</table>
|
158
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
159
|
+
<tr>
|
160
|
+
<td>
|
161
|
+
|
162
|
+
</td>
|
163
|
+
<td>
|
164
|
+
|
165
|
+
<p>
|
166
|
+
Binds the default VPI tasks (provided by Ruby-VPI) before the Verilog simulator begins to simulate.
|
167
|
+
<p>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
</table>
|
171
|
+
<hr><h2>Variable Documentation</h2>
|
172
|
+
<a class="anchor" name="00edb494f69a0a405aeed8836cb51318"></a><!-- doxytag: member="vlog.cin::vlog_startup_routines" ref="00edb494f69a0a405aeed8836cb51318" args="[])()" --><p>
|
173
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
174
|
+
<tr>
|
175
|
+
<td class="mdRow">
|
176
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
177
|
+
<tr>
|
178
|
+
<td class="md" nowrap valign="top">void(* <a class="el" href="vpi__user_8h.html#fc32aa66023926f336ddea758541652e">vlog_startup_routines</a>[])() = { vlog_startup, 0 } </td>
|
179
|
+
</tr>
|
180
|
+
</table>
|
181
|
+
</td>
|
182
|
+
</tr>
|
183
|
+
</table>
|
184
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
185
|
+
<tr>
|
186
|
+
<td>
|
187
|
+
|
188
|
+
</td>
|
189
|
+
<td>
|
190
|
+
|
191
|
+
<p>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
</table>
|
195
|
+
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 29 11:48:55 2006 for Ruby-VPI by
|
196
|
+
<a href="http://www.doxygen.org/index.html">
|
197
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
198
|
+
</body>
|
199
|
+
</html>
|
@@ -0,0 +1,152 @@
|
|
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.hin 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.6 -->
|
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.hin File Reference</h1>Interface between C and Verilog code. <a href="#_details">More...</a>
|
20
|
+
<p>
|
21
|
+
<code>#include "<a class="el" href="verilog_8h.html">verilog.h</a>"</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_8hin.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_8hin.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">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8hin.html#06d32ed980708ad82d26bce8666a873a">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="#06d32ed980708ad82d26bce8666a873a"></a><br></td></tr>
|
34
|
+
</table>
|
35
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
36
|
+
Interface between C and Verilog code.
|
37
|
+
<p>
|
38
|
+
<hr><h2>Function Documentation</h2>
|
39
|
+
<a class="anchor" name="1b39935aef93f96d0dfb959639b00754"></a><!-- doxytag: member="vlog.hin::verilog_tf_funcSig" ref="1b39935aef93f96d0dfb959639b00754" args="(vlog_ruby_init)" --><p>
|
40
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
41
|
+
<tr>
|
42
|
+
<td class="mdRow">
|
43
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
44
|
+
<tr>
|
45
|
+
<td class="md" nowrap valign="top">verilog_tf_funcSig </td>
|
46
|
+
<td class="md" valign="top">( </td>
|
47
|
+
<td class="md" nowrap valign="top">vlog_ruby_init </td>
|
48
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
49
|
+
<td class="md" valign="top"> ) </td>
|
50
|
+
<td class="md" nowrap></td>
|
51
|
+
</tr>
|
52
|
+
</table>
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
</table>
|
56
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
57
|
+
<tr>
|
58
|
+
<td>
|
59
|
+
|
60
|
+
</td>
|
61
|
+
<td>
|
62
|
+
|
63
|
+
<p>
|
64
|
+
Callback for the $ruby_init VPI task.
|
65
|
+
<p>
|
66
|
+
Initializes and starts the Ruby interpreter with the same arguments as those given to the VPI task-call.<p>
|
67
|
+
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>
|
68
|
+
<li><code>$ruby_init("-w", "hello_world.rb");</code> </li></ul>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
<a class="anchor" name="2e0274a583a8e9f28e0a99003053a354"></a><!-- doxytag: member="vlog.hin::verilog_tf_funcSig" ref="2e0274a583a8e9f28e0a99003053a354" args="(vlog_ruby_relay)" --><p>
|
73
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
74
|
+
<tr>
|
75
|
+
<td class="mdRow">
|
76
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
77
|
+
<tr>
|
78
|
+
<td class="md" nowrap valign="top">verilog_tf_funcSig </td>
|
79
|
+
<td class="md" valign="top">( </td>
|
80
|
+
<td class="md" nowrap valign="top">vlog_ruby_relay </td>
|
81
|
+
<td class="mdname1" valign="top" nowrap> </td>
|
82
|
+
<td class="md" valign="top"> ) </td>
|
83
|
+
<td class="md" nowrap></td>
|
84
|
+
</tr>
|
85
|
+
</table>
|
86
|
+
</td>
|
87
|
+
</tr>
|
88
|
+
</table>
|
89
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
90
|
+
<tr>
|
91
|
+
<td>
|
92
|
+
|
93
|
+
</td>
|
94
|
+
<td>
|
95
|
+
|
96
|
+
<p>
|
97
|
+
Callback for the $ruby_relay VPI task.
|
98
|
+
<p>
|
99
|
+
Transfers control from Verilog to Ruby code. </td>
|
100
|
+
</tr>
|
101
|
+
</table>
|
102
|
+
<a class="anchor" name="06d32ed980708ad82d26bce8666a873a"></a><!-- doxytag: member="vlog.hin::vlog_bind_task" ref="06d32ed980708ad82d26bce8666a873a" args="(PLI_BYTE8 *apTaskName, verilog_tf_funcPtr(apTaskDef))" --><p>
|
103
|
+
<table class="mdTable" cellpadding="2" cellspacing="0">
|
104
|
+
<tr>
|
105
|
+
<td class="mdRow">
|
106
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
107
|
+
<tr>
|
108
|
+
<td class="md" nowrap valign="top">static void vlog_bind_task </td>
|
109
|
+
<td class="md" valign="top">( </td>
|
110
|
+
<td class="md" nowrap valign="top"><a class="el" href="vpi__user_8h.html#c32f73779a5a02871976ab2d1b2fbedb">PLI_BYTE8</a> * </td>
|
111
|
+
<td class="mdname" nowrap> <em>apTaskName</em>, </td>
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
<td class="md" nowrap align="right"></td>
|
115
|
+
<td class="md"></td>
|
116
|
+
<td class="md" nowrap>verilog_tf_funcPtr(apTaskDef) </td>
|
117
|
+
<td class="mdname" nowrap></td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td class="md"></td>
|
121
|
+
<td class="md">) </td>
|
122
|
+
<td class="md" colspan="2"><code> [static]</code></td>
|
123
|
+
</tr>
|
124
|
+
</table>
|
125
|
+
</td>
|
126
|
+
</tr>
|
127
|
+
</table>
|
128
|
+
<table cellspacing="5" cellpadding="0" border="0">
|
129
|
+
<tr>
|
130
|
+
<td>
|
131
|
+
|
132
|
+
</td>
|
133
|
+
<td>
|
134
|
+
|
135
|
+
<p>
|
136
|
+
Binds a C function to a VPI task, so that Verilog code can invoke the C function by calling the VPI task.
|
137
|
+
<p>
|
138
|
+
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>
|
139
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
140
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
141
|
+
<tr><td valign="top"></td><td valign="top"><em>apTaskName</em> </td><td>Name of the VPI task. For example, "$hello_world".</td></tr>
|
142
|
+
<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>
|
143
|
+
</table>
|
144
|
+
</dl>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
</table>
|
148
|
+
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 29 11:48:55 2006 for Ruby-VPI by
|
149
|
+
<a href="http://www.doxygen.org/index.html">
|
150
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
151
|
+
</body>
|
152
|
+
</html>
|