| 
 | 
|   | 
  | 
 
  | 
 
 | 
 | 
 
 | 
 
|   | 
  | 
 
  | 
 
|   | 
  | 
Combinational Logic Using UDP
 | 
  
|   | 
  | 
 
  | 
 
|   | 
  | 
2:1 Mux
 | 
  
|   | 
  | 
 
  | 
 
 | 
 | 
  1 primitive mux_21_udp(out, sel, i0, i1);
  2 output out; 
  3 input sel, i0, i1;
  4 table
  5    // sel i0 i1   out
  6         0  0  ?  : 0 ; // 1
  7         0  1  ?  : 1 ; // 2
  8         1  ?  0  : 0 ; // 3
  9         1  ?  1  : 1 ; // 4
 10         ?  0  0  : 0 ; // 5
 11         ?  1  1  : 1 ; // 6
 12 endtable
 13 endprimitive
 
You could download file mux_21_udp.v here
 | 
 
|   | 
  | 
 
  | 
 
|   | 
  | 
 
  | 
 
|   | 
  | 
 
  | 
 
 | 
 | 
 
 | 
 
|   | 
  | 
 
  | 
 
 
 
 | 
 | 
| 
  
  | 
  
  | 
  
  | 
| 
 
  
 | 
    | 
 
Copyright © 1998-2025  | 
 
Deepak Kumar Tala - All rights reserved  | 
 
| 
 Do you have any Comment? mail me at:deepak@asic-world.com
  | 
 
 
 
 |