diff --git a/dataflow_neuro/primitives.act b/dataflow_neuro/primitives.act index 98964af..733bb9a 100644 --- a/dataflow_neuro/primitives.act +++ b/dataflow_neuro/primitives.act @@ -387,9 +387,10 @@ namespace tmpl { // Demux export template - defproc demux_td (avMx1of2 in; avMx1of2 out1; a1of1 token; bool? reset_B; avMx1of2<1> cond; power supply) { + defproc demux_td (avMx1of2 in; avMx1of2 out; a1of1 token; bool? reset_B; avMx1of2<1> cond; power supply) { //control bool _en, _reset_BX,_reset_BXX[N], _out_v, _in_c_v_, _reset_BXt; + avMx1of2 out1 = out; OR2_X1 out_or(.a=out1.v, .b=token.r, .y=_out_v,.vdd=supply.vdd,.vss=supply.vss);