anoop12
Member level 5
hello all
I am anding two clocks a and b. a is upcounting clock and b is a down counting clock.
The resulting clock c is the clock that I have to use in my code.My problem is how to
decide whether the resulting clock is for up counting or down counting. what circuit
should I implement so that I will get direction of counting?
----------
a ----> | 2 input |------> c
b ----> | and gate |
------------
a ----> ----------
| flag ckt ?? | -----> direction bit
b ----> ----------
regards
I am anding two clocks a and b. a is upcounting clock and b is a down counting clock.
The resulting clock c is the clock that I have to use in my code.My problem is how to
decide whether the resulting clock is for up counting or down counting. what circuit
should I implement so that I will get direction of counting?
----------
a ----> | 2 input |------> c
b ----> | and gate |
------------
a ----> ----------
| flag ckt ?? | -----> direction bit
b ----> ----------
regards