module: sat_basic
description: 
timing_sensitivity: 
parameters:  double psat, double msat
inputs:  double in
outputs:  double out
classes:  
static_variables:  
init:  


end:  
code:  
if (in > psat)
   out = psat;
else if (in < msat)
   out = msat;
else
   out = in;