1 / 6

A 2-Bit Comparator

A 2-Bit Comparator. Lecture L5.5 Experiment 3, p. 86. 2-Bit Magnitude Comparator. B1 B0 A1 A0. A_LT_B A_GT_B A_EQ_B. Magnitude Comparator. B1 B0. A1 A0. A_EQ_B. A_GT_B. A_LT_B. 0 0. 0 0. 1. 0. 0. 0 0. 0 1. 0. 1. 0. 0 0. 1 0. 0. 1. 0. 0 0. 1 1. 0. 1. 0.

emily
Download Presentation

A 2-Bit Comparator

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A 2-Bit Comparator Lecture L5.5 Experiment 3, p. 86

  2. 2-Bit Magnitude Comparator B1 B0 A1 A0 A_LT_B A_GT_B A_EQ_B

  3. Magnitude Comparator B1 B0 A1 A0 A_EQ_B A_GT_B A_LT_B 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1 0 1 0 1 1 0 0 0 1 1 0 0 1 0 0 1 1 1 0 1 0 1 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 1 1 0 1 0 0 1 1 1 1 0 0 0 1 1 1 1 1 1 0 0

  4. K-Map for A_EQ_B B1 B0 A1 A0 A_EQ_B A1 A0 0 0 0 0 1 00 01 11 10 B1 B0 0 0 0 1 0 0 0 1 0 0 1 00 0 0 1 1 0 0 1 0 0 0 0 1 0 1 1 01 1 0 1 1 0 0 0 1 1 1 0 11 1 0 0 0 0 1 1 0 0 1 0 1 0 1 0 1 10 1 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 Can’t Simplify 1 1 1 1 1

  5. K-Map for A_G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