module dvi_serialiser
(
      input       clk_i
    , input       rst_i
    , input       strobe_i
    , input [9:0] data_i
    , output      serial_p_o
    , output      serial_n_o
);

  reg [1:0] data_p, data_n;

  always @(posedge clk_i) data_p[0] <=  data_i[0];
  always @(posedge clk_i) data_n[0] <= ~data_i[0];
  always @(posedge clk_i) data_p[1] <=  data_i[1];
  always @(posedge clk_i) data_n[1] <= ~data_i[1];

  ODDRX1F
  ddr_p_instance
  (
    .D0(data_p[0]),
    .D1(data_p[1]),
    .Q(serial_p_o),
    .SCLK(clk_i),
    .RST(rst_i)
  );
  ODDRX1F
  ddr_n_instance
  (
    .D0(data_n[0]),
    .D1(data_n[1]),
    .Q(serial_n_o),
    .SCLK(clk_i),
    .RST(rst_i)
  );


endmodule