18-240: Structure and Design of Digital Systems
Homework 2 [10 problems, 64 points]
Covers lectures L4 - L5
Due: Feb 5, 2016
Solutions:
Drill Problems
1. [2 points] How many product terms and literals are in each of the following Boolean
equations? Count
18-240: Structure and Design of Digital Systems
Homework 4 Solutions
Drill Problems (34 points)
1. [4 points] Draw the state transition diagram for a Mealy-style sequence-detector. This
detector should output a logic-1 whenever the sequence '101' is detec
18-240: Structure and Design of Digital Systems
Homework 5 [7 problems, 64 points]
Covers lectures L10!
Due: 11 October 2013
Homework sets are due to the ECE Course Hub by 4:30pm on Friday. They will also be
collected during your recitation. Problem #11 i
`default_nettype none
/This module is true if 2 or more inputs are false (Harris 4.5)
module minority
(output logic y,
input logic a, b, c);
always_comb
case (cfw_a, b, c)
3'b001: y = 1;
3'b010: y = 1;
3'b100: y = 1;
3'b000: y = 1;
default: y = 0;
endcase