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 model a counter using an equation?

Status
Not open for further replies.

svensl

Full Member level 1
Joined
Mar 25, 2005
Messages
99
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
2,202
Does anyone know how to model a counter? Conceptually, the counter counts edge triggered events at its input, accumulates them over some time, before dumping the result to the output.
With model I mean what equation could I use to represent such behaviour?

Thanks,
 

model

Well I am firing an arrow in the dark...

Edge triggered behaviour can be represented by the differentiation of the input signal.

Pass the derrivative to a threshold fnction that shall return 1 if the derrivative is above a certain level else return 0.

Count the number of 1s you have got.

Honestly tell me svensl... Have I spoken sense?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top