toweber

comblogic.v

Aug 29th, 2022
1,061
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module comblogic (out, a, b);
  2.    output out;
  3.    input a;
  4.    input b;
  5.  
  6.    // wires
  7.    wire  t1;
  8.  
  9.    // instantiation:
  10.    //    primitive   instance-name   (out, in1, in2, ...);
  11.    and lg1(t1,a,b);
  12.    or  lg2(out, t1, b);  
  13.  
  14. endmodule
  15.  
Advertisement
Add Comment
Please, Sign In to add comment