ruby-vpi 7.0.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +19 -0
- data/README +3 -3
- data/Rakefile +147 -112
- data/bin/generate_test.rb +0 -2
- data/doc/src/manual.xml +11 -9
- data/doc/txt/manual.txt +14 -9
- data/doc/xhtml/background.organization.html +1 -1
- data/doc/xhtml/index.html +2 -2
- data/doc/xhtml/introduction.manifest.html +1 -1
- data/doc/xhtml/usage.installation.html +7 -1
- data/doc/xhtml/usage.tutorial.html +1 -1
- data/gem_extconf.rb +1 -1
- data/history.html +37 -0
- data/lib/ruby-vpi/runner.rb +77 -2
- data/lib/ruby-vpi.rb +0 -10
- data/readme.html +5 -3
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +1 -1
- data/ref/c/functions.html +1 -1
- data/ref/c/functions_vars.html +1 -1
- data/ref/c/globals.html +1 -1
- data/ref/c/globals_0x63.html +1 -1
- data/ref/c/globals_0x65.html +1 -1
- data/ref/c/globals_0x66.html +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +1 -1
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +1 -1
- data/ref/c/globals_0x78.html +1 -1
- data/ref/c/globals_defs.html +1 -1
- data/ref/c/globals_defs_0x65.html +1 -1
- data/ref/c/globals_defs_0x70.html +1 -1
- data/ref/c/globals_defs_0x76.html +1 -1
- data/ref/c/globals_defs_0x78.html +1 -1
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +1 -1
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +1 -1
- data/ref/c/hierarchy.html +1 -1
- data/ref/c/index.html +1 -1
- data/ref/c/relay_8cin.html +1 -1
- data/ref/c/relay_8hin.html +1 -1
- data/ref/c/ruby-vpi_8c.html +1 -1
- data/ref/c/structrelay____RubyOptions____def.html +1 -1
- data/ref/c/structt__cb__data.html +1 -1
- data/ref/c/structt__vpi__delay.html +1 -1
- data/ref/c/structt__vpi__error__info.html +1 -1
- data/ref/c/structt__vpi__strengthval.html +1 -1
- data/ref/c/structt__vpi__systf__data.html +1 -1
- data/ref/c/structt__vpi__time.html +1 -1
- data/ref/c/structt__vpi__value.html +1 -1
- data/ref/c/structt__vpi__vecval.html +1 -1
- data/ref/c/structt__vpi__vlog__info.html +1 -1
- data/ref/c/swig_8cin.html +1 -1
- data/ref/c/swig_8hin.html +1 -1
- data/ref/c/verilog_8h.html +1 -1
- data/ref/c/vlog_8cin.html +1 -1
- data/ref/c/vlog_8hin.html +1 -1
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/Counter.html +20 -20
- data/ref/ruby/classes/Counter.src/M000038.html +7 -9
- data/ref/ruby/classes/Counter.src/M000039.html +9 -7
- data/ref/ruby/classes/Counter.src/M000040.html +7 -9
- data/ref/ruby/classes/Counter.src/M000041.html +22 -0
- data/ref/ruby/classes/CounterProto.html +9 -9
- data/ref/ruby/classes/CounterProto.src/M000005.html +1 -1
- data/ref/ruby/classes/CounterProto.src/{M000004.html → M000006.html} +1 -1
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/FileUtils.html +10 -10
- data/ref/ruby/classes/FileUtils.src/M000048.html +5 -5
- data/ref/ruby/classes/{InputGenerator.src/M000027.html → FileUtils.src/M000049.html} +4 -4
- data/ref/ruby/classes/Hw5UnitModel/Operation.html +15 -15
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000012.html +12 -20
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000013.html +20 -5
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000014.html +18 -0
- data/ref/ruby/classes/Hw5UnitModel.html +24 -24
- data/ref/ruby/classes/Hw5UnitModel.src/M000009.html +7 -25
- data/ref/ruby/classes/Hw5UnitModel.src/M000010.html +25 -9
- data/ref/ruby/classes/Hw5UnitModel.src/M000011.html +22 -0
- data/ref/ruby/classes/Hw5_unit.html +5 -5
- data/ref/ruby/classes/Hw5_unit_spec.html +15 -15
- data/ref/ruby/classes/Hw5_unit_spec.src/M000024.html +8 -8
- data/ref/ruby/classes/Hw5_unit_spec.src/M000025.html +8 -54
- data/ref/ruby/classes/Hw5_unit_spec.src/M000026.html +67 -0
- data/ref/ruby/classes/InputGenerator.html +30 -30
- data/ref/ruby/classes/InputGenerator.src/M000028.html +5 -5
- data/ref/ruby/classes/InputGenerator.src/M000029.html +5 -6
- data/ref/ruby/classes/InputGenerator.src/M000030.html +6 -25
- data/ref/ruby/classes/InputGenerator.src/M000031.html +25 -6
- data/ref/ruby/classes/InputGenerator.src/M000032.html +6 -6
- data/ref/ruby/classes/InputGenerator.src/M000033.html +19 -0
- data/ref/ruby/classes/MaximumCounterValue.html +10 -10
- data/ref/ruby/classes/MaximumCounterValue.src/M000036.html +10 -8
- data/ref/ruby/classes/MaximumCounterValue.src/M000037.html +21 -0
- data/ref/ruby/classes/ModuleInfo.html +10 -10
- data/ref/ruby/classes/ModuleInfo.src/M000019.html +31 -13
- data/ref/ruby/classes/ModuleInfo.src/M000020.html +26 -0
- data/ref/ruby/classes/OutputInfo.html +5 -10
- data/ref/ruby/classes/OutputInfo.src/{M000017.html → M000018.html} +36 -36
- data/ref/ruby/classes/ResettedCounterValue.html +15 -15
- data/ref/ruby/classes/ResettedCounterValue.src/M000015.html +6 -5
- data/ref/ruby/classes/ResettedCounterValue.src/M000016.html +5 -10
- data/ref/ruby/classes/ResettedCounterValue.src/M000017.html +23 -0
- data/ref/ruby/classes/RubyVPI.html +0 -46
- data/ref/ruby/classes/RubyVPI.src/M000050.html +24 -24
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +35 -35
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000042.html +9 -31
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000043.html +31 -69
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000044.html +69 -114
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000045.html +114 -13
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000046.html +13 -5
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000047.html +18 -0
- data/ref/ruby/classes/String.html +5 -5
- data/ref/ruby/classes/Template.html +5 -5
- data/ref/ruby/classes/TestHw5UnitModel.html +15 -15
- data/ref/ruby/classes/TestHw5UnitModel.src/M000021.html +6 -6
- data/ref/ruby/classes/TestHw5UnitModel.src/M000022.html +6 -51
- data/ref/ruby/classes/TestHw5UnitModel.src/M000023.html +64 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_test_rb.html +6 -6
- data/ref/ruby/files/bin/generate_test_tpl/bench_rb.html +1 -1
- data/ref/ruby/files/bin/generate_test_tpl/design_rb.html +1 -1
- data/ref/ruby/files/bin/generate_test_tpl/proto_rb.html +1 -1
- data/ref/ruby/files/bin/generate_test_tpl/spec_rb.html +6 -6
- data/ref/ruby/files/bin/header_to_ruby_rb.html +1 -1
- data/ref/ruby/files/ext/extconf_rb.html +1 -1
- data/ref/ruby/files/gem_extconf_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +108 -0
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +78 -2
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000001.html +20 -0
- data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_rspecTest_bench_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_rspecTest_design_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_rspecTest_proto_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_rspecTest_spec_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_unitTest_bench_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_unitTest_design_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_unitTest_proto_rb.html +1 -1
- data/ref/ruby/files/samp/counter/counter_unitTest_spec_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/Hw5UnitModel_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/InputGenerator_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/TestHw5UnitModel_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_bench_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_design_rb.html +1 -1
- data/ref/ruby/files/samp/pipelined_alu/hw5_unit_spec_rb.html +1 -1
- data/ref/ruby/fr_file_index.html +1 -0
- data/ref/ruby/fr_method_index.html +48 -48
- data/samp/counter/Rakefile +1 -1
- data/samp/pipelined_alu/Rakefile +1 -1
- metadata +41 -41
- data/ref/ruby/classes/Counter.src/M000037.html +0 -20
- data/ref/ruby/classes/FileUtils.src/M000047.html +0 -18
- data/ref/ruby/classes/Hw5UnitModel/Operation.src/M000011.html +0 -25
- data/ref/ruby/classes/Hw5UnitModel.src/M000008.html +0 -20
- data/ref/ruby/classes/Hw5_unit_spec.src/M000023.html +0 -21
- data/ref/ruby/classes/MaximumCounterValue.src/M000035.html +0 -23
- data/ref/ruby/classes/ModuleInfo.src/M000018.html +0 -44
- data/ref/ruby/classes/ResettedCounterValue.src/M000014.html +0 -19
- data/ref/ruby/classes/RubyVPI.src/M000049.html +0 -18
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000041.html +0 -22
- data/ref/ruby/classes/TestHw5UnitModel.src/M000020.html +0 -19
- data/tpl/runner.rake +0 -96
- /data/{tpl/launcher.rake → lib/ruby-vpi/runner_proxy.rb} +0 -0
- /data/{tpl → lib/ruby-vpi}/synopsys_vcs.tab +0 -0
- /data/ref/ruby/classes/ERB.src/{M000034.html → M000035.html} +0 -0
- /data/ref/ruby/classes/Hw5UnitModel.src/{M000006.html → M000007.html} +0 -0
- /data/ref/ruby/classes/Hw5_unit.src/{M000003.html → M000004.html} +0 -0
- /data/ref/ruby/classes/String.src/{M000033.html → M000034.html} +0 -0
- /data/ref/ruby/classes/Template.src/{M000026.html → M000027.html} +0 -0
- /data/ref/ruby/files/bin/generate_test_rb.src/{M000001.html → M000002.html} +0 -0
- /data/ref/ruby/files/bin/generate_test_tpl/spec_rb.src/{M000002.html → M000003.html} +0 -0
@@ -20,57 +20,57 @@
|
|
20
20
|
<div id="index">
|
21
21
|
<h1 class="section-bar">Methods</h1>
|
22
22
|
<div id="index-entries">
|
23
|
-
<a href="classes/SWIG/TYPE_p_unsigned_int.html#
|
24
|
-
<a href="classes/InputGenerator.html#
|
25
|
-
<a href="classes/InputGenerator.html#
|
26
|
-
<a href="classes/FileUtils.html#
|
27
|
-
<a href="classes/Hw5UnitModel/Operation.html#
|
28
|
-
<a href="classes/Hw5UnitModel/Operation.html#
|
29
|
-
<a href="classes/Hw5UnitModel.html#
|
30
|
-
<a href="classes/SWIG/TYPE_p_unsigned_int.html#
|
31
|
-
<a href="classes/InputGenerator.html#
|
32
|
-
<a href="classes/InputGenerator.html#
|
33
|
-
<a href="classes/InputGenerator.html#
|
34
|
-
<a href="classes/SWIG/TYPE_p_unsigned_int.html#
|
35
|
-
<a href="classes/SWIG/TYPE_p_unsigned_int.html#
|
23
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000046">[] (SWIG::TYPE_p_unsigned_int)</a><br />
|
24
|
+
<a href="classes/InputGenerator.html#M000029">bits (InputGenerator)</a><br />
|
25
|
+
<a href="classes/InputGenerator.html#M000030">bits= (InputGenerator)</a><br />
|
26
|
+
<a href="classes/FileUtils.html#M000049">collect_args (FileUtils)</a><br />
|
27
|
+
<a href="classes/Hw5UnitModel/Operation.html#M000013">compute (Hw5UnitModel::Operation)</a><br />
|
28
|
+
<a href="classes/Hw5UnitModel/Operation.html#M000014">compute! (Hw5UnitModel::Operation)</a><br />
|
29
|
+
<a href="classes/Hw5UnitModel.html#M000010">cycle (Hw5UnitModel)</a><br />
|
30
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000047">each (SWIG::TYPE_p_unsigned_int)</a><br />
|
31
|
+
<a href="classes/InputGenerator.html#M000031">gen (InputGenerator)</a><br />
|
32
|
+
<a href="classes/InputGenerator.html#M000033">genPowerOfTwo (InputGenerator)</a><br />
|
33
|
+
<a href="classes/InputGenerator.html#M000032">genPrime (InputGenerator)</a><br />
|
34
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000043">get_value (SWIG::TYPE_p_unsigned_int)</a><br />
|
35
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000042">get_value_wrapper (SWIG::TYPE_p_unsigned_int)</a><br />
|
36
36
|
<a href="classes/RubyVPI.html#M000050">init_bench (RubyVPI)</a><br />
|
37
|
-
<a href="classes/Hw5UnitModel.html#
|
38
|
-
<a href="classes/
|
39
|
-
<a href="classes/
|
40
|
-
<a href="classes/
|
41
|
-
<a href="classes/
|
42
|
-
<a href="classes/
|
43
|
-
<a href="classes/
|
44
|
-
<a href="classes/
|
45
|
-
<a href="classes/Hw5_unit.html#
|
46
|
-
<a href="classes/InputGenerator.html#
|
47
|
-
<a href="classes/
|
48
|
-
<a href="
|
49
|
-
<a href="classes/Hw5UnitModel.html#
|
50
|
-
<a href="classes/ModuleInfo.html#
|
51
|
-
<a href="classes/SWIG/TYPE_p_unsigned_int.html#
|
52
|
-
<a href="classes/Hw5UnitModel.html#
|
53
|
-
<a href="classes/Hw5_unit_spec.html#
|
54
|
-
<a href="classes/Counter.html#
|
55
|
-
<a href="classes/Counter.html#
|
56
|
-
<a href="classes/ResettedCounterValue.html#
|
57
|
-
<a href="classes/
|
58
|
-
<a href="
|
59
|
-
<a href="
|
60
|
-
<a href="classes/
|
61
|
-
<a href="classes/FileUtils.html#
|
62
|
-
<a href="classes/CounterProto.html#
|
37
|
+
<a href="classes/Hw5UnitModel.html#M000008">initialize (Hw5UnitModel)</a><br />
|
38
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000045">method_missing (SWIG::TYPE_p_unsigned_int)</a><br />
|
39
|
+
<a href="classes/Hw5UnitModel/Operation.html#M000012">new (Hw5UnitModel::Operation)</a><br />
|
40
|
+
<a href="classes/OutputInfo.html#M000018">new (OutputInfo)</a><br />
|
41
|
+
<a href="classes/ModuleInfo.html#M000019">new (ModuleInfo)</a><br />
|
42
|
+
<a href="classes/ERB.html#M000035">new (ERB)</a><br />
|
43
|
+
<a href="classes/Counter.html#M000038">new (Counter)</a><br />
|
44
|
+
<a href="classes/Counter.html#M000040">new (Counter)</a><br />
|
45
|
+
<a href="classes/Hw5_unit.html#M000004">new (Hw5_unit)</a><br />
|
46
|
+
<a href="classes/InputGenerator.html#M000028">new (InputGenerator)</a><br />
|
47
|
+
<a href="classes/Template.html#M000027">new (Template)</a><br />
|
48
|
+
<a href="files/lib/ruby-vpi/runner_rb.html#M000001">object_file_path (lib/ruby-vpi/runner.rb)</a><br />
|
49
|
+
<a href="classes/Hw5UnitModel.html#M000011">output (Hw5UnitModel)</a><br />
|
50
|
+
<a href="classes/ModuleInfo.html#M000020">parse_declarations (ModuleInfo)</a><br />
|
51
|
+
<a href="classes/SWIG/TYPE_p_unsigned_int.html#M000044">put_value (SWIG::TYPE_p_unsigned_int)</a><br />
|
52
|
+
<a href="classes/Hw5UnitModel.html#M000007">reset (Hw5UnitModel)</a><br />
|
53
|
+
<a href="classes/Hw5_unit_spec.html#M000025">reset (Hw5_unit_spec)</a><br />
|
54
|
+
<a href="classes/Counter.html#M000041">reset! (Counter)</a><br />
|
55
|
+
<a href="classes/Counter.html#M000039">reset! (Counter)</a><br />
|
56
|
+
<a href="classes/ResettedCounterValue.html#M000015">setup (ResettedCounterValue)</a><br />
|
57
|
+
<a href="classes/TestHw5UnitModel.html#M000021">setup (TestHw5UnitModel)</a><br />
|
58
|
+
<a href="classes/Hw5_unit_spec.html#M000024">setup (Hw5_unit_spec)</a><br />
|
59
|
+
<a href="files/bin/generate_test_tpl/spec_rb.html#M000003">setup (bin/generate_test_tpl/spec.rb)</a><br />
|
60
|
+
<a href="classes/MaximumCounterValue.html#M000036">setup (MaximumCounterValue)</a><br />
|
61
|
+
<a href="classes/FileUtils.html#M000048">sh (FileUtils)</a><br />
|
62
|
+
<a href="classes/CounterProto.html#M000006">simulate! (CounterProto)</a><br />
|
63
63
|
<a href="classes/CounterProto.html#M000005">simulate! (CounterProto)</a><br />
|
64
|
-
<a href="classes/Hw5UnitModel.html#
|
65
|
-
<a href="classes/TestHw5UnitModel.html#
|
66
|
-
<a href="classes/ResettedCounterValue.html#
|
67
|
-
<a href="classes/MaximumCounterValue.html#
|
68
|
-
<a href="classes/Hw5_unit_spec.html#
|
69
|
-
<a href="classes/TestHw5UnitModel.html#
|
70
|
-
<a href="classes/ResettedCounterValue.html#
|
71
|
-
<a href="classes/String.html#
|
64
|
+
<a href="classes/Hw5UnitModel.html#M000009">startOperation (Hw5UnitModel)</a><br />
|
65
|
+
<a href="classes/TestHw5UnitModel.html#M000023">testModel (TestHw5UnitModel)</a><br />
|
66
|
+
<a href="classes/ResettedCounterValue.html#M000017">test_increment (ResettedCounterValue)</a><br />
|
67
|
+
<a href="classes/MaximumCounterValue.html#M000037">test_overflow (MaximumCounterValue)</a><br />
|
68
|
+
<a href="classes/Hw5_unit_spec.html#M000026">test_pipeline (Hw5_unit_spec)</a><br />
|
69
|
+
<a href="classes/TestHw5UnitModel.html#M000022">test_reset (TestHw5UnitModel)</a><br />
|
70
|
+
<a href="classes/ResettedCounterValue.html#M000016">test_zero (ResettedCounterValue)</a><br />
|
71
|
+
<a href="classes/String.html#M000034">to_ruby (String)</a><br />
|
72
72
|
<a href="classes/RDoc.html#M000051">usage_from_file (RDoc)</a><br />
|
73
|
-
<a href="files/bin/generate_test_rb.html#
|
73
|
+
<a href="files/bin/generate_test_rb.html#M000002">write_file (bin/generate_test.rb)</a><br />
|
74
74
|
</div>
|
75
75
|
</div>
|
76
76
|
</body>
|
data/samp/counter/Rakefile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require 'ruby-vpi/runner_proxy'
|
data/samp/pipelined_alu/Rakefile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require 'ruby-vpi/runner_proxy'
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-vpi
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 7.
|
6
|
+
version: 7.1.0
|
7
7
|
date: 2006-08-29 00:00:00 -07:00
|
8
8
|
summary: Ruby interface to Verilog VPI.
|
9
9
|
require_paths:
|
@@ -15,7 +15,7 @@ description: Ruby-VPI is a Ruby interface to Verilog VPI.. It lets you create co
|
|
15
15
|
autorequire: ruby-vpi
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
|
-
has_rdoc:
|
18
|
+
has_rdoc: false
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">"
|
@@ -35,16 +35,15 @@ files:
|
|
35
35
|
- MEMO
|
36
36
|
- doc
|
37
37
|
- ext
|
38
|
+
- history.html
|
38
39
|
- LICENSE
|
39
40
|
- README
|
40
41
|
- gem_extconf.rb
|
41
42
|
- lib
|
42
43
|
- HISTORY
|
43
|
-
- history.html
|
44
|
-
- tpl
|
45
|
-
- bin
|
46
44
|
- readme.html
|
47
45
|
- memo.html
|
46
|
+
- bin
|
48
47
|
- ref/c
|
49
48
|
- ref/ruby
|
50
49
|
- ref/c/doxygen.png
|
@@ -107,22 +106,33 @@ files:
|
|
107
106
|
- ref/ruby/fr_class_index.html
|
108
107
|
- ref/ruby/fr_method_index.html
|
109
108
|
- ref/ruby/index.html
|
109
|
+
- ref/ruby/files/lib
|
110
110
|
- ref/ruby/files/bin
|
111
111
|
- ref/ruby/files/gem_extconf_rb.html
|
112
112
|
- ref/ruby/files/samp
|
113
113
|
- ref/ruby/files/ext
|
114
|
-
- ref/ruby/files/lib
|
114
|
+
- ref/ruby/files/lib/ruby-vpi
|
115
|
+
- ref/ruby/files/lib/ruby-vpi_rb.html
|
116
|
+
- ref/ruby/files/lib/ruby-vpi/runner_rb.src
|
117
|
+
- ref/ruby/files/lib/ruby-vpi/rspec_rb.html
|
118
|
+
- ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html
|
119
|
+
- ref/ruby/files/lib/ruby-vpi/rake_rb.html
|
120
|
+
- ref/ruby/files/lib/ruby-vpi/erb_rb.html
|
121
|
+
- ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html
|
122
|
+
- ref/ruby/files/lib/ruby-vpi/rdoc_rb.html
|
123
|
+
- ref/ruby/files/lib/ruby-vpi/runner_rb.html
|
124
|
+
- ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000001.html
|
115
125
|
- ref/ruby/files/bin/generate_test_rb.src
|
116
126
|
- ref/ruby/files/bin/generate_test_tpl
|
117
127
|
- ref/ruby/files/bin/generate_test_rb.html
|
118
128
|
- ref/ruby/files/bin/header_to_ruby_rb.html
|
119
|
-
- ref/ruby/files/bin/generate_test_rb.src/
|
129
|
+
- ref/ruby/files/bin/generate_test_rb.src/M000002.html
|
120
130
|
- ref/ruby/files/bin/generate_test_tpl/spec_rb.src
|
121
131
|
- ref/ruby/files/bin/generate_test_tpl/bench_rb.html
|
122
132
|
- ref/ruby/files/bin/generate_test_tpl/design_rb.html
|
123
133
|
- ref/ruby/files/bin/generate_test_tpl/proto_rb.html
|
124
134
|
- ref/ruby/files/bin/generate_test_tpl/spec_rb.html
|
125
|
-
- ref/ruby/files/bin/generate_test_tpl/spec_rb.src/
|
135
|
+
- ref/ruby/files/bin/generate_test_tpl/spec_rb.src/M000003.html
|
126
136
|
- ref/ruby/files/samp/counter
|
127
137
|
- ref/ruby/files/samp/pipelined_alu
|
128
138
|
- ref/ruby/files/samp/counter/counter_unitTest_bench_rb.html
|
@@ -140,14 +150,6 @@ files:
|
|
140
150
|
- ref/ruby/files/samp/pipelined_alu/hw5_unit_design_rb.html
|
141
151
|
- ref/ruby/files/samp/pipelined_alu/TestHw5UnitModel_rb.html
|
142
152
|
- ref/ruby/files/ext/extconf_rb.html
|
143
|
-
- ref/ruby/files/lib/ruby-vpi_rb.html
|
144
|
-
- ref/ruby/files/lib/ruby-vpi
|
145
|
-
- ref/ruby/files/lib/ruby-vpi/rspec_rb.html
|
146
|
-
- ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html
|
147
|
-
- ref/ruby/files/lib/ruby-vpi/rake_rb.html
|
148
|
-
- ref/ruby/files/lib/ruby-vpi/erb_rb.html
|
149
|
-
- ref/ruby/files/lib/ruby-vpi/runner_rb.html
|
150
|
-
- ref/ruby/files/lib/ruby-vpi/rdoc_rb.html
|
151
153
|
- ref/ruby/classes/Hw5_unit.src
|
152
154
|
- ref/ruby/classes/CounterProto.src
|
153
155
|
- ref/ruby/classes/Hw5UnitModel.src
|
@@ -185,56 +187,55 @@ files:
|
|
185
187
|
- ref/ruby/classes/FileUtils.html
|
186
188
|
- ref/ruby/classes/RubyVPI.html
|
187
189
|
- ref/ruby/classes/RDoc.html
|
188
|
-
- ref/ruby/classes/Hw5_unit.src/
|
189
|
-
- ref/ruby/classes/CounterProto.src/M000004.html
|
190
|
+
- ref/ruby/classes/Hw5_unit.src/M000004.html
|
190
191
|
- ref/ruby/classes/CounterProto.src/M000005.html
|
191
|
-
- ref/ruby/classes/
|
192
|
-
- ref/ruby/classes/Hw5UnitModel.src/
|
192
|
+
- ref/ruby/classes/CounterProto.src/M000006.html
|
193
|
+
- ref/ruby/classes/Hw5UnitModel.src/M000007.html
|
193
194
|
- ref/ruby/classes/Hw5UnitModel.src/M000009.html
|
194
195
|
- ref/ruby/classes/Hw5UnitModel.src/M000010.html
|
196
|
+
- ref/ruby/classes/Hw5UnitModel.src/M000011.html
|
195
197
|
- ref/ruby/classes/Hw5UnitModel/Operation.src
|
196
198
|
- ref/ruby/classes/Hw5UnitModel/Operation.html
|
197
|
-
- ref/ruby/classes/Hw5UnitModel/Operation.src/M000011.html
|
198
199
|
- ref/ruby/classes/Hw5UnitModel/Operation.src/M000012.html
|
199
200
|
- ref/ruby/classes/Hw5UnitModel/Operation.src/M000013.html
|
200
|
-
- ref/ruby/classes/
|
201
|
+
- ref/ruby/classes/Hw5UnitModel/Operation.src/M000014.html
|
201
202
|
- ref/ruby/classes/ResettedCounterValue.src/M000015.html
|
202
203
|
- ref/ruby/classes/ResettedCounterValue.src/M000016.html
|
203
|
-
- ref/ruby/classes/
|
204
|
-
- ref/ruby/classes/
|
204
|
+
- ref/ruby/classes/ResettedCounterValue.src/M000017.html
|
205
|
+
- ref/ruby/classes/OutputInfo.src/M000018.html
|
205
206
|
- ref/ruby/classes/ModuleInfo.src/M000019.html
|
206
|
-
- ref/ruby/classes/
|
207
|
+
- ref/ruby/classes/ModuleInfo.src/M000020.html
|
207
208
|
- ref/ruby/classes/TestHw5UnitModel.src/M000021.html
|
208
209
|
- ref/ruby/classes/TestHw5UnitModel.src/M000022.html
|
209
|
-
- ref/ruby/classes/
|
210
|
+
- ref/ruby/classes/TestHw5UnitModel.src/M000023.html
|
210
211
|
- ref/ruby/classes/Hw5_unit_spec.src/M000024.html
|
211
212
|
- ref/ruby/classes/Hw5_unit_spec.src/M000025.html
|
212
|
-
- ref/ruby/classes/
|
213
|
-
- ref/ruby/classes/
|
213
|
+
- ref/ruby/classes/Hw5_unit_spec.src/M000026.html
|
214
|
+
- ref/ruby/classes/Template.src/M000027.html
|
214
215
|
- ref/ruby/classes/InputGenerator.src/M000028.html
|
215
216
|
- ref/ruby/classes/InputGenerator.src/M000029.html
|
216
217
|
- ref/ruby/classes/InputGenerator.src/M000030.html
|
217
218
|
- ref/ruby/classes/InputGenerator.src/M000031.html
|
218
219
|
- ref/ruby/classes/InputGenerator.src/M000032.html
|
219
|
-
- ref/ruby/classes/
|
220
|
-
- ref/ruby/classes/
|
221
|
-
- ref/ruby/classes/
|
220
|
+
- ref/ruby/classes/InputGenerator.src/M000033.html
|
221
|
+
- ref/ruby/classes/String.src/M000034.html
|
222
|
+
- ref/ruby/classes/ERB.src/M000035.html
|
222
223
|
- ref/ruby/classes/MaximumCounterValue.src/M000036.html
|
223
|
-
- ref/ruby/classes/
|
224
|
+
- ref/ruby/classes/MaximumCounterValue.src/M000037.html
|
224
225
|
- ref/ruby/classes/Counter.src/M000038.html
|
225
226
|
- ref/ruby/classes/Counter.src/M000039.html
|
226
227
|
- ref/ruby/classes/Counter.src/M000040.html
|
228
|
+
- ref/ruby/classes/Counter.src/M000041.html
|
227
229
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src
|
228
230
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html
|
229
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000041.html
|
230
231
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000042.html
|
231
232
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000043.html
|
232
233
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000044.html
|
233
234
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000045.html
|
234
235
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000046.html
|
235
|
-
- ref/ruby/classes/
|
236
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000047.html
|
236
237
|
- ref/ruby/classes/FileUtils.src/M000048.html
|
237
|
-
- ref/ruby/classes/
|
238
|
+
- ref/ruby/classes/FileUtils.src/M000049.html
|
238
239
|
- ref/ruby/classes/RubyVPI.src/M000050.html
|
239
240
|
- ref/ruby/classes/RDoc.src/M000051.html
|
240
241
|
- samp/counter
|
@@ -416,6 +417,7 @@ files:
|
|
416
417
|
- ext/Doxyfile
|
417
418
|
- ext/README
|
418
419
|
- ext/common.h
|
420
|
+
- ext/swig_vpi.h
|
419
421
|
- ext/relay.cin
|
420
422
|
- ext/relay.hin
|
421
423
|
- ext/ruby-vpi.c
|
@@ -426,20 +428,18 @@ files:
|
|
426
428
|
- ext/vlog.cin
|
427
429
|
- ext/vlog.hin
|
428
430
|
- ext/vpi_user.h
|
429
|
-
- ext/Rakefile
|
430
|
-
- ext/swig_vpi.h
|
431
431
|
- ext/swig_wrap.cin
|
432
|
+
- ext/Rakefile
|
432
433
|
- lib/ruby-vpi.rb
|
433
434
|
- lib/ruby-vpi
|
434
435
|
- lib/ruby-vpi/rspec.rb
|
435
436
|
- lib/ruby-vpi/vpi_util.rb
|
436
437
|
- lib/ruby-vpi/rake.rb
|
437
438
|
- lib/ruby-vpi/erb.rb
|
438
|
-
- lib/ruby-vpi/
|
439
|
+
- lib/ruby-vpi/runner_proxy.rb
|
439
440
|
- lib/ruby-vpi/rdoc.rb
|
440
|
-
-
|
441
|
-
-
|
442
|
-
- tpl/runner.rake
|
441
|
+
- lib/ruby-vpi/runner.rb
|
442
|
+
- lib/ruby-vpi/synopsys_vcs.tab
|
443
443
|
- bin/generate_test.rb
|
444
444
|
- bin/header_to_ruby.rb
|
445
445
|
- bin/generate_test_tpl
|
@@ -1,20 +0,0 @@
|
|
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>new (Counter)</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 samp/counter/counter_unitTest_design.rb, line 9</span>
|
14
|
-
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
15
|
-
10: <span class="ruby-ivar">@clock</span> = <span class="ruby-identifier">vpi_handle_by_name</span>(<span class="ruby-value str">"counter_unitTest_bench.clock"</span>, <span class="ruby-keyword kw">nil</span>)
|
16
|
-
11: <span class="ruby-ivar">@reset</span> = <span class="ruby-identifier">vpi_handle_by_name</span>(<span class="ruby-value str">"counter_unitTest_bench.reset"</span>, <span class="ruby-keyword kw">nil</span>)
|
17
|
-
12: <span class="ruby-ivar">@count</span> = <span class="ruby-identifier">vpi_handle_by_name</span>(<span class="ruby-value str">"counter_unitTest_bench.count"</span>, <span class="ruby-keyword kw">nil</span>)
|
18
|
-
13: <span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>sh (FileUtils)</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/rake.rb, line 27</span>
|
14
|
-
27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sh</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>
|
15
|
-
28: <span class="ruby-identifier">old_sh</span> <span class="ruby-operator">*</span><span class="ruby-identifier">collect_args</span>(<span class="ruby-identifier">aArgs</span>).<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">empty?</span>}, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>
|
16
|
-
29: <span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
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>new (Hw5UnitModel::Operation)</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 samp/pipelined_alu/Hw5UnitModel.rb, line 28</span>
|
14
|
-
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">tag</span>, <span class="ruby-identifier">arg1</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">arg2</span> = <span class="ruby-value">0</span>)
|
15
|
-
29: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">OPERATIONS</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">type</span>
|
16
|
-
30:
|
17
|
-
31: <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">type</span>
|
18
|
-
32: <span class="ruby-ivar">@tag</span> = <span class="ruby-identifier">tag</span>
|
19
|
-
33: <span class="ruby-ivar">@arg1</span> = <span class="ruby-identifier">arg1</span>
|
20
|
-
34: <span class="ruby-ivar">@arg2</span> = <span class="ruby-identifier">arg2</span>
|
21
|
-
35:
|
22
|
-
36: <span class="ruby-ivar">@stage</span> = <span class="ruby-value">0</span>
|
23
|
-
37: <span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
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>startOperation (Hw5UnitModel)</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 samp/pipelined_alu/Hw5UnitModel.rb, line 94</span>
|
14
|
-
94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">startOperation</span>(<span class="ruby-identifier">op</span>)
|
15
|
-
95: <span class="ruby-ivar">@aluQueues</span>[<span class="ruby-identifier">op</span>.<span class="ruby-identifier">type</span>] <span class="ruby-operator"><<</span> <span class="ruby-identifier">op</span>
|
16
|
-
96:
|
17
|
-
97: <span class="ruby-identifier">p</span> <span class="ruby-value str">"started operation:"</span>, <span class="ruby-identifier">op</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
|
18
|
-
98: <span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,21 +0,0 @@
|
|
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>setup (Hw5_unit_spec)</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 samp/pipelined_alu/hw5_unit_spec.rb, line 57</span>
|
14
|
-
57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
-
58: <span class="ruby-ivar">@ig</span> = <span class="ruby-constant">InputGenerator</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">RUBY_INTEGER_BITS</span>)
|
16
|
-
59: <span class="ruby-ivar">@design</span> = <span class="ruby-constant">Hw5_unit</span>.<span class="ruby-identifier">new</span>
|
17
|
-
60:
|
18
|
-
61: <span class="ruby-identifier">reset</span>
|
19
|
-
62: <span class="ruby-keyword kw">end</span></pre>
|
20
|
-
</body>
|
21
|
-
</html>
|
@@ -1,23 +0,0 @@
|
|
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>setup (MaximumCounterValue)</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 samp/counter/counter_unitTest_spec.rb, line 34</span>
|
14
|
-
34: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
-
35: <span class="ruby-ivar">@design</span> = <span class="ruby-constant">Counter</span>.<span class="ruby-identifier">new</span>
|
16
|
-
36: <span class="ruby-ivar">@design</span>.<span class="ruby-identifier">reset!</span>
|
17
|
-
37:
|
18
|
-
38: <span class="ruby-comment cmt"># increment the counter to maximum value</span>
|
19
|
-
39: <span class="ruby-constant">MAX</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-identifier">relay_verilog</span> <span class="ruby-keyword kw">end</span>
|
20
|
-
40: <span class="ruby-identifier">assert_equal</span> <span class="ruby-constant">MAX</span>, <span class="ruby-ivar">@design</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">intVal</span>
|
21
|
-
41: <span class="ruby-keyword kw">end</span></pre>
|
22
|
-
</body>
|
23
|
-
</html>
|
@@ -1,44 +0,0 @@
|
|
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>new (ModuleInfo)</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 bin/generate_test.rb, line 84</span>
|
14
|
-
84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aDecl</span>
|
15
|
-
85: <span class="ruby-identifier">aDecl</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">%r{module\s+(\w+)\s*(\#\((.*?)\))?\s*\((.*?)\)\s*;}</span><span class="ruby-identifier">m</span>
|
16
|
-
86: <span class="ruby-ivar">@name</span>, <span class="ruby-identifier">paramDecl</span>, <span class="ruby-identifier">portDecl</span> = <span class="ruby-identifier">$1</span>, <span class="ruby-identifier">$3</span> <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>, <span class="ruby-identifier">$4</span>
|
17
|
-
87:
|
18
|
-
88: <span class="ruby-comment cmt"># parse configuration parameters</span>
|
19
|
-
89: <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{\bparameter\b}</span>, <span class="ruby-value str">''</span>
|
20
|
-
90: <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">strip!</span>
|
21
|
-
91:
|
22
|
-
92: <span class="ruby-ivar">@paramDecls</span> = <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/,/</span>)
|
23
|
-
93:
|
24
|
-
94: <span class="ruby-ivar">@paramNames</span> = <span class="ruby-identifier">paramDecls</span>.<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">acc</span>, <span class="ruby-identifier">decl</span><span class="ruby-operator">|</span>
|
25
|
-
95: <span class="ruby-identifier">acc</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">decl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">%r{\w+}</span>).<span class="ruby-identifier">first</span>
|
26
|
-
96: <span class="ruby-keyword kw">end</span>
|
27
|
-
97:
|
28
|
-
98: <span class="ruby-comment cmt"># parse signal parameters</span>
|
29
|
-
99: <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{\breg\b}</span>, <span class="ruby-value str">''</span>
|
30
|
-
100: <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">strip!</span>
|
31
|
-
101:
|
32
|
-
102: <span class="ruby-ivar">@portDecls</span> = <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/,/</span>)
|
33
|
-
103:
|
34
|
-
104: <span class="ruby-ivar">@inputPortNames</span> = []
|
35
|
-
105:
|
36
|
-
106: <span class="ruby-ivar">@portNames</span> = <span class="ruby-identifier">portDecls</span>.<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">acc</span>, <span class="ruby-identifier">decl</span><span class="ruby-operator">|</span>
|
37
|
-
107: <span class="ruby-identifier">name</span> = <span class="ruby-identifier">decl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">%r{\w+}</span>).<span class="ruby-identifier">last</span>
|
38
|
-
108: <span class="ruby-ivar">@inputPortNames</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">name</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">decl</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\binput\b/</span>
|
39
|
-
109:
|
40
|
-
110: <span class="ruby-identifier">acc</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">name</span>
|
41
|
-
111: <span class="ruby-keyword kw">end</span>
|
42
|
-
112: <span class="ruby-keyword kw">end</span></pre>
|
43
|
-
</body>
|
44
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
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>setup (ResettedCounterValue)</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 samp/counter/counter_unitTest_spec.rb, line 12</span>
|
14
|
-
12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
-
13: <span class="ruby-ivar">@design</span> = <span class="ruby-constant">Counter</span>.<span class="ruby-identifier">new</span>
|
16
|
-
14: <span class="ruby-ivar">@design</span>.<span class="ruby-identifier">reset!</span>
|
17
|
-
15: <span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
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>load_runner_template (RubyVPI)</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.rb, line 29</span>
|
14
|
-
29: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load_runner_template</span>
|
15
|
-
30: <span class="ruby-identifier">load</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">TEMPLATE_PATH</span>, <span class="ruby-value str">'runner.rake'</span>)
|
16
|
-
31: <span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
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>get_value_wrapper (SWIG::TYPE_p_unsigned_int)</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/vpi_util.rb, line 65</span>
|
14
|
-
65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value_wrapper</span> <span class="ruby-identifier">aFormat</span>
|
15
|
-
66: <span class="ruby-identifier">val</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>
|
16
|
-
67: <span class="ruby-identifier">val</span>.<span class="ruby-identifier">format</span> = <span class="ruby-identifier">aFormat</span>
|
17
|
-
68:
|
18
|
-
69: <span class="ruby-identifier">vpi_get_value</span> <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">val</span>
|
19
|
-
70: <span class="ruby-identifier">val</span>
|
20
|
-
71: <span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
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>setup (TestHw5UnitModel)</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 samp/pipelined_alu/TestHw5UnitModel.rb, line 29</span>
|
14
|
-
29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
-
30: <span class="ruby-ivar">@model</span> = <span class="ruby-constant">Hw5UnitModel</span>.<span class="ruby-identifier">new</span>
|
16
|
-
31: <span class="ruby-ivar">@ingen</span> = <span class="ruby-constant">InputGenerator</span>.<span class="ruby-identifier">new</span> <span class="ruby-value">32</span>
|
17
|
-
32: <span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|