Esempio n. 1
0
def printOutputCount():
    print(len(utils.getOutputNodes(circuit)))
Esempio n. 2
0
def printOutputs():
    print(" ".join(sorted(utils.getOutputNodes(circuit))))
Esempio n. 3
0
def printMultDepthPerOut():
    outputs = utils.getOutputNodes(circuit)
    outputs = sorted(outputs, key=lambda n: int(n[2:]))
    print('\n'.join(map(lambda out: out + ': ' + str(multDepths[out]),
                        outputs)))