Class: Nor3
Overview
This class defines the 3-Input NOR part
Instance Attribute Summary
Attributes inherited from Inst
#inputs, #name, #nodes, #outputs
Instance Method Summary collapse
-
#abelout ⇒ Object
This method returns the specific ABEL code to be output for this Inst object based on its connections on its input ports.
Methods inherited from FourPorts
Methods inherited from Inst
Constructor Details
This class inherits a constructor from FourPorts
Instance Method Details
#abelout ⇒ Object
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, FourPorts.
5 6 7 8 |
# File 'lib/Nor3.rb', line 5 def abelout super "#{self.name}p3 = !(#{@p0} # #{@p1} # #{@p2});\n" end |