Final Exam Questions - Sequential Logic Design | ECE 4110, Exams of Electrical and Electronics Engineering

Material Type: Exam; Class: Sequential Logic Design; Subject: ECE Elect & Computer Engr; University: Tennessee Tech University; Term: Fall 2005;

Typology: Exams

Pre 2010

Uploaded on 07/30/2009

koofers-user-39e
koofers-user-39e 🇺🇸

5

(1)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 4110 - Sequential Logic Design
Final Exam - Fall 2005
NOTES: Closed book, except three sheets of handwritten notes and the VHDL Quick
Reference Card are allowed. Do not make any marks on the supplied handout sheets.
Read the problems CAREFULLY! Show ALL your work for full credit. Please draw and
write NEATLY (If I cannot read it, I must mark it WRONG). Do all work in pencil and
put all answers on your engineering paper. Start each problem's work on a new page.
Follow the specified class formats. Clearly label all work with the problem number and
part letter.
1. [20 pts] Give short answers regarding programmable logic devices:
a. Explain why some projects might not fit into an Altera EPM7128S CPLD, even
though they used less than the maximum of 128 macrocells and they used less
than the maximum of 100 input/output pins. See the Max 7000S block diagram
handout.
b. Precisely what type of logic device (NOT transistor) is programmed with the
user’s logic function within a basic PAL-type programmable device (e.g.
PAL16L8)?
c. Precisely what type of logic device is programmed with the user’s logic function
within the CLB of a Xilinx XC4000-series FPGA?
d. Explain why each of the three inputs to the M1 mux could be useful in certain
applications of the XC9500. See the XC9500 block diagram handout.
2. [20 pts] A state machine is represented by the following state/output table, which was
derived from a word description. Perform the step-by-step manual FSM design process
for a minimal cost solution, stopping with the final minimal SOP equations (NO logic
diagram). Clearly label each step in the process. Use the simplest state assignment
(A,B,C = 00,01,10 respectively), with the state bits ordered Q1 Q0, MSB to LSB, using
D flip-flops.
| N |
S | 0 1 | Y
------------------
A | A C | 0
B | C B | 1
C | B A | 1
----------
S*
pf2

Partial preview of the text

Download Final Exam Questions - Sequential Logic Design | ECE 4110 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 4110 - Sequential Logic Design

Final Exam - Fall 2005

NOTES: Closed book, except three sheets of handwritten notes and the VHDL Quick Reference Card are allowed. Do not make any marks on the supplied handout sheets. Read the problems CAREFULLY! Show ALL your work for full credit. Please draw and write NEATLY (If I cannot read it, I must mark it WRONG). Do all work in pencil and put all answers on your engineering paper. Start each problem's work on a new page. Follow the specified class formats. Clearly label all work with the problem number and part letter.

  1. [20 pts] Give short answers regarding programmable logic devices:

a. Explain why some projects might not fit into an Altera EPM7128S CPLD, even though they used less than the maximum of 128 macrocells and they used less than the maximum of 100 input/output pins. See the Max 7000S block diagram handout. b. Precisely what type of logic device (NOT transistor) is programmed with the user’s logic function within a basic PAL-type programmable device (e.g. PAL16L8)? c. Precisely what type of logic device is programmed with the user’s logic function within the CLB of a Xilinx XC4000-series FPGA? d. Explain why each of the three inputs to the M1 mux could be useful in certain applications of the XC9500. See the XC9500 block diagram handout.

  1. [20 pts] A state machine is represented by the following state/output table, which was derived from a word description. Perform the step-by-step manual FSM design process for a minimal cost solution, stopping with the final minimal SOP equations (NO logic diagram). Clearly label each step in the process. Use the simplest state assignment (A,B,C = 00,01,10 respectively), with the state bits ordered Q1 Q0, MSB to LSB, using D flip-flops.

| N | S | 0 1 | Y


A | A C | 0 B | C B | 1 C | B A | 1


S*

  1. [40 pts total] Implement an FSM that satisfies the following state/output table. The FSM should start in state Startup after power-up.

a. Convert this table to a standard transition/output list , with fully simplified expressions and the minimal number of transitions. As usual, group all the same current states consecutively in the list. b. Concisely write the complete VHDL entity/architecture , in the Two Process FSM style , for this FSM. It should use the default state assignment provided by Quartus. Implement the FSM output logic with behavioral VHDL (not dataflow or structural). States must change on the positive edge of the clock. Follow our standard VHDL style for names, keywords, and indentation.

| Go2 |

S0 1
StartupDothis, 01 Startup,10
DothisEndit, 00 Endit, 00
EnditStartup,10 Dothis, 11

S*, Hit Stop

  1. [20 pts] Analyze the sequential timing requirements for the attached sequential logic circuit. Specifically,

a. List all relevant timing parameters that you use for this problem, from the timing spec sheet handout. Assume tmin = tmax/4 whenever tmin is not specified. b. Assuming a 5 MHz clock frequency, find the worst-case setup time margin and hold time margin for the worst-case paths through the circuit. Clearly indicate (mark up) and label the two exact paths on the schematic that were traced for your analysis (one for the setup time and one for the hold time). c. If the clock frequency is made adjustable, what is the maximum clock frequency possible for this circuit?