made note of demux td to fixgit add ../dataflow_neuro/primitives.act

This commit is contained in:
alexmadison 2022-05-10 14:53:00 +02:00
parent 4c208bc18a
commit 7735cf8cba
1 changed files with 3 additions and 0 deletions

View File

@ -387,6 +387,9 @@ namespace tmpl {
// Demux
export template<pint N; pbool CONDITION_SIGN>
// WARNING WARNING WARNING
// With a False CONDITION_SIGN, this is wrong.
// the c.t/f just need to be swapped, not inverted!!!
defproc demux_td (avMx1of2<N> in; avMx1of2<N> 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;