chippendale
New Member
Offline
Posts: 3
|
Hi,
I want to check the values of a through quantity and change the corresponding across quantity. I have no idea how to do this. For a better understanding I have wrote the following code. I am looking for a loop or similar in which each elecment of the vector is checked and the conditional statement is choosen.
part of the entity: terminal VA_COLA_I :electrical_vector(0 to cola-1); quantity vcola across icola through VA_COLA_I to electrical_ref;
part of the architecture: if vcola(k) > vthn use icola(k) == 10.0e-6; else icola(k) == 0.0; end use;
Any suggestions? thx.
|