The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> Output for a pulse is just a DC voltage. Help! https://designers-guide.org/forum/YaBB.pl?num=1454036563 Message started by Rosh on Jan 28th, 2016, 7:02pm |
Title: Output for a pulse is just a DC voltage. Help! Post by Rosh on Jan 28th, 2016, 7:02pm Hello everyone, Here is my code : Code:
I expect to get a pulse with a finite rise and fall time. Instead i get this: |
Title: Re: Output for a pulse is just a DC voltage. Help! Post by deltasigmaADC on Jan 29th, 2016, 2:58am Your variable Vout is always assigned to 1.8. So you should be getting a DC at output, which is what you are seeing. Probably you wanted to update the variable to 0 at some point in time as well. Cheers |
Title: Re: Output for a pulse is just a DC voltage. Help! Post by Geoffrey_Coram on Jan 29th, 2016, 10:55am Your indentation is confusing; it looks like the V(out) <+ transition is inside the @timer block. Code:
|
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |