class RTL::UnaryGate

Public Class Methods

new() click to toggle source
Calls superclass method RTL::Circuit::new
# File lib/rtl/library.rb, line 6
def initialize
  name=self.class.to_s.split("::").last
  super(name)
  add Port.new(:in,"i")
  add Port.new(:out,"f")
end