pass through?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pass through?

Stephen Davies
(apologies for duplicate posting)

Is there a way to specify that an input pin should be directly wired to an output pin? There are times when the value of an output pin is precisely that of an input pin, and I don't know how to do this without specifying a double-not:

CHIP Silly {
    IN a, ...;
    OUT b, ...;
    PARTS:
    Not(in=a,out=x);
    Not(in=x,out=b);
}

which seems silly and involves two gates (and gate delays) for nothing.