ruby-vpi 20.0.0 → 21.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +2 -2
- data/Rakefile +2 -3
- data/bin/generate/runner.rake +1 -1
- data/doc/README +9 -0
- data/doc/Rakefile +21 -0
- data/doc/api/c/annotated.html +1 -1
- data/doc/api/c/binding_8c.html +76 -0
- data/doc/api/c/binding_8h.html +76 -0
- data/doc/api/c/files.html +9 -8
- data/doc/api/c/functions.html +1 -1
- data/doc/api/c/functions_vars.html +1 -1
- data/doc/api/c/globals.html +61 -11
- data/doc/api/c/globals_0x65.html +2 -8
- data/doc/api/c/globals_0x70.html +2 -8
- data/doc/api/c/globals_0x72.html +45 -25
- data/doc/api/c/globals_0x76.html +6 -35
- data/doc/api/c/globals_0x78.html +2 -8
- data/doc/api/c/globals_defs.html +2 -9
- data/doc/api/c/globals_defs_0x65.html +2 -3
- data/doc/api/c/globals_defs_0x70.html +2 -3
- data/doc/api/c/{globals_enum.html → globals_defs_0x72.html} +25 -7
- data/doc/api/c/globals_defs_0x76.html +4 -19
- data/doc/api/c/globals_defs_0x78.html +2 -3
- data/doc/api/c/globals_func.html +32 -37
- data/doc/api/c/globals_type.html +1 -3
- data/doc/api/c/globals_vars.html +5 -13
- data/doc/api/c/host_8c.html +93 -0
- data/doc/api/c/host_8h.html +69 -0
- data/doc/api/c/index.html +1 -1
- data/doc/api/c/main_8c.html +35 -33
- data/doc/api/c/structs__cb__data.html +1 -1
- data/doc/api/c/structs__vpi__delay.html +1 -1
- data/doc/api/c/structs__vpi__error__info.html +1 -1
- data/doc/api/c/structs__vpi__strengthval.html +1 -1
- data/doc/api/c/structs__vpi__systf__data.html +1 -1
- data/doc/api/c/structs__vpi__time.html +1 -1
- data/doc/api/c/structs__vpi__value.html +1 -1
- data/doc/api/c/structs__vpi__vecval.html +1 -1
- data/doc/api/c/structs__vpi__vlog__info.html +1 -1
- data/doc/api/c/user_8c.html +170 -0
- data/doc/api/c/user_8h.html +98 -0
- data/doc/api/c/util_8h.html +171 -0
- data/doc/api/c/verilog_8h.html +2 -158
- data/doc/api/c/vpi__user_8h.html +1 -1
- data/doc/api/ruby/classes/ERB.html +5 -5
- data/doc/api/ruby/classes/ERB.src/{M000025.html → M000026.html} +0 -0
- data/doc/api/ruby/classes/FileUtils.html +6 -6
- data/doc/api/ruby/classes/FileUtils.src/{M000026.html → M000027.html} +0 -0
- data/doc/api/ruby/classes/Float.html +6 -6
- data/doc/api/ruby/classes/Float.src/{M000020.html → M000021.html} +0 -0
- data/doc/api/ruby/classes/Integer.html +65 -65
- data/doc/api/ruby/classes/Integer.src/M000009.html +11 -4
- data/doc/api/ruby/classes/Integer.src/M000010.html +4 -4
- data/doc/api/ruby/classes/Integer.src/M000011.html +4 -4
- data/doc/api/ruby/classes/Integer.src/M000012.html +4 -4
- data/doc/api/ruby/classes/Integer.src/M000013.html +4 -4
- data/doc/api/ruby/classes/Integer.src/M000014.html +18 -0
- data/doc/api/ruby/classes/Integer.src/M000017.html +5 -11
- data/doc/api/ruby/classes/Integer.src/M000018.html +14 -8
- data/doc/api/ruby/classes/Integer.src/M000019.html +8 -13
- data/doc/api/ruby/classes/Integer.src/M000020.html +30 -0
- data/doc/api/ruby/classes/Kernel.html +143 -0
- data/doc/api/ruby/classes/Object.html +5 -0
- data/doc/api/ruby/classes/RDoc.html +5 -5
- data/doc/api/ruby/classes/RDoc.src/{M000541.html → M000546.html} +0 -0
- data/doc/api/ruby/classes/RubyVPI.html +148 -17
- data/doc/api/ruby/classes/RubyVPI.src/M000028.html +19 -0
- data/doc/api/ruby/classes/RubyVPI.src/M000029.html +19 -0
- data/doc/api/ruby/classes/RubyVPI.src/M000030.html +18 -0
- data/doc/api/ruby/classes/RubyVPI.src/M000031.html +18 -0
- data/doc/api/ruby/classes/RubyVPI.src/{M000027.html → M000032.html} +9 -1
- data/doc/api/ruby/classes/RubyVPI/SIMULATORS.html +5 -5
- data/doc/api/ruby/classes/RubyVPI/SIMULATORS.src/{M000028.html → M000033.html} +0 -0
- data/doc/api/ruby/classes/String.html +20 -20
- data/doc/api/ruby/classes/String.src/M000022.html +22 -4
- data/doc/api/ruby/classes/String.src/M000023.html +4 -4
- data/doc/api/ruby/classes/String.src/M000024.html +4 -27
- data/doc/api/ruby/classes/String.src/M000025.html +41 -0
- data/doc/api/ruby/classes/VPI.html +2066 -2066
- data/doc/api/ruby/classes/VPI.src/M000034.html +5 -12
- data/doc/api/ruby/classes/VPI.src/{M000030.html → M000035.html} +1 -1
- data/doc/api/ruby/classes/VPI.src/M000036.html +6 -3
- data/doc/api/ruby/classes/VPI.src/M000038.html +12 -3
- data/doc/api/ruby/classes/VPI.src/M000039.html +13 -3
- data/doc/api/ruby/classes/VPI.src/M000041.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000042.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000043.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000044.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000045.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000046.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000047.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000048.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000049.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000050.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000051.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000052.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000053.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000054.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000055.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000056.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000057.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000058.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000059.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000060.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000061.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000062.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000063.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000064.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000065.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000066.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000067.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000068.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000069.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000070.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000071.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000072.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000073.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000074.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000075.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000076.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000077.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000078.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000079.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000080.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000081.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000082.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000083.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000084.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000085.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000086.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000087.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000088.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000089.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000090.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000091.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000092.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000093.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000094.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000095.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000096.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000097.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000098.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000099.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000100.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000101.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000102.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000103.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000104.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000105.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000106.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000107.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000108.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000109.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000110.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000111.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000112.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000113.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000114.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000115.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000116.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000117.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000118.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000119.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000120.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000121.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000122.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000123.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000124.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000125.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000126.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000127.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000128.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000129.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000130.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000131.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000132.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000133.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000134.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000135.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000136.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000137.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000138.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000139.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000140.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000141.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000142.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000143.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000144.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000145.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000146.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000147.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000148.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000149.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000150.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000151.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000152.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000153.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000154.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000155.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000156.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000157.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000158.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000159.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000160.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000161.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000162.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000163.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000164.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000165.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000166.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000167.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000168.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000169.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000170.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000171.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000172.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000173.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000174.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000175.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000176.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000177.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000178.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000179.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000180.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000181.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000182.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000183.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000184.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000185.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000186.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000187.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000188.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000189.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000190.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000191.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000192.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000193.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000194.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000195.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000196.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000197.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000198.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000199.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000200.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000201.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000202.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000203.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000204.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000205.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000206.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000207.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000208.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000209.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000210.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000211.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000212.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000213.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000214.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000215.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000216.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000217.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000218.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000219.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000220.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000221.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000222.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000223.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000224.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000225.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000226.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000227.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000228.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000229.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000230.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000231.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000232.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000233.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000234.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000235.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000236.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000237.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000238.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000239.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000240.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000241.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000242.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000243.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000244.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000245.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000246.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000247.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000248.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000249.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000250.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000251.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000252.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000253.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000254.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000255.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000256.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000257.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000258.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000259.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000260.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000261.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000262.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000263.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000264.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000265.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000266.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000267.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000268.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000269.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000270.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000271.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000272.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000273.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000274.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000275.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000276.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000277.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000278.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000279.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000280.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000281.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000282.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000283.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000284.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000285.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000286.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000287.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000288.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000289.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000290.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000291.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000292.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000293.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000294.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000295.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000296.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000297.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000298.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000299.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000300.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000301.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000302.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000303.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000304.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000305.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000306.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000307.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000308.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000309.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000310.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000311.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000312.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000313.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000314.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000315.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000316.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000317.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000318.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000319.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000320.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000321.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000322.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000323.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000324.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000325.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000326.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000327.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000328.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000329.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000330.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000331.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000332.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000333.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000334.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000335.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000336.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000337.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000338.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000339.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000340.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000341.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000342.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000343.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000344.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000345.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000346.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000347.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000348.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000349.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000350.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000351.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000352.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000353.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000354.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000355.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000356.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000357.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000358.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000359.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000360.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000361.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000362.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000363.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000364.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000365.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000366.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000367.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000368.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000369.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000370.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000371.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000372.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000373.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000374.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000375.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000376.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000377.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000378.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000379.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000380.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000381.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000382.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000383.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000384.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000385.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000386.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000387.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000388.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000389.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000390.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000391.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000392.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000393.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000394.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000395.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000396.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000397.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000398.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000399.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000400.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000401.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000402.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000403.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000404.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000405.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000406.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000407.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000408.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000409.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000410.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000411.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000412.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000413.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000414.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000415.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000416.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000417.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000418.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000419.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000420.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000421.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000422.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000423.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000424.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000425.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000426.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000427.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000428.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000429.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000430.html +3 -3
- data/doc/api/ruby/classes/VPI.src/M000431.html +16 -0
- data/doc/api/ruby/classes/VPI.src/{M000040.html → M000432.html} +3 -3
- data/doc/api/ruby/classes/VPI.src/{M000037.html → M000433.html} +3 -3
- data/doc/api/ruby/classes/VPI.src/M000434.html +16 -0
- data/doc/api/ruby/classes/VPI.src/M000435.html +16 -0
- data/doc/api/ruby/classes/VPI/Handle.html +498 -498
- data/doc/api/ruby/classes/VPI/Handle.src/M000439.html +17 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000440.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/{M000436.html → M000441.html} +0 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000444.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/{M000435.html → M000445.html} +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000448.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/{M000443.html → M000449.html} +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000452.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/{M000447.html → M000453.html} +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000456.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000457.html +18 -0
- data/doc/api/ruby/classes/VPI/Handle.src/{M000455.html → M000460.html} +0 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000461.html +4 -7
- data/doc/api/ruby/classes/VPI/Handle.src/M000464.html +10 -5
- data/doc/api/ruby/classes/VPI/Handle.src/M000466.html +7 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000467.html +14 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000468.html +31 -11
- data/doc/api/ruby/classes/VPI/Handle.src/M000469.html +5 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000470.html +5 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000471.html +4 -26
- data/doc/api/ruby/classes/VPI/Handle.src/M000472.html +4 -4
- data/doc/api/ruby/classes/VPI/Handle.src/M000473.html +15 -6
- data/doc/api/ruby/classes/VPI/Handle.src/M000474.html +5 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000475.html +5 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000476.html +27 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000477.html +5 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000478.html +8 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000479.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000480.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000481.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000482.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000483.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000484.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000485.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000486.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000487.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000488.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000489.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000490.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000491.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000492.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000493.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000494.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000495.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000496.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000497.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000498.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000499.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000500.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000501.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000502.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000503.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000504.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000505.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000506.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000507.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000508.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000509.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000510.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000511.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000512.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000513.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000514.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000515.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000516.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000517.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000518.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000519.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000520.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000521.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000522.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000523.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000524.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000525.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000526.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000527.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000528.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000529.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000530.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000531.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000532.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000533.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000534.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000535.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000536.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000537.html +3 -3
- data/doc/api/ruby/classes/VPI/Handle.src/M000538.html +16 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000539.html +16 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000540.html +16 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000541.html +16 -0
- data/doc/api/ruby/classes/VPI/Handle.src/M000542.html +16 -0
- data/doc/api/ruby/classes/VPI/S_vpi_time.html +16 -16
- data/doc/api/ruby/classes/VPI/S_vpi_time.src/{M000538.html → M000543.html} +0 -0
- data/doc/api/ruby/classes/VPI/S_vpi_time.src/{M000539.html → M000544.html} +0 -0
- data/doc/api/ruby/classes/VPI/S_vpi_value.html +15 -15
- data/doc/api/ruby/classes/VPI/S_vpi_value.src/{M000431.html → M000436.html} +1 -1
- data/doc/api/ruby/classes/VPI/S_vpi_value.src/{M000432.html → M000437.html} +0 -0
- data/doc/api/ruby/classes/VPI/S_vpi_value.src/{M000433.html → M000438.html} +0 -0
- data/doc/api/ruby/classes/VerilogParser.html +5 -5
- data/doc/api/ruby/classes/VerilogParser.src/{M000003.html → M000004.html} +0 -0
- data/doc/api/ruby/classes/VerilogParser/Module.html +5 -5
- data/doc/api/ruby/classes/VerilogParser/Module.src/{M000004.html → M000005.html} +0 -0
- data/doc/api/ruby/classes/VerilogParser/Module/Port.html +15 -15
- data/doc/api/ruby/classes/VerilogParser/Module/Port.src/M000006.html +9 -4
- data/doc/api/ruby/classes/VerilogParser/Module/Port.src/M000007.html +4 -4
- data/doc/api/ruby/classes/VerilogParser/Module/Port.src/M000008.html +18 -0
- data/doc/api/ruby/created.rid +1 -1
- data/doc/api/ruby/files/bin/convert_rb.html +1 -1
- data/doc/api/ruby/files/bin/generate_rb.html +1 -1
- data/doc/api/ruby/files/bin/ruby-vpi.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/boot/loader_rb.html +149 -0
- data/doc/api/ruby/files/lib/ruby-vpi/boot/loader_rb.src/M000003.html +17 -0
- data/doc/api/ruby/files/lib/ruby-vpi/boot/relay_rb.html +114 -0
- data/doc/api/ruby/files/lib/ruby-vpi/core/callback_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core/edge-methods_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core/edge_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core/handle_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core/scheduler_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core/struct_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/core_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/float_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/integer_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.html +3 -13
- data/doc/api/ruby/files/lib/ruby-vpi/runner_boot_loader_rb.src/M000002.html +3 -3
- data/doc/api/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/util_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +1 -1
- data/doc/api/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/doc/api/ruby/files/ruby-vpi-dynamic_rb.html +1 -1
- data/doc/api/ruby/fr_class_index.html +1 -0
- data/doc/api/ruby/fr_file_index.html +2 -0
- data/doc/api/ruby/fr_method_index.html +544 -539
- data/doc/guide.erb +37 -50
- data/doc/guide.html +322 -255
- data/doc/images/feed-icon-28x28.png +0 -0
- data/examples/register_file/register_file_runner.rake +1 -1
- data/ext/Rakefile +13 -4
- data/ext/binding.c +22 -0
- data/ext/binding.h +29 -0
- data/ext/extconf.rb +18 -11
- data/ext/host.c +75 -0
- data/ext/host.h +17 -0
- data/ext/main.c +50 -43
- data/ext/swig_vpi.i +6 -6
- data/ext/user.c +95 -0
- data/ext/user.h +23 -0
- data/ext/util.h +55 -0
- data/ext/verilog.h +5 -52
- data/lib/ruby-vpi.rb +11 -3
- data/lib/ruby-vpi/boot/loader.rb +162 -0
- data/lib/ruby-vpi/boot/relay.rb +47 -0
- data/lib/ruby-vpi/core.rb +0 -8
- data/lib/ruby-vpi/core/callback.rb +21 -28
- data/lib/ruby-vpi/core/handle.rb +14 -4
- data/lib/ruby-vpi/core/scheduler.rb +5 -13
- data/lib/ruby-vpi/core/struct.rb +1 -1
- data/lib/ruby-vpi/runner.rb +10 -2
- data/lib/ruby-vpi/runner_boot_loader.rb +127 -85
- data/lib/ruby-vpi/runner_proxy.rb +8 -8
- metadata +67 -67
- data/doc/api/c/common_8h.html +0 -143
- data/doc/api/c/globals_0x63.html +0 -120
- data/doc/api/c/globals_0x66.html +0 -58
- data/doc/api/c/globals_0x6d.html +0 -65
- data/doc/api/c/globals_0x74.html +0 -58
- data/doc/api/c/globals_eval.html +0 -44
- data/doc/api/c/main_8h.html +0 -105
- data/doc/api/c/relay_8c.html +0 -174
- data/doc/api/c/relay_8h.html +0 -102
- data/doc/api/c/vlog_8c.html +0 -157
- data/doc/api/c/vlog_8h.html +0 -80
- data/doc/api/ruby/classes/Integer.src/M000008.html +0 -25
- data/doc/api/ruby/classes/Integer.src/M000016.html +0 -25
- data/doc/api/ruby/classes/String.src/M000021.html +0 -36
- data/doc/api/ruby/classes/VPI.src/M000029.html +0 -19
- data/doc/api/ruby/classes/VPI.src/M000031.html +0 -19
- data/doc/api/ruby/classes/VPI.src/M000033.html +0 -25
- data/doc/api/ruby/classes/VPI/Handle.src/M000434.html +0 -31
- data/doc/api/ruby/classes/VPI/Handle.src/M000451.html +0 -18
- data/doc/api/ruby/classes/VPI/Handle.src/M000459.html +0 -24
- data/doc/api/ruby/classes/VPI/Handle.src/M000462.html +0 -28
- data/doc/api/ruby/classes/VPI/Handle.src/M000463.html +0 -50
- data/doc/api/ruby/classes/VPI/Handle.src/M000465.html +0 -19
- data/doc/api/ruby/classes/VerilogParser/Module/Port.src/M000005.html +0 -23
- data/examples/pipelined_alu/Hw5UnitModel.rb +0 -114
- data/examples/pipelined_alu/README +0 -152
- data/examples/pipelined_alu/Rakefile +0 -1
- data/examples/pipelined_alu/TestHw5UnitModel.rb +0 -72
- data/examples/pipelined_alu/hw5_unit.v +0 -128
- data/examples/pipelined_alu/hw5_unit_design.rb +0 -45
- data/examples/pipelined_alu/hw5_unit_loader.rb +0 -1
- data/examples/pipelined_alu/hw5_unit_proto.rb +0 -4
- data/examples/pipelined_alu/hw5_unit_runner.rake +0 -48
- data/examples/pipelined_alu/hw5_unit_spec.rb +0 -64
- data/examples/pipelined_alu/int_gen.rb +0 -45
- data/ext/common.h +0 -46
- data/ext/main.h +0 -30
- data/ext/relay.c +0 -41
- data/ext/relay.h +0 -31
- data/ext/vlog.c +0 -57
- data/ext/vlog.h +0 -26
data/doc/api/c/vlog_8h.html
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
-
<title>Ruby-VPI: vlog.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.5.3 -->
|
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 class="current"><a href="files.html"><span>Files</span></a></li>
|
13
|
-
</ul>
|
14
|
-
</div>
|
15
|
-
<h1>vlog.h File Reference</h1>Interface between C and Verilog code. <a href="#_details">More...</a>
|
16
|
-
<p>
|
17
|
-
<code>#include "<a class="el" href="common_8h.html">common.h</a>"</code><br>
|
18
|
-
<code>#include "<a class="el" href="verilog_8h.html">verilog.h</a>"</code><br>
|
19
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
20
|
-
<tr><td></td></tr>
|
21
|
-
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
22
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8h.html#c74c587b2501362f8225b8ada1f8b0c0">verilog_cb_funcSig</a> (vlog_relay_ruby)</td></tr>
|
23
|
-
|
24
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Relays control from Verilog to Ruby. <a href="#c74c587b2501362f8225b8ada1f8b0c0"></a><br></td></tr>
|
25
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structs__cb__data.html">s_cb_data</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="vlog_8h.html#d6adf9454678287bd05e9df18859f2a5">vlog_relay_ruby_reason</a> ()</td></tr>
|
26
|
-
|
27
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the data corresponding to the callback that caused the relay from Verilog to Ruby. <a href="#d6adf9454678287bd05e9df18859f2a5"></a><br></td></tr>
|
28
|
-
</table>
|
29
|
-
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
30
|
-
Interface between C and Verilog code.
|
31
|
-
<p>
|
32
|
-
<hr><h2>Function Documentation</h2>
|
33
|
-
<a class="anchor" name="c74c587b2501362f8225b8ada1f8b0c0"></a><!-- doxytag: member="vlog.h::verilog_cb_funcSig" ref="c74c587b2501362f8225b8ada1f8b0c0" args="(vlog_relay_ruby)" -->
|
34
|
-
<div class="memitem">
|
35
|
-
<div class="memproto">
|
36
|
-
<table class="memname">
|
37
|
-
<tr>
|
38
|
-
<td class="memname">verilog_cb_funcSig </td>
|
39
|
-
<td>(</td>
|
40
|
-
<td class="paramtype">vlog_relay_ruby </td>
|
41
|
-
<td class="paramname"> </td>
|
42
|
-
<td> ) </td>
|
43
|
-
<td width="100%"></td>
|
44
|
-
</tr>
|
45
|
-
</table>
|
46
|
-
</div>
|
47
|
-
<div class="memdoc">
|
48
|
-
|
49
|
-
<p>
|
50
|
-
Relays control from Verilog to Ruby.
|
51
|
-
<p>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
</div><p>
|
55
|
-
<a class="anchor" name="d6adf9454678287bd05e9df18859f2a5"></a><!-- doxytag: member="vlog.h::vlog_relay_ruby_reason" ref="d6adf9454678287bd05e9df18859f2a5" args="()" -->
|
56
|
-
<div class="memitem">
|
57
|
-
<div class="memproto">
|
58
|
-
<table class="memname">
|
59
|
-
<tr>
|
60
|
-
<td class="memname"><a class="el" href="structs__cb__data.html">s_cb_data</a>* vlog_relay_ruby_reason </td>
|
61
|
-
<td>(</td>
|
62
|
-
<td class="paramname"> </td>
|
63
|
-
<td> ) </td>
|
64
|
-
<td width="100%"></td>
|
65
|
-
</tr>
|
66
|
-
</table>
|
67
|
-
</div>
|
68
|
-
<div class="memdoc">
|
69
|
-
|
70
|
-
<p>
|
71
|
-
Returns the data corresponding to the callback that caused the relay from Verilog to Ruby.
|
72
|
-
<p>
|
73
|
-
|
74
|
-
</div>
|
75
|
-
</div><p>
|
76
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jan 27 22:47:05 2008 for Ruby-VPI by
|
77
|
-
<a href="http://www.doxygen.org/index.html">
|
78
|
-
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
79
|
-
</body>
|
80
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>log2 (Integer)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 11</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log2</span>
|
15
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"integer must be positive"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><</span> <span class="ruby-value">0</span>
|
16
|
-
<span class="ruby-identifier">bin</span> = <span class="ruby-identifier">to_s</span>(<span class="ruby-value">2</span>)
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">bin</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^10+$/</span>
|
19
|
-
<span class="ruby-identifier">bin</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>
|
20
|
-
<span class="ruby-keyword kw">else</span>
|
21
|
-
<span class="ruby-identifier">bin</span>.<span class="ruby-identifier">length</span>
|
22
|
-
<span class="ruby-keyword kw">end</span>
|
23
|
-
<span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>pack (Integer)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/ruby-vpi/integer.rb, line 62</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pack</span> <span class="ruby-identifier">aPackedWidth</span>
|
15
|
-
<span class="ruby-identifier">bits</span> = <span class="ruby-identifier">length</span>
|
16
|
-
<span class="ruby-identifier">bits</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-comment cmt"># positive integers also have a sign bit (zero)</span>
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">aPackedWidth</span> <span class="ruby-operator">>=</span> <span class="ruby-identifier">bits</span>
|
19
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"packed width #{aPackedWidth} must be at least #{bits} for integer #{self}"</span>
|
20
|
-
<span class="ruby-keyword kw">end</span>
|
21
|
-
|
22
|
-
<span class="ruby-identifier">extend_sign</span>(<span class="ruby-identifier">bits</span>, <span class="ruby-identifier">aPackedWidth</span>)
|
23
|
-
<span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>to_f (String)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/float.rb, line 9</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_f</span> <span class="ruby-identifier">aRadix</span> = <span class="ruby-value">10</span>
|
15
|
-
<span class="ruby-identifier">whole</span>, <span class="ruby-identifier">frac</span> = <span class="ruby-identifier">split</span>(<span class="ruby-value str">'.'</span>, <span class="ruby-value">2</span>)
|
16
|
-
<span class="ruby-identifier">whole</span> = <span class="ruby-identifier">whole</span>.<span class="ruby-identifier">to_i</span>(<span class="ruby-identifier">aRadix</span>).<span class="ruby-identifier">to_f</span>
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">frac</span>
|
19
|
-
<span class="ruby-identifier">f</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span>
|
20
|
-
|
21
|
-
<span class="ruby-identifier">frac</span>.<span class="ruby-identifier">length</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
22
|
-
<span class="ruby-identifier">power</span> = <span class="ruby-identifier">i</span>.<span class="ruby-identifier">next</span>
|
23
|
-
<span class="ruby-identifier">weight</span> = <span class="ruby-identifier">aRadix</span> <span class="ruby-operator">**</span> <span class="ruby-operator">-</span><span class="ruby-identifier">power</span>
|
24
|
-
<span class="ruby-identifier">digit</span> = <span class="ruby-identifier">frac</span>[<span class="ruby-identifier">i</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">to_i</span>(<span class="ruby-identifier">aRadix</span>)
|
25
|
-
|
26
|
-
<span class="ruby-identifier">f</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">digit</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">weight</span>
|
27
|
-
<span class="ruby-keyword kw">end</span>
|
28
|
-
|
29
|
-
<span class="ruby-identifier">f</span> = <span class="ruby-operator">-</span><span class="ruby-identifier">f</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^-/</span>
|
30
|
-
<span class="ruby-identifier">whole</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">f</span>
|
31
|
-
<span class="ruby-keyword kw">end</span>
|
32
|
-
|
33
|
-
<span class="ruby-identifier">whole</span>
|
34
|
-
<span class="ruby-keyword kw">end</span></pre>
|
35
|
-
</body>
|
36
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>vpi_register_cb (VPI)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/callback.rb, line 130</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">vpi_register_cb</span> <span class="ruby-identifier">aData</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span> <span class="ruby-comment cmt"># :yields: VPI::S_cb_data</span>
|
15
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"block must be given"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
16
|
-
<span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Callback</span>.<span class="ruby-identifier">attach</span>(<span class="ruby-identifier">aData</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span>)
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>advance_time (VPI)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/scheduler.rb, line 207</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">advance_time</span> <span class="ruby-identifier">aNumTimeSteps</span> = <span class="ruby-value">1</span>
|
15
|
-
<span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">ensure_caller_is_registered</span>
|
16
|
-
<span class="ruby-identifier">aNumTimeSteps</span>.<span class="ruby-identifier">times</span> { <span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">await</span> }
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>process (VPI)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/scheduler.rb, line 217</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>
|
15
|
-
<span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">ensure_caller_is_registered</span>
|
16
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"block must be given"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
17
|
-
|
18
|
-
<span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
|
19
|
-
<span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">attach</span>
|
20
|
-
<span class="ruby-keyword kw">yield</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">aBlockArgs</span>)
|
21
|
-
<span class="ruby-constant">RubyVPI</span><span class="ruby-operator">::</span><span class="ruby-constant">Scheduler</span>.<span class="ruby-identifier">detach</span>
|
22
|
-
<span class="ruby-keyword kw">end</span>
|
23
|
-
<span class="ruby-keyword kw">end</span></pre>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>cbValueChange (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/callback.rb, line 99</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cbValueChange</span> <span class="ruby-identifier">aOptions</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span>
|
15
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
16
|
-
|
17
|
-
<span class="ruby-identifier">aOptions</span>[<span class="ruby-identifier">:time</span>] <span class="ruby-operator">||=</span> <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:type</span> =<span class="ruby-operator">></span> <span class="ruby-constant">VpiSuppressTime</span>)
|
18
|
-
<span class="ruby-identifier">aOptions</span>[<span class="ruby-identifier">:value</span>] <span class="ruby-operator">||=</span> <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:format</span> =<span class="ruby-operator">></span> <span class="ruby-constant">VpiSuppressVal</span>)
|
19
|
-
|
20
|
-
<span class="ruby-identifier">alarm</span> = <span class="ruby-constant">S_cb_data</span>.<span class="ruby-identifier">new</span>(
|
21
|
-
<span class="ruby-identifier">:reason</span> =<span class="ruby-operator">></span> <span class="ruby-constant">CbValueChange</span>,
|
22
|
-
<span class="ruby-identifier">:obj</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">self</span>,
|
23
|
-
<span class="ruby-identifier">:time</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">aOptions</span>[<span class="ruby-identifier">:time</span>],
|
24
|
-
<span class="ruby-identifier">:value</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">aOptions</span>[<span class="ruby-identifier">:value</span>],
|
25
|
-
<span class="ruby-identifier">:index</span> =<span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
26
|
-
)
|
27
|
-
|
28
|
-
<span class="ruby-identifier">vpi_register_cb</span> <span class="ruby-identifier">alarm</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aHandler</span>
|
29
|
-
<span class="ruby-keyword kw">end</span></pre>
|
30
|
-
</body>
|
31
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>vpiH? (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/handle.rb, line 87</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">vpiH?</span>
|
15
|
-
<span class="ruby-identifier">get_value</span>(<span class="ruby-constant">VpiScalarVal</span>) <span class="ruby-operator">==</span> <span class="ruby-constant">VpiH</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>inspect (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/handle.rb, line 116</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aPropNames</span>
|
15
|
-
<span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">:name</span>, <span class="ruby-identifier">:fullName</span>, <span class="ruby-identifier">:size</span>, <span class="ruby-identifier">:file</span>, <span class="ruby-identifier">:lineNo</span>, <span class="ruby-identifier">:hexStrVal</span>
|
16
|
-
|
17
|
-
<span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">map!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
18
|
-
<span class="ruby-node">"#{name}=#{__send__(name).inspect}"</span>
|
19
|
-
<span class="ruby-keyword kw">end</span>
|
20
|
-
|
21
|
-
<span class="ruby-node">"#<VPI::Handle #{vpi_get_str(VpiType, self)} #{aPropNames.join(', ')}>"</span>
|
22
|
-
<span class="ruby-keyword kw">end</span></pre>
|
23
|
-
</body>
|
24
|
-
</html>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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 (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/handle.rb, line 144</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value</span> <span class="ruby-identifier">aFormat</span> = <span class="ruby-constant">VpiIntVal</span>
|
15
|
-
<span class="ruby-identifier">fmt</span> = <span class="ruby-identifier">resolve_prop_type</span>(<span class="ruby-identifier">aFormat</span>)
|
16
|
-
<span class="ruby-ivar">@size</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">vpi_get</span>(<span class="ruby-constant">VpiSize</span>, <span class="ruby-keyword kw">self</span>)
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">fmt</span> <span class="ruby-operator">==</span> <span class="ruby-constant">VpiIntVal</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@size</span> <span class="ruby-operator">></span> <span class="ruby-constant">INTEGER_BITS</span>
|
19
|
-
<span class="ruby-identifier">fmt</span> = <span class="ruby-constant">VpiBinStrVal</span>
|
20
|
-
<span class="ruby-identifier">val</span> = <span class="ruby-identifier">get_value_wrapper</span>(<span class="ruby-identifier">fmt</span>)
|
21
|
-
<span class="ruby-identifier">val</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">fmt</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[^01]/</span>, <span class="ruby-value str">'0'</span>).<span class="ruby-identifier">to_i</span>(<span class="ruby-value">2</span>)
|
22
|
-
<span class="ruby-keyword kw">else</span>
|
23
|
-
<span class="ruby-identifier">val</span> = <span class="ruby-identifier">get_value_wrapper</span>(<span class="ruby-identifier">fmt</span>)
|
24
|
-
<span class="ruby-identifier">val</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">fmt</span>)
|
25
|
-
<span class="ruby-keyword kw">end</span>
|
26
|
-
<span class="ruby-keyword kw">end</span></pre>
|
27
|
-
</body>
|
28
|
-
</html>
|
@@ -1,50 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>put_value (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/handle.rb, line 164</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">put_value</span> <span class="ruby-identifier">aValue</span>, <span class="ruby-identifier">aFormat</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">aTime</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">aDelay</span> = <span class="ruby-constant">VpiNoDelay</span>
|
15
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">vpi_get</span>(<span class="ruby-constant">VpiType</span>, <span class="ruby-keyword kw">self</span>) <span class="ruby-operator">==</span> <span class="ruby-constant">VpiNet</span>
|
16
|
-
<span class="ruby-identifier">aDelay</span> = <span class="ruby-constant">VpiForceFlag</span>
|
17
|
-
|
18
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">driver</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_a</span>(<span class="ruby-constant">VpiDriver</span>).<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span> <span class="ruby-identifier">vpi_get</span>(<span class="ruby-constant">VpiType</span>, <span class="ruby-identifier">d</span>) <span class="ruby-operator">!=</span> <span class="ruby-constant">VpiForce</span>}
|
19
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"forcing value #{aValue.inspect} onto wire #{self} that is already driven by #{driver.inspect}"</span>
|
20
|
-
<span class="ruby-keyword kw">end</span>
|
21
|
-
<span class="ruby-keyword kw">end</span>
|
22
|
-
|
23
|
-
<span class="ruby-identifier">aFormat</span> =
|
24
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aFormat</span>
|
25
|
-
<span class="ruby-identifier">resolve_prop_type</span>(<span class="ruby-identifier">aFormat</span>)
|
26
|
-
<span class="ruby-keyword kw">else</span>
|
27
|
-
<span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">detect_format</span>(<span class="ruby-identifier">aValue</span>) <span class="ruby-operator">||</span>
|
28
|
-
<span class="ruby-identifier">get_value_wrapper</span>(<span class="ruby-constant">VpiObjTypeVal</span>).<span class="ruby-identifier">format</span> <span class="ruby-comment cmt"># let the simulator detect</span>
|
29
|
-
<span class="ruby-keyword kw">end</span>
|
30
|
-
|
31
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">aFormat</span> <span class="ruby-operator">==</span> <span class="ruby-constant">VpiIntVal</span>
|
32
|
-
<span class="ruby-ivar">@size</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">vpi_get</span>(<span class="ruby-constant">VpiSize</span>, <span class="ruby-keyword kw">self</span>)
|
33
|
-
|
34
|
-
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@size</span> <span class="ruby-operator"><</span> <span class="ruby-constant">INTEGER_BITS</span>
|
35
|
-
<span class="ruby-identifier">aFormat</span> = <span class="ruby-constant">VpiHexStrVal</span>
|
36
|
-
<span class="ruby-identifier">aValue</span> = <span class="ruby-identifier">aValue</span>.<span class="ruby-identifier">to_i</span>.<span class="ruby-identifier">to_s</span>(<span class="ruby-value">16</span>)
|
37
|
-
<span class="ruby-keyword kw">end</span>
|
38
|
-
<span class="ruby-keyword kw">end</span>
|
39
|
-
|
40
|
-
<span class="ruby-identifier">aTime</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:type</span> =<span class="ruby-operator">></span> <span class="ruby-constant">VpiSimTime</span>, <span class="ruby-identifier">:integer</span> =<span class="ruby-operator">></span> <span class="ruby-value">0</span>)
|
41
|
-
|
42
|
-
<span class="ruby-identifier">wrapper</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:format</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">aFormat</span>)
|
43
|
-
<span class="ruby-identifier">result</span> = <span class="ruby-identifier">wrapper</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">aValue</span>, <span class="ruby-identifier">aFormat</span>)
|
44
|
-
|
45
|
-
<span class="ruby-identifier">vpi_put_value</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">wrapper</span>, <span class="ruby-identifier">aTime</span>, <span class="ruby-identifier">aDelay</span>)
|
46
|
-
|
47
|
-
<span class="ruby-identifier">result</span>
|
48
|
-
<span class="ruby-keyword kw">end</span></pre>
|
49
|
-
</body>
|
50
|
-
</html>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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>release_value (VPI::Handle)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/core/handle.rb, line 207</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">release_value</span>
|
15
|
-
<span class="ruby-comment cmt"># this doesn't really change the value, it only removes the force flag</span>
|
16
|
-
<span class="ruby-identifier">put_value</span>(<span class="ruby-value">0</span>, <span class="ruby-constant">VpiIntVal</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-constant">VpiReleaseFlag</span>)
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
18
|
-
</body>
|
19
|
-
</html>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
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 (VerilogParser::Module::Port)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
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/verilog_parser.rb, line 47</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aDecl</span>, <span class="ruby-identifier">aModule</span>
|
15
|
-
<span class="ruby-ivar">@decl</span> = <span class="ruby-identifier">aDecl</span>
|
16
|
-
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">aDecl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/\S+/</span>).<span class="ruby-identifier">last</span>
|
17
|
-
|
18
|
-
<span class="ruby-identifier">parser</span> = <span class="ruby-node">/\b(input|output|inout)\b[^;]*\b#{@name}\b/</span><span class="ruby-identifier">m</span>
|
19
|
-
<span class="ruby-identifier">aDecl</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">aModule</span>.<span class="ruby-identifier">body</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">parser</span>
|
20
|
-
<span class="ruby-ivar">@type</span> = <span class="ruby-identifier">$1</span>
|
21
|
-
<span class="ruby-keyword kw">end</span></pre>
|
22
|
-
</body>
|
23
|
-
</html>
|