module: pfd_dffreset
parameters:
inputs: double_interp d double_interp clk double_interp r
outputs: double_interp q double_interp qb
classes: Reg reg1()
static_variables:
init:
q = -1.0;
qb = 1.0;
 
code:

reg1.inp(d,clk,-1.0,r);
q=reg1.out;
qb = -q;
