If a new vector is created by the functions cph or ph,
its type should be 'phase', not voltage. Thus prevent raw file entries (created by the 'write' command like 4 v(cph(vout2)) voltage
This commit is contained in:
parent
16a4ef086c
commit
f49922c1f1
|
|
@ -937,6 +937,10 @@ apply_func(struct func *func, struct pnode *arg)
|
|||
|
||||
vec_new(t);
|
||||
|
||||
/* try to figure out the v_type, depending on the function */
|
||||
if (eq(func->fu_name, "cph") || eq(func->fu_name, "ph"))
|
||||
t->v_type = SV_PHASE;
|
||||
|
||||
if (end)
|
||||
end->v_link2 = t;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue