LabReport 2
LabReport 2
Introduction Simulation
Software and Logic Gates
Submitted by
[Tạ Thanh Vũ– ITITIU21352]
[Lê Ngọc Đăng Khoa– IT]
- Header/Footer Yes No
- Spelling Yes No
Total Score
Signature:
Date:
List of Tables
Table 1 – ……………………………………..……………………........................................... x
Table 2 – ……………………………………..……………………........................................... x
Table 3 – ……………………………………..……………………........................................... x
Nomenclature
VDD = DC Voltage Source
Vdd = AC Volatge Source
Iref = Reference Current
Etc.
Experimental Procedure
D C B A Y
0 0 0 0 1
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 0
K-map
DC 00 01 11 10
BA
00 1 1 1 1
01 1 1 1 1
Implement the circuit via simulation software and paste the result in here
The inputs A, B, C, D wire up to switches and concurrently connect to BCD to 7 segment (in
SimulIDE named as 7 Seg BCD shown as below)
International University 6 [IT009IU]
School of EE
Figure 1. BCD 7-Seg
Implement the circuit via simulation software and paste the result in here:
Input Output
A B A=B A<B A>B
0 0 1 0 0
0 1 0 1 0
1 0 0 0 1
1 1 1 0 0
Write down the expressions for 3 outputs:
(A=B) = A’B’ + AB
A B 0 1
0 1 0
1 0 1
Expression: A’B’+AB =(A+B)’+AB
A<B = A’B
A B 0 1
Implement the circuit via simulation software and paste the result in here
Result
A B
LED1 LED2 LED3
0101 0101 0101 0111 1 0 0
1111 0101 0101 0111 1 0 0
1111 0101 1111 0100 0 0 1
1001 0110 0101 1000 0 0 1
1111 0100 1101 1101 0 0 1
0110 1100 0110 1100 0 0 1
Make comment on results and give a brief explanation of the cascading connection
A ⊕ (B⊕C)’
- Using K-map to simplify the expressions
00 01 11 10
BC
A
0 1 1
1 1 1
- Express: AB’C’ +ABC+ A’B’C + A’BC’ =A(B’C’+ BC) + A’(B’C+BA’) = A ⊕ B⊕ C
BC 00 01 11 10
A
0 1 1
1 1 1
Expression: A’B’C’D+A’B’CD’+A’BC’D’+A’BCD+ABC’D+ABCD’+AB’C’D’+AB’CD
=A’B’(C’D+CD’) +A’B(C’D’+CD)+AB(C’D+CD’)+AB’(C’D’+CD)
=(C’D+CD’)(A’B’+AB) + (C’D’+ CD)(A’B+AB’)
= (C⊕D)(A⊕B)’ + (C⊕D)’(A⊕B)= (C⊕D) ⊕(A⊕B)
ODD
CD 00 01 11 10
In the discussion, you should point out how your experimental results compare with theory, and suggest
and explain reasons for deviations. Discuss the sources of error in this section.