Fine tune nusers when postAdd

This commit is contained in:
Eddie Hung 2019-09-06 15:11:41 -07:00
parent 0d1d8b4d24
commit ef56f8596f
1 changed files with 3 additions and 3 deletions

View File

@ -345,10 +345,10 @@ endcode
match ffPmux
if param(dsp, \PREG).as_int() == 0
// If ffMmux, new-value net must have exactly three users: ffMmux, ffM and ffPmux
if !ffMmux || nusers(sigP) == 3
// If ffMmux and no postAdd new-value net must have exactly three users: ffMmux, ffM and ffPmux
if !ffMmux || postAdd || nusers(sigP) == 3
// Otherwise new-value net must have exactly two users: dsp and ffPmux
if ffMmux || nusers(sigP) == 2
if (ffMmux && !postAdd) || nusers(sigP) == 2
select ffPmux->type.in($mux)
// ffPmux output must have two users: ffPmux and ffP.D