Digital Logic Design (CS302) - Spring 2017

Assignment No. 03

Lectures covered: 17-23 Tools: Paint, Word, WaveDrom Editor

Objectives:

To learn about different decoders and to solve real time problems by analyzing waveforms and determine output from that and verification of circuit using ABEL coding.

Instructions:

It should be clear that your assignment will not get any credit if:

§  The assignment is submitted after due date.

§  The assignment is submitted via email.

§  The assignment is copied from Internet or from any other student.

§  The submitted assignment does not open or file is corrupt.

§  It is in some other format than .doc/docx.

Note: All types of plagiarism are strictly prohibited.

For any query about the assignment, contact at

Important!

You have to provide all processing steps in all questions otherwise, marks will be deducted. Hand drawn pictures of waveform and images of tables/equations will be marked as ZERO.

1

Digital Logic Design (CS302) - Spring 2017

Question No. 1 (a) 10 marks

A Seven Segment Decoder is used to decode the given BCD number to display it onto the Seven Segment Display. Block diagram of this process is given in ‘figure 2’.

‘Figure 1’ contains BCD inputs which are applied at BCD to 7 Segment Decoder as a waveform. Your task is to draw waveforms for all segment i.e. a, b, c, d, e, f, g for their respective inputs and also mention the BCD numbers which will be displayed on the Seven Segment Display in sequence for each combination of given inputs.

Question No. 1 (b) 10 marks

You have to write ABEL input file code for a BCD-to-Seven Segment Decoder as discussed in question 1 (a). Your ABEL module must have two sections (Declarations & Test vector using a set) where IC name is 74LS47 and pins 6, 2, 1 and 7 will be used for A3, A2, A1 and A0 respectively as an input.

1