LHW8
LHW8
Homework 8
Due at the beginning of your scheduled lab period
Printed copies of these pages along with your original (hand-annotated, not photocopied) written solution in the
space provided (unless otherwise indicated) are required in order to receive credit. NOTE: The purpose of
homework is to provide an opportunity for practicing the kinds of problems you will be asked to solve on quizzes
and exams – copying the work of someone else does not accomplish this.
1. [4 pts] Given the following state transition diagram, complete the timing chart below.
1d
00 10
0d AB
dd
XY
d1
10
11
d0
01 11
01
00
1
ECE 270 Introduction to Digital System Design Spring 2019
2. [6 pts] Given the following state transition diagram, determine the next state equations it
represents in minimum sum-of-products form.
0d
00 01
1d AB
dd
XY
10
11
d1
10 11
01
00
d0
2
ECE 270 Introduction to Digital System Design Spring 2019
3. [4 pts] Write a Verilog code module that implements the following circuit:
module bounceless_switch(NC,NO,BQ);
endmodule
4. [6 pts] Write a Verilog code module that implements the following circuit:
module master_latch(SM,RM,CM,QM,QM_N);
endmodule
Score: ______ / 20 3