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.

How do I create a 1 us clk

Status
Not open for further replies.

ntropy

Junior Member level 1
Joined
Feb 9, 2010
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,416
I want to create a 1 us clk signal. I have the Spartan 3E board that has a 50 mhz clk.

Thank you for your help:D
 

Well you could use a PLL to drop it down to 1Mhz, or use a counter that divides the main clock down to 1 Mhz
 

As JacquesKleynhans says, use a PLL or a counter.

In case of the spartan-3E you could use the internal DCM for the "PLL" option, but this does take a bit more effort than a counter. I generally only use the DCM on spartan-3E if I need a higher freq than the onboard oscillator provides.

Personally I'd go for the counter, since the DCM might give you some, uhm, interesting learning experiences you might not need right now. For the counter, lookie here for plenty of verilog examples.
 

Hi mrflibble,

Spartan3e DCM can't support that low freqs. The lower limit is 5MHz. You have to implement a counter after that.
 

Hi matbob,

Excellent point! Just checked the datasheet and indeed, for the 3E it's 5 MHz - 300 MHz. So I guess ntropy is lucky. Now he won't even be tempted to try the DCM first. :p Just divide by 50 using a counter.
 

its better if u can use DCM or PLL for FPGA implementation, because if u implement clock division module as a counter it will take data path in FPGA (in FPGA clock is given a special care and routed in special paths) and hence chances of timing violation is more.....this (DCM or PLL) will improve maximum operating frequency of your design....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top