ref/ruby/classes/Vpi.src/M000033.html in ruby-vpi-14.0.0 vs ref/ruby/classes/Vpi.src/M000033.html in ruby-vpi-15.0.0
- old
+ new
@@ -8,15 +8,15 @@
<title>simulation_time (Vpi)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 464</span>
-464: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simulation_time</span>
-465: <span class="ruby-identifier">t</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
-466: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
-467:
-468: <span class="ruby-identifier">vpi_get_time</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>
-469: (<span class="ruby-identifier">t</span>.<span class="ruby-identifier">high</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">INTEGER_BITS</span>) <span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">low</span>
-470: <span class="ruby-keyword kw">end</span></pre>
+ <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 479</span>
+479: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">simulation_time</span>
+480: <span class="ruby-identifier">t</span> = <span class="ruby-constant">S_vpi_time</span>.<span class="ruby-identifier">new</span>
+481: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">type</span> = <span class="ruby-constant">VpiSimTime</span>
+482:
+483: <span class="ruby-identifier">vpi_get_time</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>
+484: <span class="ruby-identifier">t</span>.<span class="ruby-identifier">to_i</span>
+485: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file