gutted KEEPs, readded to coders

This commit is contained in:
alexmadison 2022-04-08 11:53:49 +02:00
parent 74c5b8703f
commit 66fdedfb28
2 changed files with 14 additions and 6 deletions

View File

@ -27,13 +27,13 @@
namespace tmpl {
namespace dataflow_neuro{
export defcell KEEP_X1 (bool y; bool vdd, vss) {
bool _y;
prs{
y => _y-
[weak=1] _y -> y-
[weak=1] ~_y -> y+
// bool _y;
// prs{
// y => _y-
// [weak=1] _y -> y-
// [weak=1] ~_y -> y+
}
// }
}
export defcell A_1C2N_RB_X1 (bool! y; bool? c1,n1,n2,pr_B, sr_B; bool vdd, vss) {

View File

@ -358,6 +358,14 @@ defproc decoder_2d_hybrid (avMx1of2<NxC+NyC> in; a1of1 out[Nx*Ny]; bool? dly_cfg
pu_reset[i].vss = supply.vss;
)
// Add keeps (currently don't do anything in ACT)
KEEP_X1 keeps[Nx];
(i:Nx:
keeps[i].vdd = supply.vdd;
keeps[i].vss = supply.vss;
keeps[i].y = _out_acksB[i];
)
// ORtree from all output acks, back to the buffer ack.
// This is instead of the ack that came from the delayed validity trees,
// in decoder_2d_dly.