Home Verilog Digital Design Digital Basics Python RF Basics

Legal Disclaimer

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 Design Clock Crossing Async FIFO Half Adder Full Adder Binary Adder Overflow Overflow Det Adder-Subtractor Multiplier Parity check RTL guidelines NAND to INVERTER VHDL RTL Arith Micro-ops Stack Org Parallel proc. Pipeline proc CMOS Intro

Legal Disclaimer

Topics @TYH :- 4G LTE Tutorial, GVIM editor, Smart-Phone, Cloud Computing
Previous Next
Verilog Tutorial.
Digital Basics Tutorial.
Arithmetic micro operations
Arithmetic operations performed on the contents of registers are categorized as arithmetic microoperations.
Lets assume three registers.
1. Accumulator register AC.
2. General purpose register R1.
3. General purpose register R2.
Following is the list of arithmetic microoperations that can be performed on the three registers.
1. Increment.
2. Decrement.
3. Binary Addition
4. Binary Subtract.
5. 1’s complement.
6. 2’s complement.
7. Binary subtraction using 2’s complement addition.
Detailed discussion below:-
Detailed discussion on Arithmetic microoperations:-
Increment the contents of any of the three registers.
Some examples:-
AC = AC + 1
R1 = R1 + 1
R2 = R2 + 1

Decrement the contents of accumulator.
Some examples:-
AC = AC - 1
R1 = R1 - 1
R2 = R2 - 1

Add contents of registers R1 and R2 and transfer the sum to AC. (Binary adder circuit)
Some examples:-
AC = R1 + R2




Subtract contents of registers R1 and R2 and transfer the results to AC. (Binary adder-subtractor circuit)
Some examples:-
AC = R1 - R2
AC = AC -R1

1’s complement. (1’s complement discussion)
Some examples:-
AC = (AC)’
R1 = (R1)’
R2 =(R2)’

2’s complement. (2’s complement discussion)
Some examples:-
AC = AC’ + 1
R1 = R1’ +1
R2 = R2’ +1

2’s complement addition instead of subtraction.
Some examples:-
AC = R1 + R2’ + 1 instead of R1- R2
Arithmetic micro-ops, logical micro -ops, shift micro-operations, Overflow Aritmetic N Examples
LTE - Long Term Evolution topics from here
Interview Questions. Main, FPGA, Digital Fundamentals