struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
emitValue<output_Dev>(ctx, getValue<input_DIMM>(ctx));
if (!isInputDirty<input_Get>(ctx))
return;
auto dimm = getValue<input_DIMM>(ctx);
bool stat = dimm->getState();
emitValue<output_Done>(ctx, 1);
emitValue<output_State>(ctx, stat);
}