{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# chap12 - ECEn/CS 224 Chapter 12 Homework Solutions 12.1...

This preview shows pages 1–3. Sign up to view the full content.

Last updated: 10/18/2006 ECEn/CS 224 Chapter 12 Homework Solutions 12.1 Design a 4-bit shift register with the following functionality: shift-left, shift-right, clear, load-all-1’s. Use a 2-bit control input to select between these options (00=shift-left, 01=shift-right, 10=clear, 11=load-all-1’s). A schematic drawing of the circuit is shown below. The 1-bit shifters are implemented simply by changing the way the output of the flip flop is connected to the input of the mux, as shown below. Optional shiftIn inputs and shiftOut outputs are also shown. For this problem, it’s alright to assume that the value 0 is shifted in and the value that is shifted out is ignored. << in3 in1 in2 in0 out3 out1 out2 out0 leftShiftOut leftShiftIn 4 4 out in >> in3 in1 in2 in0 out3 out1 out2 out0 rightShiftIn rightShiftOut 4 4 out in 00 01 10 11 D Q >> << 0000 1111 4 4 4 4 4 4 4 4 ctrl clk 2 dout

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Last updated: 10/18/2006 12.2 Design a 3-bit up/down counter with the following functions: increment, decrement, no change, reset. Use a 2-bit control input to select between these options (00=increment,
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern