From daa5e9ca223fa745736298d17272514bb13c1402 Mon Sep 17 00:00:00 2001 From: alexmadison Date: Mon, 4 Apr 2022 17:51:49 +0200 Subject: [PATCH] adjusted demux msb --- dataflow_neuro/primitives.act | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dataflow_neuro/primitives.act b/dataflow_neuro/primitives.act index e492527..8cbb3da 100644 --- a/dataflow_neuro/primitives.act +++ b/dataflow_neuro/primitives.act @@ -886,21 +886,8 @@ defproc slice_data(avMx1of2 in; avMx1of2 out; export template defproc demux_bit_msb (avMx1of2 in; avMx1of2 out1; avMx1of2 out2; bool? reset_B; power supply) { - demux demux(.reset_B = reset_B, .out1=out1, .out2=out2); - - in.d.d[N+1].f = demux.cond.d.d[0].f; - in.d.d[N+1].t = demux.cond.d.d[0].t; - - in.v = demux.in.v; - in.a = demux.in.a; - - - (i:0..N: - in.d.d[i].f = demux.in.d.d[i].f; - in.d.d[i].t = demux.in.d.d[i].t;) + demux_bit demux(.in = in, .out1 = out1, .out2 = out2, .reset_B = reset_B, .out1=out1, .out2=out2); } - - }}