diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index 05e9b57..8e90850 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -981,18 +981,25 @@ defproc decoder_2d_hybrid (avMx1of2 in; bool! out_req_x[Nx], out_req_y[ ) // Add keeps + // Note that these are attached to the channel coming from the pull downs, + // not inx/y.r!!! + // This is because inx/y.r may be buffered. KEEP keep_x[Nx]; (i:Nx: keep_x[i].vdd = supply.vdd; keep_x[i].vss = supply.vss; - keep_x[i].y = inx[i].r; + // keep_x[i].y = inx[i].r; + keep_x[i].y = to_pd_x[i].r; + ) KEEP keep_y[Ny]; (j:Ny: keep_y[j].vdd = supply.vdd; keep_y[j].vss = supply.vss; - keep_y[j].y = iny[j].r; + // keep_y[j].y = iny[j].r; + keep_y[j].y = to_pd_y[j].r; + ) }