quick.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

   

space.gif

   

space.gif

  ../../images/main/bullet_green_ball.gif Subtracter Using Gates
   

space.gif

   

space.gif

  ../../images/main/bulllet_4dots_orange.gif Half Subtracter
   

space.gif


You could download file half_subtrater_gates.v here
   

space.gif

  ../../images/main/bulllet_4dots_orange.gif Full Subtracter
   

space.gif


  1 //-----------------------------------------------------
  2 // Design Name : full_subtracter_gates
  3 // File Name   : full_subtracter_gates.v
  4 // Function    : Full Subtracter Using Gates
  5 // Coder       : Deepak Kumar Tala
  6 //-----------------------------------------------------
  7 module full_subtracter_gates(x,y,z,difference,borrow);
  8 input x,y,z;
  9 output difference,borrow;
 10 
 11 wire inv_x,borrow1,borrow2,borrow3;
 12 
 13 not (inv_x,x);
 14 and U_borrow1 (borrow1,inv_x,y),
 15     U_borrow2 (borrow2,inv_x,z),
 16     U_borrow3 (borrow3,y,z);
 17 
 18 xor U_diff (difference,borrow1,borrow2,borrows);
 19 
 20 endmodule
You could download file full_subtracter_gates.v here
   

space.gif

   

space.gif

   

space.gif

   

space.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

  

Copyright © 1998-2014

Deepak Kumar Tala - All rights reserved

Do you have any Comment? mail me at:deepak@asic-world.com