Class: Inv

Inherits:
TwoPorts show all
Defined in:
lib/Inv.rb

Overview

This class defines the Inverter part

Instance Attribute Summary

Attributes inherited from Inst

#inputs, #name, #nodes, #outputs

Instance Method Summary collapse

Methods inherited from TwoPorts

#initialize

Methods inherited from Inst

#get_port, #initialize

Constructor Details

This class inherits a constructor from TwoPorts

Instance Method Details

#abeloutObject

This method returns the specific ABEL code to be output for this Inst object based on its connections on its input ports. These connections are defined in the abelout method of this object’s superclass, TwoPorts.



5
6
7
8
# File 'lib/Inv.rb', line 5

def abelout
  super
  "#{self.name}p1 = !#{@p0};\n"
end