Feedback loop in VHDL-AMS

Guest
Hi all,
I need help to implement a schematic in VHDL-AMS.
I've built a system composed of two analog blocks connected in feedback. One block read a voltage across a resistance from the second block and calculates some correction factors which are returned to the first block to modify the resistance value. The problem arises when I try to simulate a DC sweep. Since the initial value of the input voltage and the resistance are dependent and initially unknown, the simulator returns a divide-by-zero error.
Now I ask if there is some way to give an initial value to the components of the second block (or the voltage of the first) which allow to start the simulation, either there is a way to break the loop while preserving the functionalities.

Thanks
 

Welcome to EDABoard.com

Sponsor

Back
Top