module ws2812_top( input wire sys_clk , input wire sys_rst_n , output wire dout ); wire bit ; wire [4: 0] cnt_bit; wire [6: 0] cnt_led; wire [1: 0] frame ; ws2812_ctrl ws2812_ctrl_inst( .sys_clk (sys_clk), .sys_rst_n (sys_rst_n), .bit (bit), .dout (dout), .cnt_bit (cnt_bit), .cnt_led (cnt_led), .frame (frame) ); data_cfg data_cfg_inst( .cnt_bit (cnt_bit), .cnt_led (cnt_led), .frame (frame), .bit (bit) ); endmodule