diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index 57a495e..c726766 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -888,7 +888,9 @@ defproc decoder_2d_hybrid (avMx1of2 in; bool! out_req_x[Nx], out_req_y[ { INV_X1 inv(.a = reset_B, .vdd=supply.vdd,.vss =supply.vss); - A_1N_U_X4 pull_down(.n1=in, .y=out); + TIEHI_X1 tiehi(.vdd = supply.vdd, .vss = supply.vss); + + A_2N_U_X4 pull_down(.n1=in, .n2 = tiehi.y, .y=out); A_1N_U_X4 pull_downR(.n1=inv.y, .y=out); } @@ -1122,7 +1124,7 @@ defproc decoder_2d_hybrid (avMx1of2 in; bool! out_req_x[Nx], out_req_y[ // y_req pull up bool _reqB; INV_X1 req_inv(.a = _req, .y = _reqB, .vdd= supply.vdd, .vss = supply.vss); - A_2P_U_X4 pu_y(.p1 = _reqB, .p2 = outy.a, .y = outy.r, .vdd = supply.vdd, .vss = supply.vss); + A_2P_U_X4 pu_y(.p1 = outy.a, .p2 = _reqB, .y = outy.r, .vdd = supply.vdd, .vss = supply.vss); // x_req pull up A_3P_U_X4 pu_x(.p1 = outx.a, .p2 = _reqB, .p3 = _y_a_B, .y = outx.r,