module MIPI_CSI2_Serial2Parallel #(
parameter bus_width  = 10       ,
parameter lane_width = 4        ,
parameter format = "RAW10"
)(
     input rstn,
     input [31:0] din,
     output fv,
     output lv,
     output [bus_width-1:0] pixdata,
     input pixclk,
     input sclk,
     output [1:0]                    vc      , //virtual channel identifier (2-bit)
     output [5:0]                    dt      , //data type (6-bit)
     output [15:0]                   wc      , //word count
     output [7:0]                    ecc     , //Error correction code
     input                           line_length_detect,
     input  [15:0]                   line_length
);

endmodule