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 to design a programmable counter?

Status
Not open for further replies.

Alles Gute

Full Member level 2
Joined
Dec 4, 2003
Messages
135
Helped
15
Reputation
30
Reaction score
10
Trophy points
1,298
Activity points
1,217
design of programmable counter

I want to design a programmable counter works at GHz and I do not have a clear idea about that yet. Can you recommend some books or papers or anything related?
 

Do you want to use programmable logic? (FPGA in example)
 

no, my "programmable" means the counter will return to zero when it counts to a specific value(e.g. 5 or 7 or 8 ...) while this value is programmable.
 

Hi Alles Gute,

I think you mean a presettable counter. Which literally means you can start counting at the preset value or you can roll over to zero count when this preset value is reached. you first decide how many bits you want in your counter.
 

I want a 5 bit counter.
OK, let's forget about the programmable thing, and let's talk about "How to design a counter?"
 

Alles Gute,

How to transmit the specific to the counter in your plan?
 

Hi, AlexWan:
My counter should work up to 2.5GHz
 

Alles Gute,

Sorry, My question:
How to transmit the specific number to the counter in your plan?
 

first decide the nuber of counter bits. you said 5 bit.

then implement a state machine as,
1. first it will be in initial state. here preset the counter.
2. then counter shold start. for this have one more state.
3. once it reaches the max limit, the counter should start from preset value and again it should count. for this we can have one more state.

like this we can implement for programmable down counter or even we can mix up & down counter.(programmable).

i wish it will hwllp you.
 

perhaps you can use a prescaler to divide input GHZ signal,

then the following counter can use a low speed programmable counter,

that's not difficult.

best regards




Alles Gute said:
I want to design a programmable counter works at GHz and I do not have a clear idea about that yet. Can you recommend some books or papers or anything related?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top