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.

CPLD clock generation question

Status
Not open for further replies.

Pavithra89

Member level 2
Member level 2
Joined
Mar 18, 2013
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,695
hi
I need to generate a clock of M rise time and N fall time using coolrunner CPLD where M and N are inputs. I need a basic idea on how to do this. please guide me .
regards
 

hi
I need to generate a clock of M rise time and N fall time using coolrunner CPLD where M and N are inputs. I need a basic idea on how to do this. please guide me .
regards

do you mean you want a clock with pulse high width = M, pulse low width = N ?

how to do this :
1. you need to define what is the basic unit of M, N is it time in ns or higher clock cycle time or numbers ?
2. you need to establish the wright clock rate from wich you will create the varying duty cycle clock.
3. then ofcourse you will need at least a counter that will count to max(m,n).
4. then a control process that will activate the counter, and generate the output. (like a state machine).
 

Rise/fall time or duty cycle?

Because if risetime, and you want the risetime to be arbitrary then you have to worry about the analog side of it first. CPLD/FPGA cannot just set any random risetime, there's only so many options you have with drive strength etc.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top