	component main_qsys is
		port (
			clk_clk                        : in    std_logic                     := 'X';             -- clk
			ddr3_mem_a                     : out   std_logic_vector(14 downto 0);                    -- mem_a
			ddr3_mem_ba                    : out   std_logic_vector(2 downto 0);                     -- mem_ba
			ddr3_mem_ck                    : out   std_logic_vector(0 downto 0);                     -- mem_ck
			ddr3_mem_ck_n                  : out   std_logic_vector(0 downto 0);                     -- mem_ck_n
			ddr3_mem_cke                   : out   std_logic_vector(0 downto 0);                     -- mem_cke
			ddr3_mem_cs_n                  : out   std_logic_vector(0 downto 0);                     -- mem_cs_n
			ddr3_mem_dm                    : out   std_logic_vector(1 downto 0);                     -- mem_dm
			ddr3_mem_ras_n                 : out   std_logic_vector(0 downto 0);                     -- mem_ras_n
			ddr3_mem_cas_n                 : out   std_logic_vector(0 downto 0);                     -- mem_cas_n
			ddr3_mem_we_n                  : out   std_logic_vector(0 downto 0);                     -- mem_we_n
			ddr3_mem_reset_n               : out   std_logic;                                        -- mem_reset_n
			ddr3_mem_dq                    : inout std_logic_vector(15 downto 0) := (others => 'X'); -- mem_dq
			ddr3_mem_dqs                   : inout std_logic_vector(1 downto 0)  := (others => 'X'); -- mem_dqs
			ddr3_mem_dqs_n                 : inout std_logic_vector(1 downto 0)  := (others => 'X'); -- mem_dqs_n
			ddr3_mem_odt                   : out   std_logic_vector(0 downto 0);                     -- mem_odt
			enet_125m_clk                  : out   std_logic;                                        -- clk
			enet_25m_clk                   : out   std_logic;                                        -- clk
			mac_mdio_mdc                   : out   std_logic;                                        -- mdc
			mac_mdio_mdio_in               : in    std_logic                     := 'X';             -- mdio_in
			mac_mdio_mdio_out              : out   std_logic;                                        -- mdio_out
			mac_mdio_mdio_oen              : out   std_logic;                                        -- mdio_oen
			mac_misc_xon_gen               : in    std_logic                     := 'X';             -- xon_gen
			mac_misc_xoff_gen              : in    std_logic                     := 'X';             -- xoff_gen
			mac_misc_ff_tx_crc_fwd         : in    std_logic                     := 'X';             -- ff_tx_crc_fwd
			mac_misc_ff_tx_septy           : out   std_logic;                                        -- ff_tx_septy
			mac_misc_tx_ff_uflow           : out   std_logic;                                        -- tx_ff_uflow
			mac_misc_ff_tx_a_full          : out   std_logic;                                        -- ff_tx_a_full
			mac_misc_ff_tx_a_empty         : out   std_logic;                                        -- ff_tx_a_empty
			mac_misc_rx_err_stat           : out   std_logic_vector(17 downto 0);                    -- rx_err_stat
			mac_misc_rx_frm_type           : out   std_logic_vector(3 downto 0);                     -- rx_frm_type
			mac_misc_ff_rx_dsav            : out   std_logic;                                        -- ff_rx_dsav
			mac_misc_ff_rx_a_full          : out   std_logic;                                        -- ff_rx_a_full
			mac_misc_ff_rx_a_empty         : out   std_logic;                                        -- ff_rx_a_empty
			mac_rgmii_rgmii_in             : in    std_logic_vector(3 downto 0)  := (others => 'X'); -- rgmii_in
			mac_rgmii_rgmii_out            : out   std_logic_vector(3 downto 0);                     -- rgmii_out
			mac_rgmii_rx_control           : in    std_logic                     := 'X';             -- rx_control
			mac_rgmii_tx_control           : out   std_logic;                                        -- tx_control
			mac_status_set_10              : in    std_logic                     := 'X';             -- set_10
			mac_status_set_1000            : in    std_logic                     := 'X';             -- set_1000
			mac_status_eth_mode            : out   std_logic;                                        -- eth_mode
			mac_status_ena_10              : out   std_logic;                                        -- ena_10
			oct_rzqin                      : in    std_logic                     := 'X';             -- rzqin
			reset_reset_n                  : in    std_logic                     := 'X';             -- reset_n
			rx_clock_clk                   : in    std_logic                     := 'X';             -- clk
			sdram_status_local_init_done   : out   std_logic;                                        -- local_init_done
			sdram_status_local_cal_success : out   std_logic;                                        -- local_cal_success
			sdram_status_local_cal_fail    : out   std_logic;                                        -- local_cal_fail
			tx_clock_clk                   : in    std_logic                     := 'X'              -- clk
		);
	end component main_qsys;

	u0 : component main_qsys
		port map (
			clk_clk                        => CONNECTED_TO_clk_clk,                        --          clk.clk
			ddr3_mem_a                     => CONNECTED_TO_ddr3_mem_a,                     --         ddr3.mem_a
			ddr3_mem_ba                    => CONNECTED_TO_ddr3_mem_ba,                    --             .mem_ba
			ddr3_mem_ck                    => CONNECTED_TO_ddr3_mem_ck,                    --             .mem_ck
			ddr3_mem_ck_n                  => CONNECTED_TO_ddr3_mem_ck_n,                  --             .mem_ck_n
			ddr3_mem_cke                   => CONNECTED_TO_ddr3_mem_cke,                   --             .mem_cke
			ddr3_mem_cs_n                  => CONNECTED_TO_ddr3_mem_cs_n,                  --             .mem_cs_n
			ddr3_mem_dm                    => CONNECTED_TO_ddr3_mem_dm,                    --             .mem_dm
			ddr3_mem_ras_n                 => CONNECTED_TO_ddr3_mem_ras_n,                 --             .mem_ras_n
			ddr3_mem_cas_n                 => CONNECTED_TO_ddr3_mem_cas_n,                 --             .mem_cas_n
			ddr3_mem_we_n                  => CONNECTED_TO_ddr3_mem_we_n,                  --             .mem_we_n
			ddr3_mem_reset_n               => CONNECTED_TO_ddr3_mem_reset_n,               --             .mem_reset_n
			ddr3_mem_dq                    => CONNECTED_TO_ddr3_mem_dq,                    --             .mem_dq
			ddr3_mem_dqs                   => CONNECTED_TO_ddr3_mem_dqs,                   --             .mem_dqs
			ddr3_mem_dqs_n                 => CONNECTED_TO_ddr3_mem_dqs_n,                 --             .mem_dqs_n
			ddr3_mem_odt                   => CONNECTED_TO_ddr3_mem_odt,                   --             .mem_odt
			enet_125m_clk                  => CONNECTED_TO_enet_125m_clk,                  --    enet_125m.clk
			enet_25m_clk                   => CONNECTED_TO_enet_25m_clk,                   --     enet_25m.clk
			mac_mdio_mdc                   => CONNECTED_TO_mac_mdio_mdc,                   --     mac_mdio.mdc
			mac_mdio_mdio_in               => CONNECTED_TO_mac_mdio_mdio_in,               --             .mdio_in
			mac_mdio_mdio_out              => CONNECTED_TO_mac_mdio_mdio_out,              --             .mdio_out
			mac_mdio_mdio_oen              => CONNECTED_TO_mac_mdio_mdio_oen,              --             .mdio_oen
			mac_misc_xon_gen               => CONNECTED_TO_mac_misc_xon_gen,               --     mac_misc.xon_gen
			mac_misc_xoff_gen              => CONNECTED_TO_mac_misc_xoff_gen,              --             .xoff_gen
			mac_misc_ff_tx_crc_fwd         => CONNECTED_TO_mac_misc_ff_tx_crc_fwd,         --             .ff_tx_crc_fwd
			mac_misc_ff_tx_septy           => CONNECTED_TO_mac_misc_ff_tx_septy,           --             .ff_tx_septy
			mac_misc_tx_ff_uflow           => CONNECTED_TO_mac_misc_tx_ff_uflow,           --             .tx_ff_uflow
			mac_misc_ff_tx_a_full          => CONNECTED_TO_mac_misc_ff_tx_a_full,          --             .ff_tx_a_full
			mac_misc_ff_tx_a_empty         => CONNECTED_TO_mac_misc_ff_tx_a_empty,         --             .ff_tx_a_empty
			mac_misc_rx_err_stat           => CONNECTED_TO_mac_misc_rx_err_stat,           --             .rx_err_stat
			mac_misc_rx_frm_type           => CONNECTED_TO_mac_misc_rx_frm_type,           --             .rx_frm_type
			mac_misc_ff_rx_dsav            => CONNECTED_TO_mac_misc_ff_rx_dsav,            --             .ff_rx_dsav
			mac_misc_ff_rx_a_full          => CONNECTED_TO_mac_misc_ff_rx_a_full,          --             .ff_rx_a_full
			mac_misc_ff_rx_a_empty         => CONNECTED_TO_mac_misc_ff_rx_a_empty,         --             .ff_rx_a_empty
			mac_rgmii_rgmii_in             => CONNECTED_TO_mac_rgmii_rgmii_in,             --    mac_rgmii.rgmii_in
			mac_rgmii_rgmii_out            => CONNECTED_TO_mac_rgmii_rgmii_out,            --             .rgmii_out
			mac_rgmii_rx_control           => CONNECTED_TO_mac_rgmii_rx_control,           --             .rx_control
			mac_rgmii_tx_control           => CONNECTED_TO_mac_rgmii_tx_control,           --             .tx_control
			mac_status_set_10              => CONNECTED_TO_mac_status_set_10,              --   mac_status.set_10
			mac_status_set_1000            => CONNECTED_TO_mac_status_set_1000,            --             .set_1000
			mac_status_eth_mode            => CONNECTED_TO_mac_status_eth_mode,            --             .eth_mode
			mac_status_ena_10              => CONNECTED_TO_mac_status_ena_10,              --             .ena_10
			oct_rzqin                      => CONNECTED_TO_oct_rzqin,                      --          oct.rzqin
			reset_reset_n                  => CONNECTED_TO_reset_reset_n,                  --        reset.reset_n
			rx_clock_clk                   => CONNECTED_TO_rx_clock_clk,                   --     rx_clock.clk
			sdram_status_local_init_done   => CONNECTED_TO_sdram_status_local_init_done,   -- sdram_status.local_init_done
			sdram_status_local_cal_success => CONNECTED_TO_sdram_status_local_cal_success, --             .local_cal_success
			sdram_status_local_cal_fail    => CONNECTED_TO_sdram_status_local_cal_fail,    --             .local_cal_fail
			tx_clock_clk                   => CONNECTED_TO_tx_clock_clk                    --     tx_clock.clk
		);

