Logic Gates and Circuits, Binary Number System - nabla.hr [PDF]

Logic circuits used in digital computers are built up from logic gates. We want to know the output y of a logic circuit

6 downloads 26 Views 46KB Size

Recommend Stories


Logic Gates
If your life's work can be accomplished in your lifetime, you're not thinking big enough. Wes Jacks

Chemical Wave Logic Gates
Ego says, "Once everything falls into place, I'll feel peace." Spirit says "Find your peace, and then

Molecular logic gates
Be who you needed when you were younger. Anonymous

Molecular Logic Gates
At the end of your life, you will never regret not having passed one more test, not winning one more

Switching Theory and Logic Circuits
You miss 100% of the shots you don’t take. Wayne Gretzky

High-Speed True Random Number Generation with Logic Gates Only
Never wish them pain. That's not who you are. If they caused you pain, they must have pain inside. Wish

combinational logic circuits
When you do things from your soul, you feel a river moving in you, a joy. Rumi

Modeling Synchronous Logic Circuits
When you do things from your soul, you feel a river moving in you, a joy. Rumi

CMOS Logic Circuits
You have survived, EVERY SINGLE bad day so far. Anonymous

Rabi flopping and quantum logic gates
Kindness, like a boomerang, always returns. Unknown

Idea Transcript


Boolean Algebra Logic gates and circuits The "AND" gate, the "OR" gate and the "NOT" gate Binary number system Binary to decimal conversion Decimal to binary conversion

Logic Gates and Circuits There are exactly three basic electronic circuits called logic gates each of which correspond to one of the three Boolean (binary) operators, “and,” “or,” and “not” having the same properties. AND gate

a b a · b

a b a + b

OR gate

0

0

0

0

0

0

1

0

0

1

0

1

0

1

0

0

1

1

1

1

1

1

1

1

NOT gate (or invertor)

a a' 0

1

1

0

Logic circuits used in digital computers are built up from logic gates. We want to know the output y of a logic circuit for all possible combinations of input bits. The value of the output is shown at the resultant column of the corresponding truth table.

Binary Number System The binary number system uses digits, 0 and 1 to represent numbers. A binary number can be therefore represented by any sequence of bits (binary digits). The tables show binary representations of integers from 0 to 19 with corresponding place values of bits. Decimal number 0 1 2 3 4 5 6 7 8 9

Binary number 24 23 22

21

20

Decimal number

0 0 0 0 0 0 0 0 0 0

0 0 1 1 0 0 1 1 0 0

0 1 0 1 0 1 0 1 0 1

10 11 12 13 14 15 16 17 18 19

0 0 0 0 0 0 0 0 1 1

0 0 0 0 1 1 1 1 0 0

Binary number 24 23 22

21

20

0 0 0 0 0 0 1 1 1 1

1 1 0 0 1 1 0 0 1 1

0 1 0 1 0 1 0 1 0 1

1 1 1 1 1 1 0 0 0 0

0 0 1 1 1 1 0 0 0 0

Binary to decimal conversion: Any binary number can be converted to its decimal equivalent by writing it in a place-value notation, i.e. as the sum of products of each digit with place value of that digit.

Example: = 1 · 2 6 + 0 · 2 5 + 1 · 2 4 + 1 · 2 3 + 1 · 2 2 + 0 · 2 1 + 1 · 2 0 = = 64 + 0 + 16 + 8 + 4 + 0 + 1 = 93

Decimal to binary conversion:

113 ÷

To convert a decimal number to its binary equivalent divide given decimal and each successive quotient by 2 noting remainders from right to left, that is from the lowest place value to the higher.

56

The remainders can only be 0 and 1 since divisions are by 2. The division ends by the quotient zero.

3

2

= 1 1 1 1 0 0 0 1

Smile Life

When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

Get in touch

© Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.