	component nios_system is
		port (
			clk_clk                                    : in    std_logic                     := 'X';             -- clk
			intel_vvp_cvo_vid_status_vid_locked        : out   std_logic;                                        -- vid_locked
			intel_vvp_cvo_vid_status_vid_is_full       : out   std_logic;                                        -- vid_is_full
			intel_vvp_cvo_vid_status_vid_stall_error   : out   std_logic;                                        -- vid_stall_error
			intel_vvp_cvo_vid_status_vid_size_mismatch : out   std_logic;                                        -- vid_size_mismatch
			intel_vvp_cvo_frame_start_conduit          : in    std_logic                     := 'X';             -- conduit
			intel_vvp_fr2cv_cv_clk_out_clk             : out   std_logic;                                        -- clk
			intel_vvp_fr2cv_cv_vid_out_vid_data        : out   std_logic_vector(23 downto 0);                    -- vid_data
			intel_vvp_fr2cv_cv_vid_out_underflow       : out   std_logic;                                        -- underflow
			intel_vvp_fr2cv_cv_vid_out_vid_datavalid   : out   std_logic;                                        -- vid_datavalid
			intel_vvp_fr2cv_cv_vid_out_vid_v_sync      : out   std_logic;                                        -- vid_v_sync
			intel_vvp_fr2cv_cv_vid_out_vid_h_sync      : out   std_logic;                                        -- vid_h_sync
			intel_vvp_fr2cv_cv_vid_out_vid_f           : out   std_logic;                                        -- vid_f
			intel_vvp_fr2cv_cv_vid_out_vid_h           : out   std_logic;                                        -- vid_h
			intel_vvp_fr2cv_cv_vid_out_vid_v           : out   std_logic;                                        -- vid_v
			intel_vvp_vfr_fsync_in_read                : in    std_logic                     := 'X';             -- read
			sdram_clk_clk                              : out   std_logic;                                        -- clk
			iopll_vga_outclk1_clk                      : out   std_logic;                                        -- clk
			pio_fsync_out_external_connection_export   : out   std_logic;                                        -- export
			key_external_connection_export             : in    std_logic_vector(1 downto 0)  := (others => 'X'); -- export
			led_external_connection_export             : out   std_logic_vector(3 downto 0);                     -- export
			sw_external_connection_export              : in    std_logic_vector(1 downto 0)  := (others => 'X'); -- export
			reset_reset_n                              : in    std_logic                     := 'X';             -- reset_n
			sdram_cke                                  : out   std_logic;                                        -- cke
			sdram_cs_n                                 : out   std_logic;                                        -- cs_n
			sdram_ras_n                                : out   std_logic;                                        -- ras_n
			sdram_cas_n                                : out   std_logic;                                        -- cas_n
			sdram_we_n                                 : out   std_logic;                                        -- we_n
			sdram_dqm                                  : out   std_logic_vector(3 downto 0);                     -- dqm
			sdram_addr                                 : out   std_logic_vector(12 downto 0);                    -- addr
			sdram_ba                                   : out   std_logic_vector(1 downto 0);                     -- ba
			sdram_data_out                             : out   std_logic_vector(31 downto 0);                    -- data_out
			sdram_data_oe                              : out   std_logic;                                        -- data_oe
			sdram_data_in                              : in    std_logic_vector(31 downto 0) := (others => 'X'); -- data_in
			terasic_sdcard_conduit_end_sd_clk          : out   std_logic;                                        -- sd_clk
			terasic_sdcard_conduit_end_sd_cmd          : inout std_logic                     := 'X';             -- sd_cmd
			terasic_sdcard_conduit_end_sd_data         : inout std_logic_vector(3 downto 0)  := (others => 'X')  -- sd_data
		);
	end component nios_system;

	u0 : component nios_system
		port map (
			clk_clk                                    => CONNECTED_TO_clk_clk,                                    --                               clk.clk
			intel_vvp_cvo_vid_status_vid_locked        => CONNECTED_TO_intel_vvp_cvo_vid_status_vid_locked,        --          intel_vvp_cvo_vid_status.vid_locked
			intel_vvp_cvo_vid_status_vid_is_full       => CONNECTED_TO_intel_vvp_cvo_vid_status_vid_is_full,       --                                  .vid_is_full
			intel_vvp_cvo_vid_status_vid_stall_error   => CONNECTED_TO_intel_vvp_cvo_vid_status_vid_stall_error,   --                                  .vid_stall_error
			intel_vvp_cvo_vid_status_vid_size_mismatch => CONNECTED_TO_intel_vvp_cvo_vid_status_vid_size_mismatch, --                                  .vid_size_mismatch
			intel_vvp_cvo_frame_start_conduit          => CONNECTED_TO_intel_vvp_cvo_frame_start_conduit,          --         intel_vvp_cvo_frame_start.conduit
			intel_vvp_fr2cv_cv_clk_out_clk             => CONNECTED_TO_intel_vvp_fr2cv_cv_clk_out_clk,             --        intel_vvp_fr2cv_cv_clk_out.clk
			intel_vvp_fr2cv_cv_vid_out_vid_data        => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_data,        --        intel_vvp_fr2cv_cv_vid_out.vid_data
			intel_vvp_fr2cv_cv_vid_out_underflow       => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_underflow,       --                                  .underflow
			intel_vvp_fr2cv_cv_vid_out_vid_datavalid   => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_datavalid,   --                                  .vid_datavalid
			intel_vvp_fr2cv_cv_vid_out_vid_v_sync      => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_v_sync,      --                                  .vid_v_sync
			intel_vvp_fr2cv_cv_vid_out_vid_h_sync      => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_h_sync,      --                                  .vid_h_sync
			intel_vvp_fr2cv_cv_vid_out_vid_f           => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_f,           --                                  .vid_f
			intel_vvp_fr2cv_cv_vid_out_vid_h           => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_h,           --                                  .vid_h
			intel_vvp_fr2cv_cv_vid_out_vid_v           => CONNECTED_TO_intel_vvp_fr2cv_cv_vid_out_vid_v,           --                                  .vid_v
			intel_vvp_vfr_fsync_in_read                => CONNECTED_TO_intel_vvp_vfr_fsync_in_read,                --            intel_vvp_vfr_fsync_in.read
			sdram_clk_clk                              => CONNECTED_TO_sdram_clk_clk,                              --                         sdram_clk.clk
			iopll_vga_outclk1_clk                      => CONNECTED_TO_iopll_vga_outclk1_clk,                      --                 iopll_vga_outclk1.clk
			pio_fsync_out_external_connection_export   => CONNECTED_TO_pio_fsync_out_external_connection_export,   -- pio_fsync_out_external_connection.export
			key_external_connection_export             => CONNECTED_TO_key_external_connection_export,             --           key_external_connection.export
			led_external_connection_export             => CONNECTED_TO_led_external_connection_export,             --           led_external_connection.export
			sw_external_connection_export              => CONNECTED_TO_sw_external_connection_export,              --            sw_external_connection.export
			reset_reset_n                              => CONNECTED_TO_reset_reset_n,                              --                             reset.reset_n
			sdram_cke                                  => CONNECTED_TO_sdram_cke,                                  --                             sdram.cke
			sdram_cs_n                                 => CONNECTED_TO_sdram_cs_n,                                 --                                  .cs_n
			sdram_ras_n                                => CONNECTED_TO_sdram_ras_n,                                --                                  .ras_n
			sdram_cas_n                                => CONNECTED_TO_sdram_cas_n,                                --                                  .cas_n
			sdram_we_n                                 => CONNECTED_TO_sdram_we_n,                                 --                                  .we_n
			sdram_dqm                                  => CONNECTED_TO_sdram_dqm,                                  --                                  .dqm
			sdram_addr                                 => CONNECTED_TO_sdram_addr,                                 --                                  .addr
			sdram_ba                                   => CONNECTED_TO_sdram_ba,                                   --                                  .ba
			sdram_data_out                             => CONNECTED_TO_sdram_data_out,                             --                                  .data_out
			sdram_data_oe                              => CONNECTED_TO_sdram_data_oe,                              --                                  .data_oe
			sdram_data_in                              => CONNECTED_TO_sdram_data_in,                              --                                  .data_in
			terasic_sdcard_conduit_end_sd_clk          => CONNECTED_TO_terasic_sdcard_conduit_end_sd_clk,          --        terasic_sdcard_conduit_end.sd_clk
			terasic_sdcard_conduit_end_sd_cmd          => CONNECTED_TO_terasic_sdcard_conduit_end_sd_cmd,          --                                  .sd_cmd
			terasic_sdcard_conduit_end_sd_data         => CONNECTED_TO_terasic_sdcard_conduit_end_sd_data          --                                  .sd_data
		);

