Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: Logic Circuits Lecture Notes 2
Description: Electronics Lecture Notes encompass a comprehensive exploration of fundamental concepts and principles in the realm of digital systems.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


MKT2802 Logic Circuits
Mechatronics Engineering Department

Spring : 2023

3/18/2023

Logic Circuits

1

Digital Codes
Coding is the process of altering the characteristics of information to make it
more suitable for intended application
Coding schemes depend on
 Security requirements
 Complexity of the medium of transmission
 Levels of error tolerated
 Need for standardization
Information is coded to facilitate

When numbers, letters, or
words are represented by a
special group of symbols, we
say that they are being
encoded, and the group of
symbols is called a code
...


3/18/2023

Logic Circuits

7

Binary Codes : Binary coded decimal codes (BCD)

Since a decimal digit
can be as large as 9,
four bits are required
to code each digit
(the binary code for 9
is 1001)
...


3/18/2023

Logic Circuits

9

Comparison of BCD and binary
 It is important to realize that BCD is not another number system like
binary, decimal, and hexadecimal
...
It is also important to understand that a BCD number is not the
same as a straight binary number
...
To illustrate, take the number 137 and compare its straight
binary and BCD codes:

3/18/2023

Logic Circuits

10

The Gray Code
 Digital systems operate at very fast speeds and respond to changes that
occur in the digital inputs
...

 In order to reduce the likelihood of a digital circuit misinterpreting a
changing input, the Gray code has been developed as a way to represent
a sequence of numbers
...


3/18/2023

Logic Circuits

11

The Gray Code

3/18/2023

Logic Circuits

12

The Gray Code Conversion

SAME  0
DIFFERENT 1

3/18/2023

Logic Circuits

13

The Gray Code Conversion

SAME  0
DIFFERENT 1

3/18/2023

Logic Circuits

14

Excess-3 (+3) Coding
In excess-3 coding, digit codes is obtained from their binary equivalent after adding 3
...

 The major cause of any transmission errors is electrical noise, which consists of
spurious fluctuations in voltage or current that are present in all electronic systems
to varying degrees
...


3/18/2023

Logic Circuits

16

Parity Method for Error Detection

 A parity bit provides for the detection of a single bit error (or any odd number of
errors, which is very unlikely) but cannot check for two errors in one group
let’s assume that we wish to transmit the
BCD code 0101

Now let’s assume that an error occurs
in the third bit from the left (the 1
becomes a 0)
...
Because an
even number of 1s does not appear in the code when it is received, an error is
indicated
...
In other words, a computer should recognize codes that represent letters of
the alphabet, punctuation marks, and other special characters as well as numbers
...

The most widely used alphanumeric code is the American Standard Code for
information interchange (ASCII)
...
(0↔127)

3/18/2023

Logic Circuits

20

Arithmetic Operations on Binary Numbers

3/18/2023

Logic Circuits

21

Arithmetic Operations on Binary Numbers

3/18/2023

Logic Circuits

22

Arithmetic Operations on Binary Numbers

3/18/2023

Logic Circuits

23

Complement Representation

3/18/2023

Logic Circuits

24

Complement Representation

3/18/2023

Logic Circuits

25

Complement Representation

3/18/2023

Logic Circuits

26

Complement Arithmetic

3/18/2023

Logic Circuits

27

Complement Arithmetic

3/18/2023

Logic Circuits

28

Complement Arithmetic

3/18/2023

Logic Circuits

29

Complement Arithmetic

3/18/2023

Logic Circuits

30

1’s-Complement Form
The 1’s complement of a binary number is obtained by changing each 0 to a
1 and each 1 to a 0
...
The process is shown below
...

The process is illustrated below for (101101)2 = (45)10
Title: Logic Circuits Lecture Notes 2
Description: Electronics Lecture Notes encompass a comprehensive exploration of fundamental concepts and principles in the realm of digital systems.