node {
void evaluate(Context ctx) {
if (getValue<input_EN>(ctx) && isInputDirty<input_IN>(ctx))
emitValue<output_OUT>(ctx, true);
}
}
EN | IN | OUT |
false | no-pulse | no-pulse |
false | pulse | no-pulse |
true | no-pulse | no-pulse |
true | pulse | pulse |
true | pulse | pulse |
true | no-pulse | no-pulse |
false | no-pulse | no-pulse |