{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

View Full Document Right Arrow Icon
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
Image of page 1

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

View Full Document Right Arrow Icon
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,
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern