Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog code for module required to design DCO

Status
Not open for further replies.

niteshtripathi

Member level 3
Joined
Oct 11, 2013
Messages
59
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
429
Hello everyone, I have to design a module which has of three inputs clk,inc and dec respectively.

first case,when both inc and dec are zero the output is simply the clkfreq/2. In order to achieve this i am using T Flipflop (where input t=1)

second case,At rising edge of inc if flipflop output is at zero then t flipflop output gets high in next clk cycle and after that it should remain in low state in next two clk cycle.

third case, At rising edge of inc if flipflop output is at high then t flipflop output gets low in next clk cycle and after that it should remain in low state in next two clk cycle.

Please suggest the logic

see the attached file
12471724_587494174732057_7916517070786738504_o.jpg
 

What exactly is the problem? the diagrams are quite clear?
This is not a forum where people will do your homework for you - you need to specify what the problem is.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top