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. Advertisements

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:
    589
    jackshowme
    Oct 22, 2003
  2. Steffen Netz
    Replies:
    0
    Views:
    874
    Steffen Netz
    May 3, 2004
  3. Omar
    Replies:
    0
    Views:
    719
  4. Tao Chen

    VHDL-AMS problem

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

    VHDL-AMS MOS Level3

    Stefan Klein, Aug 12, 2005, in forum: VHDL
    Replies:
    0
    Views:
    768
    Stefan Klein
    Aug 12, 2005
  6. Aravind

    VHDL-AMS question

    Aravind, Jan 14, 2006, in forum: VHDL
    Replies:
    0
    Views:
    664
    Aravind
    Jan 14, 2006
  7. yaveh (Yet Another Vhdl Engineer Hoping)

    VHDL-AMS?

    yaveh (Yet Another Vhdl Engineer Hoping), Oct 24, 2006, in forum: VHDL
    Replies:
    11
    Views:
    3,252
    Phoenix
    Nov 8, 2006
  8. Isaac Won
    Replies:
    9
    Views:
    776
    Ulrich Eckhardt
    Mar 4, 2013
Loading...