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 Combinational Logic Using Switch
   

space.gif

  ../../images/main/bulllet_4dots_orange.gif 2:1 Mux
   

space.gif


  1 //-----------------------------------------------------
  2 // Design Name : mux21_switch
  3 // File Name   : mux21_switch.v
  4 // Function    : 2:1 Mux using Switch Primitives
  5 // Coder       : Deepak Kumar Tala
  6 //-----------------------------------------------------
  7 module mux21_switch (out, ctrl, in1, in2);
  8    
  9    output out;                    
 10    input  ctrl, in1, in2;         
 11    wire          w;            
 12 
 13    supply1 power;             
 14    supply0 ground;      
 15    
 16    pmos N1 (w, power, ctrl);     
 17    nmos N2 (w, ground, ctrl);   
 18    
 19    cmos C1 (out, in1, w, ctrl);   
 20    cmos C2 (out, in2, ctrl, w);
 21    
 22 endmodule
You could download file mux21_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