10
10
// with non empty rpar or ipar or states
13
excluded=['IN_f','OUT_f','CLKIN_f','CLKOUT_f','CLKINV_f','CLKOUTV_f']
15
if rhs<2 then bpath=[],end
16
if rhs<3 then ppath=list(),end
20
if and(o(5)<>excluded) then
22
if model(1)=='super'|model(1)=='csuper' then
23
o=get_tree_elt(scs_m,[k,3,8])
24
ppath=getparpath(o,[bpath k],ppath)
26
if model(6)<>[]|model(7)<>[]|model(8)<>[]|model(9)<>[] then
27
ppath(size(ppath)+1)=[bpath k],
13
excluded=['IN_f','OUT_f','CLKIN_f','CLKOUT_f','CLKINV_f','CLKOUTV_f']
15
if rhs<2 then bpath=[],end
16
if rhs<3 then ppath=list(),end
17
for k=1:lstsize(scs_m.objs)
19
if typeof(o)=='Block' then
20
if and(o.gui<>excluded) then
22
if model.sim=='super'| model.sim=='csuper' then
23
o=scs_m.objs(k).model.rpar
24
ppath=getparpath(o,[bpath k],ppath)
26
if model.state<>[] | model.dstate<>[] | ..
27
model.rpar<>[] | model.ipar<>[] | model.firing<>[] then
28
ppath(size(ppath)+1)=[bpath k],