module: dffset
parameters:
inputs: double_interp d double_interp clk double_interp s 
outputs: double_interp q double_interp qb
classes: Reg reg1()
static_variables: double q_prev
init: 
q = -1.0;
qb = 1.0;
q_prev = -1.0;

code:
q = q_prev;
qb=-q;

reg1.inp(d,clk,s,-1.0);
q_prev=reg1.out;

