Sha256: 7c32f48f35fefb04d500df0cbfeeb26e410bf0b84fcbb15115d054d672326d41
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 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>negedge? (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 84</span> 84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">negedge?</span> 85: <span class="ruby-identifier">old</span> = <span class="ruby-ivar">@lastVal</span> 86: <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> 87: 88: <span class="ruby-identifier">old</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">new</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> 89: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-16.0.0 | ref/ruby/classes/Vpi/Handle.src/M000041.html |
ruby-vpi-16.0.1 | ref/ruby/classes/Vpi/Handle.src/M000041.html |