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 Gates Using Switch
   

space.gif

   

space.gif

  ../../images/main/bulllet_4dots_orange.gif Not Gate
   

space.gif


  1 //-----------------------------------------------------
  2 // Design Name : not_switch
  3 // File Name   : not_switch.v
  4 // Function    : NOT Gate Using Switch Primitives
  5 // Coder       : Deepak Kumar Tala
  6 //-----------------------------------------------------
  7 module not_switch (out, in);
  8    output  out;               
  9    input   in;                
 10    
 11    supply1 power;             
 12    supply0 ground;            
 13    
 14    pmos (out, power, in);     
 15    nmos (out, ground, in);    
 16    
 17 endmodule
You could download file not_switch.v here
   

space.gif

  ../../images/main/bulllet_4dots_orange.gif Two Input XOR
   

space.gif


  1 module nor2_switch (a,b,y);
  2 input a, b;
  3 output y;
  4 
  5 supply1 power;
  6 supply0 ground;
  7 
  8 wire  connect;
  9 
 10 nmos (y,ground,a);
 11 nmos (y,ground,b);
 12 pmos (y,connect,b);
 13 pmos (power,connect,a);
 14 
 15 endmodule
You could download file xor_switch.v here
   

space.gif

  ../../images/main/bulllet_4dots_orange.gif Two Input NAND
   

space.gif


  1 module nand_switch(a,b,out);
  2 input a,b;
  3 output out;
  4 
  5 supply0 vss;
  6 supply1 vdd;
  7 wire net1;
  8 
  9 pmos p1 (vdd,out,a);
 10 pmos p2 (vdd,out,b);
 11 nmos n1 (vss,net1,a);
 12 nmos n2 (net1,out,b);
 13 
 14 endmodule
You could download file nand_switch.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