0% found this document useful (0 votes)
43 views5 pages

t1 Spr02 Sol

This document contains the solutions to a test for an electronics engineering course. It provides answers and diagrams for 7 multiple choice and circuit design questions related to digital logic design topics like flip flops, counters, pipelining, timing analysis, and VHDL implementations. The questions cover concepts like waveform generation, register-to-register delay calculation, logic gate level implementations, and Phase Locked Loop functions.

Uploaded by

praveenkumardr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views5 pages

t1 Spr02 Sol

This document contains the solutions to a test for an electronics engineering course. It provides answers and diagrams for 7 multiple choice and circuit design questions related to digital logic design topics like flip flops, counters, pipelining, timing analysis, and VHDL implementations. The questions cover concepts like waveform generation, register-to-register delay calculation, logic gate level implementations, and Phase Locked Loop functions.

Uploaded by

praveenkumardr
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

EE 4743 Test #1 Spring 2002 Solution

SSN: _______________________ (no names please)


For any partial credit, you must show your work.
1.

(10 pts) On the diagram below, complete the timing diagram for the Y output for all clock cycles.

Y
D
CLK
R

CLK
R
D
Q
Y

D
C

Q
R

2.

(15 pts) On the waveforms below, complete the waveforms for State, ld, en, and Q. The FSM is
controlling an UP counter .

D[7:0]

S0

ASM

D
8

Clk
Start?
en

Clk Q
sclr

Q[7:0]
8

en

ld
1

ld
S1

en

sclr en ld
start

S2

FSM

CLK
D

$ 70

$ 80

$ 90

$A0

$ B0

$ 08

Start

State

S0

S1

S2

ld
en
Q

???

$70

$71

$72

??

??

$ 04

3.

(20 pts) For the figure below:


a. Give the maximum register-to-register delay. Show your work.
Tcq + mult delay + add delay + tsu = 3 + 18 + 7 + 1 = 29 ns
b.

Modify the diagram to add one level of pipelining but still maintain the same functionality. Add
the pipeline stage in the place that will improve the register-to-register delay the most. Compute
the new maximum register-to-register. Assume that adding a pipeline registers to any functional
unit (adder or multiplier) breaks the combinational delay path in the unit exactly in half.
Tcq + mult delay + add delay + tsu = 3 + 9 + 7 + 1 = 19 ns

c.

With the pipeline stage added, complete the Q waveform shown below. Input registers
change values as shown, assume Reg Q is loaded every clock cycle. All waveforms represent
register outputs.

Reg C
Reg Q

+
Reg B

Adder

X
Reg A

mult

Mult Delay = 18 ns, Adder delay = 7 ns, Tcq = 3 ns, Setup time = 1 ns, Hold time = 2 ns

CLK
A

??

??

16

33

4.

(15 pts) For the figure below:

a. Compute the maximum setup time on pin A


Buff delay + 2 (gate delays) + Tsu clk buff delay = 1.5 + 2(1.0) + 1.5 2.0 = 3 ns
b. Compute the minimum hold time on pin A.
Clk buff delay + Thd - min path A (buff delay) = 2 + 1 1.5 = 1.5 ns

X
Y
A
D
B

C
D
C

Clk
All times in ns.
DFF timings: C2Q = 0.5, Tsu = 1.5, Thd = 1.0
Non-clk I/O Buffer delay: 1.5
Clk Buffer delay = 2.0
All other gate delays : 1.0

5.

(10 pts) Draw the GATE LEVEL logic generated for the VHDL code shown below (A, B, Y are
all single-bit signals). Your schematic must be composed of GATES (i.e, nands, nors, ands, ors,
xors, etc).

Y <= A when ( S = 1) else B;

A
S

6.

(10 pts) We looked a couple of SRAM based FPGAs from Xilinx and Altera. What was the basic
mechanism for implementing a combinational logic function? Give one other feature/function that
was included in both of the basic cells from Xilinx and Altera.
Both Xilinx and Altera use 4-input Look Up tables (LUTs). Both basic cells had a DFFs, also had
fast carry logic.

7.

(10 pts) Name two functions of a PLL (Phase Locked Loop)

Internal/External Clock synchronization (eliminates skew from I/O buffer delay)


Clock multiplication

You might also like