You are on page 1of 4

10 Feb 2022

Assignment # 1

Digital Circuits - EE 213M

Jan – May 2022

Due on: Sunday, 20th Feb 2022, 11.59 PM

Instructions:

 Solve any one of the following questions and implement on Logisim


 Create a pdf file of your worksheet and upload it on Teams
 The pdf file should include:
1. Your name, roll number, email ID, Branch, and date
2. Screenshots of the circuit and the truth table implemented in Logisim
3. K-maps screenshot from Logisim and simplified Boolean expressions
4. Photo of Handwritten worksheet if any
 Please make screenshots large enough to be legible
 This assignment contributes 5 % to your final grade
 Copying from each other is discouraged, however, you can discuss with your friends if
you run into any issue. There are 3 questions to provide you enough opportunity to
submit original works. Solve any one question. Copied assignments will be awarded 0
marks.
Question No. 1

An air conditioning system is controlled by four variables: temperature T, Humidity H, time


of the day D and the day of the week W.
Time of the day (D = 1, between 8 am and 6 pm; 0, otherwise)
Day of the week (W = 1, if weekend; 0, if weekday)
Temperature (T = 1, if above 78 F; 0, otherwise)
Humidity (H = 1, if exceeds 85%; 0, otherwise)
The air conditioning system is turned on under any of the following circumstances.
1. It is a weekday and outside the time window of 8 am to 6 pm.
2. The temperature is above 78 F on a weekday between 8 am and 6 pm.
3. The temperature is above 78 F and the humidity exceeds 85% between 8 am and 6 pm.
4. The temperature is below 78 F on a weekday between 8 am and 6 pm.
5. The temperature is above 78 F and the humidity is under 85%.

Write a logic expression for controlling the air conditioning system (i.e., F(D,W,T,H)). Use a
K-map to find the simplified expressions in SOP and POS forms. Identify whether the SOP
form realized using only 2-input NAND gates or the POS form realized using only 2-input
NOR gates requires the minimum number of gates for implementation. Implement the
identified expression/circuit in Logisim. Simulate the circuit and verify the truth table.

Upload your worksheets in one pdf file:


1. Simplified SOP and POS forms along with their corresponding K-maps simplification.
2. Clearly mention the identified form (i.e., SOP or POS) of expression and the type of gates
(i.e., NAND or NOR) chosen for implementation.
3. A screenshot of your circuit implemented in Logisim.
4. The truth table obtained from Logisim.
Question No. 2

Consider a BCD number represented by ABCD and an 8 4 2 1 code represented by WXYZ.


Design a BCD to 8 4 2 1 code converter using logic gates. The circuit should include an output
V that is high only when WXYZ is also a valid BCD number. Implement the circuit using the
minimum number of 2-input gates and NOT gates in Logisim. Simulate the circuit and verify
the truth table.

Upload in one pdf file :


1. Simplified expressions for W, X, Y, Z and V using K-maps.
2. A screenshot of the Logisim implementation of the circuit.
3. The truth table obtained from Logisim
Question No. 3

Design a combination logic with three inputs (X,Y,Z) and three outputs (A,B,C). If input is 0,
1, 2, or 3 then output is 3 more than input; if input is 4, 5, 6, or 7 then output is 3 less than
input.
Draw your own logic diagrams as per the instructions below and implement in Logisim:

(2) Implement A using only AND/OR gates


(3) Implement B using only XOR/XNOR gates
(4) Implement C using only NAND/NOR gates

Upload in one pdf file:


1. K maps for A, B, and C and write Boolean expressions
2. A screenshot of the Logisim implementation of the circuit.
3. The truth table obtained from Logisim

You might also like