Equality Detector - PowerPoint PPT Presentation

About This Presentation
Title:

Equality Detector

Description:

Equality Detector. Lecture L6.3. Section 6.1. Equality Detector. XNOR. X. Y ... TITLE '4-BIT EQUALITY DETECTOR, R. Haskell, 9/21/02. DECLARATIONS ' INPUT PINS ' ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 13
Provided by: cseSecs
Category:

less

Transcript and Presenter's Notes

Title: Equality Detector


1
Equality Detector
  • Lecture L6.3
  • Section 6.1

2
Equality Detector
XNOR
X Y Z 0 0 1 0 1 0 1 0 0 1 1 1
X
Z
Y
Z !(X Y)
3
4-Bit Equality Comparator
A A3..A0 B B3..B0 C C3..C0
4
Sets
A A3..A0 B B3..B0 C C3..C0
A represents A3, A2, A1, A0 B represents
B3, B2, B1, B0 C represents C3, C2, C1, C0
5
ABEL Program
MODULE eqcomp1 TITLE '4-BIT EQUALITY DETECTOR, R.
Haskell, 9/21/02 DECLARATIONS " INPUT PINS
" A3..A0 PIN 6, 7, 11, 5 A A3..A0 B3..B0
PIN 72, 71, 66, 70 B B3..B0 " OUTPUT PINS
" A_EQ_B PIN 36 C3..C0 NODE C C3..C0
6
ABEL Program (cont.)
EQUATIONS C !(A B) A_EQ_B C0 C1 C2
C3 test_vectors (A, B -gt A_EQ_B) 0, 0 -gt
1 2, 5 -gt 0 10, 12 -gt 0 7, 8 -gt
0 4, 2 -gt 0 6, 6 -gt 1 15, 15 -gt
1 END
7
EQUATIONS C !(A B) A_EQ_B C0 C1 C2
C3
C !(A B) C0 !(A0 B0) C1 !(A1 B1) C2
!(A2 B2) C3 !(A3 B3)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
Question
Expand the following ABEL equation for F A
A2..A0 B B2..B0 F F2..F0 F !A
B
12
Question
Expand the following ABEL equation for F A
A2..A0 B B2..B0 F F2..F0 F !A
B F2 !A2 B2 F1 !A1 B1 F0 !A0
B0
Write a Comment
User Comments (0)
About PowerShow.com