Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
COMP(threshold);
HAL_PIN(in) = 0.0;
HAL_PIN(tre) = 0.0;
HAL_PIN(out) = 0.0;
HAL_PIN(nout) = 0.0;
RT(
if(PIN(in) >= PIN(tre)){
PIN(out) = 1.0;
PIN(nout) = 0.0;
}
else{
PIN(out) = 0.0;
PIN(nout) = 1.0;
}
);
ENDCOMP;
930b079a3This file is pinned to the selected release. Download the original to open it in your design tool.