outline
play

Outline Digital CMOS design Arithmetic operators Adders Adders - PowerPoint PPT Presentation

Outline Digital CMOS design Arithmetic operators Adders Adders Comparators Shifters Multipliers Pirouz Bazargan Sabet Digital Design February 2010 Adders Adding two natural numbers Let consider two natural numbers and


  1. Outline Digital CMOS design Arithmetic operators Adders Adders Comparators Shifters Multipliers Pirouz Bazargan Sabet Digital Design February 2010

  2. Adders Adding two natural numbers Let consider two natural numbers � � � � and � � � � coded on 8 bits using Natural Binary Code � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � Pirouz Bazargan Sabet Digital Design February 2010

  3. Adders Adding two natural numbers At each stage, I need to sum 3 single bit numbers � � � � � � � � � � � � � � � � � � � � � � � � The carry out of the stage i is the input carry of the next stage � � ��� � � � � � � � ��� � ��� ��� � � � � � � � � �� � �� and � � ���� � � � � ���� are Boolean � � � �� �� ���� ���� functions of � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � Pirouz Bazargan Sabet Digital Design February 2010

  4. Adders Adding two natural numbers � � � � � � � � � � � � � � � � � � � � � � 00 01 11 10 00 01 11 10 � � � � � � � � � � � � � � � � � � � � � � � � � � 0 0 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 1 1 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��� � � � ��� � � ��� ��� � �� � �� �� ��� � � ⊕ � � �� ⊕ � � � � � �� �� � � � � � � � ���� � � � ���� �� �� ��� �� � � � � � �� �� �� �� �� + � � � � � � �� �� �� �� �� + � � � � � � �� �� �� � �� � ⊕ ⊕ ⊕ �� ⊕ ⊕ ⊕ �� + + + �� + + + �� �� � � �� �� � � � ���� ���� � � �� �� � � �� �� � � � � � Pirouz Bazargan Sabet Digital Design February 2010

  5. Adders Adding two natural numbers � � �� � � �� �� �� �� ��� � � � � ⊕ � � � �� � ⊕ � � � � � � ���� � ���� �� ��� � � � �� �� �� + � � � � �� �� �� + � � � � �� �� � � � �� �� � � �� �� � � �� �� � � �� �� � ⊕ ⊕ ⊕ �� ⊕ ⊕ ⊕ �� + + + �� + + + � �� �� � � �� �� � � ���� ���� � � �� �� � � �� �� � � � � � � � ���� � � ���� �� �� �� ��� � � �� � �� �� �� ( � �� �� � � � � + � � � � � � ) ��� ��� ��� � ��� � �� �� � �� �� � + + + ���� ���� �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��� � � � ��� ��� ��� � � � � � � � � � � � � � � � � Addition delay depends on the delay of � � � � �� �� to � � ��� � � �� �� ��� ��� ��� Pirouz Bazargan Sabet Digital Design February 2010

  6. Adders Adding two natural numbers � � � �� � �� �� �� �� ��� � � � � ⊕ � � � � �� ⊕ � � � � � � ���� � ���� �� ��� � � � �� �� �� + � � � � �� �� �� + � � � � �� �� � � � �� �� � � �� �� � � �� �� � � �� �� � ⊕ ⊕ ⊕ �� ⊕ ⊕ ⊕ �� + + + �� + + + � �� �� � � �� �� � � ���� ���� � � �� �� � � �� �� � � � � � � � ���� � � � � � � ���� ���� �� ���� �� ��� ��� �� �� �� �� � � � �� � � � � � �� �� �� �� �� �� �� �� �� �� ( � � � � � + ( � + � � � � � � � � � � ) ��� � �� �� �� �� � ��� ��� � ��� � ) ��� ��� ��� ��� � � �� �� �� � �� �� + + + � + + + ���� ���� ���� ���� � � �� �� �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��� � � � ��� ��� ��� � � � � � � � � � � � � � � � � � � � � � � � � Pirouz Bazargan Sabet Digital Design February 2010

  7. Adders Adding two natural numbers � � �� � � �� �� �� �� ��� � � � � ⊕ � � � � �� ⊕ � � � � � � � ���� ���� �� ��� � � � �� �� �� + � � � � �� �� �� + � � � � �� �� � � � �� �� � � �� �� � � �� �� � � �� �� � ⊕ ⊕ ⊕ �� ⊕ ⊕ ⊕ �� + + + �� + + + � �� �� � � �� �� � � ���� ���� � � �� �� � � �� �� � � � � � � � � � ���� ���� �� �� ��� �� � � � � � �� �� �� �� �� + ( � � � � � � �� �� �� � �� � ) ��� ��� � ��� ��� �� + + + ���� ���� � � �� �� � � � � � � � � � � � ���� ���� �� �� �� ��� � � � � � �� �� �� �� �� + ( � � � � � ⊕ � � � � � � ) ��� ��� � ��� ��� �� + + + � ⊕ ⊕ ⊕ � ���� ���� � � �� �� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��� � � � ��� ��� ��� � � � � � � � � � � � � � � � � Pirouz Bazargan Sabet Digital Design February 2010

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend