| Author |
Message |
santumevce1412
Joined: 08 Jan 2008 Posts: 24
|
02 Oct 2008 6:24 frequency divider |
|
|
|
Design a state machine to divide the clock by 3/2.
I/p frequency - 50MHz
o/p requency - 33.3MHz
|
|
| Back to top |
|
 |
nisarg001
Joined: 26 Sep 2007 Posts: 9
|
02 Oct 2008 9:07 frequency divider |
|
|
|
| If your output frequency is fixed at 33.3 MHz then you may simply use the oscillator working at that freq.
|
|
| Back to top |
|
 |
wudanyu
Joined: 02 Oct 2008 Posts: 4
|
02 Oct 2008 14:14 Re: frequency divider |
|
|
|
you can design an 2-bit counter named "cnt[1:0]", return "00" when count to "10", negedge of clk;
then you can generate an 2/3 clk by this statement:
assign clk_out=clk&~cnt[1];
|
|
| Back to top |
|
 |
ranjithp
Joined: 02 Mar 2008 Posts: 2
|
03 Oct 2008 12:46 Re: frequency divider |
|
|
|
| what about the duty cycle??
|
|
| Back to top |
|
 |
ramana459
Joined: 01 Apr 2008 Posts: 20
|
08 Oct 2008 20:26 Re: frequency divider |
|
|
|
use this url
http://asic-world.com/examples/verilog/divide_by_45.html#Divide_By_4.5_Counter
by using this code you modify your code into according your interest
|
|
| Back to top |
|
 |