fixed bug in neuron handshake array where keeps were connected to post-buffered reqs rather than pre-buffered reqs...

This commit is contained in:
alexmadison 2022-06-16 16:56:38 +02:00
parent 97dacbfd08
commit 75f79705c6
1 changed files with 9 additions and 2 deletions

View File

@ -981,18 +981,25 @@ defproc decoder_2d_hybrid (avMx1of2<NxC+NyC> 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;
)
}