From 5e4e90596075b153b4272c5236ff08254ca8a75a Mon Sep 17 00:00:00 2001 From: alexmadison Date: Tue, 29 Mar 2022 15:42:54 +0200 Subject: [PATCH] fixed minor bug in encoder, renamed nrn_hs --- dataflow_neuro/coders.act | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dataflow_neuro/coders.act b/dataflow_neuro/coders.act index b47ae97..7ce6b44 100644 --- a/dataflow_neuro/coders.act +++ b/dataflow_neuro/coders.act @@ -460,7 +460,7 @@ namespace tmpl { // Valid trees vtree vtree_x(.in = x_enc_out, .out = _in_x_v, .supply = supply); - vtree vtree_y(.in = y_enc_out, .out = _in_y_v, .supply = supply); + vtree vtree_y(.in = y_enc_out, .out = _in_y_v, .supply = supply); // Buffer func thing Mx1of2 into_buffer; @@ -480,7 +480,7 @@ namespace tmpl { * Then performs a 2d handshake out outy then outx. */ export - defproc neuron_hs_2D(a1of1 in; a1of1 outx; a1of1 outy; power supply; bool reset_B) { + defproc nrn_hs_2D(a1of1 in; a1of1 outx; a1of1 outy; power supply; bool reset_B) { bool _reset_BX; BUF_X2 reset_buf(.a = reset_B, .y = _reset_BX, .vdd = supply.vdd, .vss = supply.vss); @@ -592,7 +592,7 @@ namespace tmpl { // Create handshake grid pint index; - neuron_hs_2D neurons[Nx*Ny]; + nrn_hs_2D neurons[Nx*Ny]; (i:0..Nx-1: (j:0..Ny-1: index = i + j*Nx;