// soc_system_cam_0_scl.v

// This file was auto-generated from alt_vip_cl_scl_hw.tcl.  If you edit it your changes
// will probably be lost.
// 
// Generated using ACDS version 18.1 646

`timescale 1 ps / 1 ps
module soc_system_cam_0_scl (
		input  wire        main_clock,            // main_clock.clk
		input  wire        main_reset,            // main_reset.reset
		input  wire [15:0] din_data,              //        din.data
		input  wire        din_valid,             //           .valid
		input  wire        din_startofpacket,     //           .startofpacket
		input  wire        din_endofpacket,       //           .endofpacket
		output wire        din_ready,             //           .ready
		output wire [15:0] dout_data,             //       dout.data
		output wire        dout_valid,            //           .valid
		output wire        dout_startofpacket,    //           .startofpacket
		output wire        dout_endofpacket,      //           .endofpacket
		input  wire        dout_ready,            //           .ready
		input  wire [6:0]  control_address,       //    control.address
		input  wire [3:0]  control_byteenable,    //           .byteenable
		input  wire        control_write,         //           .write
		input  wire [31:0] control_writedata,     //           .writedata
		input  wire        control_read,          //           .read
		output wire [31:0] control_readdata,      //           .readdata
		output wire        control_readdatavalid, //           .readdatavalid
		output wire        control_waitrequest    //           .waitrequest
	);

	wire          scheduler_av_st_cmd_lb_valid;            // scheduler:av_st_cmd_lb_valid -> line_buffer:av_st_cmd_valid
	wire   [63:0] scheduler_av_st_cmd_lb_data;             // scheduler:av_st_cmd_lb_data -> line_buffer:av_st_cmd_data
	wire          scheduler_av_st_cmd_lb_ready;            // line_buffer:av_st_cmd_ready -> scheduler:av_st_cmd_lb_ready
	wire          scheduler_av_st_cmd_lb_startofpacket;    // scheduler:av_st_cmd_lb_startofpacket -> line_buffer:av_st_cmd_startofpacket
	wire          scheduler_av_st_cmd_lb_endofpacket;      // scheduler:av_st_cmd_lb_endofpacket -> line_buffer:av_st_cmd_endofpacket
	wire          scheduler_av_st_cmd_kc_valid;            // scheduler:av_st_cmd_kc_valid -> kernel_creator:av_st_cmd_valid
	wire   [63:0] scheduler_av_st_cmd_kc_data;             // scheduler:av_st_cmd_kc_data -> kernel_creator:av_st_cmd_data
	wire          scheduler_av_st_cmd_kc_ready;            // kernel_creator:av_st_cmd_ready -> scheduler:av_st_cmd_kc_ready
	wire          scheduler_av_st_cmd_kc_startofpacket;    // scheduler:av_st_cmd_kc_startofpacket -> kernel_creator:av_st_cmd_startofpacket
	wire          scheduler_av_st_cmd_kc_endofpacket;      // scheduler:av_st_cmd_kc_endofpacket -> kernel_creator:av_st_cmd_endofpacket
	wire          scheduler_av_st_cmd_vob_valid;           // scheduler:av_st_cmd_vob_valid -> video_out:av_st_cmd_valid
	wire   [63:0] scheduler_av_st_cmd_vob_data;            // scheduler:av_st_cmd_vob_data -> video_out:av_st_cmd_data
	wire          scheduler_av_st_cmd_vob_ready;           // video_out:av_st_cmd_ready -> scheduler:av_st_cmd_vob_ready
	wire          scheduler_av_st_cmd_vob_startofpacket;   // scheduler:av_st_cmd_vob_startofpacket -> video_out:av_st_cmd_startofpacket
	wire          scheduler_av_st_cmd_vob_endofpacket;     // scheduler:av_st_cmd_vob_endofpacket -> video_out:av_st_cmd_endofpacket
	wire          video_in_resp_av_st_resp_valid;          // video_in_resp:av_st_resp_valid -> scheduler:av_st_resp_vib_valid
	wire   [63:0] video_in_resp_av_st_resp_data;           // video_in_resp:av_st_resp_data -> scheduler:av_st_resp_vib_data
	wire          video_in_resp_av_st_resp_ready;          // scheduler:av_st_resp_vib_ready -> video_in_resp:av_st_resp_ready
	wire          video_in_resp_av_st_resp_startofpacket;  // video_in_resp:av_st_resp_startofpacket -> scheduler:av_st_resp_vib_startofpacket
	wire          video_in_resp_av_st_resp_endofpacket;    // video_in_resp:av_st_resp_endofpacket -> scheduler:av_st_resp_vib_endofpacket
	wire          kernel_creator_av_st_resp_valid;         // kernel_creator:av_st_resp_valid -> scheduler:av_st_resp_kc_valid
	wire   [63:0] kernel_creator_av_st_resp_data;          // kernel_creator:av_st_resp_data -> scheduler:av_st_resp_kc_data
	wire          kernel_creator_av_st_resp_ready;         // scheduler:av_st_resp_kc_ready -> kernel_creator:av_st_resp_ready
	wire          kernel_creator_av_st_resp_startofpacket; // kernel_creator:av_st_resp_startofpacket -> scheduler:av_st_resp_kc_startofpacket
	wire          kernel_creator_av_st_resp_endofpacket;   // kernel_creator:av_st_resp_endofpacket -> scheduler:av_st_resp_kc_endofpacket
	wire          video_in_resp_av_st_dout_valid;          // video_in_resp:av_st_dout_valid -> line_buffer:av_st_din_valid
	wire   [47:0] video_in_resp_av_st_dout_data;           // video_in_resp:av_st_dout_data -> line_buffer:av_st_din_data
	wire          video_in_resp_av_st_dout_ready;          // line_buffer:av_st_din_ready -> video_in_resp:av_st_dout_ready
	wire          video_in_resp_av_st_dout_startofpacket;  // video_in_resp:av_st_dout_startofpacket -> line_buffer:av_st_din_startofpacket
	wire          video_in_resp_av_st_dout_endofpacket;    // video_in_resp:av_st_dout_endofpacket -> line_buffer:av_st_din_endofpacket
	wire          scheduler_av_st_cmd_ac_0_valid;          // scheduler:av_st_cmd_ac_valid_0 -> scaler_core:av_st_cmd_valid
	wire   [63:0] scheduler_av_st_cmd_ac_0_data;           // scheduler:av_st_cmd_ac_data_0 -> scaler_core:av_st_cmd_data
	wire          scheduler_av_st_cmd_ac_0_ready;          // scaler_core:av_st_cmd_ready -> scheduler:av_st_cmd_ac_ready_0
	wire          scheduler_av_st_cmd_ac_0_startofpacket;  // scheduler:av_st_cmd_ac_startofpacket_0 -> scaler_core:av_st_cmd_startofpacket
	wire          scheduler_av_st_cmd_ac_0_endofpacket;    // scheduler:av_st_cmd_ac_endofpacket_0 -> scaler_core:av_st_cmd_endofpacket
	wire          scaler_core_av_st_resp_valid;            // scaler_core:av_st_resp_valid -> scheduler:av_st_resp_ac_valid
	wire   [63:0] scaler_core_av_st_resp_data;             // scaler_core:av_st_resp_data -> scheduler:av_st_resp_ac_data
	wire          scaler_core_av_st_resp_ready;            // scheduler:av_st_resp_ac_ready -> scaler_core:av_st_resp_ready
	wire          scaler_core_av_st_resp_startofpacket;    // scaler_core:av_st_resp_startofpacket -> scheduler:av_st_resp_ac_startofpacket
	wire          scaler_core_av_st_resp_endofpacket;      // scaler_core:av_st_resp_endofpacket -> scheduler:av_st_resp_ac_endofpacket
	wire          line_buffer_av_st_dout_0_valid;          // line_buffer:av_st_dout_valid_0 -> scaler_core:av_st_din_valid
	wire  [159:0] line_buffer_av_st_dout_0_data;           // line_buffer:av_st_dout_data_0 -> scaler_core:av_st_din_data
	wire          line_buffer_av_st_dout_0_ready;          // scaler_core:av_st_din_ready -> line_buffer:av_st_dout_ready_0
	wire          line_buffer_av_st_dout_0_startofpacket;  // line_buffer:av_st_dout_startofpacket_0 -> scaler_core:av_st_din_startofpacket
	wire          line_buffer_av_st_dout_0_endofpacket;    // line_buffer:av_st_dout_endofpacket_0 -> scaler_core:av_st_din_endofpacket
	wire          scaler_core_av_st_dout_valid;            // scaler_core:av_st_dout_valid -> video_out:av_st_din_valid
	wire   [47:0] scaler_core_av_st_dout_data;             // scaler_core:av_st_dout_data -> video_out:av_st_din_data
	wire          scaler_core_av_st_dout_ready;            // video_out:av_st_din_ready -> scaler_core:av_st_dout_ready
	wire          scaler_core_av_st_dout_startofpacket;    // scaler_core:av_st_dout_startofpacket -> video_out:av_st_din_startofpacket
	wire          scaler_core_av_st_dout_endofpacket;      // scaler_core:av_st_dout_endofpacket -> video_out:av_st_din_endofpacket
	wire  [159:0] line_buffer_av_st_dout_data;             // port fragment
	wire    [0:0] line_buffer_av_st_dout_valid;            // port fragment
	wire    [0:0] line_buffer_av_st_dout_startofpacket;    // port fragment
	wire    [0:0] line_buffer_av_st_dout_endofpacket;      // port fragment
	wire    [0:0] scheduler_av_st_cmd_ac_endofpacket;      // port fragment
	wire   [63:0] scheduler_av_st_cmd_ac_data;             // port fragment
	wire    [0:0] scheduler_av_st_cmd_ac_valid;            // port fragment
	wire    [0:0] scheduler_av_st_cmd_ac_startofpacket;    // port fragment

	alt_vip_video_input_bridge_resp #(
		.BITS_PER_SYMBOL              (8),
		.NUMBER_OF_COLOR_PLANES       (2),
		.COLOR_PLANES_ARE_IN_PARALLEL (1),
		.PIXELS_IN_PARALLEL           (1),
		.DEFAULT_LINE_LENGTH          (640),
		.VIB_MODE                     ("FULL"),
		.VIDEO_PROTOCOL_NO            (1),
		.READY_LATENCY_1              (1),
		.MAX_WIDTH                    (640),
		.MAX_HEIGHT                   (480),
		.ENABLE_RESOLUTION_CHECK      (1),
		.MULTI_CONTEXT_SUPPORT        (0),
		.PIPELINE_READY               (0),
		.RESP_SRC_ADDRESS             (0),
		.RESP_DST_ADDRESS             (0),
		.DATA_SRC_ADDRESS             (0),
		.SRC_WIDTH                    (8),
		.DST_WIDTH                    (8),
		.CONTEXT_WIDTH                (8),
		.TASK_WIDTH                   (8)
	) video_in_resp (
		.clock                       (main_clock),                             //    main_clock.clk
		.reset                       (main_reset),                             //    main_reset.reset
		.av_st_vid_din_data          (din_data),                               // av_st_vid_din.data
		.av_st_vid_din_valid         (din_valid),                              //              .valid
		.av_st_vid_din_startofpacket (din_startofpacket),                      //              .startofpacket
		.av_st_vid_din_endofpacket   (din_endofpacket),                        //              .endofpacket
		.av_st_vid_din_ready         (din_ready),                              //              .ready
		.av_st_resp_valid            (video_in_resp_av_st_resp_valid),         //    av_st_resp.valid
		.av_st_resp_startofpacket    (video_in_resp_av_st_resp_startofpacket), //              .startofpacket
		.av_st_resp_endofpacket      (video_in_resp_av_st_resp_endofpacket),   //              .endofpacket
		.av_st_resp_data             (video_in_resp_av_st_resp_data),          //              .data
		.av_st_resp_ready            (video_in_resp_av_st_resp_ready),         //              .ready
		.av_st_dout_valid            (video_in_resp_av_st_dout_valid),         //    av_st_dout.valid
		.av_st_dout_startofpacket    (video_in_resp_av_st_dout_startofpacket), //              .startofpacket
		.av_st_dout_endofpacket      (video_in_resp_av_st_dout_endofpacket),   //              .endofpacket
		.av_st_dout_data             (video_in_resp_av_st_dout_data),          //              .data
		.av_st_dout_ready            (video_in_resp_av_st_dout_ready)          //              .ready
	);

	alt_vip_video_output_bridge #(
		.BITS_PER_SYMBOL              (8),
		.NUMBER_OF_COLOR_PLANES       (2),
		.COLOR_PLANES_ARE_IN_PARALLEL (1),
		.PIXELS_IN_PARALLEL           (1),
		.VIDEO_PROTOCOL_NO            (1),
		.READY_LATENCY_1              (1),
		.SOP_PRE_ALIGNED              (1),
		.MULTI_CONTEXT_SUPPORT        (0),
		.TYPE_11_SUPPORT              (0),
		.NO_CONCATENATION             (0),
		.PIPELINE_READY               (0),
		.SRC_WIDTH                    (8),
		.DST_WIDTH                    (8),
		.CONTEXT_WIDTH                (8),
		.TASK_WIDTH                   (8),
		.LOW_LATENCY_COMMAND_MODE     (0)
	) video_out (
		.clock                        (main_clock),                            //     main_clock.clk
		.reset                        (main_reset),                            //     main_reset.reset
		.av_st_cmd_valid              (scheduler_av_st_cmd_vob_valid),         //      av_st_cmd.valid
		.av_st_cmd_startofpacket      (scheduler_av_st_cmd_vob_startofpacket), //               .startofpacket
		.av_st_cmd_endofpacket        (scheduler_av_st_cmd_vob_endofpacket),   //               .endofpacket
		.av_st_cmd_data               (scheduler_av_st_cmd_vob_data),          //               .data
		.av_st_cmd_ready              (scheduler_av_st_cmd_vob_ready),         //               .ready
		.av_st_din_valid              (scaler_core_av_st_dout_valid),          //      av_st_din.valid
		.av_st_din_startofpacket      (scaler_core_av_st_dout_startofpacket),  //               .startofpacket
		.av_st_din_endofpacket        (scaler_core_av_st_dout_endofpacket),    //               .endofpacket
		.av_st_din_data               (scaler_core_av_st_dout_data),           //               .data
		.av_st_din_ready              (scaler_core_av_st_dout_ready),          //               .ready
		.av_st_vid_dout_data          (dout_data),                             // av_st_vid_dout.data
		.av_st_vid_dout_valid         (dout_valid),                            //               .valid
		.av_st_vid_dout_startofpacket (dout_startofpacket),                    //               .startofpacket
		.av_st_vid_dout_endofpacket   (dout_endofpacket),                      //               .endofpacket
		.av_st_vid_dout_ready         (dout_ready)                             //               .ready
	);

	alt_vip_line_buffer #(
		.PIXEL_WIDTH             (16),
		.SYMBOLS_IN_SEQ          (1),
		.PIXELS_IN_PARALLEL      (1),
		.CONVERT_TO_1_PIP        (0),
		.MAX_LINE_LENGTH         (640),
		.OUTPUT_PORTS            (1),
		.MODE                    ("RATE_MATCHING"),
		.ENABLE_RECEIVE_ONLY_CMD (0),
		.TRACK_LINE_LENGTH       (1),
		.OUTPUT_MUX_SEL          ("OLD"),
		.FIFO_SIZE               (4),
		.KERNEL_SIZE_0           (8),
		.KERNEL_CENTER_0         (3),
		.KERNEL_SIZE_1           (8),
		.KERNEL_START_1          (0),
		.KERNEL_CENTER_1         (3),
		.KERNEL_SIZE_2           (8),
		.KERNEL_START_2          (0),
		.KERNEL_CENTER_2         (3),
		.KERNEL_SIZE_3           (8),
		.KERNEL_START_3          (0),
		.KERNEL_CENTER_3         (3),
		.KERNEL_SIZE_4           (8),
		.KERNEL_START_4          (0),
		.KERNEL_CENTER_4         (3),
		.KERNEL_SIZE_5           (8),
		.KERNEL_START_5          (0),
		.KERNEL_CENTER_5         (3),
		.KERNEL_SIZE_6           (8),
		.KERNEL_START_6          (0),
		.KERNEL_CENTER_6         (3),
		.KERNEL_SIZE_7           (8),
		.KERNEL_START_7          (0),
		.KERNEL_CENTER_7         (3),
		.SRC_WIDTH               (8),
		.DST_WIDTH               (8),
		.CONTEXT_WIDTH           (8),
		.TASK_WIDTH              (8),
		.SOURCE_ADDRESS          (0),
		.ENABLE_FIFOS            (0),
		.ENABLE_PIPELINE_REG     (0),
		.FAMILY                  ("Cyclone V")
	) line_buffer (
		.clock                    (main_clock),                              //   main_clock.clk
		.reset                    (main_reset),                              //   main_reset.reset
		.av_st_cmd_valid          (scheduler_av_st_cmd_lb_valid),            //    av_st_cmd.valid
		.av_st_cmd_startofpacket  (scheduler_av_st_cmd_lb_startofpacket),    //             .startofpacket
		.av_st_cmd_endofpacket    (scheduler_av_st_cmd_lb_endofpacket),      //             .endofpacket
		.av_st_cmd_data           (scheduler_av_st_cmd_lb_data),             //             .data
		.av_st_cmd_ready          (scheduler_av_st_cmd_lb_ready),            //             .ready
		.av_st_din_valid          (video_in_resp_av_st_dout_valid),          //    av_st_din.valid
		.av_st_din_startofpacket  (video_in_resp_av_st_dout_startofpacket),  //             .startofpacket
		.av_st_din_endofpacket    (video_in_resp_av_st_dout_endofpacket),    //             .endofpacket
		.av_st_din_data           (video_in_resp_av_st_dout_data),           //             .data
		.av_st_din_ready          (video_in_resp_av_st_dout_ready),          //             .ready
		.av_st_dout_valid         (line_buffer_av_st_dout_valid[0]),         // av_st_dout_0.valid
		.av_st_dout_ready         (line_buffer_av_st_dout_0_ready),          //             .ready
		.av_st_dout_startofpacket (line_buffer_av_st_dout_startofpacket[0]), //             .startofpacket
		.av_st_dout_endofpacket   (line_buffer_av_st_dout_endofpacket[0]),   //             .endofpacket
		.av_st_dout_data          (line_buffer_av_st_dout_data[159:0])       //             .data
	);

	alt_vip_scaler_scheduler #(
		.ALGORITHM           ("POLYPHASE"),
		.SEPARATE_V_H_CORE   (0),
		.DEFAULT_EDGE_THRESH (7),
		.MAX_IN_WIDTH        (640),
		.MAX_IN_HEIGHT       (480),
		.MAX_OUT_WIDTH       (1280),
		.MAX_OUT_HEIGHT      (720),
		.RUNTIME_CONTROL     (1),
		.LOAD_AT_RUNTIME     (0),
		.H_BANKS             (1),
		.V_BANKS             (1),
		.H_PHASE_BITS        (4),
		.V_PHASE_BITS        (4),
		.H_TAPS              (8),
		.V_TAPS              (8),
		.NO_BLANKING         (0),
		.ARE_IDENTICAL       (1),
		.H_COEFF_WIDTH       (1),
		.V_COEFF_WIDTH       (1),
		.USER_PACKET_SUPPORT ("NONE_ALLOWED"),
		.PIPELINE_READY      (0),
		.LIMITED_READBACK    (1)
	) scheduler (
		.clock                        (main_clock),                              //     main_clock.clk
		.reset                        (main_reset),                              //     main_reset.reset
		.av_st_resp_vib_valid         (video_in_resp_av_st_resp_valid),          // av_st_resp_vib.valid
		.av_st_resp_vib_startofpacket (video_in_resp_av_st_resp_startofpacket),  //               .startofpacket
		.av_st_resp_vib_endofpacket   (video_in_resp_av_st_resp_endofpacket),    //               .endofpacket
		.av_st_resp_vib_data          (video_in_resp_av_st_resp_data),           //               .data
		.av_st_resp_vib_ready         (video_in_resp_av_st_resp_ready),          //               .ready
		.av_st_resp_kc_valid          (kernel_creator_av_st_resp_valid),         //  av_st_resp_kc.valid
		.av_st_resp_kc_startofpacket  (kernel_creator_av_st_resp_startofpacket), //               .startofpacket
		.av_st_resp_kc_endofpacket    (kernel_creator_av_st_resp_endofpacket),   //               .endofpacket
		.av_st_resp_kc_data           (kernel_creator_av_st_resp_data),          //               .data
		.av_st_resp_kc_ready          (kernel_creator_av_st_resp_ready),         //               .ready
		.av_st_resp_ac_valid          (scaler_core_av_st_resp_valid),            //  av_st_resp_ac.valid
		.av_st_resp_ac_startofpacket  (scaler_core_av_st_resp_startofpacket),    //               .startofpacket
		.av_st_resp_ac_endofpacket    (scaler_core_av_st_resp_endofpacket),      //               .endofpacket
		.av_st_resp_ac_data           (scaler_core_av_st_resp_data),             //               .data
		.av_st_resp_ac_ready          (scaler_core_av_st_resp_ready),            //               .ready
		.av_st_cmd_kc_valid           (scheduler_av_st_cmd_kc_valid),            //   av_st_cmd_kc.valid
		.av_st_cmd_kc_startofpacket   (scheduler_av_st_cmd_kc_startofpacket),    //               .startofpacket
		.av_st_cmd_kc_endofpacket     (scheduler_av_st_cmd_kc_endofpacket),      //               .endofpacket
		.av_st_cmd_kc_data            (scheduler_av_st_cmd_kc_data),             //               .data
		.av_st_cmd_kc_ready           (scheduler_av_st_cmd_kc_ready),            //               .ready
		.av_st_cmd_lb_valid           (scheduler_av_st_cmd_lb_valid),            //   av_st_cmd_lb.valid
		.av_st_cmd_lb_startofpacket   (scheduler_av_st_cmd_lb_startofpacket),    //               .startofpacket
		.av_st_cmd_lb_endofpacket     (scheduler_av_st_cmd_lb_endofpacket),      //               .endofpacket
		.av_st_cmd_lb_data            (scheduler_av_st_cmd_lb_data),             //               .data
		.av_st_cmd_lb_ready           (scheduler_av_st_cmd_lb_ready),            //               .ready
		.av_st_cmd_ac_valid           (scheduler_av_st_cmd_ac_valid[0]),         // av_st_cmd_ac_0.valid
		.av_st_cmd_ac_startofpacket   (scheduler_av_st_cmd_ac_startofpacket[0]), //               .startofpacket
		.av_st_cmd_ac_endofpacket     (scheduler_av_st_cmd_ac_endofpacket[0]),   //               .endofpacket
		.av_st_cmd_ac_data            (scheduler_av_st_cmd_ac_data[63:0]),       //               .data
		.av_st_cmd_ac_ready           (scheduler_av_st_cmd_ac_0_ready),          //               .ready
		.av_st_cmd_vob_valid          (scheduler_av_st_cmd_vob_valid),           //  av_st_cmd_vob.valid
		.av_st_cmd_vob_startofpacket  (scheduler_av_st_cmd_vob_startofpacket),   //               .startofpacket
		.av_st_cmd_vob_endofpacket    (scheduler_av_st_cmd_vob_endofpacket),     //               .endofpacket
		.av_st_cmd_vob_data           (scheduler_av_st_cmd_vob_data),            //               .data
		.av_st_cmd_vob_ready          (scheduler_av_st_cmd_vob_ready),           //               .ready
		.av_mm_control_address        (control_address),                         //  av_mm_control.address
		.av_mm_control_byteenable     (control_byteenable),                      //               .byteenable
		.av_mm_control_write          (control_write),                           //               .write
		.av_mm_control_writedata      (control_writedata),                       //               .writedata
		.av_mm_control_read           (control_read),                            //               .read
		.av_mm_control_readdata       (control_readdata),                        //               .readdata
		.av_mm_control_readdatavalid  (control_readdatavalid),                   //               .readdatavalid
		.av_mm_control_waitrequest    (control_waitrequest)                      //               .waitrequest
	);

	alt_vip_scaler_kernel_creator #(
		.ALGORITHM            ("POLYPHASE"),
		.PARTIAL_LINE_SCALING (0),
		.IS_422               (1),
		.FRAC_BITS_H          (4),
		.FRAC_BITS_W          (4),
		.FIXED_SIZE           (0),
		.MAX_IN_WIDTH         (640),
		.MAX_IN_HEIGHT        (480),
		.MAX_OUT_WIDTH        (1280),
		.MAX_OUT_HEIGHT       (720),
		.EXTRA_PIPELINE_REG   (0),
		.SRC_WIDTH            (8),
		.DST_WIDTH            (8),
		.CONTEXT_WIDTH        (8),
		.TASK_WIDTH           (8),
		.RESP_SRC_ADDR        (0)
	) kernel_creator (
		.clock                    (main_clock),                              // main_clock.clk
		.reset                    (main_reset),                              // main_reset.reset
		.av_st_cmd_valid          (scheduler_av_st_cmd_kc_valid),            //  av_st_cmd.valid
		.av_st_cmd_startofpacket  (scheduler_av_st_cmd_kc_startofpacket),    //           .startofpacket
		.av_st_cmd_endofpacket    (scheduler_av_st_cmd_kc_endofpacket),      //           .endofpacket
		.av_st_cmd_data           (scheduler_av_st_cmd_kc_data),             //           .data
		.av_st_cmd_ready          (scheduler_av_st_cmd_kc_ready),            //           .ready
		.av_st_resp_valid         (kernel_creator_av_st_resp_valid),         // av_st_resp.valid
		.av_st_resp_startofpacket (kernel_creator_av_st_resp_startofpacket), //           .startofpacket
		.av_st_resp_endofpacket   (kernel_creator_av_st_resp_endofpacket),   //           .endofpacket
		.av_st_resp_data          (kernel_creator_av_st_resp_data),          //           .data
		.av_st_resp_ready         (kernel_creator_av_st_resp_ready)          //           .ready
	);

	soc_system_cam_0_scl_scaler_core scaler_core (
		.clock                    (main_clock),                             // main_clock.clk
		.reset                    (main_reset),                             // main_reset.reset
		.av_st_cmd_valid          (scheduler_av_st_cmd_ac_0_valid),         //  av_st_cmd.valid
		.av_st_cmd_startofpacket  (scheduler_av_st_cmd_ac_0_startofpacket), //           .startofpacket
		.av_st_cmd_endofpacket    (scheduler_av_st_cmd_ac_0_endofpacket),   //           .endofpacket
		.av_st_cmd_data           (scheduler_av_st_cmd_ac_0_data),          //           .data
		.av_st_cmd_ready          (scheduler_av_st_cmd_ac_0_ready),         //           .ready
		.av_st_resp_valid         (scaler_core_av_st_resp_valid),           // av_st_resp.valid
		.av_st_resp_startofpacket (scaler_core_av_st_resp_startofpacket),   //           .startofpacket
		.av_st_resp_endofpacket   (scaler_core_av_st_resp_endofpacket),     //           .endofpacket
		.av_st_resp_data          (scaler_core_av_st_resp_data),            //           .data
		.av_st_resp_ready         (scaler_core_av_st_resp_ready),           //           .ready
		.av_st_din_valid          (line_buffer_av_st_dout_0_valid),         //  av_st_din.valid
		.av_st_din_startofpacket  (line_buffer_av_st_dout_0_startofpacket), //           .startofpacket
		.av_st_din_endofpacket    (line_buffer_av_st_dout_0_endofpacket),   //           .endofpacket
		.av_st_din_data           (line_buffer_av_st_dout_0_data),          //           .data
		.av_st_din_ready          (line_buffer_av_st_dout_0_ready),         //           .ready
		.av_st_dout_valid         (scaler_core_av_st_dout_valid),           // av_st_dout.valid
		.av_st_dout_startofpacket (scaler_core_av_st_dout_startofpacket),   //           .startofpacket
		.av_st_dout_endofpacket   (scaler_core_av_st_dout_endofpacket),     //           .endofpacket
		.av_st_dout_data          (scaler_core_av_st_dout_data),            //           .data
		.av_st_dout_ready         (scaler_core_av_st_dout_ready)            //           .ready
	);

	assign scheduler_av_st_cmd_ac_0_valid = { scheduler_av_st_cmd_ac_valid[0] };

	assign scheduler_av_st_cmd_ac_0_data = { scheduler_av_st_cmd_ac_data[63:0] };

	assign scheduler_av_st_cmd_ac_0_startofpacket = { scheduler_av_st_cmd_ac_startofpacket[0] };

	assign scheduler_av_st_cmd_ac_0_endofpacket = { scheduler_av_st_cmd_ac_endofpacket[0] };

	assign line_buffer_av_st_dout_0_valid = { line_buffer_av_st_dout_valid[0] };

	assign line_buffer_av_st_dout_0_data = { line_buffer_av_st_dout_data[159:0] };

	assign line_buffer_av_st_dout_0_startofpacket = { line_buffer_av_st_dout_startofpacket[0] };

	assign line_buffer_av_st_dout_0_endofpacket = { line_buffer_av_st_dout_endofpacket[0] };

endmodule
