Sha256: bc1ffc85deb4c36c192097b47137b2bf569094f90646388ca63188347f43351e

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>posedge? (Vpi::Handle)</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 85</span>
85:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">posedge?</span>
86:       <span class="ruby-identifier">old</span> = <span class="ruby-ivar">@lastVal</span>
87:       <span class="ruby-identifier">new</span> = <span class="ruby-ivar">@lastVal</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">intVal</span>
88: 
89:       <span class="ruby-identifier">old</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">new</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
90:     <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-15.0.1 ref/ruby/classes/Vpi/Handle.src/M000041.html
ruby-vpi-15.0.0 ref/ruby/classes/Vpi/Handle.src/M000041.html
ruby-vpi-15.0.2 ref/ruby/classes/Vpi/Handle.src/M000041.html