0% found this document useful (0 votes)
29 views1 page

Digital System Design - Assignment-2

Uploaded by

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

Digital System Design - Assignment-2

Uploaded by

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

COMSATS University Islamabad, Lahore Campus

Electrical and Computer Engineering Department


Course Title: Digital System Design Course CPE 344 Credit 4(3+1)
Course Instructor/s: Wajeeha Khan Code:BS Computer/Electronics
Program Name: Hours:Engineering

Semester: 6th Batch: FA21-BCE/BSEE Date 7/10/2024


Submission Date 15/10/2024 Maximum Marks: 20
Student’s Name: Reg. No.

Assignment-2

Question 1 ____ [5 marks]

Design a digital thermometer system that can compensate for errors in the temperature sensing
device’s output T, which is an 8-bit input to the system. The compensation amount can be positive
only and comes to the system as a 3-bit binary number c, b, and a (a is the least significant bit),
which come from a 3-pin DIP switch. The system should output the compensated temperature on
an 8-bit output U.

Question 2 ___ [5 marks]

Use magnitude comparators and logic to design a circuit that computes the minimum of three 8-
bit numbers.

Question 3 ___ [5 marks]

Design a special multiplier circuit that can multiply its 16-bit input by 1, 2, 4, 8, or 16, or 32,
specified by three inputs a, b, c (abc=000 means no multiply, abc=001 means multiply by 2,
abc=010 means by 4, abc=011 means by 8, abc=100 means by 16, abc=101 means by 32).

Question 4 __ [5 marks]

Design a 4-bit up/down-counter that has four control inputs: cnt_up enables counting up,
cnt_down enables co/unting down, clear synchronously resets the counter to all 0s, and set
synchronously sets the counter to all 1s. If two or more control inputs are 1, the counter retains its
current count value. Use a parallel load register as a building block.

You might also like