diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index 0dd4395..c344e10 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -382,9 +382,9 @@ defproc decoder_2d_hybrid (avMx1of2 in; a1of1 out[Nx*Ny]; bool? dly_cfg buffer addr_buf(.in = in, .reset_B = reset_B, .supply = supply); // Decoder X/Y And trees - decoder_dualrail d_dr_x(.supply = supply); + decoder_dualrail_refresh d_dr_x(.supply = supply); (i:0..NxC-1:d_dr_x.in.d[i] = addr_buf.out.d.d[i];) - decoder_dualrail d_dr_y(.supply = supply); + decoder_dualrail_refresh d_dr_y(.supply = supply); (i:0..NyC-1:d_dr_y.in.d[i] = addr_buf.out.d.d[i+NxC];) // sig buf for reqx lines, since they go to synapse pull down gates. @@ -398,10 +398,10 @@ defproc decoder_2d_hybrid (avMx1of2 in; a1of1 out[Nx*Ny]; bool? dly_cfg // Validity vtree vtree_x (.supply = supply); vtree vtree_y (.supply = supply); - (i:0..NxC-1:vtree_x.in.d[i].t = addr_buf.out.d.d[i].t;) - (i:0..NxC-1:vtree_x.in.d[i].f = addr_buf.out.d.d[i].f;) - (i:0..NyC-1:vtree_y.in.d[i].t = addr_buf.out.d.d[i+NxC].t;) - (i:0..NyC-1:vtree_y.in.d[i].f = addr_buf.out.d.d[i+NxC].f;) + (i:0..NxC-1:vtree_x.in.d[i].t = d_dr_x.final_refresh.d[i].t;) + (i:0..NxC-1:vtree_x.in.d[i].f = d_dr_x.final_refresh.d[i].f;) + (i:0..NyC-1:vtree_y.in.d[i].t = d_dr_y.final_refresh.d[i].t;) + (i:0..NyC-1:vtree_y.in.d[i].f = d_dr_y.final_refresh.d[i].f;) A_2C_B_X1 valid_Cel(.c1 = vtree_x.out, .c2 = vtree_y.out, .y = addr_buf.out.v, .vdd = supply.vdd, .vss = supply.vss);