Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

anybody knows how a fractional divider is implemneted ?

Status
Not open for further replies.

sinoshi

Newbie level 1
Joined
Jul 26, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
I need a n/1024 , fractional divider in my design , but I cannot get a good design currently , we know as a normal divider , we add the counter by 1 every cycle , but in this topic , how can i do , add the counter by n ?
cheers
 

wwfeda

Junior Member level 3
Joined
Dec 17, 2005
Messages
29
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,281
Activity points
1,632
Assuming that you want to divide by the number 1024, you change your value to binary. Then shift them to the right 10 times. That will give you the desired 1024 division. Remainders will be lost.

For example, if you have 10000, and want to divide by 1024,

0010 0111 0001 0000.

shift everything right by 10,
0010 01.11 0001 0000

You get 1001 which is equivalent to 9. The remainders are discarded.
 

jimjim2k

Advanced Member level 3
Joined
May 17, 2001
Messages
996
Helped
23
Reputation
46
Reaction score
13
Trophy points
1,298
Activity points
7,270
drwho78 said:
This site has the information you need:

h**p://fractional-divider.tripod.com/

Hi

One another reason for usefulness of perl in EDA Era.


tnx
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top