class BlifUtils::Netlist::IO

Attributes

name[R]
net[RW]

Public Class Methods

new(name, net) click to toggle source
# File lib/blifutils/netlist.rb, line 28
def initialize (name, net)
        @name = name
        @net = net
end

Public Instance Methods

to_s() click to toggle source
# File lib/blifutils/netlist.rb, line 33
def to_s
        return "#{if @net.isInput then 'Input' elsif @net.isOutput then 'Output' else 'IO' end} #{@net.name} / #{@name}"
end