Miscellany
public text v1 · immutablecomponent and2 "Two-input AND gate";
pin in canonbit in0;
pin in canonbit in1;
pin out canonbit out;
function _ nofp;
;;
MODULE_LICENSE("GPL");
FUNCTION(_) { set_out(in0 && in1); }
Component Pins:
Owner Type Dir Value Name
32770 bit IN TRUE and2.0.in0
32770 bit IN FALSE and2.0.in1
32770 bit OUT TRUE and2.0.out
32770 bit OUT FALSE and2.0.out-not
Parameters:
Owner Type Dir Value Name
32770 bit RW FALSE and2.0.in0-invert
32770 bit RW TRUE and2.0.in1-invert