﻿ 2's, Two's, 1's, one's complement discussion with examples. Formula, tricks and shortcuts, overflow, positive, negative.
Home Verilog Digital Design Digital Basics Python RF Basics
Chip Designing for ASIC/ FPGA Design engineers and Students
FULLCHIPDESIGN
Digital-logic Design...  Dream for many students… start learning front-end…
Custom Search

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

Digital Basics Binary Numbers 1s_complement 2s_complement Binary Subtraction Binary Sub. Ex's Sign_magnitude SignM EX 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 K-map Ex's KMap minimization 2 var EX
Topics @TYH :- 4G LTE Tutorial, GVIM editor,
Previous Next

2’s complement:-

2’s complement of a binary number N is obtained by the formula

(2^n) – N

Where n is the no of bits in number N

Example:

Convert binary number 111001101 to 2’s complement

Method

2’s complement of a binary no can be obtained by two step process

Step 1

1’s complement of number N = 000110010

Step 2

1’s complement + 1

000110010

+ 000000001

=   000110011

2’s complement of a binary no 111001101 is 000110011

Trick : 2’s complement can be represented by keeping all lower significant bits till first 1 as it is and taking complement of all upper bits after that.

Some more examples for 2’s complement conversion.

1’s Complement Discussion.
Binary Number
2’s complement
1010101010
0101010110
1110011000
0001101000
11111000
00001000

2’s (Two’s) Complement Discussion.

1’s Complement discussion from here.

Resources
Digital design resources
Clock Domain Crossing Discussion with
rtl & testbench example.
Rate change(asynchronous) FIFO design and fifo depth calculation.
FPGA Interview. FPGA flow.
Guide to Graduate studies in US
Pipeline vs. Parallel processing.
Digital Logic fundamentals topics @ fcd

Digital basics tutorial
Binary number discussion, 1 and 2 complement discussion,
Digital logic gates basic (AND, OR, XOR, NOT) and derived (NAND, NOR and XNOR). Drive XOR from NAND gates. Drive XOR from NOR gates
Discussion of Boolean Algebra with examples.
Duality Principle, Huntington Postulates, Theorems of Boolean Algebra - discussion with examples,
Karnaugh map or K-map discussion 2, 3, ,4 and 5 var’s
LTE - Long Term Evolution topics from here
Solved Examples for 3 variable Kmaps