Shift Through?

Thread Starter

reach

Joined May 5, 2011
4
I'm to complete an assignment that involves making an 8-Function 4 Bit ALU.

In my Logic Unit (Not the ALU yet), i'm to include a Shift A Through function.

How would I be able to create a Shifter using AND, NOR, OR, etc. gates?
 

Thread Starter

reach

Joined May 5, 2011
4
Is it possible to do without Flip-Flops?

Because, in my experience, they take too long to make.


EDIT: And to be honest, I don't know the Digital Works program, well enough.
 

Wendy

Joined Mar 24, 2008
23,809
I could be wrong, but my impression is that it basically a shift register, where one D FF feeds another, and another,...

In the case of 8 bit, this is 8 FF.
 

Thread Starter

reach

Joined May 5, 2011
4
Considering that the Shifter is only one of 8 functions in the Logic Unit which I have to make(hence the 8 Function 4 Bit ALU name), I would have thought the Shifter be as simple as a Full Adder (which is another of the 8 functions to be included). (Assuming a Full Adder is widely accepted as easy).

And it's a four Bit ALU but it's made of four 1 Bit ALU's, does that mean it's four D Flip-Flops? (That is, 1 D Flip-Flop per 1 Bit ALU).
 

Thread Starter

reach

Joined May 5, 2011
4
Well, thanks for the answers.

I ended up using a 4 input MUX as the Shifter.


Not sure as to correctness, but it's too late to check.
 
Top