Sie sind auf Seite 1von 13

LAB: 1 TITLE: INTRODUCTION TO SCHEMATIC LOGIC DESIGN Learning Outcomes: At the end of the practical, student able to:

i. ii. Explain schematic design using CPLD Explain function clocks (wave form) in digital computer.

iii. Use schematic CPLD to simulate digital output for SR, D, master slave and JK flip-flop. iv. Design shift register using flip-flop JK.

Laboratory Equipment: i. ii. Computer Software Altera Max Plus II

BASIC FLIP FLOP

)Truth table: Input a b 0 0 0 1 1 0 1 1 Output Y Z 0 0 0 1 0 1 1 1

2)The Karnaugh Map (K-Map)

0 1 0 1

0 0 0 0 0 1

1 0 1 1 1 1

3)The Boolean equations.


Y =ab Z = a+b

SR NOR FLIP FLOP

Input S 1 0 0 0 1 1 0 R 0 0 1 0 0 1 0 Q 1 1 0 0 1 0 0

Output Operation

Q
0 0 1 1 0 1 1 Set Hold Reset Hold Set Invalid Hold

SR NAND FLIP FLOP

INPUT S 1 0 0 0 1 1 0 R 0 0 1 0 0 1 0 Q 1 1 0 0 1 0 0

OUTPUT Q 0 0 1 1 0 1 1 OPERATION SET NO CHANGE RESET RESET SET INVALID NO CHANGE

JK FLIP FLOP

INPUT S 1 0 0 0 1 1 0 R 0 0 1 0 0 1 0 Q 0 1 1 1 0 0 1

OUTPUT Q 1 0 0 0 1 1 0

OPERATION RESET INVALID SET NO CHANGE RESET NO CHANGE INVALID

D FLIP FLOP

CLK J 1 0 0 1 0 0 0

INPUT K 0 0 1 1 0 1 0 Q 1 1 0 1 1 0 0

OUTPUT Q 0 0 1 0 0 1 1

OPERATION Set Hold Reset Toggle Hold Reset Hold

MASTER SLAVE

CLK

Input S 0 0 1 1 0 0 0 R 0 1 0 1 0 0 1 Q 1 1 1 1 X 1 1

Output Q 1 1 1 1 X 1 1 Y 1 1 0 X 1 1 1 1 0 1 X 1 1 0 Y

Operation

QUESTION.. 1. Basic Flip-flop I. Draw the logic circuit for an unclocked NOR gate flip-flop.

II.

Enter the expected timing diagram for signals Q and Q' in Figure 26.

III. Figure 26: NOR gate flip-flop timing diagram

IV.

Draw the logic circuit for an unclocked NAND gate flip-flop.

V.

Enter the expected timing diagram for signals Q and Q' in Figure 27.

Figure 27: NAND gate flip-flop timing diagram

2. Master Slave Flip-flop i. Draw the logic circuit implemented with gates for the SR master-slave flipflop in Figure 24. Use NOR gate flip-flops.

ii.

Enter the expected timing diagram for the signals Y, Y', Q, and Q' in Figure 28.

Figure 28: SR master-slave flip-flop timing diagram

3. Edge triggered flip-flop i. Draw the logic circuit for the D-type positive-edge triggered flip-flop in Figure 5.

ii.

Enter the expected timing diagram for the signals S, R, Q, and Q' in Figure 29.

Figure 29: D-type edge triggered flip-flop timing diagram

CONCLUSION What we can conclude in this practical lab ,we be able to explain the schematic design using CPL. After that ,we be able to explain the function clocks(waveform) in digital computer. Then , we can use the schematic CPLD to stimulate digital output for SR flip-flop,D flip-flop ,Master Slave flip-flop and JK flip-flop . More than that ,we know how to design shift register using flip-flop JK . We learn that a digital system can be represented at different levels of abstraction . This keeps the description and design of complex system manageable.Lastly, we managed to understand that the highest level of abstraction is the behavional level that describes a system in terms of what it does(or how it behaves) rather than in terms of its components and interconnection between them.

Das könnte Ihnen auch gefallen