The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> simulating pulse width variation
https://designers-guide.org/forum/YaBB.pl?num=1308719506

Message started by sutapanaki on Jun 21st, 2011, 10:11pm

Title: simulating pulse width variation
Post by sutapanaki on Jun 21st, 2011, 10:11pm

Hi,

I have a circuit that basically produces pulses with a pulse width depending on a control voltage. I use spectre to simulate it. I need to simulate the variation of the pulse width w.r.t. power supply variations. My idea was (and I may be wrong here) to perform pss-pac simulation having an ac voltage at the supply. For that I created a veriloga block which I included in the circuit. That block measures the pulse-width and outputs that value as an output voltage. The problem is that if I use last_crossing in combination with @ cross for better accuracy, pss doesn't like it and says there are hidden states. If I use only last_crossing then simulation goes through but the pulse-width the pss extracts is wrong.
I would appreciate if someone can suggest a way to perform that pulse-width measurement.
Thank you in advance.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.