module tb_HA32;
  wire [31:0] sum;
  wire cout;
  reg [31:0] a, b;
  reg cin;
  
  HA32 ha32(sum, cout, a, b);
  
  initial
  begin
    $display("a|b||cout|sum");
  end
  
  initial
  begin
    $monitor("%b|%b||%b|%b", a, b, cout, sum);
  end
  
  initial
  begin
    a=32'b11111010111110000000011110001111; b=32'b01010101111100000000000011110001;
    #100    a=32'b11111010001110001111111111111111; b=32'b00000000111100101010101001010001;
    #100    a=32'b00111000001110010101010011101010; b=32'b10010000111100000111111100011101;
    #100    a=32'b11111100010011111100000111110010; b=32'b10111111000100111100011100010100;

  end

endmodule