Home.Verilog.Digital Design.Digital Basics.Python.RF Basics.
Previous.
Next.
Custom Search

Feedback ? Send it to admin@fullchipdesign.com or join me at fullchip@gmail.com

Legal Disclaimer

Chip Designing for ASIC/ FPGA Design engineers and Students
FULLCHIPDESIGN
Digital-logic Design...  Dream for many students… start learning front-end…
Try navigation bar on top to explore the contents @ fullchipdesign

Legal Disclaimer

Custom Search

Step3:- 4/2 = 2 + 0

    a2 = left bit to a1 = 0

Step4:- 2/2 = 1 + 0

    A3 = left bit to a2 = 0

Step5

   A4 = left bit to a3 or most significant bit (MSB) = 1

The equivalent binary number for 17 decimal is = (a4a3a2a1a0) = (10001)

Step6:- 0.25*2 = 0.50 + 0

     b0 = 0

Step7:- 0.50*2 = 0.00 + 1

     b1 = 1

The equivalent binary number for 0.25 decimal is = (0.b0b1) = (0.01)

Answer The equivalent binary number for 17.25 decimal = (a4a3a2a1a0.b0b1) = (10001.01)

Binary to Decimal conversions:

Formula to convert a binary number to decimal:

Example: Convert 101010.1 to decimal

The equivalent decimal value

= 1*(2^5) + 0*(2^4) + 1*(2^3) + 0*(2^2) + 1*(2^1) + 0*(2^0) + 1*(2^-(1))

= 32 + 0 + 8 + 0 + 2 + 0 + 0.5

= 42.5

Answer. The decimal equivalent of (101010.1) is 42.5

Hexadecimal numbers

Group of 4 bits can also represented as hexadecimal numbers.

Decimal to binary conversions:

Formula to convert a decimal number to binary:

Example: To represent 17.25 in digital system we will need to use 5 bits.

Step1: - 17/2 = 8 + ½

     a0 = LSB = 1

Step2: - 8/2 = 4 + 0

    a1 = left bit to LSB (a0) = 0

Binary Numbers Discussion

Bit: The smallest unit of a digital system is called is ‘bit’.

1 bit can take 2 values (which is either ‘1’ or ‘0’)

So, a set of 4 bits can represent (=2^4) 16 decimal values.

And, ‘5’ bits can represent (=2^5) 32 decimal values

Byte: All the discrete information in digital discrete systems is represented as group of bits. A group of 8 bits is called a byte.

Unsigned
Binary
Hexadecimal
0
0000
0
1
0001
1
2
0010
2
3
0011
3
4
0100
4
5
0101
5
6
0110
6
7
0111
7
8
1000
8
9
1001
9
10
1010
A
11
1011
B
12
1100
C
13
1101
D
14
1110
E
15
1111
F
Binary Numbers.

1s_complement.

2s_complement.

Binary Subtraction.

Examples.

Sign_magnitude.

Gray coding.

BCD coding.

Digital gates.

NAND NOR & XNOR.

Theorems.

Boolean Functions.

BFunc Examples.

Minterm Maxterm.

Sum of Minterms.

Prdt of Maxterms.

2 var K-map.

3 var K-map.

4 var K-map.

5 var K-map.

Prime Implicant.

PI example.