diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index 3df3eff..546798f 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -216,15 +216,13 @@ defproc decoder_2d_hs (avMx1of2 in; a1of1 out[Nx*Ny]; bool? reset_B; po ) // Line end pull UPs (triggered once reqs removed) + // Use two pullups rather than and-pullup + // bc smaller + // and bc the delay that an AND induces means that the pullup could + // end up fighting a synapse pulldown, as both have the correct req sigs. PULLUP_X4 pu[Nx]; // TODO probably replace this with variable strength PU - PULLUP_X4 pu_reset[Nx]; // TODO probably replace this with variable strength PU - // AND2_X1 pu_ANDs[Nx]; + PULLUP_X4 pu_reset[Nx]; (i:Nx: - // pu_ANDs[i].a = d_dr_xX[i].out[Ny]; - // pu_ANDs[i].b = reset_B; // TODO buffer - // pu_ANDs[i].vdd = supply.vdd; - // pu_ANDs[i].vss = supply.vss; - pu[i].a = d_dr_xX[i].out[Ny]; pu[i].y = _out_acksB[i]; pu[i].vdd = supply.vdd;