Download presentation
Presentation is loading. Please wait.
1
Equality Detector Module M5.1 Section 6.1
2
Equality Detector XNOR X Y Z Z = !(X $ Y) X Y Z 0 0 1 0 1 0 1 0 0 1 1 1
3
4-Bit Equality Comparator FIELD A = [A0..3]; FIELD B = [B0..3]; FIELD C = [C0..3];
4
Bit Fields FIELD A = [A0..3]; FIELD B = [B0..3]; FIELD C = [C0..3]; A represents [A0, A1, A2, A3] B represents [B0, B1, B2, B3] C represents [C0, C1, C2, C3]
7
/******************************************************/ /* */ /* This is a 4-bit equality comparator */ /* using the ANDing of 4 XNOR gates */ /* */ /******************************************************/ /* Target Device: G16V8 */ /******************************************************/
9
C = !(A $ B) C0 = !(A0 $ B0) C1 = !(A1 $ B1) C2 = !(A2 $ B2) C3 = !(A3 $ B3)
10
Run WinCupl
12
.DOC File
13
4-Bit Equality Comparator
14
The GAL 16V8 1 2 3 4 5 6 7 9 1011 12 8 19 20 17 18 15 16 13 14 GND Vcc I/CLK II/O I I I I I I I I/OE I/O GAL 16V8
15
Structure of the GAL 16V8 PLD
16
GA L 16V8 Feedback
22
4-Bit Equality Comparator End of.doc file
23
Question Expand the following CUPL equation for F: FIELD A = [A2..0]; FIELD B = [B2..0]; FIELD F = [F2..0]; F = !A & B;
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.