Vous êtes sur la page 1sur 4

FAKULTY OF ELECTRICAL ENGINEERING UNIVERSITI TEKNOLOGI MARA

Due date: before 1700 15-09-2011 Thursday Report Format : Softcopy DIGITAL SYSTEM 1 (ECE 351)

DIGITAL SYSTEM SIMULATION LAB OBJECTIVES 1. To expose the student to the simulation of the combinational logic and sequential circuits. Some
basic, commonly used logic IC, such as BCD-to-seven segment decoder and BCD seven segment counter are introduced.

LIST OF REQUIREMENTS
Personal computer workstation installed with TINA software.

THEORY
4-bit binary adder performed the addition of two 4-bit binary words. The sum() outputs are

provided for each bit and the resultant carry (C4) is obtained from the fourth bit. BCD is a 4 bit binary code representing the decimal numbers from 0 to through 9. The binary

number 1010 through 1111 are not used in BCD.

Table 1.1 Decimal representations in BCD Decimal

0 1 2 3 4 5 6 7 8 9

BCD Outputs 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1

A seven segment LED display contains 7 LEDs. Each LED is called a segment and they are The display has 7 inputs each connected to an LED segment. All anodes of LEDs are tied together

identified as (a,b,c,d,e,f,g) segments. and joined to 5 volts (this type is called common anode type). A limiting resistance network must be used at the inputs to protect the 7-segment from overloading. BCD inputs are converted into 7 segment inputs (a, b, c, d, e, f, g) by using a decoder, A decoder is a combinational circuit that converts binary information from n input lines to a

maximum of 2n output lines. The input to the decoder is a BCD code and the outputs of the systems are the seven segments a, b, c, d, e, f, and g.

PART A: 4-BIT BINARY ADDER AND BCD-TO- SEVEN SEGMENT DECODER 1. Using TINA draw the circuit shown in Figure 1.1 below. The components that will be used are:
a) Resistors

b) SN7447 BCD-to-seven segment decoder(U2) c) 4-bit binary adder (U1) d) Seven segment display
e) Alternate switches f) Batteries g) Ground

h) Digital low source i) Digital high source 2. Make sure all components in the circuit are connected correctly. 3. Analyze the 7-segment display in reference to inputs listed in Table 1.2 using TINA simulator. Select
DC mode.

Figure 1.1 Table 1.2 A0 0 0 1 0 0 1 0 1 B0 0 1 0 1 0 0 1 0 A1 0 0 0 0 1 1 1 0 B1 0 0 0 0 0 1 0 0 A2 0 0 1 1 1 0 1 0 B2 0 1 0 1 0 0 0 1 (2 marks) 4. Briefly summarize the circuit operation shown in Figure 1.1 based on the decimal display recorded in Table 1.2 _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ _________________________________________________________________________________ (2 marks) Decimal Display

PART B: BCD SEVEN-SEGMENT COUNTER 5. Using TINA draw the circuit shown in Figure 1.2 below. The components that will be used are:
j) Resistors

k) SN7493 4-bit binary counter


l) Clock m) Pulse source

n) Seven segment display o) Digital low source p) Digital high source


q) Ground

6. Make sure all components in the circuit are connected correctly.

Figure 1.2

7. Determine the count sequence of the circuit shown in Figure 1.2 by analyzing the output using TINAs
interactive simulator mode. Select DIG mode. Answer___________________________________________________________________________ (2 marks)

8. Which of output pins of U1 represent the MSB and LSB bit.


Answer: MSB=______ and LSB=______ (1 marks)

Vous aimerez peut-être aussi