1 / 11

# The Digital Logic Level (3) - PowerPoint PPT Presentation

TK6123 : Lecture 16. The Digital Logic Level (3). Ass. Prof. Dr. Masri Ayob. Comparators. 1-Bit Comparator 2-Bit Comparator 4-Bit Comparator. Comparators. 1-Bit Comparator. The output is 1 when the inputs are equal. Comparators. 2-Bit Comparator.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'The Digital Logic Level (3)' - kent

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### The Digital Logic Level (3)

Ass. Prof. Dr. Masri Ayob

• 1-Bit Comparator

• 2-Bit Comparator

• 4-Bit Comparator

• 1-Bit Comparator

The output is 1 when the inputs are equal

• 2-Bit Comparator

The output is 1 when A0 = B0 AND A1 = B1

• 4-Bit Comparator

One of three outputs will be HIGH:

• A greater than B (A > B)

• A equal to B (A = B)

• A less than B (A < B)

• Binary decoder

• 4-bit decoder

• BCD-to-decimal decoder

• Binary decoder

The output is 1 only when:

A0 = 1

A2 = 0

A3 = 0

A4 = 1

This is only one of an infinite number of examples

LogicDiagram

Decoders

• 4-bit decoder

TruthTable

Decoders

• 4-bit decoder

• Binary inputs

• Active-low outputs