Docsity

Solution to ECSE-2610 Computer Components and Operations Homework 12, Assignments of Electrical and Electronics Engineering

Partial preview of the text

Download Solution to ECSE-2610 Computer Components and Operations Homework 12 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECSE-2610 Computer Components and Operations Homework # 12 – SOLUTION Due Wednesday, April 28, 2010 in studio

  1. (5 points) Problem 7.

Solution

  1. (5 points) Problem 8.

Solution

  1. (5 points) Problem 8.
  2. (10 points) Construct the following sequential circuit using LW.
    1. Make a 4x8 RAM (with 4-bit address lines and 8-bit words) with the LW Wizard.
    2. Use the hex keyboard to select a number N between 1 and A (^) hex.
    3. Set the address lines of the RAM to M=0000.
    4. Write N into the low-order bits of the RAM at address M.
    5. Read out the contents of address 0000 into an 8-bit shift register.
    6. Shift it by one bit: now the shift register contains 2N.

7. Increment M M+1.

  1. Go to 4. The RAM should contain successive multiples of N. To verify this, show on a timing diagram the successive 4-bit address signals and 8-bit shift-register output signals, displayed as decimal values. Examples are shown below. Since you have to load the RAM from either the hex keyboard or the shift register, you will need a 2x 8-bit wide mux (or two 4-bit muxes). You may use a counter to sequence the address lines, with the same clock signal as the shift register. Initiate the process by setting a binary switch to 0 then to 1. Use hex displays liberally to check your circuit. Print out your circuit (with your name on it) out along with the timing diagrams and include them your homework.

SOLUTION (one of many acceptable ones )