From 6ecee7f0c769738567c49a3efd3b7e1105a17624 Mon Sep 17 00:00:00 2001 From: alexmadison Date: Thu, 31 Mar 2022 15:24:51 +0200 Subject: [PATCH] added comments --- dataflow_neuro/coders.act | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index 4c6a451..ec86d57 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -243,10 +243,10 @@ defproc decoder_2d_hs (avMx1of2 in; a1of1 out[Nx*Ny]; bool? reset_B; po _ortree.in[i] = out_ack_invs[i].y; ) - // NEED TO ADD C EL - // SUCH THAT ACK IS LOWERED ONLY WHEN - // VAL IS LOWERED TOO - // i.e. buffer.out.a = Cel(ortree_ack, valid) + // C element to ensure that the buffer receives an invalid + // _only_ once _both_ ackB has been reset, _and_ its output data + // has been fully invalidated. + // Otherwise run into the issue that ack is removed before data is invalid. A_2C_B_X1 buf_ack_Cel(.c1 = _ortree.out, .c2 = valid_Cel.y, .y = addr_buf.out.a, .vdd = supply.vdd, .vss = supply.vss);