module top
(
  data_i,
  swap_on_equal_i,
  data_o,
  swapped_o
);

  input [31:0] data_i;
  output [31:0] data_o;
  input swap_on_equal_i;
  output swapped_o;

  bsg_compare_and_swap
  wrapper
  (
    .data_i(data_i),
    .data_o(data_o),
    .swap_on_equal_i(swap_on_equal_i),
    .swapped_o(swapped_o)
  );


endmodule