Feedback loop in VHDL-AMS

Discussion in 'VHDL' started by gdlicciardo@gmail.com, Mar 21, 2013.

  1. 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
     
    , Mar 21, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jackshowme
    Replies:
    0
    Views:
    490
    jackshowme
    Oct 22, 2003
  2. Steffen Netz
    Replies:
    0
    Views:
    686
    Steffen Netz
    May 3, 2004
  3. Omar
    Replies:
    0
    Views:
    618
  4. Tao Chen

    VHDL-AMS problem

    Tao Chen, Jun 14, 2005, in forum: VHDL
    Replies:
    0
    Views:
    2,151
    Tao Chen
    Jun 14, 2005
  5. Stefan Klein

    VHDL-AMS MOS Level3

    Stefan Klein, Aug 12, 2005, in forum: VHDL
    Replies:
    0
    Views:
    664
    Stefan Klein
    Aug 12, 2005
Loading...

Share This Page