Homework and Lab Assignments

CSE 140

CSE 140L


CSE 140

Assignment 1 - Due Jan 23

  1. 3.7
  2. 3.10
  3. 4.6 - do as sum of products
  4. 4.6 - do as product of sums

SOLUTION TO ASSIGNMENT 1 note corrections to 4.6a and 4.6b


CSE 140

Homework 2 - Due Feb 6

  1. Problem 4.8
  2. Problem 4.10
  3. Problem 4.19
  4. Given a four-input Boolean function, f(a,b,c,d).

  5. On set is F= sum m(0,3,7,11,13,15),
    Don't care set is D= sum m(8,10).

    a. Implement the function using an 8:1 multiplexer.
    b. Implement the function using a minimal number of 4:1 multiplexers.
    c. Implement the function using a minimal number of 2:1 multiplexers.
    d. Implement the function using a 3:8 decoder and a minimal two level AND-OR network (sum of products).

    Homework 2 Solutions, please note that these have not been checked by anyone else. If you think there is an error, please contact me immediately (cmautner@cs.ucsd.edu).

    Homework 2 Points for each problem:

      4.8 a) 6 b) 6 c) 6 d) 7

      4.10 a) 10 b) 8 c) 7

      4.19 hazardous design 5 hazard-free design 20

      MUX, Dec problem a) 6 b) 6 c) 6 d) 7


CSE 140L

Lab 1


CSE 140L

Lab 2 - due Wed 2/18/98

Useful Items

Frequently Asked Questions


Lab 3- due Mon 3/2/98


CSE 140

Homework 3 - Due Friday 2/27

  1. 6.8
  2. 6.10
  3. 6.12
  4. 6.16


Homework 4 - due Friday 3/13/98

  1. Design a counter with output sequence 14, 15, 0, 7, 8, 9, 5, 6 in a wrap around fashion with a modulo­16 counter and a minimal number of 4:1 multiplexers.
  2. A Full Subtracter inputs three bits: bit x, subtrahend y, borrow­in bit bin, and outputs two bits: difference d, borrow­out bit bout. Implement the Full Subtracter with a minimal two­level NAND gates.
  3. Design a four­bit borrow­look­ahead subtracter with four Full Subtracters and a minimal network of AND, OR, NOT gates.
  4. A serial subtracter inputs xi, yi, the i'th bit of two binary numbers in each clock cycle for i = 0 to n and outputs the difference. Implement the subtracter with a JK Flip­Flop and a minimal network of AND, OR, NOT gates.

Homework 4 Frequently Asked Questions

Homework 4 Solutions