module: second_order_sd
description: 
parameters:  
inputs:  bool in[23:0], double_interp clk
             bool resetb
outputs:  bool out[7:0]
classes:  SdMbitMod sd_mod("1 -2z^-1 + z^-2"), EdgeDetect clkedge()
static_variables:  
init:  
end:  
code:  
if (clkedge.inp(clk))
  {
   sd_mod.inp(in.get_decimal_value()/pow(2.0,16.0));
   out.set_decimal_value((int) sd_mod.out);
  }
