From: Avier on
suppose if am having a clock frequency of 60 Mhz and i want to invert
every third bit that is inverting signal at 20Mhz . what could be the
best solution in terms of least number of storage bits .

i think a counter can be used but how many storage bits we will count
it?

any other solutions

From: Jerry Avins on
Avier wrote:
> suppose if am having a clock frequency of 60 Mhz and i want to invert
> every third bit that is inverting signal at 20Mhz . what could be the
> best solution in terms of least number of storage bits .
>
> i think a counter can be used but how many storage bits we will count
> it?
>
> any other solutions

How many "storage bits" do you need to count to three? What other
hardware? What help does knowing the clock frequency provide?

Jerry
--
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������
From: robert bristow-johnson on
On Jan 2, 1:00 pm, "Avier" <shahanwark...(a)hotmail.com> wrote:
> suppose if  am having a clock frequency of 60 Mhz and i want to invert
> every third bit that is inverting signal at 20Mhz .   what could be the
> best solution in terms of least number of storage bits .
>
> i think a counter can be used  but how many storage bits we will count
> it?
>
> any other solutions

uhm, one thing about Digital Signal Processing that's a sorta
misnomer. we ain't processing digital signals here. it's more like
we're processing analog signals by digital means.

that being said, it sounds like you need a counter. i'm sure someone
has a nice compact divide-by-3 counter circuit laying around. it
would need at least 2 flip-flops in it.

r b-j
From: Vladimir Vassilevsky on


robert bristow-johnson wrote:

> that being said, it sounds like you need a counter. i'm sure someone
> has a nice compact divide-by-3 counter circuit laying around. it
> would need at least 2 flip-flops in it.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nope.

There is about a zillion of ways for making N-state flip-flop, i.e.
flip-flap-flop for 3 states, flip-flap-flup-flop for 4 states, etc.


Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
From: Avier on

>
>How many "storage bits" do you need to count to three? What other
>hardware? What help does knowing the clock frequency provide?
>
>Jerry
>



i rephrase the question , i need to innvert the every third bit of the
btstream

what would be the solution