URGENT: Error in code for RING OSCILLATOR

73 views
Skip to first unread message

Ravali Attivilli

unread,
Dec 11, 2020, 6:05:21 AM12/11/20
to EDA Playground
https://www.edaplayground.com/x/bQK7

Above is my code for generating a clock signal using NAND and NOT gates only.

So i used a ring oscillator.

I am getting stuck in this please help me understand where I am going wrong.

Ravali 

Ravali Attivilli

unread,
Dec 11, 2020, 6:17:12 AM12/11/20
to EDA Playground
Just to provide more clarity on the above topic:

My exact question was to: Write verilog code using NAND and NOT gates only to generate  a clock signal of frequency 'f' and dutycule 'd' as per the requirement. (hint:- you can use parameters)

I was also asked to use Ring Oscillator instead of directly assigning the vales to the clock output as 0 or 1 which is why I wrote my code like that.

However when I run my code I get the following error :   Execution interrupted or reached maximum runtime.


Kindly help ASAP.

Regards


EDA Playground

unread,
Dec 14, 2020, 10:42:37 AM12/14/20
to EDA Playground
I looks like you've sorted this.

Matthew
Reply all
Reply to author
Forward
0 new messages