top.v 136 Bytes
Newer Older
1 2 3 4 5 6 7
module top(C, O, A, B);
   input  [3:0] A;
   input  [3:0] B;
   output [3:0] O;
   output       C;
   assign {C, O} = A + B;
endmodule