1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
//
// example.v
// test for using example.lib as binlib
//

module top(a,b,y1,y2);
   input a;
   input b;
   output y1;
   output y2;

   nand2 p1(y1,a,b);
   nor2  p2(y2,a,b);
endmodule