The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Modeling >> Behavioral Models >> [SOLVED] oneshot circuit or monostable multivibrator https://designers-guide.org/forum/YaBB.pl?num=1475177011 Message started by Shahriar on Sep 29th, 2016, 12:23pm |
Title: [SOLVED] oneshot circuit or monostable multivibrator Post by Shahriar on Sep 29th, 2016, 12:23pm Hi, I'm new to veriloga. I'm trying to make a veriloga model for a one-shot circuit. The steady output will be low. It would trigger on both positive and negative edges of input and the output will stay high for a defined "pw" parameter. I can't figure out how to code the output getting back to steady state after "pw" time has passed after an edge occurs in input. Here's the code I've written so far. Code:
Could anyone please tell me how I can do this? Or point me to an example? Thanks. |
Title: Re: oneshot circuit or monostable multivibrator Post by Shahriar on Sep 30th, 2016, 10:56am Found the solution myself here. http://www.designers-guide.org/Forum/YaBB.pl?num=1210828245 Code:
|
Title: Re: [SOLVED] oneshot circuit or monostable multivibrator Post by Ken Kundert on Oct 1st, 2016, 6:00pm Thanks for posting your solution. -Ken |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |