Due: Friday, September 23, 2016, 11:00 am (start of the class)

  1. Consider an unsigned binary number. What happens to its value when you shift it left by 3 places? Test your answer using the binary value 000011 and 000110.
  2. Consider the truth table below.
    A B C  F
    0 0 0  1
    0 0 1  1
    0 1 0  0
    0 1 1  1
    1 0 0  0
    1 0 1  0
    1 1 0  1
    1 1 1  0
    

    Use a 4-1 MUX to build the circuit. Indicate what inputs (two out of A, B, C) you would attach to the control signals, and what the four individual inputs would be. Be clever.

  3. For each of MUX, DEMUX, DECODER, Priority ENCODER, try to come up with a snippet of code (Python is fine) that implements the circuit.

© 2016 Ying Li. Page last modified: .