Index: mist_5200_sdcard/data_io.cmd
===================================================================
--- mist_5200_sdcard/data_io.cmd	(revision 231)
+++ mist_5200_sdcard/data_io.cmd	(nonexistent)
@@ -1,6 +0,0 @@
-#onerror {resume}
-# GAME
-#=====================
-#run 18871970 ns
-#isim force add {/replay_tb/uut/tpp2/cpu/dd_s} 11111111 -radix bin -cancel 250 ns 
-#run 200 ms
Index: mist_5200_sdcard/mist_sector_buffer.vhd
===================================================================
--- mist_5200_sdcard/mist_sector_buffer.vhd	(revision 231)
+++ mist_5200_sdcard/mist_sector_buffer.vhd	(nonexistent)
@@ -1,270 +0,0 @@
--- megafunction wizard: %RAM: 2-PORT%
--- GENERATION: STANDARD
--- VERSION: WM1.0
--- MODULE: altsyncram 
-
--- ============================================================
--- File Name: mist_sector_buffer.vhd
--- Megafunction Name(s):
--- 			altsyncram
---
--- Simulation Library Files(s):
--- 			altera_mf
--- ============================================================
--- ************************************************************
--- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
---
--- 12.1 Build 243 01/31/2013 SP 1.33 SJ Web Edition
--- ************************************************************
-
-
---Copyright (C) 1991-2012 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-LIBRARY ieee;
-USE ieee.std_logic_1164.all;
-
-LIBRARY altera_mf;
-USE altera_mf.all;
-
-ENTITY mist_sector_buffer IS
-	PORT
-	(
-		address_a		: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
-		address_b		: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
-		clock_a		: IN STD_LOGIC  := '1';
-		clock_b		: IN STD_LOGIC ;
-		data_a		: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
-		data_b		: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
-		wren_a		: IN STD_LOGIC  := '0';
-		wren_b		: IN STD_LOGIC  := '0';
-		q_a		: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
-		q_b		: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
-	);
-END mist_sector_buffer;
-
-
-ARCHITECTURE SYN OF mist_sector_buffer IS
-
-	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (7 DOWNTO 0);
-	SIGNAL sub_wire1	: STD_LOGIC_VECTOR (31 DOWNTO 0);
-
-
-
-	COMPONENT altsyncram
-	GENERIC (
-		address_reg_b		: STRING;
-		clock_enable_input_a		: STRING;
-		clock_enable_input_b		: STRING;
-		clock_enable_output_a		: STRING;
-		clock_enable_output_b		: STRING;
-		indata_reg_b		: STRING;
-		intended_device_family		: STRING;
-		lpm_type		: STRING;
-		numwords_a		: NATURAL;
-		numwords_b		: NATURAL;
-		operation_mode		: STRING;
-		outdata_aclr_a		: STRING;
-		outdata_aclr_b		: STRING;
-		outdata_reg_a		: STRING;
-		outdata_reg_b		: STRING;
-		power_up_uninitialized		: STRING;
-		read_during_write_mode_port_a		: STRING;
-		read_during_write_mode_port_b		: STRING;
-		widthad_a		: NATURAL;
-		widthad_b		: NATURAL;
-		width_a		: NATURAL;
-		width_b		: NATURAL;
-		width_byteena_a		: NATURAL;
-		width_byteena_b		: NATURAL;
-		wrcontrol_wraddress_reg_b		: STRING
-	);
-	PORT (
-			clock0	: IN STD_LOGIC ;
-			wren_a	: IN STD_LOGIC ;
-			address_b	: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
-			clock1	: IN STD_LOGIC ;
-			data_b	: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
-			q_a	: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
-			wren_b	: IN STD_LOGIC ;
-			address_a	: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
-			data_a	: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
-			q_b	: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
-	);
-	END COMPONENT;
-
-BEGIN
-	q_a    <= sub_wire0(7 DOWNTO 0);
-	q_b    <= sub_wire1(31 DOWNTO 0);
-
-	altsyncram_component : altsyncram
-	GENERIC MAP (
-		address_reg_b => "CLOCK1",
-		clock_enable_input_a => "BYPASS",
-		clock_enable_input_b => "BYPASS",
-		clock_enable_output_a => "BYPASS",
-		clock_enable_output_b => "BYPASS",
-		indata_reg_b => "CLOCK1",
-		intended_device_family => "Cyclone III",
-		lpm_type => "altsyncram",
-		numwords_a => 512,
-		numwords_b => 128,
-		operation_mode => "BIDIR_DUAL_PORT",
-		outdata_aclr_a => "NONE",
-		outdata_aclr_b => "NONE",
-		outdata_reg_a => "UNREGISTERED",
-		outdata_reg_b => "UNREGISTERED",
-		power_up_uninitialized => "FALSE",
-		read_during_write_mode_port_a => "NEW_DATA_NO_NBE_READ",
-		read_during_write_mode_port_b => "NEW_DATA_NO_NBE_READ",
-		widthad_a => 9,
-		widthad_b => 7,
-		width_a => 8,
-		width_b => 32,
-		width_byteena_a => 1,
-		width_byteena_b => 1,
-		wrcontrol_wraddress_reg_b => "CLOCK1"
-	)
-	PORT MAP (
-		clock0 => clock_a,
-		wren_a => wren_a,
-		address_b => address_b,
-		clock1 => clock_b,
-		data_b => data_b,
-		wren_b => wren_b,
-		address_a => address_a,
-		data_a => data_a,
-		q_a => sub_wire0,
-		q_b => sub_wire1
-	);
-
-
-
-END SYN;
-
--- ============================================================
--- CNX file retrieval info
--- ============================================================
--- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
--- Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
--- Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
--- Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
--- Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
--- Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
--- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
--- Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
--- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
--- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
--- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
--- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
--- Retrieval info: PRIVATE: CLRdata NUMERIC "0"
--- Retrieval info: PRIVATE: CLRq NUMERIC "0"
--- Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
--- Retrieval info: PRIVATE: CLRrren NUMERIC "0"
--- Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
--- Retrieval info: PRIVATE: CLRwren NUMERIC "0"
--- Retrieval info: PRIVATE: Clock NUMERIC "5"
--- Retrieval info: PRIVATE: Clock_A NUMERIC "0"
--- Retrieval info: PRIVATE: Clock_B NUMERIC "0"
--- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
--- Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
--- Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
--- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
--- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
--- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
--- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
--- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
--- Retrieval info: PRIVATE: MEMSIZE NUMERIC "4096"
--- Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
--- Retrieval info: PRIVATE: MIFfilename STRING ""
--- Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
--- Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
--- Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "0"
--- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
--- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "2"
--- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
--- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "3"
--- Retrieval info: PRIVATE: REGdata NUMERIC "1"
--- Retrieval info: PRIVATE: REGq NUMERIC "0"
--- Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
--- Retrieval info: PRIVATE: REGrren NUMERIC "0"
--- Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
--- Retrieval info: PRIVATE: REGwren NUMERIC "1"
--- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
--- Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
--- Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
--- Retrieval info: PRIVATE: VarWidth NUMERIC "1"
--- Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "8"
--- Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "32"
--- Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "8"
--- Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "32"
--- Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
--- Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
--- Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
--- Retrieval info: PRIVATE: enable NUMERIC "0"
--- Retrieval info: PRIVATE: rden NUMERIC "0"
--- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
--- Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK1"
--- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
--- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
--- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
--- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
--- Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK1"
--- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
--- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "512"
--- Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "128"
--- Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
--- Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "NONE"
--- Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "NONE"
--- Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
--- Retrieval info: CONSTANT: OUTDATA_REG_B STRING "UNREGISTERED"
--- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
--- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
--- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "NEW_DATA_NO_NBE_READ"
--- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "9"
--- Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "7"
--- Retrieval info: CONSTANT: WIDTH_A NUMERIC "8"
--- Retrieval info: CONSTANT: WIDTH_B NUMERIC "32"
--- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
--- Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "1"
--- Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK1"
--- Retrieval info: USED_PORT: address_a 0 0 9 0 INPUT NODEFVAL "address_a[8..0]"
--- Retrieval info: USED_PORT: address_b 0 0 7 0 INPUT NODEFVAL "address_b[6..0]"
--- Retrieval info: USED_PORT: clock_a 0 0 0 0 INPUT VCC "clock_a"
--- Retrieval info: USED_PORT: clock_b 0 0 0 0 INPUT NODEFVAL "clock_b"
--- Retrieval info: USED_PORT: data_a 0 0 8 0 INPUT NODEFVAL "data_a[7..0]"
--- Retrieval info: USED_PORT: data_b 0 0 32 0 INPUT NODEFVAL "data_b[31..0]"
--- Retrieval info: USED_PORT: q_a 0 0 8 0 OUTPUT NODEFVAL "q_a[7..0]"
--- Retrieval info: USED_PORT: q_b 0 0 32 0 OUTPUT NODEFVAL "q_b[31..0]"
--- Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
--- Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
--- Retrieval info: CONNECT: @address_a 0 0 9 0 address_a 0 0 9 0
--- Retrieval info: CONNECT: @address_b 0 0 7 0 address_b 0 0 7 0
--- Retrieval info: CONNECT: @clock0 0 0 0 0 clock_a 0 0 0 0
--- Retrieval info: CONNECT: @clock1 0 0 0 0 clock_b 0 0 0 0
--- Retrieval info: CONNECT: @data_a 0 0 8 0 data_a 0 0 8 0
--- Retrieval info: CONNECT: @data_b 0 0 32 0 data_b 0 0 32 0
--- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
--- Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
--- Retrieval info: CONNECT: q_a 0 0 8 0 @q_a 0 0 8 0
--- Retrieval info: CONNECT: q_b 0 0 32 0 @q_b 0 0 32 0
--- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.vhd TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.inc FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.cmp TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.bsf FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer_inst.vhd FALSE
--- Retrieval info: LIB_FILE: altera_mf
Index: mist_5200_sdcard/pll_ntsc.qip
===================================================================
--- mist_5200_sdcard/pll_ntsc.qip	(revision 231)
+++ mist_5200_sdcard/pll_ntsc.qip	(nonexistent)
@@ -1,5 +0,0 @@
-set_global_assignment -name IP_TOOL_NAME "ALTPLL"
-set_global_assignment -name IP_TOOL_VERSION "13.0"
-set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_ntsc.vhd"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_ntsc.cmp"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_ntsc.ppf"]
Index: mist_5200_sdcard/pll_pal_pre.cmp
===================================================================
--- mist_5200_sdcard/pll_pal_pre.cmp	(revision 231)
+++ mist_5200_sdcard/pll_pal_pre.cmp	(nonexistent)
@@ -1,23 +0,0 @@
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-component pll_pal_pre
-	PORT
-	(
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-end component;
Index: mist_5200_sdcard/pll_pal_post.vhd
===================================================================
--- mist_5200_sdcard/pll_pal_post.vhd	(revision 231)
+++ mist_5200_sdcard/pll_pal_post.vhd	(nonexistent)
@@ -1,461 +0,0 @@
--- megafunction wizard: %ALTPLL%
--- GENERATION: STANDARD
--- VERSION: WM1.0
--- MODULE: altpll 
-
--- ============================================================
--- File Name: pll_pal_post.vhd
--- Megafunction Name(s):
--- 			altpll
---
--- Simulation Library Files(s):
--- 			altera_mf
--- ============================================================
--- ************************************************************
--- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
---
--- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
--- ************************************************************
-
-
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-LIBRARY ieee;
-USE ieee.std_logic_1164.all;
-
-LIBRARY altera_mf;
-USE altera_mf.all;
-
-ENTITY pll_pal_post IS
-	PORT
-	(
-		areset		: IN STD_LOGIC  := '0';
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		c1		: OUT STD_LOGIC ;
-		c2		: OUT STD_LOGIC ;
-		c3		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-END pll_pal_post;
-
-
-ARCHITECTURE SYN OF pll_pal_post IS
-
-	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
-	SIGNAL sub_wire1	: STD_LOGIC ;
-	SIGNAL sub_wire2	: STD_LOGIC ;
-	SIGNAL sub_wire3	: STD_LOGIC ;
-	SIGNAL sub_wire4	: STD_LOGIC ;
-	SIGNAL sub_wire5	: STD_LOGIC ;
-	SIGNAL sub_wire6	: STD_LOGIC ;
-	SIGNAL sub_wire7	: STD_LOGIC_VECTOR (1 DOWNTO 0);
-	SIGNAL sub_wire8_bv	: BIT_VECTOR (0 DOWNTO 0);
-	SIGNAL sub_wire8	: STD_LOGIC_VECTOR (0 DOWNTO 0);
-
-
-
-	COMPONENT altpll
-	GENERIC (
-		bandwidth_type		: STRING;
-		clk0_divide_by		: NATURAL;
-		clk0_duty_cycle		: NATURAL;
-		clk0_multiply_by		: NATURAL;
-		clk0_phase_shift		: STRING;
-		clk1_divide_by		: NATURAL;
-		clk1_duty_cycle		: NATURAL;
-		clk1_multiply_by		: NATURAL;
-		clk1_phase_shift		: STRING;
-		clk2_divide_by		: NATURAL;
-		clk2_duty_cycle		: NATURAL;
-		clk2_multiply_by		: NATURAL;
-		clk2_phase_shift		: STRING;
-		clk3_divide_by		: NATURAL;
-		clk3_duty_cycle		: NATURAL;
-		clk3_multiply_by		: NATURAL;
-		clk3_phase_shift		: STRING;
-		compensate_clock		: STRING;
-		inclk0_input_frequency		: NATURAL;
-		intended_device_family		: STRING;
-		lpm_hint		: STRING;
-		lpm_type		: STRING;
-		operation_mode		: STRING;
-		pll_type		: STRING;
-		port_activeclock		: STRING;
-		port_areset		: STRING;
-		port_clkbad0		: STRING;
-		port_clkbad1		: STRING;
-		port_clkloss		: STRING;
-		port_clkswitch		: STRING;
-		port_configupdate		: STRING;
-		port_fbin		: STRING;
-		port_inclk0		: STRING;
-		port_inclk1		: STRING;
-		port_locked		: STRING;
-		port_pfdena		: STRING;
-		port_phasecounterselect		: STRING;
-		port_phasedone		: STRING;
-		port_phasestep		: STRING;
-		port_phaseupdown		: STRING;
-		port_pllena		: STRING;
-		port_scanaclr		: STRING;
-		port_scanclk		: STRING;
-		port_scanclkena		: STRING;
-		port_scandata		: STRING;
-		port_scandataout		: STRING;
-		port_scandone		: STRING;
-		port_scanread		: STRING;
-		port_scanwrite		: STRING;
-		port_clk0		: STRING;
-		port_clk1		: STRING;
-		port_clk2		: STRING;
-		port_clk3		: STRING;
-		port_clk4		: STRING;
-		port_clk5		: STRING;
-		port_clkena0		: STRING;
-		port_clkena1		: STRING;
-		port_clkena2		: STRING;
-		port_clkena3		: STRING;
-		port_clkena4		: STRING;
-		port_clkena5		: STRING;
-		port_extclk0		: STRING;
-		port_extclk1		: STRING;
-		port_extclk2		: STRING;
-		port_extclk3		: STRING;
-		self_reset_on_loss_lock		: STRING;
-		width_clock		: NATURAL
-	);
-	PORT (
-			areset	: IN STD_LOGIC ;
-			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
-			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
-			locked	: OUT STD_LOGIC 
-	);
-	END COMPONENT;
-
-BEGIN
-	sub_wire8_bv(0 DOWNTO 0) <= "0";
-	sub_wire8    <= To_stdlogicvector(sub_wire8_bv);
-	sub_wire5    <= sub_wire0(2);
-	sub_wire4    <= sub_wire0(0);
-	sub_wire2    <= sub_wire0(3);
-	sub_wire1    <= sub_wire0(1);
-	c1    <= sub_wire1;
-	c3    <= sub_wire2;
-	locked    <= sub_wire3;
-	c0    <= sub_wire4;
-	c2    <= sub_wire5;
-	sub_wire6    <= inclk0;
-	sub_wire7    <= sub_wire8(0 DOWNTO 0) & sub_wire6;
-
-	altpll_component : altpll
-	GENERIC MAP (
-		bandwidth_type => "HIGH",
-		clk0_divide_by => 40,
-		clk0_duty_cycle => 50,
-		clk0_multiply_by => 227,
-		clk0_phase_shift => "0",
-		clk1_divide_by => 80,
-		clk1_duty_cycle => 50,
-		clk1_multiply_by => 227,
-		clk1_phase_shift => "0",
-		clk2_divide_by => 40,
-		clk2_duty_cycle => 50,
-		clk2_multiply_by => 227,
-		clk2_phase_shift => "-2400",
-		clk3_divide_by => 1280,
-		clk3_duty_cycle => 50,
-		clk3_multiply_by => 1,
-		clk3_phase_shift => "0",
-		compensate_clock => "CLK0",
-		inclk0_input_frequency => 50000,
-		intended_device_family => "Cyclone III",
-		lpm_hint => "CBX_MODULE_PREFIX=pll_pal_post",
-		lpm_type => "altpll",
-		operation_mode => "NORMAL",
-		pll_type => "AUTO",
-		port_activeclock => "PORT_UNUSED",
-		port_areset => "PORT_USED",
-		port_clkbad0 => "PORT_UNUSED",
-		port_clkbad1 => "PORT_UNUSED",
-		port_clkloss => "PORT_UNUSED",
-		port_clkswitch => "PORT_UNUSED",
-		port_configupdate => "PORT_UNUSED",
-		port_fbin => "PORT_UNUSED",
-		port_inclk0 => "PORT_USED",
-		port_inclk1 => "PORT_UNUSED",
-		port_locked => "PORT_USED",
-		port_pfdena => "PORT_UNUSED",
-		port_phasecounterselect => "PORT_UNUSED",
-		port_phasedone => "PORT_UNUSED",
-		port_phasestep => "PORT_UNUSED",
-		port_phaseupdown => "PORT_UNUSED",
-		port_pllena => "PORT_UNUSED",
-		port_scanaclr => "PORT_UNUSED",
-		port_scanclk => "PORT_UNUSED",
-		port_scanclkena => "PORT_UNUSED",
-		port_scandata => "PORT_UNUSED",
-		port_scandataout => "PORT_UNUSED",
-		port_scandone => "PORT_UNUSED",
-		port_scanread => "PORT_UNUSED",
-		port_scanwrite => "PORT_UNUSED",
-		port_clk0 => "PORT_USED",
-		port_clk1 => "PORT_USED",
-		port_clk2 => "PORT_USED",
-		port_clk3 => "PORT_USED",
-		port_clk4 => "PORT_UNUSED",
-		port_clk5 => "PORT_UNUSED",
-		port_clkena0 => "PORT_UNUSED",
-		port_clkena1 => "PORT_UNUSED",
-		port_clkena2 => "PORT_UNUSED",
-		port_clkena3 => "PORT_UNUSED",
-		port_clkena4 => "PORT_UNUSED",
-		port_clkena5 => "PORT_UNUSED",
-		port_extclk0 => "PORT_UNUSED",
-		port_extclk1 => "PORT_UNUSED",
-		port_extclk2 => "PORT_UNUSED",
-		port_extclk3 => "PORT_UNUSED",
-		self_reset_on_loss_lock => "OFF",
-		width_clock => 5
-	)
-	PORT MAP (
-		areset => areset,
-		inclk => sub_wire7,
-		clk => sub_wire0,
-		locked => sub_wire3
-	);
-
-
-
-END SYN;
-
--- ============================================================
--- CNX file retrieval info
--- ============================================================
--- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
--- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
--- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
--- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "High"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "0"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "1"
--- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
--- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
--- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
--- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
--- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
--- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
--- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
--- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "40"
--- Retrieval info: PRIVATE: DIV_FACTOR1 NUMERIC "80"
--- Retrieval info: PRIVATE: DIV_FACTOR2 NUMERIC "40"
--- Retrieval info: PRIVATE: DIV_FACTOR3 NUMERIC "1280"
--- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE1 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE2 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE3 STRING "50.00000000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "113.500000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE1 STRING "56.750000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE2 STRING "113.500000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE3 STRING "0.015625"
--- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
--- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
--- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
--- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
--- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "20.000"
--- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
--- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT1 STRING "deg"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT2 STRING "deg"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT3 STRING "deg"
--- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
--- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK1 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK2 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK3 STRING "0"
--- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "227"
--- Retrieval info: PRIVATE: MULT_FACTOR1 NUMERIC "227"
--- Retrieval info: PRIVATE: MULT_FACTOR2 NUMERIC "227"
--- Retrieval info: PRIVATE: MULT_FACTOR3 NUMERIC "1"
--- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ1 STRING "100.00000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ2 STRING "100.00000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ3 STRING "0.10000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE1 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE2 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE3 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT1 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT2 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT3 STRING "MHz"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT1 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT2 STRING "-2.40000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT3 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT1 STRING "deg"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT2 STRING "ns"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT3 STRING "deg"
--- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "1"
--- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
--- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
--- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll_pal_post.mif"
--- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
--- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
--- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
--- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
--- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
--- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
--- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK1 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK2 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK3 STRING "1"
--- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
--- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
--- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK1 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK2 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK3 STRING "1"
--- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA1 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA2 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA3 STRING "0"
--- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
--- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
--- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
--- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "HIGH"
--- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "40"
--- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "227"
--- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: CLK1_DIVIDE_BY NUMERIC "80"
--- Retrieval info: CONSTANT: CLK1_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK1_MULTIPLY_BY NUMERIC "227"
--- Retrieval info: CONSTANT: CLK1_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: CLK2_DIVIDE_BY NUMERIC "40"
--- Retrieval info: CONSTANT: CLK2_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK2_MULTIPLY_BY NUMERIC "227"
--- Retrieval info: CONSTANT: CLK2_PHASE_SHIFT STRING "-2400"
--- Retrieval info: CONSTANT: CLK3_DIVIDE_BY NUMERIC "1280"
--- Retrieval info: CONSTANT: CLK3_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK3_MULTIPLY_BY NUMERIC "1"
--- Retrieval info: CONSTANT: CLK3_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
--- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "50000"
--- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
--- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
--- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
--- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
--- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
--- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
--- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
--- Retrieval info: USED_PORT: areset 0 0 0 0 INPUT GND "areset"
--- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
--- Retrieval info: USED_PORT: c1 0 0 0 0 OUTPUT_CLK_EXT VCC "c1"
--- Retrieval info: USED_PORT: c2 0 0 0 0 OUTPUT_CLK_EXT VCC "c2"
--- Retrieval info: USED_PORT: c3 0 0 0 0 OUTPUT_CLK_EXT VCC "c3"
--- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
--- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
--- Retrieval info: CONNECT: @areset 0 0 0 0 areset 0 0 0 0
--- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
--- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
--- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
--- Retrieval info: CONNECT: c1 0 0 0 0 @clk 0 0 1 1
--- Retrieval info: CONNECT: c2 0 0 0 0 @clk 0 0 1 2
--- Retrieval info: CONNECT: c3 0 0 0 0 @clk 0 0 1 3
--- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.vhd TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.ppf TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.inc FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.cmp TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.bsf FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post_inst.vhd FALSE
--- Retrieval info: LIB_FILE: altera_mf
--- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200_sdcard/build.sh
===================================================================
--- mist_5200_sdcard/build.sh	(revision 231)
+++ mist_5200_sdcard/build.sh	(nonexistent)
@@ -1,83 +0,0 @@
-#!/usr/bin/perl -w
-use strict;
-
-my $wanted_variant = shift @ARGV;
-
-#variants...
-my $NTSC = 0;
-
-my $RGB = 1; # i.e. not scandoubled
-my $VGA = 2;
-
-#Added like this to the generated qsf
-#set_parameter -name TV 1
-
-my %variants = 
-(
-	"NTSC_RGB" =>
-	{
-		"TV" => $NTSC,
-		"SCANDOUBLE" => 0,
-		"VIDEO" => $RGB, 
-		"COMPOSITE_SYNC" => 1
-	},
-	"NTSC_VGA" => 
-	{
-		"TV" => $NTSC,
-		"SCANDOUBLE" => 1,
-		"VIDEO" => $VGA,
-		"COMPOSITE_SYNC" => 0
-	},
-	"NTSC_VGA_CS" => 
-	{
-		"TV" => $NTSC,
-		"SCANDOUBLE" => 1,
-		"VIDEO" => $VGA,
-		"COMPOSITE_SYNC" => 1
-	}
-);
-
-if (not defined $wanted_variant or (not exists $variants{$wanted_variant} and $wanted_variant ne "ALL"))
-{
-	die "Provide variant of ALL or ".join ",",sort keys %variants;
-}
-
-foreach my $variant (sort keys %variants)
-{
-	next if ($wanted_variant ne $variant and $wanted_variant ne "ALL");
-	print "Building $variant\n";
-
-	my $dir = "build_$variant";
-	`rm -rf $dir`;
-	mkdir $dir;
-	`cp atari800core_mist.vhd $dir`;
-	`cp *pll*.* $dir`;
-	`cp *mist_sector*.* $dir`;
-	`cp *.v $dir`;
-	`cp *.vhdl $dir`;
-	`cp zpu_rom.vhdl $dir`;
-	`cp atari800core.sdc $dir`;
-	`mkdir $dir/common`;
-	`mkdir $dir/common/a8core`;
-	`mkdir $dir/common/components`;
-	`mkdir $dir/common/zpu`;
-	`cp ../common/a8core/* ./$dir/common/a8core`;
-	`cp ../common/components/* ./$dir/common/components`;
-	`cp ../common/zpu/* ./$dir/common/zpu`;
-
-	chdir $dir;
-	`../makeqsf ../atari800core.qsf ./common/a8core ./common/components ./common/zpu`;
-
-	foreach my $key (sort keys %{$variants{$variant}})
-	{
-		my $val = $variants{$variant}->{$key};
-		`echo set_parameter -name $key $val >> atari800core.qsf`;
-	}
-
-	`quartus_sh --flow compile atari800core > build.log 2> build.err`;
-
-	`quartus_cpf --convert ../output_file.cof`;
-	
-	chdir "..";
-}
-

Property changes on: mist_5200_sdcard/build.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: mist_5200_sdcard/simulate_data_io.sh
===================================================================
--- mist_5200_sdcard/simulate_data_io.sh	(revision 231)
+++ mist_5200_sdcard/simulate_data_io.sh	(nonexistent)
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-echo "---------------------------------------------------------"
-echo "Use 'simulate -run' to skip compilation stage."
-echo "Use 'simulate -view' to show previous simulation results."
-echo "---------------------------------------------------------"
-
-name=data_io
-
-
-
-. /home/markw/fpga/xilinx/14.7/ISE_DS/settings64.sh
-
-mkdir -p sim
-pushd sim
-
-# if we have a WDB file, we can view it if requested (otherwise we remove it)
-if [ ! -e $name.wdb -o "$1" != "-view" ]; then
-
-    rm -f $name.wdb
-
-    # if we have a EXE, we can run it if requested (otherwise we remove it)
-    if [ ! -e $name.exe -o "$1" != "-run" ]; then
-
-        rm -f $name.exe
-
-        # copy testbench files
-        cp -p ../tb_data/* .
-
-        # copy source files
-	cp ../data_io.vhdl .
-	cp ../../common/components/spi_master.vhd .
-	cp ../../common/components/generic_ram_infer.vhdl .
-
-        # set up project definition file
-	ls *.v | perl -e 'while (<>){s/(.*)/verilog work $1/;print $_;}' | cat > $name.prj
-	ls *.vhd* | perl -e 'while (<>){s/(.*)/vhdl work $1/;print $_;}' | cat >> $name.prj
-	echo NumericStdNoWarnings = 1 >> xilinxsim.ini
-
-        # verbose & no multthreading - fallback in case of problems
-        # fuse -v 1 -mt off -incremental -prj %name%.prj -o %name%.exe -t %name%
-
-        fuse -timeprecision_vhdl 1fs -incremental -prj $name.prj -o $name.exe -t ${name}_tb || exit 1
-        # fuse --mt off -prj %name%.prj -o %name%.exe -t %name%_tb
-
-        # Check for the EXE again, independent of the errorlevel of fuse...
-        [ -e $name.exe ] || echo "No simulation executable created"
-
-
-    fi
-
-    # Open the iSIM GUI and run the simulation
-    ./$name.exe -gui -f ../$name.cmd -wdb $name.wdb -log $name.log -view ../$name.wcfg || exit 1
-    #strace ./$name.exe -gui -f ../$name.cmd -wdb $name.wdb -log $name.log -view ../$name.wcfg >& out
-    #./$name.exe -h -log $name.log 
-
-
-else
-
-    # Only start the viewer on an existing wave configuration (from an old simulation)
-    isimgui -view ../$name.wcfg || exit 1
-
-fi
-
-popd

Property changes on: mist_5200_sdcard/simulate_data_io.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: mist_5200_sdcard/pll_pal_post.ppf
===================================================================
--- mist_5200_sdcard/pll_pal_post.ppf	(revision 231)
+++ mist_5200_sdcard/pll_pal_post.ppf	(nonexistent)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE pinplan>
-<pinplan intended_family="Cyclone III" variation_name="pll_pal_post" megafunction_name="ALTPLL" specifies="all_ports">
-<global>
-<pin name="areset" direction="input" scope="external"  />
-<pin name="inclk0" direction="input" scope="external" source="clock"  />
-<pin name="c0" direction="output" scope="external" source="clock"  />
-<pin name="c1" direction="output" scope="external" source="clock"  />
-<pin name="c2" direction="output" scope="external" source="clock"  />
-<pin name="c3" direction="output" scope="external" source="clock"  />
-<pin name="locked" direction="output" scope="external"  />
-
-</global>
-</pinplan>
Index: mist_5200_sdcard/pll_pal_pre.qip
===================================================================
--- mist_5200_sdcard/pll_pal_pre.qip	(revision 231)
+++ mist_5200_sdcard/pll_pal_pre.qip	(nonexistent)
@@ -1,5 +0,0 @@
-set_global_assignment -name IP_TOOL_NAME "ALTPLL"
-set_global_assignment -name IP_TOOL_VERSION "13.0"
-set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_pal_pre.vhd"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_pre.cmp"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_pre.ppf"]
Index: mist_5200_sdcard/zpu_rom.vhdl
===================================================================
--- mist_5200_sdcard/zpu_rom.vhdl	(revision 231)
+++ mist_5200_sdcard/zpu_rom.vhdl	(nonexistent)
@@ -1,4130 +0,0 @@
-
---
---ROMsUsingBlockRAMResources.
---VHDLcodeforaROMwithregisteredoutput(template2)
---
-library ieee;
-use ieee.std_logic_1164.all;
-use ieee.std_logic_unsigned.all;
-
-entity zpu_rom is
-port(
-        clock:in std_logic;
-        address:in std_logic_vector(11 downto 0);
-        q:out std_logic_vector(31 downto 0)
-);
-end zpu_rom;
-
-architecture syn of zpu_rom is
-        type rom_type is array(0 to 4095) of std_logic_vector(31 downto 0);
-        signal ROM:rom_type:=
-(
-	X"0b0b0b89",
-X"ad040b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"0b0b0b0b",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"71fd0608",
-X"72830609",
-X"81058205",
-X"832b2a83",
-X"ffff0652",
-X"04000000",
-X"00000000",
-X"00000000",
-X"71fd0608",
-X"83ffff73",
-X"83060981",
-X"05820583",
-X"2b2b0906",
-X"7383ffff",
-X"0b0b0b0b",
-X"83a70400",
-X"72098105",
-X"72057373",
-X"09060906",
-X"73097306",
-X"070a8106",
-X"53510400",
-X"00000000",
-X"00000000",
-X"72722473",
-X"732e0753",
-X"51040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"71737109",
-X"71068106",
-X"30720a10",
-X"0a720a10",
-X"0a31050a",
-X"81065151",
-X"53510400",
-X"00000000",
-X"72722673",
-X"732e0753",
-X"51040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"0b0b0b88",
-X"bc040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"720a722b",
-X"0a535104",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72729f06",
-X"0981050b",
-X"0b0b889f",
-X"05040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72722aff",
-X"739f062a",
-X"0974090a",
-X"8106ff05",
-X"06075351",
-X"04000000",
-X"00000000",
-X"00000000",
-X"71715351",
-X"020d0406",
-X"73830609",
-X"81058205",
-X"832b0b2b",
-X"0772fc06",
-X"0c515104",
-X"00000000",
-X"72098105",
-X"72050970",
-X"81050906",
-X"0a810653",
-X"51040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72098105",
-X"72050970",
-X"81050906",
-X"0a098106",
-X"53510400",
-X"00000000",
-X"00000000",
-X"00000000",
-X"71098105",
-X"52040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72720981",
-X"05055351",
-X"04000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72097206",
-X"73730906",
-X"07535104",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"71fc0608",
-X"72830609",
-X"81058305",
-X"1010102a",
-X"81ff0652",
-X"04000000",
-X"00000000",
-X"00000000",
-X"71fc0608",
-X"0b0b80e5",
-X"d0738306",
-X"10100508",
-X"060b0b0b",
-X"88a20400",
-X"00000000",
-X"00000000",
-X"0b0b0b88",
-X"ff040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"0b0b0b88",
-X"d8040000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"72097081",
-X"0509060a",
-X"8106ff05",
-X"70547106",
-X"73097274",
-X"05ff0506",
-X"07515151",
-X"04000000",
-X"72097081",
-X"0509060a",
-X"098106ff",
-X"05705471",
-X"06730972",
-X"7405ff05",
-X"06075151",
-X"51040000",
-X"05ff0504",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"810b80e8",
-X"f00c5104",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00007181",
-X"05520400",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000284",
-X"05721010",
-X"05520400",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00007171",
-X"05ff0571",
-X"5351020d",
-X"04000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"10101010",
-X"10101010",
-X"10101010",
-X"10101010",
-X"10101010",
-X"10101010",
-X"10101010",
-X"10101053",
-X"51047381",
-X"ff067383",
-X"06098105",
-X"83051010",
-X"102b0772",
-X"fc060c51",
-X"51043c04",
-X"72728072",
-X"8106ff05",
-X"09720605",
-X"71105272",
-X"0a100a53",
-X"72ed3851",
-X"51535104",
-X"83e08008",
-X"83e08408",
-X"83e08808",
-X"757580df",
-X"fe2d5050",
-X"83e08008",
-X"5683e088",
-X"0c83e084",
-X"0c83e080",
-X"0c510483",
-X"e0800883",
-X"e0840883",
-X"e0880875",
-X"7580de92",
-X"2d505083",
-X"e0800856",
-X"83e0880c",
-X"83e0840c",
-X"83e0800c",
-X"51040000",
-X"800489aa",
-X"0489aa0b",
-X"80d9d404",
-X"f43d0d7e",
-X"8f3dec11",
-X"56565890",
-X"53f01552",
-X"775193b0",
-X"3f83e080",
-X"0880d638",
-X"78902e09",
-X"810680cd",
-X"3802ab05",
-X"3380e8f8",
-X"0b80e8f8",
-X"33575856",
-X"8c397476",
-X"2e8a3884",
-X"17703356",
-X"5774f338",
-X"76337057",
-X"5574802e",
-X"ac388217",
-X"22708a2b",
-X"903dec05",
-X"56705556",
-X"5696800a",
-X"52775192",
-X"df3f83e0",
-X"80088638",
-X"78752e85",
-X"38805685",
-X"39811733",
-X"567583e0",
-X"800c8e3d",
-X"0d04fc3d",
-X"0d767052",
-X"55b3923f",
-X"83e08008",
-X"15ff0554",
-X"73752e8e",
-X"38733353",
-X"72ae2e86",
-X"38ff1454",
-X"ef397752",
-X"811451b2",
-X"aa3f83e0",
-X"80083070",
-X"83e08008",
-X"07802583",
-X"e0800c53",
-X"863d0d04",
-X"fc3d0d76",
-X"70525599",
-X"cb3f83e0",
-X"80085481",
-X"5383e080",
-X"0880c738",
-X"7451998e",
-X"3f83e080",
-X"080b0b80",
-X"e7b05383",
-X"e0800852",
-X"53ff8f3f",
-X"83e08008",
-X"a5380b0b",
-X"80e7b452",
-X"7251fefe",
-X"3f83e080",
-X"0894380b",
-X"0b80e7b8",
-X"527251fe",
-X"ed3f83e0",
-X"8008802e",
-X"83388154",
-X"73537283",
-X"e0800c86",
-X"3d0d04fd",
-X"3d0d7570",
-X"525498e4",
-X"3f815383",
-X"e0800898",
-X"38735198",
-X"ad3f83e0",
-X"a0085283",
-X"e0800851",
-X"feb43f83",
-X"e0800853",
-X"7283e080",
-X"0c853d0d",
-X"04e03d0d",
-X"a33d0870",
-X"525e8ed3",
-X"3f83e080",
-X"0833943d",
-X"56547394",
-X"3880ea80",
-X"52745184",
-X"c7397d52",
-X"785191d6",
-X"3f84d139",
-X"7d518ebb",
-X"3f83e080",
-X"08527451",
-X"8deb3f83",
-X"e0a80852",
-X"933d7052",
-X"5d94c63f",
-X"83e08008",
-X"59800b83",
-X"e0800855",
-X"5b83e080",
-X"087b2e94",
-X"38811b74",
-X"525b97c7",
-X"3f83e080",
-X"085483e0",
-X"8008ee38",
-X"805aff7a",
-X"437a427a",
-X"415f7909",
-X"709f2c7b",
-X"065b547a",
-X"7a248438",
-X"ff1b5af6",
-X"1a700970",
-X"9f2c7206",
-X"7bff125a",
-X"5a525555",
-X"80752595",
-X"38765197",
-X"863f83e0",
-X"800876ff",
-X"18585557",
-X"738024ed",
-X"38747f2e",
-X"873880c2",
-X"db3f745f",
-X"78ff1b70",
-X"585d5880",
-X"7a259538",
-X"775196db",
-X"3f83e080",
-X"0876ff18",
-X"58555873",
-X"8024ed38",
-X"800b83e7",
-X"bc0c800b",
-X"83e7e00c",
-X"0b0b80e7",
-X"bc518bae",
-X"3f81800b",
-X"83e7e00c",
-X"0b0b80e7",
-X"c4518b9e",
-X"3fa80b83",
-X"e7bc0c76",
-X"802e80e8",
-X"3883e7bc",
-X"08777932",
-X"70307072",
-X"07802570",
-X"872b83e7",
-X"e00c5156",
-X"78535656",
-X"968e3f83",
-X"e0800880",
-X"2e8a380b",
-X"0b80e7cc",
-X"518ae33f",
-X"765195ce",
-X"3f83e080",
-X"08520b0b",
-X"80e88051",
-X"8ad03f76",
-X"5195d43f",
-X"83e08008",
-X"83e7bc08",
-X"55577574",
-X"258638a8",
-X"1656f739",
-X"7583e7bc",
-X"0c86f076",
-X"24ff9438",
-X"87980b83",
-X"e7bc0c77",
-X"802eb738",
-X"7751958a",
-X"3f83e080",
-X"08785255",
-X"95aa3f0b",
-X"0b80e7d4",
-X"5483e080",
-X"088f3887",
-X"39807634",
-X"fd95390b",
-X"0b80e7d0",
-X"54745373",
-X"520b0b80",
-X"e7a05189",
-X"e93f8054",
-X"0b0b80e7",
-X"a85189de",
-X"3f811454",
-X"73a82e09",
-X"8106ed38",
-X"868da051",
-X"bed13f80",
-X"52903d70",
-X"525480cc",
-X"e63f8352",
-X"735180cc",
-X"de3f6180",
-X"2e80ff38",
-X"7b5473ff",
-X"2e963878",
-X"802e8180",
-X"38785194",
-X"aa3f83e0",
-X"8008ff15",
-X"5559e739",
-X"78802e80",
-X"eb387851",
-X"94a63f83",
-X"e0800880",
-X"2efc8338",
-X"785193ee",
-X"3f83e080",
-X"08520b0b",
-X"80e7ac51",
-X"abcc3f83",
-X"e08008a4",
-X"387c51ad",
-X"843f83e0",
-X"80085574",
-X"ff165654",
-X"807425fb",
-X"ee38741d",
-X"70335556",
-X"73af2efe",
-X"c838e839",
-X"785193ac",
-X"3f83e080",
-X"08527c51",
-X"acbb3ffb",
-X"ce397f88",
-X"29601005",
-X"7a056105",
-X"5afbff39",
-X"a23d0d04",
-X"803d0d90",
-X"80f83370",
-X"81ff0670",
-X"842a8132",
-X"70810651",
-X"51515170",
-X"802e8d38",
-X"a80b9080",
-X"f834b80b",
-X"9080f834",
-X"7083e080",
-X"0c823d0d",
-X"04803d0d",
-X"9080f833",
-X"7081ff06",
-X"70852a81",
-X"32708106",
-X"51515151",
-X"70802e8d",
-X"38980b90",
-X"80f834b8",
-X"0b9080f8",
-X"347083e0",
-X"800c823d",
-X"0d04930b",
-X"9080fc34",
-X"ff0b9080",
-X"e83404ff",
-X"3d0d028f",
-X"05335280",
-X"0b9080fc",
-X"348a51bc",
-X"a63fdf3f",
-X"80f80b90",
-X"80e03480",
-X"0b9080c8",
-X"34fa1252",
-X"719080c0",
-X"34800b90",
-X"80d83471",
-X"9080d034",
-X"9080f852",
-X"807234b8",
-X"7234833d",
-X"0d04803d",
-X"0d028b05",
-X"33517090",
-X"80f434fe",
-X"bf3f83e0",
-X"8008802e",
-X"f638823d",
-X"0d04803d",
-X"0d853980",
-X"c5a23ffe",
-X"d83f83e0",
-X"8008802e",
-X"f2389080",
-X"f4337081",
-X"ff0683e0",
-X"800c5182",
-X"3d0d0480",
-X"3d0da30b",
-X"9080fc34",
-X"ff0b9080",
-X"e8349080",
-X"f851a871",
-X"34b87134",
-X"823d0d04",
-X"803d0d90",
-X"80fc3370",
-X"81c00670",
-X"30708025",
-X"83e0800c",
-X"51515182",
-X"3d0d0480",
-X"3d0d9080",
-X"f8337081",
-X"ff067083",
-X"2a813270",
-X"81065151",
-X"51517080",
-X"2ee838b0",
-X"0b9080f8",
-X"34b80b90",
-X"80f83482",
-X"3d0d0480",
-X"3d0d9080",
-X"ac088106",
-X"83e0800c",
-X"823d0d04",
-X"fd3d0d75",
-X"77545480",
-X"73259438",
-X"73708105",
-X"55335280",
-X"e7d85185",
-X"a13fff13",
-X"53e93985",
-X"3d0d04f6",
-X"3d0d7c7e",
-X"60625a5d",
-X"5b568059",
-X"81558539",
-X"747a2955",
-X"74527551",
-X"80c8f53f",
-X"83e08008",
-X"7a27ed38",
-X"74802e80",
-X"e0387452",
-X"755180c8",
-X"df3f83e0",
-X"80087553",
-X"76525480",
-X"c9853f83",
-X"e080087a",
-X"53755256",
-X"80c8c53f",
-X"83e08008",
-X"7930707b",
-X"079f2a70",
-X"77802407",
-X"51515455",
-X"72873883",
-X"e08008c2",
-X"38768118",
-X"b0165558",
-X"58897425",
-X"8b38b714",
-X"537a8538",
-X"80d71453",
-X"72783481",
-X"1959ff9c",
-X"39807734",
-X"8c3d0d04",
-X"f73d0d7b",
-X"7d7f6202",
-X"9005bb05",
-X"33575956",
-X"5a5ab058",
-X"728338a0",
-X"58757070",
-X"81055233",
-X"71595455",
-X"90398074",
-X"258e38ff",
-X"14777081",
-X"05593354",
-X"5472ef38",
-X"73ff1555",
-X"53807325",
-X"89387752",
-X"7951782d",
-X"ef397533",
-X"75575372",
-X"802e9038",
-X"72527951",
-X"782d7570",
-X"81055733",
-X"53ed398b",
-X"3d0d04ee",
-X"3d0d6466",
-X"69697070",
-X"81055233",
-X"5b4a5c5e",
-X"5e76802e",
-X"82f93876",
-X"a52e0981",
-X"0682e038",
-X"80704167",
-X"70708105",
-X"5233714a",
-X"59575f76",
-X"b02e0981",
-X"068c3875",
-X"70810557",
-X"33764857",
-X"815fd017",
-X"56758926",
-X"80da3876",
-X"675c5980",
-X"5c933977",
-X"8a2480c3",
-X"387b8a29",
-X"187b7081",
-X"055d335a",
-X"5cd01970",
-X"81ff0658",
-X"58897727",
-X"a438ff9f",
-X"197081ff",
-X"06ffa91b",
-X"5a515685",
-X"76279238",
-X"ffbf1970",
-X"81ff0651",
-X"56758526",
-X"8a38c919",
-X"58778025",
-X"ffb9387a",
-X"477b4078",
-X"81ff0657",
-X"7680e42e",
-X"80e53876",
-X"80e424a7",
-X"387680d8",
-X"2e818638",
-X"7680d824",
-X"90387680",
-X"2e81cc38",
-X"76a52e81",
-X"b63881b9",
-X"397680e3",
-X"2e818c38",
-X"81af3976",
-X"80f52e9b",
-X"387680f5",
-X"248b3876",
-X"80f32e81",
-X"81388199",
-X"397680f8",
-X"2e80ca38",
-X"818f3991",
-X"3d705557",
-X"80538a52",
-X"79841b71",
-X"08535b56",
-X"fbfd3f76",
-X"55ab3979",
-X"841b7108",
-X"943d705b",
-X"5b525b56",
-X"7580258c",
-X"38753056",
-X"ad783402",
-X"80c10557",
-X"76548053",
-X"8a527551",
-X"fbd13f77",
-X"557e54b8",
-X"39913d70",
-X"557780d8",
-X"32703070",
-X"80255651",
-X"58569052",
-X"79841b71",
-X"08535b57",
-X"fbad3f75",
-X"55db3979",
-X"841b8312",
-X"33545b56",
-X"98397984",
-X"1b710857",
-X"5b568054",
-X"7f537c52",
-X"7d51fc9c",
-X"3f873976",
-X"527d517c",
-X"2d667033",
-X"58810547",
-X"fd833994",
-X"3d0d0472",
-X"83e0900c",
-X"7183e094",
-X"0c04fb3d",
-X"0d883d70",
-X"70840552",
-X"08575475",
-X"5383e090",
-X"085283e0",
-X"940851fc",
-X"c63f873d",
-X"0d04ff3d",
-X"0d737008",
-X"53510293",
-X"05337234",
-X"70088105",
-X"710c833d",
-X"0d04fc3d",
-X"0d873d88",
-X"11557854",
-X"99d25351",
-X"fc993f80",
-X"52873d51",
-X"d13f863d",
-X"0d04fd3d",
-X"0d757052",
-X"54a3c23f",
-X"83e08008",
-X"14537274",
-X"2e9238ff",
-X"13703353",
-X"5371af2e",
-X"098106ee",
-X"38811353",
-X"7283e080",
-X"0c853d0d",
-X"04fd3d0d",
-X"75777053",
-X"5454c73f",
-X"83e08008",
-X"732ea138",
-X"83e08008",
-X"733152ff",
-X"125271ff",
-X"2e8f3872",
-X"70810554",
-X"33747081",
-X"055634eb",
-X"39ff1454",
-X"80743485",
-X"3d0d0480",
-X"3d0d7251",
-X"ff903f82",
-X"3d0d0471",
-X"83e0800c",
-X"04803d0d",
-X"72518071",
-X"34810bbc",
-X"120c800b",
-X"80c0120c",
-X"823d0d04",
-X"800b83e2",
-X"d408248a",
-X"38a4ac3f",
-X"ff0b83e2",
-X"d40c800b",
-X"83e0800c",
-X"04ff3d0d",
-X"735283e0",
-X"b008722e",
-X"8d38d93f",
-X"71519697",
-X"3f7183e0",
-X"b00c833d",
-X"0d04f43d",
-X"0d7e6062",
-X"5c5a5581",
-X"54bc1508",
-X"81913874",
-X"51cf3f79",
-X"58807a25",
-X"80f73883",
-X"e3840870",
-X"892a5783",
-X"ff067884",
-X"80723156",
-X"56577378",
-X"25833873",
-X"557583e2",
-X"d4082e84",
-X"38ff893f",
-X"83e2d408",
-X"8025a638",
-X"75892b51",
-X"98da3f83",
-X"e384088f",
-X"3dfc1155",
-X"5c548152",
-X"f81b5196",
-X"c43f7614",
-X"83e3840c",
-X"7583e2d4",
-X"0c745376",
-X"527851a2",
-X"dd3f83e0",
-X"800883e3",
-X"84081683",
-X"e3840c78",
-X"7631761b",
-X"5b595677",
-X"8024ff8b",
-X"38617a71",
-X"0c547554",
-X"75802e83",
-X"38815473",
-X"83e0800c",
-X"8e3d0d04",
-X"fc3d0dfe",
-X"9b3f7651",
-X"feaf3f86",
-X"3dfc0553",
-X"78527751",
-X"95e73f79",
-X"75710c54",
-X"83e08008",
-X"5483e080",
-X"08802e83",
-X"38815473",
-X"83e0800c",
-X"863d0d04",
-X"fe3d0d75",
-X"83e2d408",
-X"53538072",
-X"24893871",
-X"732e8438",
-X"fdd63f74",
-X"51fdea3f",
-X"725197ac",
-X"3f83e080",
-X"085283e0",
-X"8008802e",
-X"83388152",
-X"7183e080",
-X"0c843d0d",
-X"04803d0d",
-X"7280c011",
-X"0883e080",
-X"0c51823d",
-X"0d04803d",
-X"0d72bc11",
-X"0883e080",
-X"0c51823d",
-X"0d0480c4",
-X"0b83e080",
-X"0c04fd3d",
-X"0d757771",
-X"54705355",
-X"539f9a3f",
-X"82c81308",
-X"bc150c82",
-X"c0130880",
-X"c0150cfc",
-X"eb3f7351",
-X"93a93f73",
-X"83e0b00c",
-X"83e08008",
-X"5383e080",
-X"08802e83",
-X"38815372",
-X"83e0800c",
-X"853d0d04",
-X"fd3d0d75",
-X"775553fc",
-X"bf3f7280",
-X"2ea538bc",
-X"13085273",
-X"519ea43f",
-X"83e08008",
-X"8f387752",
-X"7251ff9a",
-X"3f83e080",
-X"08538a39",
-X"82cc1308",
-X"53d83981",
-X"537283e0",
-X"800c853d",
-X"0d04fe3d",
-X"0dff0b83",
-X"e2d40c74",
-X"83e0b40c",
-X"7583e2d0",
-X"0c9f913f",
-X"83e08008",
-X"81ff0652",
-X"81537199",
-X"3883e2ec",
-X"518e933f",
-X"83e08008",
-X"5283e080",
-X"08802e83",
-X"38725271",
-X"537283e0",
-X"800c843d",
-X"0d04fa3d",
-X"0d787a82",
-X"c4120882",
-X"c4120870",
-X"72245956",
-X"56575773",
-X"732e0981",
-X"06913880",
-X"c0165280",
-X"c017519c",
-X"953f83e0",
-X"80085574",
-X"83e0800c",
-X"883d0d04",
-X"f63d0d7c",
-X"5b807b71",
-X"5c54577a",
-X"772e8c38",
-X"811a82cc",
-X"1408545a",
-X"72f63880",
-X"5980d939",
-X"7a548157",
-X"80707b7b",
-X"315a5755",
-X"ff185374",
-X"732580c1",
-X"3882cc14",
-X"08527351",
-X"ff8c3f80",
-X"0b83e080",
-X"0825a138",
-X"82cc1408",
-X"82cc1108",
-X"82cc160c",
-X"7482cc12",
-X"0c537580",
-X"2e863872",
-X"82cc170c",
-X"72548057",
-X"7382cc15",
-X"08811757",
-X"5556ffb8",
-X"39811959",
-X"800bff1b",
-X"54547873",
-X"25833881",
-X"54768132",
-X"70750651",
-X"5372ff90",
-X"388c3d0d",
-X"04f73d0d",
-X"7b7d5a5a",
-X"82d05283",
-X"e2d00851",
-X"bbfe3f83",
-X"e0800857",
-X"f9e23f79",
-X"5283e2d8",
-X"5195b43f",
-X"83e08008",
-X"54805383",
-X"e0800873",
-X"2e098106",
-X"82833883",
-X"e0b4080b",
-X"0b80e7ac",
-X"53705256",
-X"9bd33f0b",
-X"0b80e7ac",
-X"5280c016",
-X"519bc63f",
-X"75bc170c",
-X"7382c017",
-X"0c810b82",
-X"c4170c81",
-X"0b82c817",
-X"0c7382cc",
-X"170cff17",
-X"82d01755",
-X"57819139",
-X"83e0c033",
-X"70822a70",
-X"81065154",
-X"55728180",
-X"3874812a",
-X"81065877",
-X"80f63874",
-X"842a8106",
-X"82c4150c",
-X"83e0c033",
-X"810682c8",
-X"150c7952",
-X"73519aed",
-X"3f73519b",
-X"843f83e0",
-X"80081453",
-X"af737081",
-X"05553472",
-X"bc150c83",
-X"e0c15272",
-X"519ace3f",
-X"83e0b808",
-X"82c0150c",
-X"83e0ce52",
-X"80c01451",
-X"9abb3f78",
-X"802e8d38",
-X"7351782d",
-X"83e08008",
-X"802e9938",
-X"7782cc15",
-X"0c75802e",
-X"86387382",
-X"cc170c73",
-X"82d015ff",
-X"19595556",
-X"76802e9b",
-X"3883e0b8",
-X"5283e2d8",
-X"5194aa3f",
-X"83e08008",
-X"8a3883e0",
-X"c1335372",
-X"fed23878",
-X"802e8938",
-X"83e0b408",
-X"51fcb93f",
-X"83e0b408",
-X"537283e0",
-X"800c8b3d",
-X"0d04ff3d",
-X"0d805273",
-X"51fdb63f",
-X"833d0d04",
-X"f03d0d62",
-X"705254f6",
-X"913f83e0",
-X"80087453",
-X"873d7053",
-X"5555f6b1",
-X"3ff7913f",
-X"7351d33f",
-X"63537452",
-X"83e08008",
-X"51fab93f",
-X"923d0d04",
-X"7183e080",
-X"0c0480c0",
-X"1283e080",
-X"0c04803d",
-X"0d7282c0",
-X"110883e0",
-X"800c5182",
-X"3d0d0480",
-X"3d0d7282",
-X"cc110883",
-X"e0800c51",
-X"823d0d04",
-X"803d0d72",
-X"82c41108",
-X"83e0800c",
-X"51823d0d",
-X"04f93d0d",
-X"7983e098",
-X"08575781",
-X"77278196",
-X"38768817",
-X"0827818e",
-X"38753355",
-X"74822e89",
-X"3874832e",
-X"b33880fe",
-X"39745476",
-X"1083fe06",
-X"5376882a",
-X"8c170805",
-X"52893dfc",
-X"055199c0",
-X"3f83e080",
-X"0880df38",
-X"029d0533",
-X"893d3371",
-X"882b0756",
-X"5680d139",
-X"84547682",
-X"2b83fc06",
-X"5376872a",
-X"8c170805",
-X"52893dfc",
-X"05519990",
-X"3f83e080",
-X"08b03802",
-X"9f053302",
-X"84059e05",
-X"3371982b",
-X"71902b07",
-X"028c059d",
-X"05337088",
-X"2b72078d",
-X"3d337180",
-X"fffffe80",
-X"06075152",
-X"53575856",
-X"83398155",
-X"7483e080",
-X"0c893d0d",
-X"04fb3d0d",
-X"83e09808",
-X"fe198812",
-X"08fe0555",
-X"56548056",
-X"7473278d",
-X"38821433",
-X"75712994",
-X"16080557",
-X"537583e0",
-X"800c873d",
-X"0d04fc3d",
-X"0d765280",
-X"0b83e098",
-X"08703351",
-X"52537083",
-X"2e098106",
-X"91389512",
-X"33941333",
-X"71982b71",
-X"902b0755",
-X"55519b12",
-X"339a1333",
-X"71882b07",
-X"740783e0",
-X"800c5586",
-X"3d0d04fc",
-X"3d0d7683",
-X"e0980855",
-X"55807523",
-X"88150853",
-X"72812e88",
-X"38881408",
-X"73268538",
-X"8152b239",
-X"72903873",
-X"33527183",
-X"2e098106",
-X"85389014",
-X"0853728c",
-X"160c7280",
-X"2e8d3872",
-X"51fed63f",
-X"83e08008",
-X"52853990",
-X"14085271",
-X"90160c80",
-X"527183e0",
-X"800c863d",
-X"0d04fa3d",
-X"0d7883e0",
-X"98087122",
-X"81057083",
-X"ffff0657",
-X"54575573",
-X"802e8838",
-X"90150853",
-X"72863883",
-X"5280e739",
-X"738f0652",
-X"7180da38",
-X"81139016",
-X"0c8c1508",
-X"53729038",
-X"830b8417",
-X"22575273",
-X"762780c6",
-X"38bf3982",
-X"1633ff05",
-X"74842a06",
-X"5271b238",
-X"7251fcb1",
-X"3f815271",
-X"83e08008",
-X"27a83883",
-X"5283e080",
-X"08881708",
-X"279c3883",
-X"e080088c",
-X"160c83e0",
-X"800851fd",
-X"bc3f83e0",
-X"80089016",
-X"0c737523",
-X"80527183",
-X"e0800c88",
-X"3d0d04f2",
-X"3d0d6062",
-X"64585e5b",
-X"75335574",
-X"a02e0981",
-X"06883881",
-X"16704456",
-X"ef396270",
-X"33565674",
-X"af2e0981",
-X"06843881",
-X"1643800b",
-X"881c0c62",
-X"70335155",
-X"749f2691",
-X"387a51fd",
-X"d23f83e0",
-X"80085680",
-X"7d348381",
-X"39933d84",
-X"1c087058",
-X"595f8a55",
-X"a0767081",
-X"055834ff",
-X"155574ff",
-X"2e098106",
-X"ef388070",
-X"5a5c887f",
-X"085f5a7b",
-X"811d7081",
-X"ff066013",
-X"703370af",
-X"327030a0",
-X"73277180",
-X"25075151",
-X"525b535e",
-X"57557480",
-X"e73876ae",
-X"2e098106",
-X"83388155",
-X"787a2775",
-X"07557480",
-X"2e9f3879",
-X"88327030",
-X"78ae3270",
-X"30707307",
-X"9f2a5351",
-X"57515675",
-X"bb388859",
-X"8b5affab",
-X"3976982b",
-X"55748025",
-X"873880e4",
-X"e0173357",
-X"ff9f1755",
-X"74992689",
-X"38e01770",
-X"81ff0658",
-X"5578811a",
-X"7081ff06",
-X"721b535b",
-X"57557675",
-X"34fef839",
-X"7b1e7f0c",
-X"805576a0",
-X"26833881",
-X"55748b19",
-X"347a51fc",
-X"823f83e0",
-X"800880f5",
-X"38a0547a",
-X"2270852b",
-X"83e00654",
-X"55901b08",
-X"527c5193",
-X"cb3f83e0",
-X"80085783",
-X"e0800881",
-X"81387c33",
-X"5574802e",
-X"80f4388b",
-X"1d337083",
-X"2a708106",
-X"51565674",
-X"b4388b7d",
-X"841d0883",
-X"e0800859",
-X"5b5b58ff",
-X"185877ff",
-X"2e9a3879",
-X"7081055b",
-X"33797081",
-X"055b3371",
-X"71315256",
-X"5675802e",
-X"e2388639",
-X"75802e96",
-X"387a51fb",
-X"e53fff86",
-X"3983e080",
-X"085683e0",
-X"8008b638",
-X"83397656",
-X"841b088b",
-X"11335155",
-X"74a7388b",
-X"1d337084",
-X"2a708106",
-X"51565674",
-X"89388356",
-X"94398156",
-X"90397c51",
-X"fa943f83",
-X"e0800888",
-X"1c0cfd81",
-X"397583e0",
-X"800c903d",
-X"0d04f83d",
-X"0d7a7c59",
-X"57825483",
-X"fe537752",
-X"76519290",
-X"3f835683",
-X"e0800880",
-X"ec388117",
-X"33773371",
-X"882b0756",
-X"56825674",
-X"82d4d52e",
-X"09810680",
-X"d4387554",
-X"b6537752",
-X"765191e4",
-X"3f83e080",
-X"08983881",
-X"17337733",
-X"71882b07",
-X"83e08008",
-X"52565674",
-X"8182c62e",
-X"ac388254",
-X"80d25377",
-X"52765191",
-X"bb3f83e0",
-X"80089838",
-X"81173377",
-X"3371882b",
-X"0783e080",
-X"08525656",
-X"748182c6",
-X"2e833881",
-X"567583e0",
-X"800c8a3d",
-X"0d04eb3d",
-X"0d675a80",
-X"0b83e098",
-X"0c90dd3f",
-X"83e08008",
-X"81065582",
-X"567483ee",
-X"38747553",
-X"8f3d7053",
-X"5759feca",
-X"3f83e080",
-X"0881ff06",
-X"5776812e",
-X"09810680",
-X"d4389054",
-X"83be5374",
-X"52755190",
-X"cf3f83e0",
-X"800880c9",
-X"388f3d33",
-X"5574802e",
-X"80c93802",
-X"bf053302",
-X"8405be05",
-X"3371982b",
-X"71902b07",
-X"028c05bd",
-X"05337088",
-X"2b720795",
-X"3d337107",
-X"70587b57",
-X"5e525e57",
-X"5957fdee",
-X"3f83e080",
-X"0881ff06",
-X"5776832e",
-X"09810686",
-X"38815682",
-X"f1397680",
-X"2e863886",
-X"5682e739",
-X"a4548d53",
-X"78527551",
-X"8fe63f81",
-X"5683e080",
-X"0882d338",
-X"02be0533",
-X"028405bd",
-X"05337188",
-X"2b07595d",
-X"77ab3802",
-X"80ce0533",
-X"02840580",
-X"cd053371",
-X"982b7190",
-X"2b07973d",
-X"3370882b",
-X"72070294",
-X"0580cb05",
-X"33710754",
-X"525e5759",
-X"5602b705",
-X"33787129",
-X"028805b6",
-X"0533028c",
-X"05b50533",
-X"71882b07",
-X"701d707f",
-X"8c050c5f",
-X"5957595d",
-X"8e3d3382",
-X"1b3402b9",
-X"0533903d",
-X"3371882b",
-X"075a5c78",
-X"841b2302",
-X"bb053302",
-X"8405ba05",
-X"3371882b",
-X"07565c74",
-X"ab380280",
-X"ca053302",
-X"840580c9",
-X"05337198",
-X"2b71902b",
-X"07963d33",
-X"70882b72",
-X"07029405",
-X"80c70533",
-X"71075152",
-X"53575e5c",
-X"74763178",
-X"3179842a",
-X"903d3354",
-X"71713153",
-X"5656ace4",
-X"3f83e080",
-X"08820570",
-X"881c0c83",
-X"e08008e0",
-X"8a055656",
-X"7483dffe",
-X"26833882",
-X"5783fff6",
-X"76278538",
-X"83578939",
-X"86567680",
-X"2e80db38",
-X"767a3476",
-X"832e0981",
-X"06b03802",
-X"80d60533",
-X"02840580",
-X"d5053371",
-X"982b7190",
-X"2b07993d",
-X"3370882b",
-X"72070294",
-X"0580d305",
-X"3371077f",
-X"90050c52",
-X"5e575856",
-X"8639771b",
-X"901b0c84",
-X"1a228c1b",
-X"08197184",
-X"2a05941c",
-X"0c5d800b",
-X"811b3479",
-X"83e0980c",
-X"80567583",
-X"e0800c97",
-X"3d0d04e9",
-X"3d0d83e0",
-X"98085685",
-X"5475802e",
-X"81823880",
-X"0b811734",
-X"993de011",
-X"466a548a",
-X"3d705458",
-X"ec0551f6",
-X"e63f83e0",
-X"80085483",
-X"e0800880",
-X"df38893d",
-X"33547380",
-X"2e913802",
-X"ab053370",
-X"842a8106",
-X"51557480",
-X"2e863883",
-X"5480c139",
-X"7651f48a",
-X"3f83e080",
-X"08a0170c",
-X"02bf0533",
-X"028405be",
-X"05337198",
-X"2b71902b",
-X"07028c05",
-X"bd053370",
-X"882b7207",
-X"953d3371",
-X"079c1c0c",
-X"5278981b",
-X"0c535659",
-X"57810b81",
-X"17347454",
-X"7383e080",
-X"0c993d0d",
-X"04f53d0d",
-X"7d7f6172",
-X"83e09808",
-X"5a5d5d59",
-X"5c807b0c",
-X"85577580",
-X"2e81e038",
-X"81163381",
-X"06558457",
-X"74802e81",
-X"d2389139",
-X"74811734",
-X"8639800b",
-X"81173481",
-X"5781c039",
-X"9c160898",
-X"17083155",
-X"74782783",
-X"38745877",
-X"802e81a9",
-X"38981608",
-X"7083ff06",
-X"56577480",
-X"cf388216",
-X"33ff0577",
-X"892a0670",
-X"81ff065a",
-X"5578a038",
-X"768738a0",
-X"1608558d",
-X"39a41608",
-X"51f0ea3f",
-X"83e08008",
-X"55817527",
-X"ffa83874",
-X"a4170ca4",
-X"160851f2",
-X"843f83e0",
-X"80085583",
-X"e0800880",
-X"2eff8938",
-X"83e08008",
-X"19a8170c",
-X"98160883",
-X"ff068480",
-X"71315155",
-X"77752783",
-X"38775574",
-X"83ffff06",
-X"54981608",
-X"83ff0653",
-X"a8160852",
-X"79577b83",
-X"387b5776",
-X"518a8d3f",
-X"83e08008",
-X"fed03898",
-X"16081598",
-X"170c741a",
-X"7876317c",
-X"08177d0c",
-X"595afed3",
-X"39805776",
-X"83e0800c",
-X"8d3d0d04",
-X"fa3d0d78",
-X"83e09808",
-X"55568555",
-X"73802e81",
-X"e1388114",
-X"33810653",
-X"84557280",
-X"2e81d338",
-X"9c140853",
-X"72762783",
-X"38725698",
-X"14085780",
-X"0b98150c",
-X"75802e81",
-X"b7388214",
-X"3370892b",
-X"56537680",
-X"2eb53874",
-X"52ff1651",
-X"a7e63f83",
-X"e08008ff",
-X"18765470",
-X"535853a7",
-X"d73f83e0",
-X"80087326",
-X"96387430",
-X"70780670",
-X"98170c77",
-X"7131a417",
-X"08525851",
-X"538939a0",
-X"140870a4",
-X"160c5374",
-X"7627b938",
-X"7251eed9",
-X"3f83e080",
-X"0853810b",
-X"83e08008",
-X"278b3888",
-X"140883e0",
-X"80082688",
-X"38800b81",
-X"1534b039",
-X"83e08008",
-X"a4150c98",
-X"14081598",
-X"150c7575",
-X"3156c439",
-X"98140816",
-X"7098160c",
-X"735256ef",
-X"c83f83e0",
-X"80088c38",
-X"83e08008",
-X"81153481",
-X"55943982",
-X"1433ff05",
-X"76892a06",
-X"83e08008",
-X"05a8150c",
-X"80557483",
-X"e0800c88",
-X"3d0d04ef",
-X"3d0d6356",
-X"855583e0",
-X"9808802e",
-X"80d23893",
-X"3df40584",
-X"170c6453",
-X"883d7053",
-X"765257f1",
-X"d23f83e0",
-X"80085583",
-X"e08008b4",
-X"38883d33",
-X"5473802e",
-X"a13802a7",
-X"05337084",
-X"2a708106",
-X"51555583",
-X"5573802e",
-X"97387651",
-X"eef83f83",
-X"e0800888",
-X"170c7551",
-X"efa93f83",
-X"e0800855",
-X"7483e080",
-X"0c933d0d",
-X"04e43d0d",
-X"6ea13d08",
-X"405e8556",
-X"83e09808",
-X"802e8485",
-X"389e3df4",
-X"05841f0c",
-X"7e98387d",
-X"51eef83f",
-X"83e08008",
-X"5683ee39",
-X"814181f6",
-X"39834181",
-X"f139933d",
-X"7f960541",
-X"59807f82",
-X"95055e56",
-X"756081ff",
-X"05348341",
-X"901e0876",
-X"2e81d338",
-X"a0547d22",
-X"70852b83",
-X"e0065458",
-X"901e0852",
-X"78518698",
-X"3f83e080",
-X"084183e0",
-X"8008ffb8",
-X"3878335c",
-X"7b802eff",
-X"b4388b19",
-X"3370bf06",
-X"71810652",
-X"43557480",
-X"2e80de38",
-X"7b81bf06",
-X"55748f24",
-X"80d3389a",
-X"19335574",
-X"80cb38f3",
-X"1d70585d",
-X"8156758b",
-X"2e098106",
-X"85388e56",
-X"8b39759a",
-X"2e098106",
-X"83389c56",
-X"75197070",
-X"81055233",
-X"7133811a",
-X"821a5f5b",
-X"525b5574",
-X"86387977",
-X"34853980",
-X"df773477",
-X"7b57577a",
-X"a02e0981",
-X"06c03881",
-X"567b81e5",
-X"32703070",
-X"9f2a5151",
-X"557bae2e",
-X"93387480",
-X"2e8e3861",
-X"832a7081",
-X"06515574",
-X"802e9738",
-X"7d51ede2",
-X"3f83e080",
-X"084183e0",
-X"80088738",
-X"901e08fe",
-X"af388060",
-X"3475802e",
-X"88387c52",
-X"7f5183a5",
-X"3f60802e",
-X"8638800b",
-X"901f0c60",
-X"5660832e",
-X"85386081",
-X"d038891f",
-X"57901e08",
-X"802e81a8",
-X"38805675",
-X"19703351",
-X"5574a02e",
-X"a0387485",
-X"2e098106",
-X"843881e5",
-X"55747770",
-X"81055934",
-X"81167081",
-X"ff065755",
-X"877627d7",
-X"38881933",
-X"5574a02e",
-X"a938ae77",
-X"70810559",
-X"34885675",
-X"19703351",
-X"5574a02e",
-X"95387477",
-X"70810559",
-X"34811670",
-X"81ff0657",
-X"558a7627",
-X"e2388b19",
-X"337f8805",
-X"349f1933",
-X"9e1a3371",
-X"982b7190",
-X"2b079d1c",
-X"3370882b",
-X"72079c1e",
-X"33710764",
-X"0c52991d",
-X"33981e33",
-X"71882b07",
-X"53515357",
-X"5956747f",
-X"84052397",
-X"1933961a",
-X"3371882b",
-X"07565674",
-X"7f860523",
-X"8077347d",
-X"51ebf33f",
-X"83e08008",
-X"83327030",
-X"7072079f",
-X"2c83e080",
-X"08065256",
-X"56961f33",
-X"55748a38",
-X"891f5296",
-X"1f5181b1",
-X"3f7583e0",
-X"800c9e3d",
-X"0d04fd3d",
-X"0d757753",
-X"54733351",
-X"70893871",
-X"33517080",
-X"2ea13873",
-X"33723352",
-X"53727127",
-X"8538ff51",
-X"94397073",
-X"27853881",
-X"518b3981",
-X"14811353",
-X"54d33980",
-X"517083e0",
-X"800c853d",
-X"0d04fd3d",
-X"0d757754",
-X"54723370",
-X"81ff0652",
-X"5270802e",
-X"a3387181",
-X"ff068114",
-X"ffbf1253",
-X"54527099",
-X"268938a0",
-X"127081ff",
-X"06535171",
-X"74708105",
-X"5634d239",
-X"80743485",
-X"3d0d04ff",
-X"bd3d0d80",
-X"c63d0852",
-X"a53d7052",
-X"54ffb33f",
-X"80c73d08",
-X"52853d70",
-X"5253ffa6",
-X"3f725273",
-X"51fedf3f",
-X"80c53d0d",
-X"04fe3d0d",
-X"74765353",
-X"71708105",
-X"53335170",
-X"73708105",
-X"553470f0",
-X"38843d0d",
-X"04fe3d0d",
-X"74528072",
-X"33525370",
-X"732e8d38",
-X"81128114",
-X"71335354",
-X"5270f538",
-X"7283e080",
-X"0c843d0d",
-X"04fc3d0d",
-X"76557483",
-X"e398082e",
-X"af388053",
-X"745187c1",
-X"3f83e080",
-X"0881ff06",
-X"ff147081",
-X"ff067230",
-X"709f2a51",
-X"52555354",
-X"72802e84",
-X"3871dd38",
-X"73fe3874",
-X"83e3980c",
-X"863d0d04",
-X"ff3d0dff",
-X"0b83e398",
-X"0c84a53f",
-X"81518785",
-X"3f83e080",
-X"0881ff06",
-X"5271ee38",
-X"81d33f71",
-X"83e0800c",
-X"833d0d04",
-X"fc3d0d76",
-X"028405a2",
-X"05220288",
-X"05a60522",
-X"7a545555",
-X"55ff823f",
-X"72802ea0",
-X"3883e3ac",
-X"14337570",
-X"81055734",
-X"81147083",
-X"ffff06ff",
-X"157083ff",
-X"ff065652",
-X"5552dd39",
-X"800b83e0",
-X"800c863d",
-X"0d04fc3d",
-X"0d76787a",
-X"11565355",
-X"80537174",
-X"2e933872",
-X"15517033",
-X"83e3ac13",
-X"34811281",
-X"145452ea",
-X"39800b83",
-X"e0800c86",
-X"3d0d04fd",
-X"3d0d9054",
-X"83e39808",
-X"5186f43f",
-X"83e08008",
-X"81ff06ff",
-X"15713071",
-X"30707307",
-X"9f2a729f",
-X"2a065255",
-X"52555372",
-X"db38853d",
-X"0d04803d",
-X"0d83e3a4",
-X"081083e3",
-X"9c080790",
-X"80a80c82",
-X"3d0d0480",
-X"0b83e3a4",
-X"0ce43f04",
-X"810b83e3",
-X"a40cdb3f",
-X"04ed3f04",
-X"7183e3a0",
-X"0c04803d",
-X"0d8051f4",
-X"3f810b83",
-X"e3a40c81",
-X"0b83e39c",
-X"0cffbb3f",
-X"823d0d04",
-X"803d0d72",
-X"30707407",
-X"802583e3",
-X"9c0c51ff",
-X"a53f823d",
-X"0d04803d",
-X"0d028b05",
-X"339080a4",
-X"0c9080a8",
-X"08708106",
-X"515170f5",
-X"389080a4",
-X"087081ff",
-X"0683e080",
-X"0c51823d",
-X"0d04803d",
-X"0d81ff51",
-X"d13f83e0",
-X"800881ff",
-X"0683e080",
-X"0c823d0d",
-X"04803d0d",
-X"73902b73",
-X"079080b4",
-X"0c823d0d",
-X"0404fb3d",
-X"0d780284",
-X"059f0533",
-X"70982b55",
-X"57557280",
-X"259b3875",
-X"80ff0656",
-X"805280f7",
-X"51e03f83",
-X"e0800881",
-X"ff065473",
-X"812680ff",
-X"388051fe",
-X"e73fffa2",
-X"3f8151fe",
-X"df3fff9a",
-X"3f7551fe",
-X"ed3f7498",
-X"2a51fee6",
-X"3f74902a",
-X"7081ff06",
-X"5253feda",
-X"3f74882a",
-X"7081ff06",
-X"5253fece",
-X"3f7481ff",
-X"0651fec6",
-X"3f815575",
-X"80c02e09",
-X"81068638",
-X"8195558d",
-X"397580c8",
-X"2e098106",
-X"84388187",
-X"557451fe",
-X"a53f8a55",
-X"fec83f83",
-X"e0800881",
-X"ff067098",
-X"2b545472",
-X"80258c38",
-X"ff157081",
-X"ff065653",
-X"74e23873",
-X"83e0800c",
-X"873d0d04",
-X"fa3d0dfd",
-X"c53f8051",
-X"fdda3f8a",
-X"54fe933f",
-X"ff147081",
-X"ff065553",
-X"73f33873",
-X"74535580",
-X"c051fea6",
-X"3f83e080",
-X"0881ff06",
-X"5473812e",
-X"09810682",
-X"9f3883aa",
-X"5280c851",
-X"fe8c3f83",
-X"e0800881",
-X"ff065372",
-X"812e0981",
-X"0681a838",
-X"7454873d",
-X"74115456",
-X"fdc83f83",
-X"e0800873",
-X"34811470",
-X"81ff0655",
-X"53837427",
-X"e538029a",
-X"05335372",
-X"812e0981",
-X"0681d938",
-X"029b0533",
-X"5380ce90",
-X"547281aa",
-X"2e8d3881",
-X"c73980e4",
-X"518ac03f",
-X"ff145473",
-X"802e81b8",
-X"38820a52",
-X"81e951fd",
-X"a53f83e0",
-X"800881ff",
-X"065372de",
-X"38725280",
-X"fa51fd92",
-X"3f83e080",
-X"0881ff06",
-X"53728190",
-X"38725473",
-X"1653fcd6",
-X"3f83e080",
-X"08733481",
-X"147081ff",
-X"06555383",
-X"7427e838",
-X"873d3370",
-X"862a7081",
-X"06515454",
-X"8c557280",
-X"e3388455",
-X"80de3974",
-X"5281e951",
-X"fccc3f83",
-X"e0800881",
-X"ff065382",
-X"5581e956",
-X"81732786",
-X"38735580",
-X"c15680ce",
-X"90548a39",
-X"80e45189",
-X"b23fff14",
-X"5473802e",
-X"a9388052",
-X"7551fc9a",
-X"3f83e080",
-X"0881ff06",
-X"5372e138",
-X"84805280",
-X"d051fc86",
-X"3f83e080",
-X"0881ff06",
-X"5372802e",
-X"83388055",
-X"7483e3a8",
-X"348051fb",
-X"873ffbc2",
-X"3f883d0d",
-X"04fb3d0d",
-X"7754800b",
-X"83e3a833",
-X"70832a70",
-X"81065155",
-X"57557275",
-X"2e098106",
-X"85387389",
-X"2b547352",
-X"80d151fb",
-X"bd3f83e0",
-X"800881ff",
-X"065372bd",
-X"3882b8c0",
-X"54fb833f",
-X"83e08008",
-X"81ff0653",
-X"7281ff2e",
-X"09810689",
-X"38ff1454",
-X"73e7389f",
-X"397281fe",
-X"2e098106",
-X"963883e7",
-X"ac5283e3",
-X"ac51faed",
-X"3ffad33f",
-X"fad03f83",
-X"39815580",
-X"51fa893f",
-X"fac43f74",
-X"81ff0683",
-X"e0800c87",
-X"3d0d04fb",
-X"3d0d7783",
-X"e3ac5654",
-X"8151f9ec",
-X"3f83e3a8",
-X"3370832a",
-X"70810651",
-X"54567285",
-X"3873892b",
-X"54735280",
-X"d851fab6",
-X"3f83e080",
-X"0881ff06",
-X"537280e4",
-X"3881ff51",
-X"f9d43f81",
-X"fe51f9ce",
-X"3f848053",
-X"74708105",
-X"563351f9",
-X"c13fff13",
-X"7083ffff",
-X"06515372",
-X"eb387251",
-X"f9b03f72",
-X"51f9ab3f",
-X"f9d03f83",
-X"e080089f",
-X"0653a788",
-X"5472852e",
-X"8c389939",
-X"80e45186",
-X"ea3fff14",
-X"54f9b33f",
-X"83e08008",
-X"81ff2e84",
-X"3873e938",
-X"8051f8e4",
-X"3ff99f3f",
-X"800b83e0",
-X"800c873d",
-X"0d047183",
-X"e7b00c88",
-X"80800b83",
-X"e7ac0c84",
-X"80800b83",
-X"e7b40c04",
-X"f03d0d83",
-X"80805683",
-X"e7b00816",
-X"83e7ac08",
-X"17565474",
-X"33743483",
-X"e7b40816",
-X"54807434",
-X"81165675",
-X"8380a02e",
-X"098106db",
-X"3883d080",
-X"5683e7b0",
-X"081683e7",
-X"ac081756",
-X"54743374",
-X"3483e7b4",
-X"08165480",
-X"74348116",
-X"567583d0",
-X"a02e0981",
-X"06db3883",
-X"a8805683",
-X"e7b00816",
-X"83e7ac08",
-X"17565474",
-X"33743483",
-X"e7b40816",
-X"54807434",
-X"81165675",
-X"83a8902e",
-X"098106db",
-X"38805683",
-X"e7b00816",
-X"83e7b408",
-X"17555573",
-X"33753481",
-X"16567581",
-X"80802e09",
-X"8106e438",
-X"86fe3f89",
-X"3d58a253",
-X"80e6e052",
-X"77519afb",
-X"3f80578c",
-X"805683e7",
-X"b4081677",
-X"19555573",
-X"33753481",
-X"16811858",
-X"5676a22e",
-X"098106e6",
-X"38860b87",
-X"a8833480",
-X"0b87a882",
-X"34800b87",
-X"809a34af",
-X"0b878096",
-X"34bf0b87",
-X"80973480",
-X"0b878098",
-X"349f0b87",
-X"80993480",
-X"0b87809b",
-X"34f80b87",
-X"a8893476",
-X"87a88034",
-X"820b87d0",
-X"8f34820b",
-X"87a88134",
-X"923d0d04",
-X"fe3d0d80",
-X"5383e7b4",
-X"081383e7",
-X"b0081452",
-X"52703372",
-X"34811353",
-X"72818080",
-X"2e098106",
-X"e4388380",
-X"805383e7",
-X"b4081383",
-X"e7b00814",
-X"52527033",
-X"72348113",
-X"53728380",
-X"a02e0981",
-X"06e43883",
-X"d0805383",
-X"e7b40813",
-X"83e7b008",
-X"14525270",
-X"33723481",
-X"13537283",
-X"d0a02e09",
-X"8106e438",
-X"83a88053",
-X"83e7b408",
-X"1383e7b0",
-X"08145252",
-X"70337234",
-X"81135372",
-X"83a8902e",
-X"098106e4",
-X"38843d0d",
-X"04803d0d",
-X"90809008",
-X"810683e0",
-X"800c823d",
-X"0d04ff3d",
-X"0d908090",
-X"700870fe",
-X"06760772",
-X"0c525283",
-X"3d0d0480",
-X"3d0d9080",
-X"90087081",
-X"2c810683",
-X"e0800c51",
-X"823d0d04",
-X"ff3d0d90",
-X"80907008",
-X"70fd0676",
-X"1007720c",
-X"5252833d",
-X"0d04803d",
-X"0d908090",
-X"0870822c",
-X"bf0683e0",
-X"800c5182",
-X"3d0d04ff",
-X"3d0d9080",
-X"90700870",
-X"fe830676",
-X"822b0772",
-X"0c525283",
-X"3d0d0480",
-X"3d0d9080",
-X"90087088",
-X"2c870683",
-X"e0800c51",
-X"823d0d04",
-X"ff3d0d90",
-X"80907008",
-X"70f1ff06",
-X"76882b07",
-X"720c5252",
-X"833d0d04",
-X"803d0d90",
-X"80900870",
-X"8b2cbf06",
-X"83e0800c",
-X"51823d0d",
-X"04ff3d0d",
-X"90809070",
-X"0870f88f",
-X"ff06768b",
-X"2b07720c",
-X"5252833d",
-X"0d04803d",
-X"0d908090",
-X"0870912c",
-X"bf0683e0",
-X"800c5182",
-X"3d0d04ff",
-X"3d0d9080",
-X"90700870",
-X"fc87ffff",
-X"0676912b",
-X"07720c52",
-X"52833d0d",
-X"04803d0d",
-X"90809008",
-X"70992c81",
-X"0683e080",
-X"0c51823d",
-X"0d04ff3d",
-X"0d908090",
-X"700870ff",
-X"bf0a0676",
-X"992b0772",
-X"0c525283",
-X"3d0d0480",
-X"3d0d9080",
-X"80087088",
-X"2c810683",
-X"e0800c51",
-X"823d0d04",
-X"803d0d90",
-X"80800870",
-X"892c8106",
-X"83e0800c",
-X"51823d0d",
-X"04803d0d",
-X"90808008",
-X"708a2c81",
-X"0683e080",
-X"0c51823d",
-X"0d04803d",
-X"0d908080",
-X"08708b2c",
-X"810683e0",
-X"800c5182",
-X"3d0d04fe",
-X"3d0d7481",
-X"e629872a",
-X"9080a00c",
-X"843d0d04",
-X"fe3d0d75",
-X"75ff1953",
-X"535370ff",
-X"2e8d3872",
-X"72708105",
-X"5434ff11",
-X"51f03984",
-X"3d0d04fe",
-X"3d0d7575",
-X"ff195353",
-X"5370ff2e",
-X"8d387272",
-X"70840554",
-X"0cff1151",
-X"f039843d",
-X"0d04fe3d",
-X"0d818080",
-X"53805288",
-X"800a51ff",
-X"b33fa080",
-X"53805282",
-X"800a51c7",
-X"3f843d0d",
-X"04803d0d",
-X"8151fc92",
-X"3f72802e",
-X"90388051",
-X"fe943fce",
-X"3f80e9ec",
-X"3351fe8a",
-X"3f8151fc",
-X"a33f8051",
-X"fc9e3f80",
-X"51fbef3f",
-X"823d0d04",
-X"fd3d0d75",
-X"52805480",
-X"ff722588",
-X"38810bff",
-X"80135354",
-X"ffbf1251",
-X"70992686",
-X"38e01252",
-X"9e39ff9f",
-X"12519971",
-X"279538d0",
-X"12e01370",
-X"54545189",
-X"71278838",
-X"8f732783",
-X"38805273",
-X"802e8538",
-X"81801252",
-X"7181ff06",
-X"83e0800c",
-X"853d0d04",
-X"803d0d84",
-X"d8c05180",
-X"71708105",
-X"53347084",
-X"e0c02e09",
-X"8106f038",
-X"823d0d04",
-X"fe3d0d02",
-X"97053351",
-X"ff863f83",
-X"e0800881",
-X"ff0683e7",
-X"bc085452",
-X"8073249b",
-X"3883e7dc",
-X"08137283",
-X"e7e00807",
-X"53537173",
-X"3483e7bc",
-X"08810583",
-X"e7bc0c84",
-X"3d0d04fa",
-X"3d0d8280",
-X"0a1b5580",
-X"57883dfc",
-X"05547953",
-X"74527851",
-X"cbe23f88",
-X"3d0d04fe",
-X"3d0d83e7",
-X"d4085274",
-X"51d2c53f",
-X"83e08008",
-X"8c387653",
-X"755283e7",
-X"d40851c7",
-X"3f843d0d",
-X"04fe3d0d",
-X"83e7d408",
-X"53755274",
-X"51cd853f",
-X"83e08008",
-X"8d387753",
-X"765283e7",
-X"d40851ff",
-X"a23f843d",
-X"0d04fd3d",
-X"0d83e7d4",
-X"0851cbf9",
-X"3f83e080",
-X"0890802e",
-X"098106ad",
-X"38805483",
-X"c1808053",
-X"83e08008",
-X"5283e7d4",
-X"0851fef3",
-X"3f87c180",
-X"80143387",
-X"c1908015",
-X"34811454",
-X"7390802e",
-X"098106e9",
-X"38853d0d",
-X"0480e7e0",
-X"0b83e080",
-X"0c04f73d",
-X"0d805a80",
-X"59805880",
-X"705757fd",
-X"e73f800b",
-X"83e7bc0c",
-X"800b83e7",
-X"e00c80e7",
-X"e451c6de",
-X"3f81800b",
-X"83e7e00c",
-X"80e7e851",
-X"c6d03f80",
-X"d00b83e7",
-X"bc0c7530",
-X"70770780",
-X"2570872b",
-X"83e7e00c",
-X"5154f982",
-X"3f83e080",
-X"085280e7",
-X"f051c6aa",
-X"3f80f80b",
-X"83e7bc0c",
-X"75813270",
-X"30707207",
-X"80257087",
-X"2b83e7e0",
-X"0c515555",
-X"ff833f83",
-X"e0800852",
-X"80e7fc51",
-X"c6803f81",
-X"a00b83e7",
-X"bc0c7582",
-X"32703070",
-X"72078025",
-X"70872b83",
-X"e7e00c51",
-X"5583e7d4",
-X"085255c7",
-X"9a3f83e0",
-X"80085280",
-X"e88451c5",
-X"d13f81c8",
-X"0b83e7bc",
-X"0c758332",
-X"70307072",
-X"07802570",
-X"872b83e7",
-X"e00c5155",
-X"80e88c52",
-X"55c5af3f",
-X"81f00b83",
-X"e7bc0c75",
-X"84327030",
-X"70720780",
-X"2570872b",
-X"83e7e00c",
-X"515580e8",
-X"9c5255c5",
-X"8d3f8298",
-X"0b83e7bc",
-X"0c758532",
-X"70307072",
-X"07802570",
-X"872b83e7",
-X"e00c5155",
-X"80e8b452",
-X"55c4eb3f",
-X"82c00b83",
-X"e7bc0c75",
-X"86327030",
-X"70720780",
-X"2570872b",
-X"83e7e00c",
-X"515580e8",
-X"cc5255c4",
-X"c93f868d",
-X"a051f9c7",
-X"3f805288",
-X"3d705254",
-X"87dd3f83",
-X"52735187",
-X"d63f7816",
-X"56758025",
-X"85388056",
-X"90398676",
-X"25853886",
-X"56873975",
-X"862682db",
-X"38758429",
-X"80e78405",
-X"54730804",
-X"f6d43f83",
-X"e0800878",
-X"56547481",
-X"2e098106",
-X"893883e0",
-X"80081054",
-X"903974ff",
-X"2e098106",
-X"883883e0",
-X"8008812c",
-X"54907425",
-X"85389054",
-X"88397380",
-X"24833881",
-X"547351f6",
-X"ae3f828f",
-X"39f6c03f",
-X"83e08008",
-X"18547380",
-X"25853880",
-X"54883987",
-X"74258338",
-X"87547351",
-X"f6ba3f81",
-X"ee397787",
-X"3879802e",
-X"81e53883",
-X"e0a40883",
-X"e0a00c8b",
-X"df0b83e0",
-X"a80c83e7",
-X"d40851ff",
-X"b5e73ffb",
-X"b53f81c7",
-X"3979802e",
-X"81c13883",
-X"e09c0883",
-X"e0a00c8b",
-X"df0b83e0",
-X"a80c83e7",
-X"d00851ff",
-X"b5c33f75",
-X"832e0981",
-X"06943881",
-X"80805382",
-X"80805283",
-X"e7d00851",
-X"fa993f81",
-X"87397584",
-X"2e098106",
-X"af388280",
-X"80538180",
-X"805283e7",
-X"d00851f9",
-X"fe3f8054",
-X"84828080",
-X"14338481",
-X"80801534",
-X"81145473",
-X"8180802e",
-X"098106e8",
-X"3880d139",
-X"75852e09",
-X"810680c8",
-X"38805481",
-X"80805380",
-X"c0805283",
-X"e7d00851",
-X"f9c53f82",
-X"80805380",
-X"c0805283",
-X"e7d00851",
-X"f9b53f84",
-X"81808014",
-X"338481c0",
-X"80153484",
-X"82808014",
-X"338482c0",
-X"80153481",
-X"14547380",
-X"c0802e09",
-X"8106dc38",
-X"81548c39",
-X"79873876",
-X"802efac3",
-X"38805473",
-X"83e0800c",
-X"8b3d0d04",
-X"ff3d0df5",
-X"d63f83e0",
-X"8008802e",
-X"86388051",
-X"80dd39f5",
-X"db3f83e0",
-X"800880d1",
-X"38f5fb3f",
-X"83e08008",
-X"802eaa38",
-X"8151f38a",
-X"3fefd13f",
-X"800b83e7",
-X"bc0cf9f2",
-X"3f83e080",
-X"0852ff0b",
-X"83e7bc0c",
-X"f1d63f71",
-X"a4387151",
-X"f2e83fa2",
-X"39f5b23f",
-X"83e08008",
-X"802e9738",
-X"8151f2d6",
-X"3fef9d3f",
-X"ff0b83e7",
-X"bc0cf1b0",
-X"3f8151f6",
-X"ac3f833d",
-X"0d04fc3d",
-X"0d908080",
-X"52868480",
-X"8051c682",
-X"3f83e080",
-X"08b83880",
-X"e9f051ca",
-X"c53f83e0",
-X"800883e7",
-X"d4085480",
-X"e8d85383",
-X"e0800852",
-X"55c5a13f",
-X"83e08008",
-X"8438f8aa",
-X"3f818080",
-X"54828080",
-X"5380e8d4",
-X"527451f7",
-X"f43f8151",
-X"f5d73ffe",
-X"b73ffc39",
-X"83e08c08",
-X"0283e08c",
-X"0cfb3d0d",
-X"0280e8e4",
-X"0b83e0a4",
-X"0c80e8e8",
-X"0b83e09c",
-X"0c80e8ec",
-X"0b83e0ac",
-X"0c83e08c",
-X"08fc050c",
-X"800b83e7",
-X"c00b83e0",
-X"8c08f805",
-X"0c83e08c",
-X"08f4050c",
-X"c3f03f83",
-X"e0800886",
-X"05fc0683",
-X"e08c08f0",
-X"050c0283",
-X"e08c08f0",
-X"0508310d",
-X"833d7083",
-X"e08c08f8",
-X"05087084",
-X"0583e08c",
-X"08f8050c",
-X"0c51c0b9",
-X"3f83e08c",
-X"08f40508",
-X"810583e0",
-X"8c08f405",
-X"0c83e08c",
-X"08f40508",
-X"872e0981",
-X"06ffad38",
-X"86948080",
-X"51ed833f",
-X"ff0b83e7",
-X"bc0c800b",
-X"83e7e00c",
-X"84d8c00b",
-X"83e7dc0c",
-X"8151f0b6",
-X"3f8151f0",
-X"db3f8051",
-X"f0d63f81",
-X"51f0fc3f",
-X"8151f1d1",
-X"3f8251f1",
-X"9f3f8051",
-X"f1f53f80",
-X"51f29f3f",
-X"80d0c452",
-X"8051ffbd",
-X"f23ffdc6",
-X"3f83e08c",
-X"08fc0508",
-X"0d800b83",
-X"e0800c87",
-X"3d0d83e0",
-X"8c0c04fd",
-X"3d0d7554",
-X"80740c80",
-X"0b84150c",
-X"800b8815",
-X"0c87d089",
-X"3387d08f",
-X"3370822a",
-X"70810670",
-X"30707207",
-X"7009709f",
-X"2c77069e",
-X"06545151",
-X"55515153",
-X"53807298",
-X"06525370",
-X"882e0981",
-X"06833881",
-X"53709832",
-X"70307080",
-X"25757131",
-X"84180c51",
-X"51518072",
-X"86065253",
-X"70822e09",
-X"81068338",
-X"81537086",
-X"32703070",
-X"80257571",
-X"31770c51",
-X"51517194",
-X"32703070",
-X"80258817",
-X"0c515185",
-X"3d0d04fe",
-X"3d0d7476",
-X"54527151",
-X"feed3f72",
-X"812ea238",
-X"8173268d",
-X"3872822e",
-X"ab387283",
-X"2e9f38e6",
-X"397108e2",
-X"38841208",
-X"dd388812",
-X"08d838a0",
-X"39881208",
-X"812e0981",
-X"06cc3894",
-X"39881208",
-X"812e8d38",
-X"71088938",
-X"84120880",
-X"2effb738",
-X"843d0d04",
-X"83e08c08",
-X"0283e08c",
-X"0cfd3d0d",
-X"805383e0",
-X"8c088c05",
-X"085283e0",
-X"8c088805",
-X"085183d4",
-X"3f83e080",
-X"087083e0",
-X"800c5485",
-X"3d0d83e0",
-X"8c0c0483",
-X"e08c0802",
-X"83e08c0c",
-X"fd3d0d81",
-X"5383e08c",
-X"088c0508",
-X"5283e08c",
-X"08880508",
-X"5183a13f",
-X"83e08008",
-X"7083e080",
-X"0c54853d",
-X"0d83e08c",
-X"0c0483e0",
-X"8c080283",
-X"e08c0cf9",
-X"3d0d800b",
-X"83e08c08",
-X"fc050c83",
-X"e08c0888",
-X"05088025",
-X"b93883e0",
-X"8c088805",
-X"083083e0",
-X"8c088805",
-X"0c800b83",
-X"e08c08f4",
-X"050c83e0",
-X"8c08fc05",
-X"088a3881",
-X"0b83e08c",
-X"08f4050c",
-X"83e08c08",
-X"f4050883",
-X"e08c08fc",
-X"050c83e0",
-X"8c088c05",
-X"088025b9",
-X"3883e08c",
-X"088c0508",
-X"3083e08c",
-X"088c050c",
-X"800b83e0",
-X"8c08f005",
-X"0c83e08c",
-X"08fc0508",
-X"8a38810b",
-X"83e08c08",
-X"f0050c83",
-X"e08c08f0",
-X"050883e0",
-X"8c08fc05",
-X"0c805383",
-X"e08c088c",
-X"05085283",
-X"e08c0888",
-X"05085181",
-X"df3f83e0",
-X"80087083",
-X"e08c08f8",
-X"050c5483",
-X"e08c08fc",
-X"0508802e",
-X"903883e0",
-X"8c08f805",
-X"083083e0",
-X"8c08f805",
-X"0c83e08c",
-X"08f80508",
-X"7083e080",
-X"0c54893d",
-X"0d83e08c",
-X"0c0483e0",
-X"8c080283",
-X"e08c0cfb",
-X"3d0d800b",
-X"83e08c08",
-X"fc050c83",
-X"e08c0888",
-X"05088025",
-X"993883e0",
-X"8c088805",
-X"083083e0",
-X"8c088805",
-X"0c810b83",
-X"e08c08fc",
-X"050c83e0",
-X"8c088c05",
-X"08802590",
-X"3883e08c",
-X"088c0508",
-X"3083e08c",
-X"088c050c",
-X"815383e0",
-X"8c088c05",
-X"085283e0",
-X"8c088805",
-X"0851bd3f",
-X"83e08008",
-X"7083e08c",
-X"08f8050c",
-X"5483e08c",
-X"08fc0508",
-X"802e9038",
-X"83e08c08",
-X"f8050830",
-X"83e08c08",
-X"f8050c83",
-X"e08c08f8",
-X"05087083",
-X"e0800c54",
-X"873d0d83",
-X"e08c0c04",
-X"83e08c08",
-X"0283e08c",
-X"0cfd3d0d",
-X"810b83e0",
-X"8c08fc05",
-X"0c800b83",
-X"e08c08f8",
-X"050c83e0",
-X"8c088c05",
-X"0883e08c",
-X"08880508",
-X"27b93883",
-X"e08c08fc",
-X"0508802e",
-X"ae38800b",
-X"83e08c08",
-X"8c050824",
-X"a23883e0",
-X"8c088c05",
-X"081083e0",
-X"8c088c05",
-X"0c83e08c",
-X"08fc0508",
-X"1083e08c",
-X"08fc050c",
-X"ffb83983",
-X"e08c08fc",
-X"0508802e",
-X"80e13883",
-X"e08c088c",
-X"050883e0",
-X"8c088805",
-X"0826ad38",
-X"83e08c08",
-X"88050883",
-X"e08c088c",
-X"05083183",
-X"e08c0888",
-X"050c83e0",
-X"8c08f805",
-X"0883e08c",
-X"08fc0508",
-X"0783e08c",
-X"08f8050c",
-X"83e08c08",
-X"fc050881",
-X"2a83e08c",
-X"08fc050c",
-X"83e08c08",
-X"8c050881",
-X"2a83e08c",
-X"088c050c",
-X"ff953983",
-X"e08c0890",
-X"0508802e",
-X"933883e0",
-X"8c088805",
-X"087083e0",
-X"8c08f405",
-X"0c519139",
-X"83e08c08",
-X"f8050870",
-X"83e08c08",
-X"f4050c51",
-X"83e08c08",
-X"f4050883",
-X"e0800c85",
-X"3d0d83e0",
-X"8c0c0483",
-X"e08c0802",
-X"83e08c0c",
-X"ff3d0d80",
-X"0b83e08c",
-X"08fc050c",
-X"83e08c08",
-X"88050881",
-X"06ff1170",
-X"097083e0",
-X"8c088c05",
-X"080683e0",
-X"8c08fc05",
-X"081183e0",
-X"8c08fc05",
-X"0c83e08c",
-X"08880508",
-X"812a83e0",
-X"8c088805",
-X"0c83e08c",
-X"088c0508",
-X"1083e08c",
-X"088c050c",
-X"51515151",
-X"83e08c08",
-X"88050880",
-X"2e8438ff",
-X"ab3983e0",
-X"8c08fc05",
-X"087083e0",
-X"800c5183",
-X"3d0d83e0",
-X"8c0c04fc",
-X"3d0d7670",
-X"797b5555",
-X"55558f72",
-X"278c3872",
-X"75078306",
-X"5170802e",
-X"a938ff12",
-X"5271ff2e",
-X"98387270",
-X"81055433",
-X"74708105",
-X"5634ff12",
-X"5271ff2e",
-X"098106ea",
-X"387483e0",
-X"800c863d",
-X"0d047451",
-X"72708405",
-X"54087170",
-X"8405530c",
-X"72708405",
-X"54087170",
-X"8405530c",
-X"72708405",
-X"54087170",
-X"8405530c",
-X"72708405",
-X"54087170",
-X"8405530c",
-X"f0125271",
-X"8f26c938",
-X"83722795",
-X"38727084",
-X"05540871",
-X"70840553",
-X"0cfc1252",
-X"718326ed",
-X"387054ff",
-X"81390000",
-X"00ffffff",
-X"ff00ffff",
-X"ffff00ff",
-X"ffffff00",
-X"809a9041",
-X"8e418f80",
-X"45454549",
-X"49498e8f",
-X"9092924f",
-X"994f5555",
-X"59999a9b",
-X"9c9d9e9f",
-X"41494f55",
-X"a5a5a6a7",
-X"a8a9aaab",
-X"ac21aeaf",
-X"b0b1b2b3",
-X"b4b5b6b7",
-X"b8b9babb",
-X"bcbdbebf",
-X"c0c1c2c3",
-X"c4c5c6c7",
-X"c8c9cacb",
-X"cccdcecf",
-X"d0d1d2d3",
-X"d4d5d6d7",
-X"d8d9dadb",
-X"dcdddedf",
-X"e0e1e2e3",
-X"e4e5e6e7",
-X"e8e9eaeb",
-X"ecedeeef",
-X"f0f1f2f3",
-X"f4f5f6f7",
-X"f8f9fafb",
-X"fcfdfeff",
-X"70704740",
-X"2c704268",
-X"2c020202",
-X"02020202",
-X"02020202",
-X"02020202",
-X"02020202",
-X"02020241",
-X"00060000",
-X"00002aa8",
-X"00002ae9",
-X"00002b0a",
-X"00002b31",
-X"00002b31",
-X"00002b31",
-X"00002bf4",
-X"25732025",
-X"73000000",
-X"20000000",
-X"2e2e0000",
-X"41545200",
-X"58464400",
-X"58455800",
-X"43686f6f",
-X"73652000",
-X"66696c65",
-X"00000000",
-X"4449523a",
-X"00000000",
-X"44495200",
-X"25303278",
-X"00000000",
-X"31364b00",
-X"53650000",
-X"7474696e",
-X"67730000",
-X"54757262",
-X"6f3a2564",
-X"78000000",
-X"52616d3a",
-X"25730000",
-X"526f6d3a",
-X"25730000",
-X"43617274",
-X"72696467",
-X"65203332",
-X"6b000000",
-X"43617274",
-X"72696467",
-X"65203136",
-X"6b206f6e",
-X"65206368",
-X"69700000",
-X"43617274",
-X"72696467",
-X"65203136",
-X"6b207477",
-X"6f206368",
-X"69700000",
-X"45786974",
-X"00000000",
-X"61636964",
-X"35323030",
-X"2e726f6d",
-X"00000000",
-X"524f4d00",
-X"42494e00",
-X"43415200",
-X"00000000",
-X"00000000",
-X"01010008",
-X"02210010",
-X"080d0040",
-X"090a0040",
-X"0a090040",
-X"0b080040",
-X"0c300020",
-X"0d310040",
-X"0e320080",
-X"0f040010",
-X"110c0080",
-X"17330100",
-X"18340200",
-X"1a280010",
-X"1b290020",
-X"1c2a0040",
-X"1d2b0080",
-X"1e2c0100",
-X"1f2d0200",
-X"21380020",
-X"22390040",
-X"233a0080",
-X"243b0100",
-X"253c0200",
-X"28230010",
-X"29020080",
-X"2a030400",
-X"38240200",
-X"00000000",
-X"00000000",
-X"2f617461",
-X"72693830",
-X"302f726f",
-X"6d000000",
-X"2f617461",
-X"72693830",
-X"302f7573",
-X"65720000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000"
-
-);
-        signal rdata:std_logic_vector(31 downto 0);
-begin
-        rdata<=ROM(conv_integer(address));
-
-        process(clock)
-        begin
-                if(clock'event and clock='1')then
-                	q<=rdata;
-                end if;
-        end process;
-end syn;
Index: mist_5200_sdcard/makeqsf
===================================================================
--- mist_5200_sdcard/makeqsf	(revision 231)
+++ mist_5200_sdcard/makeqsf	(nonexistent)
@@ -1,40 +0,0 @@
-#!/usr/bin/perl -w
-use strict;
-
-my $qsf_in = shift @ARGV;
-my $qsf_out = $qsf_in;
-$qsf_out =~ s/.*\///;
-
-open (QSF_IN,$qsf_in) or die "Failed to open $qsf_in";
-my @qsf_base = <QSF_IN>;
-close (QSF_IN);
-
-open (QSF_OUT,">$qsf_out") or die "Failed to open $qsf_out";
-print QSF_OUT @qsf_base;
-print QSF_OUT "\n";
-
-foreach (@ARGV)
-{
-	my @vhdl = glob ("$_/*.vhd");
-	push @vhdl, glob ("$_/*.vhdl");
-	my @verilog = glob ("$_/*.v");
-	my @qip = glob ("$_/*.qip");
-
-	foreach (@verilog)
-	{
-		print QSF_OUT "set_global_assignment -name VERILOG_FILE $_\n";
-	}
-
-	foreach (@vhdl)
-	{
-		print QSF_OUT "set_global_assignment -name VHDL_FILE $_\n";
-	}
-
-	foreach (@qip)
-	{
-		print QSF_OUT "set_global_assignment -name QIP_FILE $_\n";
-	}
-}
-
-close (QSF_OUT);
-

Property changes on: mist_5200_sdcard/makeqsf
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: mist_5200_sdcard/atari800core.qsf
===================================================================
--- mist_5200_sdcard/atari800core.qsf	(revision 231)
+++ mist_5200_sdcard/atari800core.qsf	(nonexistent)
@@ -1,320 +0,0 @@
-# Copyright (C) 1991-2007 Altera Corporation
-# Your use of Altera Corporation's design tools, logic functions 
-# and other software and tools, and its AMPP partner logic 
-# functions, and any output files from any of the foregoing 
-# (including device programming or simulation files), and any 
-# associated documentation or information are expressly subject 
-# to the terms and conditions of the Altera Program License 
-# Subscription Agreement, Altera MegaCore Function License 
-# Agreement, or other applicable license agreement, including, 
-# without limitation, that your use is for the sole purpose of 
-# programming logic devices manufactured by Altera and sold by 
-# Altera or its authorized distributors.  Please refer to the 
-# applicable agreement for further details.
-
-
-# The default values for assignments are stored in the file
-#		minimig_de1_assignment_defaults.qdf
-# If this file doesn't exist, and for assignments not listed, see file
-#		assignment_defaults.qdf
-
-# Altera recommends that you do not modify this file. This
-# file is updated automatically by the Quartus II software
-# and any changes you make may be lost or overwritten.
-
-
-set_global_assignment -name FAMILY "Cyclone III"
-set_global_assignment -name DEVICE EP3C25E144C8
-set_global_assignment -name TOP_LEVEL_ENTITY atari800core_mist
-set_global_assignment -name ORIGINAL_QUARTUS_VERSION 7.2
-set_global_assignment -name PROJECT_CREATION_TIME_DATE "22:27:29  OCTOBER 30, 2007"
-set_global_assignment -name LAST_QUARTUS_VERSION "12.1 SP1.33"
-set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_palace
-set_global_assignment -name DEVICE_FILTER_PIN_COUNT 144
-set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "NO HEAT SINK WITH STILL AIR"
-set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
-set_global_assignment -name OPTIMIZE_HOLD_TIMING "ALL PATHS"
-set_global_assignment -name FITTER_EFFORT "AUTO FIT"
-set_global_assignment -name STRATIX_CONFIGURATION_DEVICE EPCS4
-set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
-set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "AS INPUT TRI-STATED"
-set_global_assignment -name CYCLONEIII_CONFIGURATION_SCHEME "PASSIVE SERIAL"
-set_global_assignment -name GENERATE_RBF_FILE ON
-set_global_assignment -name FORCE_CONFIGURATION_VCCIO ON
-set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"
-
-set_location_assignment PIN_7 -to LED
-set_location_assignment PIN_22 -to CLOCK_50[0]
-set_location_assignment PIN_23 -to CLOCK_50[1]
-set_location_assignment PIN_128 -to CLOCK_32[0]
-set_location_assignment PIN_129 -to CLOCK_32[1]
-set_location_assignment PIN_54 -to CLOCK_27[0]
-set_location_assignment PIN_55 -to CLOCK_27[1]
-set_location_assignment PIN_144 -to VGA_R[5]
-set_location_assignment PIN_143 -to VGA_R[4]
-set_location_assignment PIN_142 -to VGA_R[3]
-set_location_assignment PIN_141 -to VGA_R[2]
-set_location_assignment PIN_137 -to VGA_R[1]
-set_location_assignment PIN_135 -to VGA_R[0]
-set_location_assignment PIN_133 -to VGA_B[5]
-set_location_assignment PIN_132 -to VGA_B[4]
-set_location_assignment PIN_125 -to VGA_B[3]
-set_location_assignment PIN_121 -to VGA_B[2]
-set_location_assignment PIN_120 -to VGA_B[1]
-set_location_assignment PIN_115 -to VGA_B[0]
-set_location_assignment PIN_114 -to VGA_G[5]
-set_location_assignment PIN_113 -to VGA_G[4]
-set_location_assignment PIN_112 -to VGA_G[3]
-set_location_assignment PIN_111 -to VGA_G[2]
-set_location_assignment PIN_110 -to VGA_G[1]
-set_location_assignment PIN_106 -to VGA_G[0]
-set_location_assignment PIN_136 -to VGA_VS
-set_location_assignment PIN_119 -to VGA_HS
-set_location_assignment PIN_65 -to AUDIO_L
-set_location_assignment PIN_80 -to AUDIO_R
-set_location_assignment PIN_46 -to UART_TX
-set_location_assignment PIN_31 -to UART_RX
-set_location_assignment PIN_105 -to SPI_DO
-set_location_assignment PIN_88 -to SPI_DI
-set_location_assignment PIN_126 -to SPI_SCK
-set_location_assignment PIN_127 -to SPI_SS2
-set_location_assignment PIN_91 -to SPI_SS3
-set_location_assignment PIN_90 -to SPI_SS4
-set_location_assignment PIN_13 -to CONF_DATA0
-
-set_location_assignment PIN_49 -to SDRAM_A[0]
-set_location_assignment PIN_44 -to SDRAM_A[1]
-set_location_assignment PIN_42 -to SDRAM_A[2]
-set_location_assignment PIN_39 -to SDRAM_A[3]
-set_location_assignment PIN_4 -to SDRAM_A[4]
-set_location_assignment PIN_6 -to SDRAM_A[5]
-set_location_assignment PIN_8 -to SDRAM_A[6]
-set_location_assignment PIN_10 -to SDRAM_A[7]
-set_location_assignment PIN_11 -to SDRAM_A[8]
-set_location_assignment PIN_28 -to SDRAM_A[9]
-set_location_assignment PIN_50 -to SDRAM_A[10]
-set_location_assignment PIN_30 -to SDRAM_A[11]
-set_location_assignment PIN_32 -to SDRAM_A[12]
-set_location_assignment PIN_83 -to SDRAM_DQ[0]
-set_location_assignment PIN_79 -to SDRAM_DQ[1]
-set_location_assignment PIN_77 -to SDRAM_DQ[2]
-set_location_assignment PIN_76 -to SDRAM_DQ[3]
-set_location_assignment PIN_72 -to SDRAM_DQ[4]
-set_location_assignment PIN_71 -to SDRAM_DQ[5]
-set_location_assignment PIN_69 -to SDRAM_DQ[6]
-set_location_assignment PIN_68 -to SDRAM_DQ[7]
-set_location_assignment PIN_86 -to SDRAM_DQ[8]
-set_location_assignment PIN_87 -to SDRAM_DQ[9]
-set_location_assignment PIN_98 -to SDRAM_DQ[10]
-set_location_assignment PIN_99 -to SDRAM_DQ[11]
-set_location_assignment PIN_100 -to SDRAM_DQ[12]
-set_location_assignment PIN_101 -to SDRAM_DQ[13]
-set_location_assignment PIN_103 -to SDRAM_DQ[14]
-set_location_assignment PIN_104 -to SDRAM_DQ[15]
-set_location_assignment PIN_58 -to SDRAM_BA[0]
-set_location_assignment PIN_51 -to SDRAM_BA[1]
-set_location_assignment PIN_85 -to SDRAM_DQMH
-set_location_assignment PIN_67 -to SDRAM_DQML
-set_location_assignment PIN_60 -to SDRAM_nRAS
-set_location_assignment PIN_64 -to SDRAM_nCAS
-set_location_assignment PIN_66 -to SDRAM_nWE
-set_location_assignment PIN_59 -to SDRAM_nCS
-set_location_assignment PIN_33 -to SDRAM_CKE
-set_location_assignment PIN_43 -to SDRAM_CLK
-
-set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE BALANCED
-set_global_assignment -name SMART_RECOMPILE ON
-set_global_assignment -name ENABLE_SIGNALTAP ON
-set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC ON
-set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION ON
-set_global_assignment -name PHYSICAL_SYNTHESIS_EFFORT NORMAL
-set_global_assignment -name FMAX_REQUIREMENT "114 MHz"
-set_global_assignment -name OPTIMIZE_MULTI_CORNER_TIMING OFF
-set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
-set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
-set_global_assignment -name USE_CONFIGURATION_DEVICE ON
-set_global_assignment -name TPD_REQUIREMENT "2 ns"
-set_global_assignment -name TSU_REQUIREMENT "2 ns"
-set_global_assignment -name TCO_REQUIREMENT "2 ns"
-set_global_assignment -name ALLOW_POWER_UP_DONT_CARE OFF
-set_global_assignment -name SYNTH_TIMING_DRIVEN_SYNTHESIS OFF
-set_global_assignment -name AUTO_RAM_TO_LCELL_CONVERSION OFF
-set_global_assignment -name AUTO_RAM_RECOGNITION ON
-set_global_assignment -name AUTO_ROM_RECOGNITION ON
-set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_RETIMING ON
-set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
-set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"
-set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
-set_global_assignment -name PARTITION_COLOR 2147039 -section_id Top
-set_global_assignment -name MISC_FILE atari800core.dpf
-set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
-
-set_global_assignment -name PHYSICAL_SYNTHESIS_ASYNCHRONOUS_SIGNAL_PIPELINING ON
-set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC_FOR_AREA OFF
-set_global_assignment -name PHYSICAL_SYNTHESIS_MAP_LOGIC_TO_MEMORY_FOR_AREA OFF
-
-set_global_assignment -name PROJECT_OUTPUT_DIRECTORY out
-set_global_assignment -name PLACEMENT_EFFORT_MULTIPLIER 4.0
-set_global_assignment -name ROUTER_EFFORT_MULTIPLIER 4.0
-set_global_assignment -name CYCLONEII_M4K_COMPATIBILITY OFF
-
-#set_parameter -name ENABLE_RUNTIME_MOD YES -to "Minimig1:minimig|amiga_boot:BOOTROM1|altsyncram:Ram0_rtl_10"
-#set_parameter -name INSTANCE_NAME mig -to "Minimig1:minimig|amiga_boot:BOOTROM1|altsyncram:Ram0_rtl_10"
-
-set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
-set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO"
-set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO"
-set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATION "USE AS REGULAR IO"
-set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
-set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
-set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
-set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
-set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
-
-
-
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[0]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[1]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[2]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[3]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[4]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[5]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[6]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[7]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[8]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[9]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[10]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[11]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[12]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[13]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[14]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[15]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[0]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[1]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[2]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[3]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[4]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[5]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[6]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[7]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[8]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[9]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[10]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[11]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[12]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_BA[0]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_BA[1]
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQMH
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQML
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nRAS
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nCAS
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nWE
-set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nCS
-
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[0]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[1]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[2]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[3]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[4]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[5]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[6]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[7]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[8]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[9]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[10]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[11]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[12]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[13]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[14]
-set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[15]
-
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[0]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[1]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[2]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[3]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[4]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[5]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[6]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[7]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[8]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[9]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[10]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[11]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[12]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[13]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[14]
-set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[15]
-
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[0]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[2]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[3]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[4]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[5]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[6]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[7]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[8]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[9]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[10]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[11]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[12]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[0]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[2]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[3]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[4]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[5]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[6]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[7]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[8]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[9]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[10]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[11]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[12]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[13]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[14]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[15]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_BA[0]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_BA[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQML
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQMH
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nRAS
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nCAS
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nWE
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nCS
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_CKE
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_CLK
-
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[5]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[4]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[3]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[2]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[0]
-
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[5]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[4]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[3]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[2]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[0]
-
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[5]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[4]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[3]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[2]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[1]
-set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[0]
-
-set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
-
-set_global_assignment -name VHDL_FILE zpu_rom.vhdl
-set_global_assignment -name SDC_FILE atari800core.sdc
-set_global_assignment -name QIP_FILE mist_sector_buffer.qip
-set_global_assignment -name VHDL_FILE atari800core_mist.vhd
-set_global_assignment -name VERILOG_FILE sd_card.v
-set_global_assignment -name VERILOG_FILE user_io.v
-set_global_assignment -name QIP_FILE pll_pal_pre.qip
-set_global_assignment -name QIP_FILE pll_pal_post.qip
-set_global_assignment -name QIP_FILE pll_ntsc.qip
-
Index: mist_5200_sdcard/pll_ntsc.vhd
===================================================================
--- mist_5200_sdcard/pll_ntsc.vhd	(revision 231)
+++ mist_5200_sdcard/pll_ntsc.vhd	(nonexistent)
@@ -1,456 +0,0 @@
--- megafunction wizard: %ALTPLL%
--- GENERATION: STANDARD
--- VERSION: WM1.0
--- MODULE: altpll 
-
--- ============================================================
--- File Name: pll_ntsc.vhd
--- Megafunction Name(s):
--- 			altpll
---
--- Simulation Library Files(s):
--- 			altera_mf
--- ============================================================
--- ************************************************************
--- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
---
--- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
--- ************************************************************
-
-
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-LIBRARY ieee;
-USE ieee.std_logic_1164.all;
-
-LIBRARY altera_mf;
-USE altera_mf.all;
-
-ENTITY pll_ntsc IS
-	PORT
-	(
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		c1		: OUT STD_LOGIC ;
-		c2		: OUT STD_LOGIC ;
-		c3		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-END pll_ntsc;
-
-
-ARCHITECTURE SYN OF pll_ntsc IS
-
-	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
-	SIGNAL sub_wire1	: STD_LOGIC ;
-	SIGNAL sub_wire2	: STD_LOGIC ;
-	SIGNAL sub_wire3	: STD_LOGIC ;
-	SIGNAL sub_wire4	: STD_LOGIC ;
-	SIGNAL sub_wire5	: STD_LOGIC ;
-	SIGNAL sub_wire6	: STD_LOGIC ;
-	SIGNAL sub_wire7	: STD_LOGIC_VECTOR (1 DOWNTO 0);
-	SIGNAL sub_wire8_bv	: BIT_VECTOR (0 DOWNTO 0);
-	SIGNAL sub_wire8	: STD_LOGIC_VECTOR (0 DOWNTO 0);
-
-
-
-	COMPONENT altpll
-	GENERIC (
-		bandwidth_type		: STRING;
-		clk0_divide_by		: NATURAL;
-		clk0_duty_cycle		: NATURAL;
-		clk0_multiply_by		: NATURAL;
-		clk0_phase_shift		: STRING;
-		clk1_divide_by		: NATURAL;
-		clk1_duty_cycle		: NATURAL;
-		clk1_multiply_by		: NATURAL;
-		clk1_phase_shift		: STRING;
-		clk2_divide_by		: NATURAL;
-		clk2_duty_cycle		: NATURAL;
-		clk2_multiply_by		: NATURAL;
-		clk2_phase_shift		: STRING;
-		clk3_divide_by		: NATURAL;
-		clk3_duty_cycle		: NATURAL;
-		clk3_multiply_by		: NATURAL;
-		clk3_phase_shift		: STRING;
-		compensate_clock		: STRING;
-		inclk0_input_frequency		: NATURAL;
-		intended_device_family		: STRING;
-		lpm_hint		: STRING;
-		lpm_type		: STRING;
-		operation_mode		: STRING;
-		pll_type		: STRING;
-		port_activeclock		: STRING;
-		port_areset		: STRING;
-		port_clkbad0		: STRING;
-		port_clkbad1		: STRING;
-		port_clkloss		: STRING;
-		port_clkswitch		: STRING;
-		port_configupdate		: STRING;
-		port_fbin		: STRING;
-		port_inclk0		: STRING;
-		port_inclk1		: STRING;
-		port_locked		: STRING;
-		port_pfdena		: STRING;
-		port_phasecounterselect		: STRING;
-		port_phasedone		: STRING;
-		port_phasestep		: STRING;
-		port_phaseupdown		: STRING;
-		port_pllena		: STRING;
-		port_scanaclr		: STRING;
-		port_scanclk		: STRING;
-		port_scanclkena		: STRING;
-		port_scandata		: STRING;
-		port_scandataout		: STRING;
-		port_scandone		: STRING;
-		port_scanread		: STRING;
-		port_scanwrite		: STRING;
-		port_clk0		: STRING;
-		port_clk1		: STRING;
-		port_clk2		: STRING;
-		port_clk3		: STRING;
-		port_clk4		: STRING;
-		port_clk5		: STRING;
-		port_clkena0		: STRING;
-		port_clkena1		: STRING;
-		port_clkena2		: STRING;
-		port_clkena3		: STRING;
-		port_clkena4		: STRING;
-		port_clkena5		: STRING;
-		port_extclk0		: STRING;
-		port_extclk1		: STRING;
-		port_extclk2		: STRING;
-		port_extclk3		: STRING;
-		self_reset_on_loss_lock		: STRING;
-		width_clock		: NATURAL
-	);
-	PORT (
-			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
-			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
-			locked	: OUT STD_LOGIC 
-	);
-	END COMPONENT;
-
-BEGIN
-	sub_wire8_bv(0 DOWNTO 0) <= "0";
-	sub_wire8    <= To_stdlogicvector(sub_wire8_bv);
-	sub_wire5    <= sub_wire0(2);
-	sub_wire4    <= sub_wire0(0);
-	sub_wire2    <= sub_wire0(3);
-	sub_wire1    <= sub_wire0(1);
-	c1    <= sub_wire1;
-	c3    <= sub_wire2;
-	locked    <= sub_wire3;
-	c0    <= sub_wire4;
-	c2    <= sub_wire5;
-	sub_wire6    <= inclk0;
-	sub_wire7    <= sub_wire8(0 DOWNTO 0) & sub_wire6;
-
-	altpll_component : altpll
-	GENERIC MAP (
-		bandwidth_type => "AUTO",
-		clk0_divide_by => 33,
-		clk0_duty_cycle => 50,
-		clk0_multiply_by => 140,
-		clk0_phase_shift => "0",
-		clk1_divide_by => 33,
-		clk1_duty_cycle => 50,
-		clk1_multiply_by => 70,
-		clk1_phase_shift => "0",
-		clk2_divide_by => 33,
-		clk2_duty_cycle => 50,
-		clk2_multiply_by => 140,
-		clk2_phase_shift => "-2400",
-		clk3_divide_by => 2112,
-		clk3_duty_cycle => 50,
-		clk3_multiply_by => 1,
-		clk3_phase_shift => "0",
-		compensate_clock => "CLK0",
-		inclk0_input_frequency => 37037,
-		intended_device_family => "Cyclone III",
-		lpm_hint => "CBX_MODULE_PREFIX=pll_ntsc",
-		lpm_type => "altpll",
-		operation_mode => "NORMAL",
-		pll_type => "AUTO",
-		port_activeclock => "PORT_UNUSED",
-		port_areset => "PORT_UNUSED",
-		port_clkbad0 => "PORT_UNUSED",
-		port_clkbad1 => "PORT_UNUSED",
-		port_clkloss => "PORT_UNUSED",
-		port_clkswitch => "PORT_UNUSED",
-		port_configupdate => "PORT_UNUSED",
-		port_fbin => "PORT_UNUSED",
-		port_inclk0 => "PORT_USED",
-		port_inclk1 => "PORT_UNUSED",
-		port_locked => "PORT_USED",
-		port_pfdena => "PORT_UNUSED",
-		port_phasecounterselect => "PORT_UNUSED",
-		port_phasedone => "PORT_UNUSED",
-		port_phasestep => "PORT_UNUSED",
-		port_phaseupdown => "PORT_UNUSED",
-		port_pllena => "PORT_UNUSED",
-		port_scanaclr => "PORT_UNUSED",
-		port_scanclk => "PORT_UNUSED",
-		port_scanclkena => "PORT_UNUSED",
-		port_scandata => "PORT_UNUSED",
-		port_scandataout => "PORT_UNUSED",
-		port_scandone => "PORT_UNUSED",
-		port_scanread => "PORT_UNUSED",
-		port_scanwrite => "PORT_UNUSED",
-		port_clk0 => "PORT_USED",
-		port_clk1 => "PORT_USED",
-		port_clk2 => "PORT_USED",
-		port_clk3 => "PORT_USED",
-		port_clk4 => "PORT_UNUSED",
-		port_clk5 => "PORT_UNUSED",
-		port_clkena0 => "PORT_UNUSED",
-		port_clkena1 => "PORT_UNUSED",
-		port_clkena2 => "PORT_UNUSED",
-		port_clkena3 => "PORT_UNUSED",
-		port_clkena4 => "PORT_UNUSED",
-		port_clkena5 => "PORT_UNUSED",
-		port_extclk0 => "PORT_UNUSED",
-		port_extclk1 => "PORT_UNUSED",
-		port_extclk2 => "PORT_UNUSED",
-		port_extclk3 => "PORT_UNUSED",
-		self_reset_on_loss_lock => "OFF",
-		width_clock => 5
-	)
-	PORT MAP (
-		inclk => sub_wire7,
-		clk => sub_wire0,
-		locked => sub_wire3
-	);
-
-
-
-END SYN;
-
--- ============================================================
--- CNX file retrieval info
--- ============================================================
--- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
--- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
--- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
--- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "1"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "0"
--- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "1"
--- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
--- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
--- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
--- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
--- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
--- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
--- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "33"
--- Retrieval info: PRIVATE: DIV_FACTOR1 NUMERIC "33"
--- Retrieval info: PRIVATE: DIV_FACTOR2 NUMERIC "33"
--- Retrieval info: PRIVATE: DIV_FACTOR3 NUMERIC "2112"
--- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE1 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE2 STRING "50.00000000"
--- Retrieval info: PRIVATE: DUTY_CYCLE3 STRING "50.00000000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "114.545456"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE1 STRING "57.272728"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE2 STRING "114.545456"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE3 STRING "0.012784"
--- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
--- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "1"
--- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
--- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
--- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "27.000"
--- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
--- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT1 STRING "ps"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT2 STRING "ps"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT3 STRING "ps"
--- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
--- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK1 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK2 STRING "0"
--- Retrieval info: PRIVATE: MIRROR_CLK3 STRING "0"
--- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "140"
--- Retrieval info: PRIVATE: MULT_FACTOR1 NUMERIC "70"
--- Retrieval info: PRIVATE: MULT_FACTOR2 NUMERIC "140"
--- Retrieval info: PRIVATE: MULT_FACTOR3 NUMERIC "1"
--- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "57.40000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ1 STRING "57.50000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ2 STRING "57.50000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ3 STRING "0.10000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE1 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE2 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE3 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT1 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT2 STRING "MHz"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT3 STRING "MHz"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT1 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT2 STRING "-2.40000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT3 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT1 STRING "ns"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT2 STRING "ns"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT3 STRING "ps"
--- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
--- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
--- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll.mif"
--- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
--- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
--- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
--- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
--- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
--- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
--- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK1 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK2 STRING "1"
--- Retrieval info: PRIVATE: STICKY_CLK3 STRING "1"
--- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
--- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
--- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK1 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK2 STRING "1"
--- Retrieval info: PRIVATE: USE_CLK3 STRING "1"
--- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA1 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA2 STRING "0"
--- Retrieval info: PRIVATE: USE_CLKENA3 STRING "0"
--- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
--- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
--- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
--- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "AUTO"
--- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "33"
--- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "140"
--- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: CLK1_DIVIDE_BY NUMERIC "33"
--- Retrieval info: CONSTANT: CLK1_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK1_MULTIPLY_BY NUMERIC "70"
--- Retrieval info: CONSTANT: CLK1_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: CLK2_DIVIDE_BY NUMERIC "33"
--- Retrieval info: CONSTANT: CLK2_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK2_MULTIPLY_BY NUMERIC "140"
--- Retrieval info: CONSTANT: CLK2_PHASE_SHIFT STRING "-2400"
--- Retrieval info: CONSTANT: CLK3_DIVIDE_BY NUMERIC "2112"
--- Retrieval info: CONSTANT: CLK3_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK3_MULTIPLY_BY NUMERIC "1"
--- Retrieval info: CONSTANT: CLK3_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
--- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "37037"
--- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
--- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
--- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
--- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
--- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
--- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
--- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
--- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
--- Retrieval info: USED_PORT: c1 0 0 0 0 OUTPUT_CLK_EXT VCC "c1"
--- Retrieval info: USED_PORT: c2 0 0 0 0 OUTPUT_CLK_EXT VCC "c2"
--- Retrieval info: USED_PORT: c3 0 0 0 0 OUTPUT_CLK_EXT VCC "c3"
--- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
--- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
--- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
--- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
--- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
--- Retrieval info: CONNECT: c1 0 0 0 0 @clk 0 0 1 1
--- Retrieval info: CONNECT: c2 0 0 0 0 @clk 0 0 1 2
--- Retrieval info: CONNECT: c3 0 0 0 0 @clk 0 0 1 3
--- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.vhd TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.ppf TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.inc FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.cmp TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.bsf FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc_inst.vhd FALSE
--- Retrieval info: LIB_FILE: altera_mf
--- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200_sdcard/tb_data/data_io_tb.vhd
===================================================================
--- mist_5200_sdcard/tb_data/data_io_tb.vhd	(revision 231)
+++ mist_5200_sdcard/tb_data/data_io_tb.vhd	(nonexistent)
@@ -1,319 +0,0 @@
-library ieee;
-  use ieee.std_logic_1164.all;
-  use ieee.std_logic_unsigned.all;
-  use ieee.numeric_std.all;
-  use ieee.std_logic_textio.all;
-
-library std_developerskit ; -- used for to_string
---  use std_developerskit.std_iopak.all;
-
-entity data_io_tb is
-end;
-
-architecture rtl of data_io_tb is
-
-  constant CLK_A_PERIOD : time := 1 us / (1.79*32);
-
-  signal CLK_A : std_logic;
-
-  signal reset_n : std_logic;
-
-  signal spi_clk : std_logic;
-  signal spi_ss_io : std_logic_vector(1 downto 0);
-  signal spi_miso : std_logic;
-  signal spi_mosi : std_logic;
-
-  signal request : std_logic;
-  signal write : std_logic;
-  signal ready : std_logic;
-  signal sector : std_logic_vector(23 downto 0);
-
-  signal addr : std_logic_vector(8 downto 0);
-  signal data_out : std_logic_vector(7 downto 0);
-  signal data_in : std_logic_vector(7 downto 0);
-  signal wr_en : std_logic;
-
-  signal spi_enable : std_logic;
-  signal spi_tx_data : std_logic_vector(7 downto 0);
-  signal spi_rx_data : std_logic_vector(7 downto 0);
-  signal spi_busy : std_logic;
-
-  signal spi_addr : integer;
-
-begin
-	p_clk_gen_a : process
-	begin
-	clk_a <= '1';
-	wait for CLK_A_PERIOD/2;
-	clk_a <= '0';
-	wait for CLK_A_PERIOD - (CLK_A_PERIOD/2 );
-	end process;
-
-	reset_n <= '0', '1' after 1000ns;
-
-
-	spi_master1 : entity work.spi_master
-		generic map(slaves=>2,d_width=>8)
-		port map (clock=>clk_a,reset_n=>reset_n,enable=>spi_enable,cpol=>'0',cpha=>'0',cont=>'0',clk_div=>4,addr=>spi_addr,
-		          tx_data=>spi_tx_data, miso=>spi_miso,sclk=>spi_clk,ss_n=>spi_ss_io,mosi=>spi_mosi,
-					 rx_data=>spi_rx_data,busy=>spi_busy);
-
-	spi_fake : process
- 	variable type_conv : std_logic_vector(8 downto 0);
-	begin
-	spi_enable <= '0';
-	spi_addr <= 0;
-	wait for 1500us;
-
-	spi_tx_data <= x"50";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 3 loop
-		spi_tx_data <= x"ff";
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*2;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_addr <= 1;
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-	spi_addr <= 0;
-	wait for 20us;
-
-	spi_tx_data <= x"51";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 511 loop
-		type_conv := std_logic_vector(to_unsigned(i,9));
-		spi_tx_data <= type_conv(7 downto 0);
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*4;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	-- NEXT
-
-	spi_addr <= 1;
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-	spi_addr <= 0;
-	wait for 20us;
-
-	spi_tx_data <= x"50";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 3 loop
-		spi_tx_data <= x"ff";
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*2;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_addr <= 1;
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-	spi_addr <= 0;
-	wait for 20us;
-
-	spi_tx_data <= x"51";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 511 loop
-		type_conv := std_logic_vector(to_unsigned(511-i,9));
-		spi_tx_data <= type_conv(7 downto 0);
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*4;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	-- NEXT - WRITE...
-
-	spi_addr <= 1;
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-	spi_addr <= 0;
-	wait for 20us;
-
-	spi_tx_data <= x"50";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 3 loop
-		spi_tx_data <= x"ff";
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*2;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_addr <= 1;
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-	spi_addr <= 0;
-	wait for 20us;
-
-	spi_tx_data <= x"52";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	for i in 0 to 511 loop
-		spi_tx_data <= x"FF";
-		spi_enable <= '1';
-		wait for CLK_A_PERIOD*4;
-		spi_tx_data <= x"FF";
-		spi_enable <= '0';
-		wait until spi_busy='0';
-	end loop;
-
-	spi_tx_data <= x"ff";
-	spi_enable <= '1';
-	wait for CLK_A_PERIOD*2;
-	spi_tx_data <= x"FF";
-	spi_enable <= '0';
-	wait until spi_busy='0';
-
-	wait for 100ms;
-	
-	end process;
-
-	spi_request : process
-	begin
-	sector <= (others=>'0');
-	request <= '0';
-	write <= '0';
-	wait for 1500us;
-
-	sector <= x"123456";
-	request <= '1';
-	wait until ready = '1';
-	request <= '0';
-	wait for CLK_A_PERIOD*20;
-	wait until ready = '0';
-
-
-	sector <= x"654321";
-	request <= '1';
-	wait until ready = '1';
-	request <= '0';
-	wait for CLK_A_PERIOD*20;
-	wait until ready = '0';
-
-	sector <= x"111111";
-	write <= '1';
-	wait until ready = '1';
-	write <= '0';
-	wait for CLK_A_PERIOD*20;
-	wait until ready = '0';
-
-	wait for 100ms;
-	end process;
-
-	ram : entity work.generic_ram_infer
-	generic map
-	(
-		ADDRESS_WIDTH => 9,
-		SPACE => 512,
-		DATA_WIDTH => 8
-	)
-   PORT map
-   (
-      clock => spi_clk,
-      data => data_out,
-      address => addr,
-      we => wr_en,
-      q => data_in
-   );
-
-	data_io : entity work.data_io
-	PORT MAP
-	(
-		CLK => spi_clk,
-		RESET_n =>reset_n,
-		
-		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
-	   SPI_CLK => spi_clk,
-	   SPI_SS_IO => spi_ss_io(0),
-	   SPI_MISO => spi_miso,
-	   SPI_MOSI => spi_mosi,
-		
-		-- Sector access request
-		read_request => request,
-		write_request => write,
-		sector => sector,
-		ready => ready,
-		
-		-- DMA to RAM
-		ADDR => addr,
-		DATA_OUT => data_out,
-		DATA_IN => data_in,
-		WR_EN => wr_en
-	 );
-
-end rtl;
-
Index: mist_5200_sdcard/mist_sector_buffer.cmp
===================================================================
--- mist_5200_sdcard/mist_sector_buffer.cmp	(revision 231)
+++ mist_5200_sdcard/mist_sector_buffer.cmp	(nonexistent)
@@ -1,30 +0,0 @@
---Copyright (C) 1991-2012 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-component mist_sector_buffer
-	PORT
-	(
-		address_a		: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
-		address_b		: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
-		clock_a		: IN STD_LOGIC  := '1';
-		clock_b		: IN STD_LOGIC ;
-		data_a		: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
-		data_b		: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
-		wren_a		: IN STD_LOGIC  := '0';
-		wren_b		: IN STD_LOGIC  := '0';
-		q_a		: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
-		q_b		: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
-	);
-end component;
Index: mist_5200_sdcard/pll_ntsc.ppf
===================================================================
--- mist_5200_sdcard/pll_ntsc.ppf	(revision 231)
+++ mist_5200_sdcard/pll_ntsc.ppf	(nonexistent)
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE pinplan>
-<pinplan intended_family="Cyclone III" variation_name="pll_ntsc" megafunction_name="ALTPLL" specifies="all_ports">
-<global>
-<pin name="inclk0" direction="input" scope="external" source="clock"  />
-<pin name="c0" direction="output" scope="external" source="clock"  />
-<pin name="c1" direction="output" scope="external" source="clock"  />
-<pin name="c2" direction="output" scope="external" source="clock"  />
-<pin name="c3" direction="output" scope="external" source="clock"  />
-<pin name="locked" direction="output" scope="external"  />
-
-</global>
-</pinplan>
Index: mist_5200_sdcard/sd_card.v
===================================================================
--- mist_5200_sdcard/sd_card.v	(revision 231)
+++ mist_5200_sdcard/sd_card.v	(nonexistent)
@@ -1,485 +0,0 @@
-// 
-// sd_card.v
-//
-// This file implelents a sd card for the MIST board since on the board
-// the SD card is connected to the ARM IO controller and the FPGA has no
-// direct connection to the SD card. This file provides a SD card like
-// interface to the IO controller easing porting of cores that expect
-// a direct interface to the SD card.
-//
-// Copyright (c) 2014 Till Harbaum <till@harbaum.org>
-//
-// This source file is free software: you can redistribute it and/or modify
-// it under the terms of the Lesser GNU General Public License as published
-// by the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This source file is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-//
-// http://elm-chan.org/docs/mmc/mmc_e.html
-
-// TODO:
-// - CMD9: SEND_CSD (requires device capacity)
-// - CMD10: SEND_CID
-
-module sd_card (
-	// link to user_io for io controller
-	output [31:0] io_lba,
-	output reg    io_rd,
-	output reg    io_wr,
-	input			  io_ack,
-	output		  io_conf,
-	output		  io_sdhc,
-	
-	// data coming in from io controller
-	input	[7:0]	  io_din,
-	input 		  io_din_strobe,
-
-	// data going out to io controller
-	output [7:0]  io_dout,
-	input 		  io_dout_strobe,
-
-	// configuration input
-	input         allow_sdhc,
-	
-   input         sd_cs,
-   input         sd_sck,
-   input         sd_sdi,
-   output reg    sd_sdo
-); 
-
-// set io_rd once read_state machine starts waiting (rising edge of req_io_rd)
-// and clear it once io controller uploads something (io_ack==1) 
-wire req_io_rd = (read_state == RD_STATE_WAIT_IO);
-always @(posedge req_io_rd or posedge io_ack) begin
-	if(io_ack) io_rd <= 1'b0;
-	else 		  io_rd <= 1'b1;
-end
-
-wire req_io_wr = (write_state == WR_STATE_BUSY);
-always @(posedge req_io_wr or posedge io_ack) begin
-	if(io_ack) io_wr <= 1'b0;
-	else 		  io_wr <= 1'b1;
-end
-
-wire [31:0] OCR = { 1'b0, io_sdhc, 30'h0 };  // bit30 = 1 -> high capaciry card (sdhc)
-wire [7:0] READ_DATA_TOKEN = 8'hfe;
-
-localparam NCR=4;
-
-// 0=idle, 1=wait for io ctrl, 2=wait for byte start, 3=send token, 4=send data, 5/6=send crc[0..1]
-localparam RD_STATE_IDLE       = 3'd0;
-localparam RD_STATE_WAIT_IO    = 3'd1;
-localparam RD_STATE_WAIT_START = 3'd2;
-localparam RD_STATE_SEND_TOKEN = 3'd3;
-localparam RD_STATE_SEND_DATA  = 3'd4;
-localparam RD_STATE_SEND_CRC0  = 3'd5;
-localparam RD_STATE_SEND_CRC1  = 3'd6;
-reg [2:0] read_state = RD_STATE_IDLE;  
-
-// 0=idle
-localparam WR_STATE_IDLE       = 3'd0;
-localparam WR_STATE_EXP_DTOKEN = 3'd1;
-localparam WR_STATE_RECV_DATA  = 3'd2;
-localparam WR_STATE_RECV_CRC0  = 3'd3;
-localparam WR_STATE_RECV_CRC1  = 3'd4;
-localparam WR_STATE_SEND_DRESP = 3'd5;
-localparam WR_STATE_BUSY       = 3'd6;
-reg [2:0] write_state = WR_STATE_IDLE;  
-
-reg [6:0] sbuf; 
-reg cmd55;
-reg new_cmd_rcvd;
-reg [7:0] cmd;
-reg [2:0] bit_cnt;           // counts bits 0-7 0-7 ...
-reg [3:0] byte_cnt= 4'd15;   // counts bytes
-
-reg [31:0] lba;
-assign io_lba = io_sdhc?lba:{9'd0, lba[31:9]};
-
-// the command crc is actually never evaluated
-reg [7:0] crc;
-
-reg [7:0] reply;
-reg [7:0] reply0, reply1, reply2, reply3;
-reg [3:0] reply_len;
-
-// signals to address buffer on SD card write (data coming from SD spi)
-reg write_strobe;
-reg [7:0] write_data;
-
-// falling edge of io_ack signals that a sector to be read has been written into
-// the sector bufffer by the io controller. This signal is kept set as long
-// as the read state machine is in the "wait for io controller" state (state 1)
-wire rd_wait_io = (read_state == RD_STATE_WAIT_IO);
-reg rd_io_ack = 1'b0 /* synthesis noprune */;
-always @(negedge io_ack or negedge rd_wait_io) begin
-	if(!rd_wait_io) rd_io_ack <= 1'b0;
-	else            rd_io_ack <= 1'b1;
-end
-
-wire wr_wait_io = (write_state == WR_STATE_BUSY);
-reg wr_io_ack = 1'b0 /* synthesis noprune */;
-always @(negedge io_ack or negedge wr_wait_io) begin
-	if(!wr_wait_io) wr_io_ack <= 1'b0;
-	else            wr_io_ack <= 1'b1;
-end
-
-// ------------------------- SECTOR BUFFER -----------------------
-
-// access to the sector buffer is multiplexed. When reading sectors 
-// the io controller writes into the buffer and the sd card implementation
-// reads. And vice versa when writing sectors
-wire reading = (read_state != RD_STATE_IDLE);
-wire writing = (write_state != WR_STATE_IDLE);
-
-// the buffer itself. Can hold one sector
-reg [8:0] buffer_wptr;
-reg [8:0] buffer_rptr;
-reg [7:0] buffer [511:0];
-reg [7:0] buffer_byte;
-
-// ---------------- buffer read engine -----------------------
-reg core_buffer_read_strobe;
-wire buffer_read_latch = reading?sd_sck:io_dout_strobe;
-wire buffer_read_strobe = reading?core_buffer_read_strobe:!io_dout_strobe;
-assign io_dout = buffer_byte;
-
-// sdo is sampled on negative sd clock so set it on positive edge
-always @(posedge buffer_read_latch)
-	buffer_byte <= buffer[buffer_rptr];
-
-always @(posedge buffer_read_strobe or posedge new_cmd_rcvd) begin
-	if(new_cmd_rcvd == 1) buffer_rptr <= 9'd0;
-	else 		             buffer_rptr <= buffer_rptr + 9'd1;
-end
-
-// ---------------- buffer write engine -----------------------
-wire [7:0] buffer_din = reading?io_din:write_data;
-wire buffer_din_strobe = reading?io_din_strobe:write_strobe;
-
-always @(negedge buffer_din_strobe or posedge new_cmd_rcvd) begin
-	if(new_cmd_rcvd == 1) begin
-		buffer_wptr <= 9'd0;
-	end else begin
-		buffer[buffer_wptr] <= buffer_din;	
-		buffer_wptr <= buffer_wptr + 9'd1;
-	end
-end
-
-wire [7:0] WRITE_DATA_RESPONSE = 8'h05;
-
-// ------------------------- CSD/CID BUFFER ----------------------
-assign io_conf = (csd_wptr == 0);  // csd_wptr still 0 -> configuration required
-
-// the 32 bytes as sent from the io controller
-reg [7:0] cid [15:0];
-reg [7:0] csd [15:0];
-reg [7:0] conf;
-
-reg [7:0] cid_byte;
-reg [7:0] csd_byte;
-reg [5:0] csd_wptr = 6'd0;
-
-// conf[0]==1 -> io controller is using an sdhc card
-wire io_has_sdhc = conf[0];
-assign io_sdhc = allow_sdhc && io_has_sdhc;
-
-always @(negedge io_din_strobe) begin
-	// if io controller sends data without asserting io_ack, then it's
-	// updating the config
-	if(!io_ack && (csd_wptr <= 32)) begin
-	
-		if(csd_wptr < 16)                       // first 16 bytes are cid
-			cid[csd_wptr] <= io_din;	
-		if((csd_wptr >= 16) && (csd_wptr < 32)) // then comes csd
-			csd[csd_wptr-16] <= io_din;	
-		if(csd_wptr == 32)                      // finally a config byte
-			conf <= io_din;	
-			
-		csd_wptr	<= csd_wptr + 1;
-	end
-end
-
-always @(posedge buffer_read_latch)
-	cid_byte <= cid[buffer_rptr];
-
-always @(posedge buffer_read_latch)
-	csd_byte <= csd[buffer_rptr];
-	
-// ----------------- spi transmitter --------------------
-reg rd_io_ackD, wr_io_ackD;
-
-always@(negedge sd_sck or posedge sd_cs) begin
-	if(sd_cs == 1) begin
-//	   sd_sdo <= 1'b1;
-//		read_state <= RD_STATE_IDLE;
-	end else begin
-		core_buffer_read_strobe <= 1'b0;
-
-		// using rd_io_ack directly brings the read state machine into an
-		// non-existing state every now and then. For unknown reason
-		rd_io_ackD <= rd_io_ack;
-		
-		// -------- catch read commmand and reset read state machine ------
-		if(bit_cnt == 7) begin
-			if(byte_cnt == 4) begin
-				// CMD17: READ_SINGLE_BLOCK
-				if(cmd == 8'h51)
-					read_state <= RD_STATE_WAIT_IO;      // start waiting for data from io controller
-			end
-		end
-
-      if(byte_cnt < 5+NCR) begin
-		  sd_sdo <= 1'b1;				// reply $ff -> wait
-		end else begin
-
-			if(byte_cnt == 5+NCR) begin
-				sd_sdo <= reply[~bit_cnt];
-
-				if(bit_cnt == 7) begin
-					// CMD9: SEND_CSD
-					// CMD10: SEND_CID
-					if((cmd == 8'h49)||(cmd == 8'h4a))
-						read_state <= RD_STATE_SEND_TOKEN;      // jump directly to data transmission
-				end
-			end
-			else if((reply_len > 0) && (byte_cnt == 5+NCR+1))
-				sd_sdo <= reply0[~bit_cnt];
-			else if((reply_len > 1) && (byte_cnt == 5+NCR+2))
-				sd_sdo <= reply1[~bit_cnt];
-			else if((reply_len > 2) && (byte_cnt == 5+NCR+3))
-				sd_sdo <= reply2[~bit_cnt];
-			else if((reply_len > 3) && (byte_cnt == 5+NCR+4))
-				sd_sdo <= reply3[~bit_cnt];
-			else
-				sd_sdo <= 1'b1;
-				
-			// falling edge of io_ack signals end of incoming data stream
-			if((read_state == RD_STATE_WAIT_IO) && rd_io_ackD)
-				read_state <= RD_STATE_WAIT_START;
-
-			// wait for begin of new byte
-			else if((read_state == RD_STATE_WAIT_START) && (bit_cnt == 7))
-				read_state <= RD_STATE_SEND_TOKEN;
-
-			// send data token
-			else if(read_state == RD_STATE_SEND_TOKEN) begin
-				sd_sdo <= READ_DATA_TOKEN[~bit_cnt];
-				
-				if(bit_cnt == 7)
-					read_state <= RD_STATE_SEND_DATA;   // next: send data
-			end
-
-			// send data
-			else if(read_state == RD_STATE_SEND_DATA) begin
-				if(cmd == 8'h51) 							// CMD17: READ_SINGLE_BLOCK
-					sd_sdo <= buffer_byte[~bit_cnt];
-				else if(cmd == 8'h49) 					// CMD9: SEND_CSD
-					sd_sdo <= csd_byte[~bit_cnt];
-				else if(cmd == 8'h4a) 					// CMD10: SEND_CID
-					sd_sdo <= cid_byte[~bit_cnt];
-
-				if(bit_cnt == 7) begin
-					core_buffer_read_strobe <= 1'b1;
-				
-					// send 512 sector data bytes?
-					if((cmd == 8'h51) && (buffer_rptr == 511))
-						read_state <= RD_STATE_SEND_CRC0;   // next: send crc
-						
-					// send 16 cid/csd data bytes?
-					if(((cmd == 8'h49)||(cmd == 8'h4a)) && (buffer_rptr == 15))
-						read_state <= RD_STATE_IDLE;   // return to idle state
-				end
-			end
-			
-			// send crc[0]
-			else if(read_state == RD_STATE_SEND_CRC0) begin
-				sd_sdo <= 1'b1;
-				if(bit_cnt == 7)
-					read_state <= RD_STATE_SEND_CRC1;  // send second crc byte
-			end
-			
-			// send crc[1]
-			else if(read_state == RD_STATE_SEND_CRC1) begin
-				sd_sdo <= 1'b1;
-				if(bit_cnt == 7)
-					read_state <= RD_STATE_IDLE;  // return to idle state
-			end
-						
-			// ------------------ write support ----------------------
-			// send write data response
-			if(write_state == WR_STATE_SEND_DRESP) 
-				sd_sdo <= WRITE_DATA_RESPONSE[~bit_cnt];
-
-			// busy after write until the io controller sends ack
-			if(write_state == WR_STATE_BUSY) 
-				sd_sdo <= 1'b0;
-		end
-   end
-end
-
-// spi receiver  
-always @(posedge sd_sck or posedge sd_cs) begin
-	// cs is active low
-	if(sd_cs == 1) begin
-		bit_cnt <= 3'd0;
-//		byte_cnt <= 4'd15;
-//		write_state <= WR_STATE_IDLE;
-//		write_strobe <= 1'b0;
-	end else begin 
-		new_cmd_rcvd <= 1'b0;
-		write_strobe <= 1'b0;
-		sbuf[6:0] <= { sbuf[5:0], sd_sdi };
-		bit_cnt <= bit_cnt + 3'd1;
-		
-		// using wr_io_ack directly brings the write state machine into an
-		// non-existing state every now and then. For unknown reason
-		wr_io_ackD <= wr_io_ack;
-
-		// finished reading command byte
-		if(bit_cnt == 7) begin
-			// byte counter runs against 15 byte boundary
-			if(byte_cnt != 15)
-				byte_cnt <= byte_cnt + 8'd1;			
-
-			// byte_cnt > 6 -> complete command received
-				// first byte of valid command is 01xxxxxx
- 			if((byte_cnt > 5) && (write_state == WR_STATE_IDLE) && sbuf[6:5] == 2'b01)
-				byte_cnt <= 4'd0;			
-
-			// don't accept new commands once a write command has been accepted
-			if((write_state == WR_STATE_IDLE) && (byte_cnt > 5)&&(sbuf[6:5] == 2'b01)) begin
-				cmd <= { sbuf, sd_sdi};
-				new_cmd_rcvd <= 1'b1;
-
-			   // set cmd55 flag if previous command was 55
-			   cmd55 <= (cmd == 8'h77);
-			end
-
-			// parse additional command bytes
-			if(byte_cnt == 0) lba[31:24] <= { sbuf, sd_sdi};
-			if(byte_cnt == 1) lba[23:16] <= { sbuf, sd_sdi};
-			if(byte_cnt == 2) lba[15:8]  <= { sbuf, sd_sdi};
-			if(byte_cnt == 3) lba[7:0]   <= { sbuf, sd_sdi};			
-
-			// last byte received, evaluate
-			if(byte_cnt == 4) begin		
-				// crc is currently unused
-				crc  <= { sbuf, sd_sdi};
-			
-				// default:
-				reply <= 8'h04;     // illegal command
-				reply_len <= 4'd0;  // no extra reply bytes
-				
-				// CMD0: GO_IDLE_STATE
-				if(cmd == 8'h40)
-					reply <= 8'h01;    // ok, busy
-
-				// CMD1: SEND_OP_COND
-				else if(cmd == 8'h41)
-					reply <= 8'h00;    // ok, not busy
-					
-				// CMD8: SEND_IF_COND (V2 only)
-				else if(cmd == 8'h48) begin
-					reply <= 8'h01;    // ok, busy
-					reply0 <= 8'h00;
-					reply1 <= 8'h00;
-					reply2 <= 8'h01;
-					reply3 <= 8'hAA;
-					reply_len <= 4'd4;
-				end
-				
-				// CMD9: SEND_CSD
-				else if(cmd == 8'h49)
-					reply <= 8'h00;    // ok
-				
-				// CMD10: SEND_CID
-				else if(cmd == 8'h4a)
-					reply <= 8'h00;    // ok
-				
-				// CMD16: SET_BLOCKLEN
-				else if(cmd == 8'h50) begin
-				   // we only support a block size of 512
-				   if(io_lba == 32'd512)
-						reply <= 8'h00;    // ok
-				   else
-						reply <= 8'h40;    // parmeter error
-				end
-
-				// CMD17: READ_SINGLE_BLOCK
-				else if(cmd == 8'h51)
-					reply <= 8'h00;    // ok
-
-				// CMD24: WRITE_BLOCK
-				else if(cmd == 8'h58) begin
-					reply <= 8'h00;    // ok
-					write_state <= WR_STATE_EXP_DTOKEN;  // expect data token
-				end
-
-			   // ACMD41: APP_SEND_OP_COND
-			   else if(cmd55 && (cmd == 8'h69))
-					reply <= 8'h00;    // ok, not busy
-	
-				// CMD55: APP_COND
-				else if(cmd == 8'h77)
-					reply <= 8'h01;    // ok, busy
-
-				// CMD58: READ_OCR
-				else if(cmd == 8'h7a) begin
-					reply <= 8'h00;    // ok
-					
-					reply0 <= OCR[31:24];   // bit 30 = 1 -> high capacity card 
-					reply1 <= OCR[23:16];
-					reply2 <= OCR[15:8];
-					reply3 <= OCR[7:0];
-					reply_len <= 4'd4;
-				end
-			end
-			
-			// ---------- handle write -----------
-			
-			// waiting for data token
-			if(write_state == WR_STATE_EXP_DTOKEN) begin
-				if({ sbuf, sd_sdi} == 8'hfe )
-					write_state <= WR_STATE_RECV_DATA;
-			end
-
-			// transfer 512 bytes
-			if(write_state == WR_STATE_RECV_DATA) begin
-				// push one byte into local buffer
-				write_strobe <= 1'b1;
-				write_data <= { sbuf, sd_sdi};
-				
-				if(buffer_wptr == 511)
-					write_state <= WR_STATE_RECV_CRC0;
-			end
-	
-			// transfer 1st crc byte
-			if(write_state == WR_STATE_RECV_CRC0)
-				write_state <= WR_STATE_RECV_CRC1;
-
-			// transfer 2nd crc byte
-			if(write_state == WR_STATE_RECV_CRC1)
-				write_state <= WR_STATE_SEND_DRESP;
-	
-			// send data response
-			if(write_state == WR_STATE_SEND_DRESP)
-				write_state <= WR_STATE_BUSY;
-		end
-				
-		// wait for io controller to accept data
-		// this happens outside the bit_cnt == 7 test as the 
-		// transition may happen at any time
-		if(write_state == WR_STATE_BUSY && wr_io_ackD)
-			write_state <= WR_STATE_IDLE;
-	end
-end
-
-endmodule
Index: mist_5200_sdcard/output_file.cof
===================================================================
--- mist_5200_sdcard/output_file.cof	(revision 231)
+++ mist_5200_sdcard/output_file.cof	(nonexistent)
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
-<cof>
-	<eprom_name>CFI_128Mb</eprom_name>
-	<output_filename>output_files/atari800core.rbf</output_filename>
-	<n_pages>1</n_pages>
-	<width>1</width>
-	<mode>0</mode>
-	<sof_data>
-		<user_name>Page_0</user_name>
-		<page_flags>1</page_flags>
-		<bit0>
-			<sof_filename>output_files/atari800core.sof<compress_bitstream>1</compress_bitstream></sof_filename>
-		</bit0>
-	</sof_data>
-	<version>5</version>
-	<create_cvp_file>0</create_cvp_file>
-	<options>
-	</options>
-</cof>
Index: mist_5200_sdcard/atari800core.jdi
===================================================================
--- mist_5200_sdcard/atari800core.jdi	(revision 231)
+++ mist_5200_sdcard/atari800core.jdi	(nonexistent)
@@ -1,62 +0,0 @@
-<sld_project_info>
-  <project>
-    <hash md5_digest_80b="7d0f11bf891bc55d775e"/>
-  </project>
-  <file_info/>
-  <hub_info ir_width="8" node_count="1"/>
-  <node_info>
-    <node hpath="sld_signaltap:auto_signaltap_0" instance_id="0" mfg_id="110" node_id="0" sld_node_info="0x30006E00" version="6">
-      <parameters>
-        <parameter name="lpm_type" type="string" value="sld_signaltap"/>
-        <parameter name="sld_node_info" type="unknown" value="805334528"/>
-        <parameter name="SLD_IP_VERSION" type="dec" value="6"/>
-        <parameter name="SLD_IP_MINOR_VERSION" type="dec" value="0"/>
-        <parameter name="SLD_COMMON_IP_VERSION" type="dec" value="0"/>
-        <parameter name="sld_data_bits" type="unknown" value="119"/>
-        <parameter name="sld_trigger_bits" type="unknown" value="119"/>
-        <parameter name="SLD_NODE_CRC_BITS" type="dec" value="32"/>
-        <parameter name="sld_node_crc_hiword" type="unknown" value="37736"/>
-        <parameter name="sld_node_crc_loword" type="unknown" value="25945"/>
-        <parameter name="SLD_INCREMENTAL_ROUTING" type="dec" value="0"/>
-        <parameter name="sld_sample_depth" type="unknown" value="2048"/>
-        <parameter name="sld_segment_size" type="unknown" value="2048"/>
-        <parameter name="SLD_RAM_BLOCK_TYPE" type="string" value="AUTO"/>
-        <parameter name="sld_state_bits" type="unknown" value="11"/>
-        <parameter name="sld_buffer_full_stop" type="unknown" value="1"/>
-        <parameter name="SLD_MEM_ADDRESS_BITS" type="dec" value="7"/>
-        <parameter name="SLD_DATA_BIT_CNTR_BITS" type="dec" value="4"/>
-        <parameter name="sld_trigger_level" type="unknown" value="1"/>
-        <parameter name="sld_trigger_in_enabled" type="unknown" value="0"/>
-        <parameter name="sld_advanced_trigger_entity" type="unknown" value="basic,1,"/>
-        <parameter name="sld_trigger_level_pipeline" type="unknown" value="1"/>
-        <parameter name="sld_enable_advanced_trigger" type="unknown" value="0"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_1" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_2" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_3" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_4" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_5" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_6" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_7" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_8" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_9" type="string" value="NONE"/>
-        <parameter name="SLD_ADVANCED_TRIGGER_10" type="string" value="NONE"/>
-        <parameter name="sld_inversion_mask_length" type="unknown" value="382"/>
-        <parameter name="sld_inversion_mask" type="unknown" value="0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
-        <parameter name="sld_power_up_trigger" type="unknown" value="0"/>
-        <parameter name="SLD_STATE_FLOW_MGR_ENTITY" type="string" value="state_flow_mgr_entity.vhd"/>
-        <parameter name="sld_state_flow_use_generated" type="unknown" value="0"/>
-        <parameter name="sld_current_resource_width" type="unknown" value="1"/>
-        <parameter name="sld_attribute_mem_mode" type="unknown" value="OFF"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_BITS" type="dec" value="1"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_GAP_RECORD" type="dec" value="0"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_MODE" type="string" value="OFF"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_ENABLE_ADVANCED_CONDITION" type="dec" value="0"/>
-        <parameter name="sld_storage_qualifier_inversion_mask_length" type="unknown" value="0"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_ADVANCED_CONDITION_ENTITY" type="string" value="basic"/>
-        <parameter name="SLD_STORAGE_QUALIFIER_PIPELINE" type="dec" value="0"/>
-      </parameters>
-      <inputs/>
-      <outputs/>
-    </node>
-  </node_info>
-</sld_project_info>
Index: mist_5200_sdcard/pll_pal_post.cmp
===================================================================
--- mist_5200_sdcard/pll_pal_post.cmp	(revision 231)
+++ mist_5200_sdcard/pll_pal_post.cmp	(nonexistent)
@@ -1,27 +0,0 @@
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-component pll_pal_post
-	PORT
-	(
-		areset		: IN STD_LOGIC  := '0';
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		c1		: OUT STD_LOGIC ;
-		c2		: OUT STD_LOGIC ;
-		c3		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-end component;
Index: mist_5200_sdcard/atari800core.sdc
===================================================================
--- mist_5200_sdcard/atari800core.sdc	(revision 231)
+++ mist_5200_sdcard/atari800core.sdc	(nonexistent)
@@ -1,9 +0,0 @@
-create_clock -period 27MHz [get_ports CLOCK_27[0]]
-derive_pll_clocks
-create_generated_clock -name sdclk_pin -source [get_pins {clock|altpll_component|auto_generated|pll1|clk[2]}] [get_ports {SDRAM_CLK}]
-derive_clock_uncertainty
-set_input_delay -clock sdclk_pin -max 6.4 [get_ports SDRAM_DQ*]
-set_input_delay -clock sdclk_pin -min 3.2 [get_ports SDRAM_DQ*]
-set_output_delay -clock sdclk_pin -max 1.5 [get_ports SDRAM_*]
-set_output_delay -clock sdclk_pin -min -0.8 [get_ports SDRAM_*]
-set_multicycle_path -from [get_clocks {sdclk_pin}] -to [get_clocks {clock|altpll_component|auto_generated|pll1|clk[0]}] -setup -end 2
Index: mist_5200_sdcard/user_io.v
===================================================================
--- mist_5200_sdcard/user_io.v	(revision 231)
+++ mist_5200_sdcard/user_io.v	(nonexistent)
@@ -1,332 +0,0 @@
-//
-// user_io.v
-//
-// user_io for the MiST board
-// http://code.google.com/p/mist-board/
-//
-// Copyright (c) 2014 Till Harbaum <till@harbaum.org>
-//
-// This source file is free software: you can redistribute it and/or modify
-// it under the terms of the Lesser GNU General Public License as published
-// by the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This source file is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program.  If not, see <http://www.gnu.org/licenses/>.
-//
-
-// parameter STRLEN and the actual length of conf_str have to match
- 
-module user_io #(parameter STRLEN=0) (
-	input [(8*STRLEN)-1:0] conf_str,
-
-	input      		SPI_CLK,
-	input      		SPI_SS_IO,
-	output     		reg SPI_MISO,
-	input      		SPI_MOSI,
-	
-	output reg [5:0] 	joystick_0,
-	output reg [5:0] 	joystick_1,
-	output reg [15:0] joystick_analog_0,
-	output reg [15:0] joystick_analog_1,
-	output [1:0] 		buttons,
-	output [1:0] 		switches,
-
-	output reg [7:0]   status,
-
-	// connection to sd card emulation
-	input [31:0]  sd_lba,
-	input         sd_rd,
-	input         sd_wr,
-	output reg	  sd_ack,
-	input         sd_conf,
-	input         sd_sdhc,
-	output reg [7:0]  sd_dout,
-	output reg	  sd_dout_strobe,
-	input [7:0]   sd_din,
-	output reg 	  sd_din_strobe,
-	
-
-	// ps2 keyboard emulation
-	input 	  		ps2_clk,				// 12-16khz provided by core
-	output	 		ps2_kbd_clk,
-	output reg 		ps2_kbd_data,
-
-	// serial com port 
-	input [7:0]		serial_data,
-	input				serial_strobe
-);
-
-reg [6:0]         sbuf;
-reg [7:0]         cmd;
-reg [2:0] 	      bit_cnt;    // counts bits 0-7 0-7 ...
-reg [7:0]         byte_cnt;   // counts bytes
-reg [5:0]         joystick0;
-reg [5:0]         joystick1;
-reg [3:0] 	      but_sw;
-reg [2:0]         stick_idx;
-
-assign buttons = but_sw[1:0];
-assign switches = but_sw[3:2];
-
-// this variant of user_io is for 8 bit cores (type == a4) only
-wire [7:0] core_type = 8'ha4;
-
-// command byte read by the io controller
-wire [7:0] sd_cmd = { 4'h5, sd_conf, sd_sdhc, sd_wr, sd_rd };
-
-// filter spi clock. the 8 bit gate delay is ~2.5ns in total
-wire [7:0] spi_sck_D = { spi_sck_D[6:0], SPI_CLK } /* synthesis keep */;
-wire spi_sck = (spi_sck && spi_sck_D != 8'h00) || (!spi_sck && spi_sck_D == 8'hff);
-
-// drive MISO only when transmitting core id
-always@(negedge spi_sck or posedge SPI_SS_IO) begin
-	if(SPI_SS_IO == 1) begin
-	   SPI_MISO <= 1'bZ;
-	end else begin
-
-		// first byte returned is always core type, further bytes are 
-		// command dependent
-      if(byte_cnt == 0) begin
-		  SPI_MISO <= core_type[~bit_cnt];
-
-		end else begin
-			// reading serial fifo
-		   if(cmd == 8'h1b) begin
-				// send alternating flag byte and data
-				if(byte_cnt[0]) 	SPI_MISO <= serial_out_status[~bit_cnt];
-				else					SPI_MISO <= serial_out_byte[~bit_cnt];
-			end
-			
-			// reading config string
-		   else if(cmd == 8'h14) begin
-				// returning a byte from string
-				if(byte_cnt < STRLEN + 1)
-					SPI_MISO <= conf_str[{STRLEN - byte_cnt,~bit_cnt}];
-				else
-					SPI_MISO <= 1'b0;
-			end
-			
-			// reading sd card status
-		   else if(cmd == 8'h16) begin
-				if(byte_cnt == 1)
-					SPI_MISO <= sd_cmd[~bit_cnt];
-				else if((byte_cnt >= 2) && (byte_cnt < 6))
-					SPI_MISO <= sd_lba[{5-byte_cnt, ~bit_cnt}];
-				else
-					SPI_MISO <= 1'b0;
-			end
-			
-			// reading sd card write data
-		   else if(cmd == 8'h18)
-				SPI_MISO <= sd_din[~bit_cnt];
-				
-			else
-				SPI_MISO <= 1'b0;
-		end
-   end
-end
-
-// 8 byte fifo to store ps2 bytes
-localparam PS2_FIFO_BITS = 3;
-reg [7:0] ps2_fifo [(2**PS2_FIFO_BITS)-1:0];
-reg [PS2_FIFO_BITS-1:0] ps2_wptr;
-reg [PS2_FIFO_BITS-1:0] ps2_rptr;
-
-// ps2 transmitter state machine
-reg [3:0] ps2_tx_state;
-reg [7:0] ps2_tx_byte;
-reg ps2_parity;
-
-assign ps2_kbd_clk = ps2_clk || (ps2_tx_state == 0);
-
-// ps2 transmitter
-// Takes a byte from the FIFO and sends it in a ps2 compliant serial format.
-reg ps2_r_inc;
-always@(posedge ps2_clk) begin
-	ps2_r_inc <= 1'b0;
-	
-	if(ps2_r_inc)
-		ps2_rptr <= ps2_rptr + 1;
-
-	// transmitter is idle?
-	if(ps2_tx_state == 0) begin
-		// data in fifo present?
-		if(ps2_wptr != ps2_rptr) begin
-			// load tx register from fifo
-			ps2_tx_byte <= ps2_fifo[ps2_rptr];
-			ps2_r_inc <= 1'b1;
-			
-			// reset parity
-			ps2_parity <= 1'b1;
-			
-			// start transmitter
-			ps2_tx_state <= 4'd1;
-
-			// put start bit on data line
-			ps2_kbd_data <= 1'b0;			// start bit is 0
-		end
-	end else begin
-	
-		// transmission of 8 data bits
-		if((ps2_tx_state >= 1)&&(ps2_tx_state < 9)) begin
-			ps2_kbd_data <= ps2_tx_byte[0];			  // data bits
-			ps2_tx_byte[6:0] <= ps2_tx_byte[7:1]; // shift down
-			if(ps2_tx_byte[0]) 
-				ps2_parity <= !ps2_parity;
-		end
-
-		// transmission of parity
-		if(ps2_tx_state == 9)
-			ps2_kbd_data <= ps2_parity;
-			
-		// transmission of stop bit
-		if(ps2_tx_state == 10)
-			ps2_kbd_data <= 1'b1;			// stop bit is 1
-
-		// advance state machine
-		if(ps2_tx_state < 11)
-			ps2_tx_state <= ps2_tx_state + 4'd1;
-		else	
-			ps2_tx_state <= 4'd0;
-	
-	end
-end
-  
-// fifo to receive serial data from core to be forwarded to io controller
-
-// 16 byte fifo to store serial bytes
-localparam SERIAL_OUT_FIFO_BITS = 6;
-reg [7:0] serial_out_fifo [(2**SERIAL_OUT_FIFO_BITS)-1:0];
-reg [SERIAL_OUT_FIFO_BITS-1:0] serial_out_wptr;
-reg [SERIAL_OUT_FIFO_BITS-1:0] serial_out_rptr;
- 
-wire serial_out_data_available = serial_out_wptr != serial_out_rptr;
-wire [7:0] serial_out_byte = serial_out_fifo[serial_out_rptr] /* synthesis keep */;
-wire [7:0] serial_out_status = { 7'b1000000, serial_out_data_available};
-
-// status[0] is reset signal from io controller and is thus used to flush
-// the fifo
-always @(posedge serial_strobe or posedge status[0]) begin
-	if(status[0] == 1) begin
-		serial_out_wptr <= 0;
-	end else begin 
-		serial_out_fifo[serial_out_wptr] <= serial_data;
-		serial_out_wptr <= serial_out_wptr + 1;
-	end
-end 
-
-always@(negedge spi_sck or posedge status[0]) begin
-	if(status[0] == 1) begin
-		serial_out_rptr <= 0;
-	end else begin
-		if((byte_cnt != 0) && (cmd == 8'h1b)) begin
-			// read last bit -> advance read pointer
-			if((bit_cnt == 7) && !byte_cnt[0] && serial_out_data_available)
-				serial_out_rptr <= serial_out_rptr + 1;
-		end
-	end
-end
-
-// SPI receiver
-always@(posedge spi_sck or posedge SPI_SS_IO) begin
-
-	if(SPI_SS_IO == 1) begin
-	   bit_cnt <= 3'd0;
-	   byte_cnt <= 8'd0;
-		sd_ack <= 1'b0;
-		sd_dout_strobe <= 1'b0;
-		sd_din_strobe <= 1'b0;
-	end else begin
-		sd_dout_strobe <= 1'b0;
-		sd_din_strobe <= 1'b0;
-		
-		sbuf[6:0] <= { sbuf[5:0], SPI_MOSI };
-		bit_cnt <= bit_cnt + 3'd1;
-		if((bit_cnt == 7)&&(byte_cnt != 8'd255)) 
-			byte_cnt <= byte_cnt + 8'd1;
-
-		// finished reading command byte
-      if(bit_cnt == 7) begin
-			if(byte_cnt == 0) begin
-				cmd <= { sbuf, SPI_MOSI};
-			
-				// fetch first byte when sectore FPGA->IO command has been seen
-				if({ sbuf, SPI_MOSI} == 8'h18)
-					sd_din_strobe <= 1'b1;
-					
-				if(({ sbuf, SPI_MOSI} == 8'h17) || ({ sbuf, SPI_MOSI} == 8'h18))
-					sd_ack <= 1'b1;
-					
-			end else begin
-			
-				// buttons and switches
-				if(cmd == 8'h01)
-					but_sw <= { sbuf[2:0], SPI_MOSI }; 
-
-				if(cmd == 8'h02)
-					joystick_0 <= { sbuf[4:0], SPI_MOSI };
-				 
-				if(cmd == 8'h03)
-					joystick_1 <= { sbuf[4:0], SPI_MOSI };
-				 
-				if(cmd == 8'h05) begin
-					// store incoming keyboard bytes in 
-					ps2_fifo[ps2_wptr] <= { sbuf, SPI_MOSI }; 
-					ps2_wptr <= ps2_wptr + 1;
-				end
-				
-				if(cmd == 8'h15)
-					status <= { sbuf[6:0], SPI_MOSI };
-				
-				// send sector IO -> FPGA
-				if(cmd == 8'h17) begin
-					// flag that download begins
-					sd_dout <= { sbuf, SPI_MOSI};
-					sd_dout_strobe <= 1'b1;
-				end
-				
-				// send sector FPGA -> IO
-				if(cmd == 8'h18)
-					sd_din_strobe <= 1'b1;
-				
-				// send SD config IO -> FPGA
-				if(cmd == 8'h19) begin
-					// flag that download begins
-					sd_dout <= { sbuf, SPI_MOSI};
-					// sd card knows data is config if sd_dout_strobe is asserted
-					// with sd_ack still being inactive (low)
-					sd_dout_strobe <= 1'b1;
-				end
-				
-				// joystick analog
-				if(cmd == 8'h1a) begin
-					// first byte is joystick indes
-					if(byte_cnt == 1)
-						stick_idx <= { sbuf[1:0], SPI_MOSI };
-					else if(byte_cnt == 2) begin
-						// second byte is x axis
-						if(stick_idx == 0)
-							joystick_analog_0[15:8] <= { sbuf, SPI_MOSI };
-						else if(stick_idx == 1)
-							joystick_analog_1[15:8] <= { sbuf, SPI_MOSI };
-					end else if(byte_cnt == 3) begin
-						// third byte is y axis
-						if(stick_idx == 0)
-							joystick_analog_0[7:0] <= { sbuf, SPI_MOSI };
-						else if(stick_idx == 1)
-							joystick_analog_1[7:0] <= { sbuf, SPI_MOSI };
-					end
-				end
-
-			end
-		end
-	end
-end
-   
-endmodule
Index: mist_5200_sdcard/pll_pal_pre.vhd
===================================================================
--- mist_5200_sdcard/pll_pal_pre.vhd	(revision 231)
+++ mist_5200_sdcard/pll_pal_pre.vhd	(nonexistent)
@@ -1,360 +0,0 @@
--- megafunction wizard: %ALTPLL%
--- GENERATION: STANDARD
--- VERSION: WM1.0
--- MODULE: altpll 
-
--- ============================================================
--- File Name: pll_pal_pre.vhd
--- Megafunction Name(s):
--- 			altpll
---
--- Simulation Library Files(s):
--- 			altera_mf
--- ============================================================
--- ************************************************************
--- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
---
--- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
--- ************************************************************
-
-
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-LIBRARY ieee;
-USE ieee.std_logic_1164.all;
-
-LIBRARY altera_mf;
-USE altera_mf.all;
-
-ENTITY pll_pal_pre IS
-	PORT
-	(
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-END pll_pal_pre;
-
-
-ARCHITECTURE SYN OF pll_pal_pre IS
-
-	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
-	SIGNAL sub_wire1	: STD_LOGIC ;
-	SIGNAL sub_wire2	: STD_LOGIC ;
-	SIGNAL sub_wire3	: STD_LOGIC ;
-	SIGNAL sub_wire4	: STD_LOGIC_VECTOR (1 DOWNTO 0);
-	SIGNAL sub_wire5_bv	: BIT_VECTOR (0 DOWNTO 0);
-	SIGNAL sub_wire5	: STD_LOGIC_VECTOR (0 DOWNTO 0);
-
-
-
-	COMPONENT altpll
-	GENERIC (
-		bandwidth_type		: STRING;
-		clk0_divide_by		: NATURAL;
-		clk0_duty_cycle		: NATURAL;
-		clk0_multiply_by		: NATURAL;
-		clk0_phase_shift		: STRING;
-		compensate_clock		: STRING;
-		inclk0_input_frequency		: NATURAL;
-		intended_device_family		: STRING;
-		lpm_hint		: STRING;
-		lpm_type		: STRING;
-		operation_mode		: STRING;
-		pll_type		: STRING;
-		port_activeclock		: STRING;
-		port_areset		: STRING;
-		port_clkbad0		: STRING;
-		port_clkbad1		: STRING;
-		port_clkloss		: STRING;
-		port_clkswitch		: STRING;
-		port_configupdate		: STRING;
-		port_fbin		: STRING;
-		port_inclk0		: STRING;
-		port_inclk1		: STRING;
-		port_locked		: STRING;
-		port_pfdena		: STRING;
-		port_phasecounterselect		: STRING;
-		port_phasedone		: STRING;
-		port_phasestep		: STRING;
-		port_phaseupdown		: STRING;
-		port_pllena		: STRING;
-		port_scanaclr		: STRING;
-		port_scanclk		: STRING;
-		port_scanclkena		: STRING;
-		port_scandata		: STRING;
-		port_scandataout		: STRING;
-		port_scandone		: STRING;
-		port_scanread		: STRING;
-		port_scanwrite		: STRING;
-		port_clk0		: STRING;
-		port_clk1		: STRING;
-		port_clk2		: STRING;
-		port_clk3		: STRING;
-		port_clk4		: STRING;
-		port_clk5		: STRING;
-		port_clkena0		: STRING;
-		port_clkena1		: STRING;
-		port_clkena2		: STRING;
-		port_clkena3		: STRING;
-		port_clkena4		: STRING;
-		port_clkena5		: STRING;
-		port_extclk0		: STRING;
-		port_extclk1		: STRING;
-		port_extclk2		: STRING;
-		port_extclk3		: STRING;
-		self_reset_on_loss_lock		: STRING;
-		width_clock		: NATURAL
-	);
-	PORT (
-			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
-			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
-			locked	: OUT STD_LOGIC 
-	);
-	END COMPONENT;
-
-BEGIN
-	sub_wire5_bv(0 DOWNTO 0) <= "0";
-	sub_wire5    <= To_stdlogicvector(sub_wire5_bv);
-	sub_wire1    <= sub_wire0(0);
-	c0    <= sub_wire1;
-	locked    <= sub_wire2;
-	sub_wire3    <= inclk0;
-	sub_wire4    <= sub_wire5(0 DOWNTO 0) & sub_wire3;
-
-	altpll_component : altpll
-	GENERIC MAP (
-		bandwidth_type => "LOW",
-		clk0_divide_by => 27,
-		clk0_duty_cycle => 50,
-		clk0_multiply_by => 20,
-		clk0_phase_shift => "0",
-		compensate_clock => "CLK0",
-		inclk0_input_frequency => 37037,
-		intended_device_family => "Cyclone III",
-		lpm_hint => "CBX_MODULE_PREFIX=pll_pal_pre",
-		lpm_type => "altpll",
-		operation_mode => "NORMAL",
-		pll_type => "AUTO",
-		port_activeclock => "PORT_UNUSED",
-		port_areset => "PORT_UNUSED",
-		port_clkbad0 => "PORT_UNUSED",
-		port_clkbad1 => "PORT_UNUSED",
-		port_clkloss => "PORT_UNUSED",
-		port_clkswitch => "PORT_UNUSED",
-		port_configupdate => "PORT_UNUSED",
-		port_fbin => "PORT_UNUSED",
-		port_inclk0 => "PORT_USED",
-		port_inclk1 => "PORT_UNUSED",
-		port_locked => "PORT_USED",
-		port_pfdena => "PORT_UNUSED",
-		port_phasecounterselect => "PORT_UNUSED",
-		port_phasedone => "PORT_UNUSED",
-		port_phasestep => "PORT_UNUSED",
-		port_phaseupdown => "PORT_UNUSED",
-		port_pllena => "PORT_UNUSED",
-		port_scanaclr => "PORT_UNUSED",
-		port_scanclk => "PORT_UNUSED",
-		port_scanclkena => "PORT_UNUSED",
-		port_scandata => "PORT_UNUSED",
-		port_scandataout => "PORT_UNUSED",
-		port_scandone => "PORT_UNUSED",
-		port_scanread => "PORT_UNUSED",
-		port_scanwrite => "PORT_UNUSED",
-		port_clk0 => "PORT_USED",
-		port_clk1 => "PORT_UNUSED",
-		port_clk2 => "PORT_UNUSED",
-		port_clk3 => "PORT_UNUSED",
-		port_clk4 => "PORT_UNUSED",
-		port_clk5 => "PORT_UNUSED",
-		port_clkena0 => "PORT_UNUSED",
-		port_clkena1 => "PORT_UNUSED",
-		port_clkena2 => "PORT_UNUSED",
-		port_clkena3 => "PORT_UNUSED",
-		port_clkena4 => "PORT_UNUSED",
-		port_clkena5 => "PORT_UNUSED",
-		port_extclk0 => "PORT_UNUSED",
-		port_extclk1 => "PORT_UNUSED",
-		port_extclk2 => "PORT_UNUSED",
-		port_extclk3 => "PORT_UNUSED",
-		self_reset_on_loss_lock => "OFF",
-		width_clock => 5
-	)
-	PORT MAP (
-		inclk => sub_wire4,
-		clk => sub_wire0,
-		locked => sub_wire2
-	);
-
-
-
-END SYN;
-
--- ============================================================
--- CNX file retrieval info
--- ============================================================
--- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
--- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
--- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
--- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "0"
--- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "1"
--- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
--- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
--- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
--- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
--- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
--- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
--- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
--- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
--- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "27"
--- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
--- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "20.000000"
--- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
--- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
--- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
--- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
--- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "27.000"
--- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
--- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
--- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
--- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
--- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
--- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
--- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
--- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
--- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "20"
--- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
--- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
--- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
--- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
--- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
--- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
--- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
--- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
--- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
--- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll_pal_pre.mif"
--- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
--- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
--- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
--- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
--- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
--- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
--- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
--- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
--- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
--- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
--- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
--- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
--- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
--- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
--- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
--- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
--- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
--- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "LOW"
--- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "27"
--- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
--- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "20"
--- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
--- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
--- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "37037"
--- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
--- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
--- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
--- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
--- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
--- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
--- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
--- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
--- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
--- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
--- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
--- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
--- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
--- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
--- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
--- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
--- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.vhd TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.ppf TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.inc FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.cmp TRUE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.bsf FALSE
--- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre_inst.vhd FALSE
--- Retrieval info: LIB_FILE: altera_mf
--- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200_sdcard/atari800core.qws
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: mist_5200_sdcard/atari800core.qws
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: mist_5200_sdcard/mist_sector_buffer.qip
===================================================================
--- mist_5200_sdcard/mist_sector_buffer.qip	(revision 231)
+++ mist_5200_sdcard/mist_sector_buffer.qip	(nonexistent)
@@ -1,4 +0,0 @@
-set_global_assignment -name IP_TOOL_NAME "RAM: 2-PORT"
-set_global_assignment -name IP_TOOL_VERSION "12.1"
-set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "mist_sector_buffer.vhd"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "mist_sector_buffer.cmp"]
Index: mist_5200_sdcard/atari800core_mist.vhd
===================================================================
--- mist_5200_sdcard/atari800core_mist.vhd	(revision 231)
+++ mist_5200_sdcard/atari800core_mist.vhd	(nonexistent)
@@ -1,693 +0,0 @@
---------------------------------------------------------------------------- -- (c) 2013 mark watson
--- I am happy for anyone to use this for non-commercial use.
--- If my vhdl files are used commercially or otherwise sold,
--- please contact me for explicit permission at scrameta (gmail).
--- This applies for source and binary form and derived works.
----------------------------------------------------------------------------
-
-LIBRARY ieee;
-USE ieee.std_logic_1164.all; 
-use ieee.numeric_std.all;
-
-LIBRARY work;
-
-ENTITY atari800core_mist IS 
-	GENERIC
-	(
-		TV : integer;  -- 1 = PAL, 0=NTSC
-		VIDEO : integer; -- 1 = RGB, 2 = VGA
-		COMPOSITE_SYNC : integer; --0 = no, 1 = yes!
-		SCANDOUBLE : integer -- 1 = YES, 0=NO, (+ later scanlines etc)
-	);
-	PORT
-	(
-		CLOCK_27 :  IN  STD_LOGIC_VECTOR(1 downto 0);
-
-		VGA_VS :  OUT  STD_LOGIC;
-		VGA_HS :  OUT  STD_LOGIC;
-		VGA_B :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
-		VGA_G :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
-		VGA_R :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
-		
-		AUDIO_L : OUT std_logic;
-		AUDIO_R : OUT std_logic;
-
-		SDRAM_BA :  OUT  STD_LOGIC_VECTOR(1 downto 0);
-		SDRAM_nCS :  OUT  STD_LOGIC;
-		SDRAM_nRAS :  OUT  STD_LOGIC;
-		SDRAM_nCAS :  OUT  STD_LOGIC;
-		SDRAM_nWE :  OUT  STD_LOGIC;
-		SDRAM_DQMH :  OUT  STD_LOGIC;
-		SDRAM_DQML :  OUT  STD_LOGIC;
-		SDRAM_CLK :  OUT  STD_LOGIC;
-		SDRAM_CKE :  OUT  STD_LOGIC;
-		SDRAM_A :  OUT  STD_LOGIC_VECTOR(12 DOWNTO 0);
-		SDRAM_DQ :  INOUT  STD_LOGIC_VECTOR(15 DOWNTO 0);
-
-		LED : OUT std_logic;
-		
-		UART_TX :  OUT  STD_LOGIC;
-		UART_RX :  IN  STD_LOGIC;
-		
-		SPI_DO :  INOUT  STD_LOGIC;
-		SPI_DI :  IN  STD_LOGIC;
-		SPI_SCK :  IN  STD_LOGIC;
-		SPI_SS2 :  IN  STD_LOGIC;		
-		SPI_SS3 :  IN  STD_LOGIC;		
-		SPI_SS4 :  IN  STD_LOGIC;
-		CONF_DATA0 :  IN  STD_LOGIC -- AKA SPI_SS5
-	);
-END atari800core_mist;
-
-ARCHITECTURE vhdl OF atari800core_mist IS 
-
-component hq_dac
-port (
-  reset :in std_logic;
-  clk :in std_logic;
-  clk_ena : in std_logic;
-  pcm_in : in std_logic_vector(19 downto 0);
-  dac_out : out std_logic
-);
-end component;
-
-component user_io
-	GENERIC(
-		STRLEN : in integer := 0
-	);
-	PORT(
-		-- conf_str? how to do in vhdl...
-
-		-- mist spi to firmware
-		SPI_CLK : in std_logic;
-		SPI_SS_IO : in std_logic;
-		SPI_MISO : out std_logic;
-		SPI_MOSI : in std_logic;
-
-		-- joysticks
-		JOYSTICK_0 : out std_logic_vector(5 downto 0);
-		JOYSTICK_1 : out std_logic_vector(5 downto 0);
-		JOYSTICK_ANALOG_0 : out std_logic_vector(15 downto 0);
-		JOYSTICK_ANALOG_1 : out std_logic_vector(15 downto 0); -- x axis is top 8 bits, y axis is bottom 8 bits. signed.
-		BUTTONS : out std_logic_vector(1 downto 0);
-		SWITCHES : out std_logic_vector(1 downto 0);
-		STATUS : out std_logic_vector(7 downto 0); -- what is this?
-
-		-- ps2
-		PS2_CLK : in std_logic; --12-16khz
-		PS2_KBD_CLK : out std_logic;
-		PS2_KBD_DATA : out std_logic;
-
-		-- serial (one way?)
-		SERIAL_DATA : in std_logic_vector(7 downto 0);
-		SERIAL_STROBE : in std_logic;
-
-		-- connection to sd card emulation
-		sd_lba : in std_logic_vector(31 downto 0);
-		sd_rd : in std_logic;
-		sd_wr : in std_logic;
-		sd_ack : out std_logic;
-		sd_conf : in std_logic;
-		sd_sdhc : in std_logic;
-		sd_dout : out std_logic_vector(7 downto 0);
-		sd_dout_strobe : out std_logic;
-		sd_din : in std_logic_vector(7 downto 0);
-		sd_din_strobe : out std_logic
-	  );
-	end component;
-
-	component sd_card
-	PORT (
-		-- link to user_io for io controller
-		io_lba : out std_logic_vector(31 downto 0);
-		io_rd : out std_logic;
-		io_wr : out std_logic;
-		io_ack : in std_logic;
-		io_conf : out std_logic;
-		io_sdhc : out std_logic;
-		
-		-- data coming in from io controller
-		io_din : in std_logic_vector(7 downto 0);
-		io_din_strobe : in std_logic;
-		
-		-- data going out to io controller
-		io_dout : out std_logic_vector(7 downto 0);
-		io_dout_strobe : in std_logic;
-		
-		-- configuration input
-		allow_sdhc : in std_logic;
-	
-		sd_cs : in std_logic;
-		sd_sck : in std_logic;
-		sd_sdi : in std_logic;
-		sd_sdo : out std_logic
-	); 
-	end component;
-
-  signal AUDIO_L_PCM : std_logic_vector(15 downto 0);
-  signal AUDIO_R_PCM : std_logic_vector(15 downto 0);
-
-  signal VGA_VS_RAW : std_logic;
-  signal VGA_HS_RAW : std_logic;
-
-  signal RESET_n : std_logic;
-  signal PLL_LOCKED : std_logic;
-  signal CLK : std_logic;
-  signal CLK_SDRAM : std_logic;
-
-  signal CLK_PLL1 : std_logic; -- cascaded to get better pal clock
-  signal PLL1_LOCKED : std_logic;
-
-  SIGNAL PS2_CLK : std_logic;
-  SIGNAL PS2_DAT : std_logic;
-  SIGNAL FKEYS : std_logic_vector(11 downto 0);
-
-  signal capslock_pressed : std_logic;
-  signal capsheld_next : std_logic;
-  signal capsheld_reg : std_logic;
-  
-  signal spi_miso_io : std_logic;
-
-  signal mist_buttons : std_logic_vector(1 downto 0);
-  signal mist_switches : std_logic_vector(1 downto 0);
-
-  signal		JOY1 :  STD_LOGIC_VECTOR(5 DOWNTO 0);
-  signal		JOY2 :  STD_LOGIC_VECTOR(5 DOWNTO 0);
-  signal		JOY1X : std_logic_vector(7 downto 0);
-  signal		JOY1Y : std_logic_vector(7 downto 0);
-  signal		JOY2X : std_logic_vector(7 downto 0);
-  signal		JOY2Y : std_logic_vector(7 downto 0);
-  signal		JOY1_n :  STD_LOGIC_VECTOR(4 DOWNTO 0);
-  signal		JOY2_n :  STD_LOGIC_VECTOR(4 DOWNTO 0);
-  signal joy_still : std_logic;
-
-  SIGNAL	KEYBOARD_RESPONSE :  STD_LOGIC_VECTOR(1 DOWNTO 0);
-  SIGNAL	KEYBOARD_SCAN :  STD_LOGIC_VECTOR(5 DOWNTO 0);
-  signal controller_select : std_logic_vector(1 downto 0);
-
-  SIGNAL PAL : std_logic;
-  SIGNAL COMPOSITE_ON_HSYNC : std_logic;
-  SIGNAL VGA : std_logic;
-
-  signal SDRAM_REQUEST : std_logic;
-  signal SDRAM_REQUEST_COMPLETE : std_logic;
-  signal SDRAM_READ_ENABLE :  STD_LOGIC;
-  signal SDRAM_WRITE_ENABLE : std_logic;
-  signal SDRAM_ADDR : STD_LOGIC_VECTOR(22 DOWNTO 0);
-  signal SDRAM_DO : STD_LOGIC_VECTOR(31 DOWNTO 0);
-  signal SDRAM_DI : STD_LOGIC_VECTOR(31 DOWNTO 0);
-  signal SDRAM_WIDTH_8bit_ACCESS : std_logic;
-  signal SDRAM_WIDTH_16bit_ACCESS : std_logic;
-  signal SDRAM_WIDTH_32bit_ACCESS : std_logic;
-
-  signal SDRAM_REFRESH : std_logic;
-  
-  signal SDRAM_RESET_N : std_logic;
-
-	-- dma/virtual drive
-	signal DMA_ADDR_FETCH : std_logic_vector(23 downto 0);
-	signal DMA_WRITE_DATA : std_logic_vector(31 downto 0);
-	signal DMA_FETCH : std_logic;
-	signal DMA_32BIT_WRITE_ENABLE : std_logic;
-	signal DMA_16BIT_WRITE_ENABLE : std_logic;
-	signal DMA_8BIT_WRITE_ENABLE : std_logic;
-	signal DMA_READ_ENABLE : std_logic;
-	signal DMA_MEMORY_READY : std_logic;
-	signal DMA_MEMORY_DATA : std_logic_vector(31 downto 0);
-
-	signal ZPU_ADDR_ROM : std_logic_vector(15 downto 0);
-	signal ZPU_ROM_DATA :  std_logic_vector(31 downto 0);
-
-	signal ZPU_OUT1 : std_logic_vector(31 downto 0);
-	signal ZPU_OUT2 : std_logic_vector(31 downto 0);
-	signal ZPU_OUT3 : std_logic_vector(31 downto 0);
-	signal ZPU_OUT4 : std_logic_vector(31 downto 0);
-
-	signal zpu_pokey_enable : std_logic;
-	signal zpu_sio_txd : std_logic;
-	signal zpu_sio_rxd : std_logic;
-	signal zpu_sio_command : std_logic;
-
-	-- system control from zpu
-	signal ram_select : std_logic_vector(2 downto 0);
-	signal rom_select : std_logic_vector(5 downto 0);
-	signal reset_atari : std_logic;
-	signal pause_atari : std_logic;
-	SIGNAL speed_6502 : std_logic_vector(5 downto 0);
-
-	-- connection to sd card emulation
-	signal sd_lba : std_logic_vector(31 downto 0);
-	signal sd_rd : std_logic;
-	signal sd_wr : std_logic;
-	signal sd_ack : std_logic;
-	signal sd_conf : std_logic;
-	signal sd_sdhc : std_logic;
-	signal sd_dout : std_logic_vector(7 downto 0);
-	signal sd_dout_strobe : std_logic;
-	signal sd_din : std_logic_vector(7 downto 0);
-	signal sd_din_strobe : std_logic;
-
-	signal mist_sd_sdo : std_logic;
-	signal mist_sd_sck : std_logic;
-	signal mist_sd_sdi : std_logic;
-	signal mist_sd_cs : std_logic;
-
-	-- ps2
-	signal SLOW_PS2_CLK : std_logic; -- around 16KHz
-
-	-- scandoubler
-	signal half_scandouble_enable_reg : std_logic;
-	signal half_scandouble_enable_next : std_logic;
-	signal VIDEO_B : std_logic_vector(7 downto 0);
-
-BEGIN 
-pal <= '1' when tv=1 else '0';
-vga <= '1' when video=2 else '0';
-composite_on_hsync <= '1' when composite_sync=1 else '0';
-
--- mist spi io
-	spi_do <= spi_miso_io when CONF_DATA0 ='0' else 'Z';
-
-my_user_io : user_io
-	PORT map(
-	   SPI_CLK => SPI_SCK,
-	   SPI_SS_IO => CONF_DATA0,
-	   SPI_MISO => SPI_miso_io,
-	   SPI_MOSI => SPI_DI,
-		JOYSTICK_0 => joy2,
-		JOYSTICK_1 => joy1,
-		JOYSTICK_ANALOG_0(15 downto 8) => joy2x,
-		JOYSTICK_ANALOG_0(7 downto 0) => joy2y,
-		JOYSTICK_ANALOG_1(15 downto 8) => joy1x,
-		JOYSTICK_ANALOG_1(7 downto 0) => joy1y,
-		BUTTONS => mist_buttons,
-		SWITCHES => mist_switches,
-		STATUS => open,
-
-		PS2_CLK => SLOW_PS2_CLK,
-		PS2_KBD_CLK => ps2_clk,
-		PS2_KBD_DATA => ps2_dat,
-	
-		SERIAL_DATA => (others=>'0'),
-		SERIAL_STROBE => '0',
-
-		sd_lba => sd_lba,
-		sd_rd => sd_rd,
-		sd_wr => sd_wr,
-		sd_ack => sd_ack,
-		sd_conf => sd_conf,
-		sd_sdhc => sd_sdhc,
-		sd_dout => sd_dout,
-		sd_dout_strobe => sd_dout_strobe,
-		sd_din => sd_din,
-		sd_din_strobe => sd_din_strobe
-	  );
-
-my_sd_card : sd_card
-	PORT map (
-		io_lba => sd_lba,
-		io_rd => sd_rd,
-		io_wr => sd_wr,
-		io_ack => sd_ack,
-		io_conf => sd_conf,
-		io_sdhc => sd_sdhc,
-		
-		io_din => sd_dout,
-		io_din_strobe => sd_dout_strobe,
-		
-		io_dout => sd_din,
-		io_dout_strobe => sd_din_strobe,
-		
-		allow_sdhc => '1',
-	
-		sd_cs => mist_sd_cs,
-		sd_sck => mist_sd_sck,
-		sd_sdi => mist_sd_sdi,
-		sd_sdo => mist_sd_sdo
-	); 
-	  
-	 joy1_n <= not(joy1(5)&joy1(3 downto 0));
-	 joy2_n <= not(joy2(5)&joy2(3 downto 0));
-
--- PS2 to pokey
-keyboard_map1 : entity work.ps2_to_atari5200
-	PORT MAP
-	( 
-		CLK => clk,
-		RESET_N => reset_n,
-		PS2_CLK => ps2_clk,
-		PS2_DAT => ps2_dat,
-
-		FIRE2 => '0'&'0'&joy2(4)&joy1(4),
-		CONTROLLER_SELECT => CONTROLLER_SELECT, -- selected stick keyboard/shift button
-		
-		KEYBOARD_SCAN => KEYBOARD_SCAN,
-		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
-
-		FKEYS => FKEYS
-	);
--- stick 0: consol(1 downto 0)="00"
-
-joy_still <= joy1_n(3) and joy1_n(2) and joy1_n(1) and joy1_n(0); -- TODO, need something better here I think! e.g. keypad? 5200 not centreing
-	 
-dac_left : hq_dac
-port map
-(
-  reset => not(reset_n),
-  clk => clk,
-  clk_ena => '1',
-  pcm_in => AUDIO_L_PCM&"0000",
-  dac_out => audio_l
-);
-
-dac_right : hq_dac
-port map
-(
-  reset => not(reset_n),
-  clk => clk,
-  clk_ena => '1',
-  pcm_in => AUDIO_R_PCM&"0000",
-  dac_out => audio_r
-);
-
-gen_ntsc_pll : if tv=0 generate
-mist_pll : entity work.pll_ntsc
-PORT MAP(inclk0 => CLOCK_27(0),
-		 c0 => CLK_SDRAM,
-		 c1 => CLK,
-		 c2 => SDRAM_CLK,
-		 c3 => SLOW_PS2_CLK,
-		 locked => PLL_LOCKED);
-end generate;
-
-gen_pal_pll : if tv=1 generate
-mist_pll : entity work.pll_pal_pre
-PORT MAP(inclk0 => CLOCK_27(0),
-		 c0 => CLK_PLL1,
-		 locked => PLL1_LOCKED);
-mist_pll2 : entity work.pll_pal_post
-PORT MAP(inclk0 => CLK_PLL1,
-		 c0 => CLK_SDRAM,
-		 c1 => CLK,
-		 c2 => SDRAM_CLK,
-		 c3 => SLOW_PS2_CLK,
-		 areset => not(PLL1_LOCKED),
-		 locked => PLL_LOCKED);
-end generate;
-
-reset_n <= PLL_LOCKED;
-
-atari5200_test : entity work.atari5200core_simplesdram
-	GENERIC MAP
-	(
-		cycle_length => 32,
-		--internal_rom => 4, --5200 rom...
-		internal_rom => 0, --5200 rom...
-		internal_ram => 0, -- only 1 option for 5200...
-		video_bits => 8,
-		palette => 0
-	)
-	PORT MAP
-	(
-		CLK => CLK,
-		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
-
-		VIDEO_VS => VGA_VS_RAW,
-		VIDEO_HS => VGA_HS_RAW,
-		VIDEO_B => VIDEO_B,
-		VIDEO_G => open,
-		VIDEO_R => open,
-
-		AUDIO_L => AUDIO_L_PCM,
-		AUDIO_R => AUDIO_R_PCM,
-
-		SDRAM_REQUEST => SDRAM_REQUEST,
-		SDRAM_REQUEST_COMPLETE => SDRAM_REQUEST_COMPLETE,
-		SDRAM_READ_ENABLE => SDRAM_READ_ENABLE,
-		SDRAM_WRITE_ENABLE => SDRAM_WRITE_ENABLE,
-		SDRAM_ADDR => SDRAM_ADDR,
-		SDRAM_DO => SDRAM_DO,
-		SDRAM_DI => SDRAM_DI,
-		SDRAM_32BIT_WRITE_ENABLE => SDRAM_WIDTH_32bit_ACCESS,
-		SDRAM_16BIT_WRITE_ENABLE => SDRAM_WIDTH_16bit_ACCESS,
-		SDRAM_8BIT_WRITE_ENABLE => SDRAM_WIDTH_8bit_ACCESS,
-		SDRAM_REFRESH => SDRAM_REFRESH,
-
-		DMA_FETCH => dma_fetch,
-		DMA_READ_ENABLE => dma_read_enable,
-		DMA_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
-		DMA_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
-		DMA_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
-		DMA_ADDR => dma_addr_fetch,
-		DMA_WRITE_DATA => dma_write_data,
-		MEMORY_READY_DMA => dma_memory_ready,
-		DMA_MEMORY_DATA => dma_memory_data, 
-
-		THROTTLE_COUNT_6502 => speed_6502,
-		HALT => pause_atari,
-
-		-- JOYSTICK
-		JOY1_X => signed(joy1x),
-		JOY1_Y => signed(joy1y),
-		JOY1_BUTTON => joy1_n(4),
-		JOY2_X => signed(joy2x),
-		JOY2_Y => signed(joy2y),
-		JOY2_BUTTON => joy2_n(4),
-
-		-- Pokey keyboard matrix
-		-- Standard component available to connect this to PS2
-		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
-		KEYBOARD_SCAN => KEYBOARD_SCAN,
-		CONTROLLER_SELECT => CONTROLLER_SELECT
-	);
-
---atarixl_simple_sdram1 : entity work.atari800core_simple_sdram
---	GENERIC MAP
---	(
---		cycle_length => 32,
---		internal_rom => 0,
---		internal_ram => 0,
---		video_bits => 8,
---		palette => 0
---	)
---	PORT MAP
---	(
---		CLK => CLK,
---		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
---
---		VIDEO_VS => VGA_VS_RAW,
---		VIDEO_HS => VGA_HS_RAW,
---		VIDEO_B => VIDEO_B,
---		VIDEO_G => open,
---		VIDEO_R => open,
---
---		AUDIO_L => AUDIO_L_PCM,
---		AUDIO_R => AUDIO_R_PCM,
---
---		JOY1_n => JOY1_n(4)&JOY1_n(0)&JOY1_n(1)&JOY1_n(2)&JOY1_n(3),
---		JOY2_n => JOY2_n(4)&JOY2_n(0)&JOY2_n(1)&JOY2_n(2)&JOY2_n(3),
---
---		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
---		KEYBOARD_SCAN => KEYBOARD_SCAN,
---
---		SIO_COMMAND => zpu_sio_command,
---		SIO_RXD => zpu_sio_txd,
---		SIO_TXD => zpu_sio_rxd,
---
---		CONSOL_OPTION => CONSOL_OPTION,
---		CONSOL_SELECT => CONSOL_SELECT,
---		CONSOL_START => CONSOL_START,
---
---		SDRAM_REQUEST => SDRAM_REQUEST,
---		SDRAM_REQUEST_COMPLETE => SDRAM_REQUEST_COMPLETE,
---		SDRAM_READ_ENABLE => SDRAM_READ_ENABLE,
---		SDRAM_WRITE_ENABLE => SDRAM_WRITE_ENABLE,
---		SDRAM_ADDR => SDRAM_ADDR,
---		SDRAM_DO => SDRAM_DO,
---		SDRAM_DI => SDRAM_DI,
---		SDRAM_32BIT_WRITE_ENABLE => SDRAM_WIDTH_32bit_ACCESS,
---		SDRAM_16BIT_WRITE_ENABLE => SDRAM_WIDTH_16bit_ACCESS,
---		SDRAM_8BIT_WRITE_ENABLE => SDRAM_WIDTH_8bit_ACCESS,
---		SDRAM_REFRESH => SDRAM_REFRESH,
---
---		DMA_FETCH => dma_fetch,
---		DMA_READ_ENABLE => dma_read_enable,
---		DMA_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
---		DMA_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
---		DMA_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
---		DMA_ADDR => dma_addr_fetch,
---		DMA_WRITE_DATA => dma_write_data,
---		MEMORY_READY_DMA => dma_memory_ready,
---		DMA_MEMORY_DATA => dma_memory_data, 
---
---   		RAM_SELECT => ram_select,
---    		ROM_SELECT => rom_select,
---		PAL => PAL,
---		HALT => pause_atari,
---		THROTTLE_COUNT_6502 => speed_6502
---	);
-
-sdram_adaptor : entity work.sdram_statemachine
-GENERIC MAP(ADDRESS_WIDTH => 22,
-			AP_BIT => 10,
-			COLUMN_WIDTH => 8,
-			ROW_WIDTH => 12
-			)
-PORT MAP(CLK_SYSTEM => CLK,
-		 CLK_SDRAM => CLK_SDRAM,
-		 RESET_N =>  RESET_N,
-		 READ_EN => SDRAM_READ_ENABLE,
-		 WRITE_EN => SDRAM_WRITE_ENABLE,
-		 REQUEST => SDRAM_REQUEST,
-		 BYTE_ACCESS => SDRAM_WIDTH_8BIT_ACCESS,
-		 WORD_ACCESS => SDRAM_WIDTH_16BIT_ACCESS,
-		 LONGWORD_ACCESS => SDRAM_WIDTH_32BIT_ACCESS,
-		 REFRESH => SDRAM_REFRESH,
-		 ADDRESS_IN => SDRAM_ADDR,
-		 DATA_IN => SDRAM_DI,
-		 SDRAM_DQ => SDRAM_DQ,
-		 COMPLETE => SDRAM_REQUEST_COMPLETE,
-		 SDRAM_BA0 => SDRAM_BA(0),
-		 SDRAM_BA1 => SDRAM_BA(1),
-		 SDRAM_CKE => SDRAM_CKE,
-		 SDRAM_CS_N => SDRAM_nCS,
-		 SDRAM_RAS_N => SDRAM_nRAS,
-		 SDRAM_CAS_N => SDRAM_nCAS,
-		 SDRAM_WE_N => SDRAM_nWE,
-		 SDRAM_ldqm => SDRAM_DQML,
-		 SDRAM_udqm => SDRAM_DQMH,
-		 DATA_OUT => SDRAM_DO,
-		 SDRAM_ADDR => SDRAM_A(11 downto 0),
-		 reset_client_n => SDRAM_RESET_N
-		 );
-		 
-SDRAM_A(12) <= '0';
---SDRAM_REFRESH <= '0'; -- TODO
-
--- Until SDRAM enabled... TODO
---SDRAM_nCS <= '1';
---SDRAM_DQ <= (others=>'Z');
-
---SDRAM_CKE <= '1';		 
-LED <= zpu_sio_rxd;
-
---VGA_HS <= not(VGA_HS_RAW xor VGA_VS_RAW);
---VGA_VS <= not(VGA_VS_RAW);
-
-	process(clk,RESET_N,SDRAM_RESET_N,reset_atari)
-	begin
-		if ((RESET_N and SDRAM_RESET_N and not(reset_atari))='0') then
-			half_scandouble_enable_reg <= '0';
-		elsif (clk'event and clk='1') then
-			half_scandouble_enable_reg <= half_scandouble_enable_next;
-		end if;
-	end process;
-
-	half_scandouble_enable_next <= not(half_scandouble_enable_reg);
-
-	scandoubler1: entity work.scandoubler
-	GENERIC MAP
-	(
-		video_bits=>6
-	)
-	PORT MAP
-	( 
-		CLK => CLK,
-		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
-		
-		VGA => vga,
-		COMPOSITE_ON_HSYNC => composite_on_hsync,
-
-		colour_enable => half_scandouble_enable_reg,
-		doubled_enable => '1',
-		scanlines_on => mist_switches(1),
-		
-		-- GTIA interface
-		colour_in => VIDEO_B,
-		vsync_in => VGA_VS_RAW,
-		hsync_in => VGA_HS_RAW,
-		
-		-- TO TV...
-		R => VGA_R,
-		G => VGA_G,
-		B => VGA_B,
-		
-		VSYNC => VGA_VS,
-		HSYNC => VGA_HS
-	);
-
-zpu: entity work.zpucore
-	GENERIC MAP
-	(
-		platform => 1,
-		spi_clock_div => 16 -- 28MHz/2. Max for SD cards is 25MHz...
-	)
-	PORT MAP
-	(
-		-- standard...
-		CLK => CLK,
-		RESET_N => RESET_N and sdram_reset_n,
-
-		-- dma bus master (with many waitstates...)
-		ZPU_ADDR_FETCH => dma_addr_fetch,
-		ZPU_DATA_OUT => dma_write_data,
-		ZPU_FETCH => dma_fetch,
-		ZPU_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
-		ZPU_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
-		ZPU_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
-		ZPU_READ_ENABLE => dma_read_enable,
-		ZPU_MEMORY_READY => dma_memory_ready,
-		ZPU_MEMORY_DATA => dma_memory_data, 
-
-		-- rom bus master
-		-- data on next cycle after addr
-		ZPU_ADDR_ROM => zpu_addr_rom,
-		ZPU_ROM_DATA => zpu_rom_data,
-	
-		ZPU_ROM_WREN => open,
-
-		-- spi master
-		ZPU_SD_DAT0 => mist_sd_sdo,
-		ZPU_SD_CLK => mist_sd_sck,
-		ZPU_SD_CMD => mist_sd_sdi,
-		ZPU_SD_DAT3 => mist_sd_cs,
-
-		-- SIO
-		-- Ditto for speaking to Atari, we have a built in Pokey
-		ZPU_POKEY_ENABLE => zpu_pokey_enable,
-		ZPU_SIO_TXD => zpu_sio_txd,
-		ZPU_SIO_RXD => zpu_sio_rxd,
-		ZPU_SIO_COMMAND => zpu_sio_command,
-
-		-- external control
-		-- switches etc. sector DMA blah blah.
-		ZPU_IN1 => X"00000"&(FKEYS(11) or (mist_buttons(0) and not(joy1_n(4))))&(FKEYS(10) or (mist_buttons(0) and joy1_n(4) and joy_still))&(FKEYS(9) or (mist_buttons(0) and joy1_n(4) and not(joy_still)))&FKEYS(8 downto 0),
-		ZPU_IN2 => X"00000000",
-		ZPU_IN3 => X"00000000",
-		ZPU_IN4 => X"00000000",
-
-		-- ouputs - e.g. Atari system control, halt, throttle, rom select
-		ZPU_OUT1 => zpu_out1,
-		ZPU_OUT2 => zpu_out2,
-		ZPU_OUT3 => zpu_out3,
-		ZPU_OUT4 => zpu_out4
-	);
-
-	pause_atari <= zpu_out1(0);
-	reset_atari <= zpu_out1(1);
-	speed_6502 <= zpu_out1(7 downto 2);
-	ram_select <= zpu_out1(10 downto 8);
-	rom_select <= zpu_out1(16 downto 11);
-
-zpu_rom1: entity work.zpu_rom
-	port map(
-	        clock => clk,
-	        address => zpu_addr_rom(13 downto 2),
-	        q => zpu_rom_data
-	);
-
-enable_179_clock_div_zpu_pokey : entity work.enable_divider
-	generic map (COUNT=>32) -- cycle_length
-	port map(clk=>clk,reset_n=>reset_n,enable_in=>'1',enable_out=>zpu_pokey_enable);
-
-END vhdl;
Index: mist_5200_sdcard/pll_pal_pre.ppf
===================================================================
--- mist_5200_sdcard/pll_pal_pre.ppf	(revision 231)
+++ mist_5200_sdcard/pll_pal_pre.ppf	(nonexistent)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE pinplan>
-<pinplan intended_family="Cyclone III" variation_name="pll_pal_pre" megafunction_name="ALTPLL" specifies="all_ports">
-<global>
-<pin name="inclk0" direction="input" scope="external" source="clock"  />
-<pin name="c0" direction="output" scope="external" source="clock"  />
-<pin name="locked" direction="output" scope="external"  />
-
-</global>
-</pinplan>
Index: mist_5200_sdcard/keyboard.JPG
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: mist_5200_sdcard/keyboard.JPG
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: mist_5200_sdcard/pll_pal_post.qip
===================================================================
--- mist_5200_sdcard/pll_pal_post.qip	(revision 231)
+++ mist_5200_sdcard/pll_pal_post.qip	(nonexistent)
@@ -1,5 +0,0 @@
-set_global_assignment -name IP_TOOL_NAME "ALTPLL"
-set_global_assignment -name IP_TOOL_VERSION "13.0"
-set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_pal_post.vhd"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_post.cmp"]
-set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_post.ppf"]
Index: mist_5200_sdcard/data_io.wcfg
===================================================================
--- mist_5200_sdcard/data_io.wcfg	(revision 231)
+++ mist_5200_sdcard/data_io.wcfg	(nonexistent)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wave_config>
-   <wave_state>
-   </wave_state>
-   <db_ref_list>
-      <db_ref path="data_io.wdb" id="1" type="auto">
-         <top_modules>
-            <top_module name="data_io_tb" />
-            <top_module name="numeric_std" />
-            <top_module name="std_logic_1164" />
-            <top_module name="std_logic_arith" />
-            <top_module name="std_logic_textio" />
-            <top_module name="std_logic_unsigned" />
-            <top_module name="textio" />
-         </top_modules>
-      </db_ref>
-   </db_ref_list>
-   <WVObjectSize size="19" />
-   <wvobject fp_name="/data_io_tb/reset_n" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">reset_n</obj_property>
-      <obj_property name="ObjectShortName">reset_n</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/request" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">request</obj_property>
-      <obj_property name="ObjectShortName">request</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/write" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">write</obj_property>
-      <obj_property name="ObjectShortName">write</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/ready" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">ready</obj_property>
-      <obj_property name="ObjectShortName">ready</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_miso" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_miso</obj_property>
-      <obj_property name="ObjectShortName">spi_miso</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_mosi" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_mosi</obj_property>
-      <obj_property name="ObjectShortName">spi_mosi</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_clk" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_clk</obj_property>
-      <obj_property name="ObjectShortName">spi_clk</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_tx_data" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_tx_data[7:0]</obj_property>
-      <obj_property name="ObjectShortName">spi_tx_data[7:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_rx_data" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_rx_data[7:0]</obj_property>
-      <obj_property name="ObjectShortName">spi_rx_data[7:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_busy" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_busy</obj_property>
-      <obj_property name="ObjectShortName">spi_busy</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_enable" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_enable</obj_property>
-      <obj_property name="ObjectShortName">spi_enable</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/data_io/cmd_reg" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">cmd_reg[7:0]</obj_property>
-      <obj_property name="ObjectShortName">cmd_reg[7:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/data_io/cnt_reg" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">cnt_reg[15:0]</obj_property>
-      <obj_property name="ObjectShortName">cnt_reg[15:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/data_io/sbuf_reg" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">sbuf_reg[6:0]</obj_property>
-      <obj_property name="ObjectShortName">sbuf_reg[6:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/addr" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">addr[8:0]</obj_property>
-      <obj_property name="ObjectShortName">addr[8:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/data_out" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">data_out[7:0]</obj_property>
-      <obj_property name="ObjectShortName">data_out[7:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/data_in" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">data_in[7:0]</obj_property>
-      <obj_property name="ObjectShortName">data_in[7:0]</obj_property>
-      <obj_property name="Radix">HEXRADIX</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/wr_en" type="logic" db_ref_id="1">
-      <obj_property name="ElementShortName">wr_en</obj_property>
-      <obj_property name="ObjectShortName">wr_en</obj_property>
-   </wvobject>
-   <wvobject fp_name="/data_io_tb/spi_ss_io" type="array" db_ref_id="1">
-      <obj_property name="ElementShortName">spi_ss_io[1:0]</obj_property>
-      <obj_property name="ObjectShortName">spi_ss_io[1:0]</obj_property>
-   </wvobject>
-</wave_config>
Index: mist_5200_sdcard/atari800core.qpf
===================================================================
--- mist_5200_sdcard/atari800core.qpf	(revision 231)
+++ mist_5200_sdcard/atari800core.qpf	(nonexistent)
@@ -1,30 +0,0 @@
-# -------------------------------------------------------------------------- #
-#
-# Copyright (C) 1991-2012 Altera Corporation
-# Your use of Altera Corporation's design tools, logic functions 
-# and other software and tools, and its AMPP partner logic 
-# functions, and any output files from any of the foregoing 
-# (including device programming or simulation files), and any 
-# associated documentation or information are expressly subject 
-# to the terms and conditions of the Altera Program License 
-# Subscription Agreement, Altera MegaCore Function License 
-# Agreement, or other applicable license agreement, including, 
-# without limitation, that your use is for the sole purpose of 
-# programming logic devices manufactured by Altera and sold by 
-# Altera or its authorized distributors.  Please refer to the 
-# applicable agreement for further details.
-#
-# -------------------------------------------------------------------------- #
-#
-# Quartus II 64-Bit
-# Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Web Edition
-# Date created = 13:58:38  April 11, 2013
-#
-# -------------------------------------------------------------------------- #
-
-QUARTUS_VERSION = "12.1"
-DATE = "13:58:38  April 11, 2013"
-
-# Revisions
-
-PROJECT_REVISION = "atari800core"
Index: mist_5200_sdcard/pll_ntsc.cmp
===================================================================
--- mist_5200_sdcard/pll_ntsc.cmp	(revision 231)
+++ mist_5200_sdcard/pll_ntsc.cmp	(nonexistent)
@@ -1,26 +0,0 @@
---Copyright (C) 1991-2013 Altera Corporation
---Your use of Altera Corporation's design tools, logic functions 
---and other software and tools, and its AMPP partner logic 
---functions, and any output files from any of the foregoing 
---(including device programming or simulation files), and any 
---associated documentation or information are expressly subject 
---to the terms and conditions of the Altera Program License 
---Subscription Agreement, Altera MegaCore Function License 
---Agreement, or other applicable license agreement, including, 
---without limitation, that your use is for the sole purpose of 
---programming logic devices manufactured by Altera and sold by 
---Altera or its authorized distributors.  Please refer to the 
---applicable agreement for further details.
-
-
-component pll_ntsc
-	PORT
-	(
-		inclk0		: IN STD_LOGIC  := '0';
-		c0		: OUT STD_LOGIC ;
-		c1		: OUT STD_LOGIC ;
-		c2		: OUT STD_LOGIC ;
-		c3		: OUT STD_LOGIC ;
-		locked		: OUT STD_LOGIC 
-	);
-end component;
Index: mist_5200/data_io.vhdl
===================================================================
--- mist_5200/data_io.vhdl	(revision 231)
+++ mist_5200/data_io.vhdl	(nonexistent)
@@ -1,236 +0,0 @@
-LIBRARY ieee;
-USE ieee.std_logic_1164.all; 
-use ieee.numeric_std.all;
-
-LIBRARY work;
-
-ENTITY data_io IS 
-	PORT
-	(
-		CLK : in std_logic;
-		RESET_n : in std_logic;
-		
-		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
-	   SPI_CLK : in std_logic;
-	   SPI_SS_IO : in std_logic;
-	   SPI_MISO: out std_logic;
-	   SPI_MOSI : in std_logic;
-		
-		-- Sector access read_request
-		read_request : in std_logic;
-		write_request : in std_logic;
-		sector : in std_logic_vector(25 downto 0);
-		ready : out std_logic;
-		
-		-- DMA to RAM
-		ADDR: out std_logic_vector(8 downto 0);
-		DATA_OUT : out std_logic_vector(7 downto 0);
-		DATA_IN : in std_logic_vector(7 downto 0);
-		WR_EN : out std_logic
-	 );
-end data_io;
-
-architecture vhdl of data_io is
-
-
-   signal sbuf_next : std_logic_vector(6 downto 0);
-	signal sbuf_reg : std_logic_vector(6 downto 0);
-	
-   signal cmd_next : std_logic_vector(7 downto 0);
-	signal cmd_reg : std_logic_vector(7 downto 0);
-	
-	signal cnt_next : std_logic_vector(15 downto 0);
-	signal cnt_reg : std_logic_vector(15 downto 0);
-
-	signal data_in_next : std_logic_vector(7 downto 0);
-	signal data_in_reg : std_logic_vector(7 downto 0);
-
-	signal data_out_next : std_logic_vector(7 downto 0);
-	signal data_out_reg : std_logic_vector(7 downto 0);
-
-	signal addr_next : std_logic_vector(8 downto 0);
-	signal addr_reg : std_logic_vector(8 downto 0);
-
-	signal wren_next : std_logic;
-	signal wren_reg : std_logic;
-
-	signal ready_next : std_logic;
-	signal ready_reg : std_logic;
-	
-	signal transmit_next : std_logic_vector(7 downto 0);
-	signal transmit_reg : std_logic_vector(7 downto 0);
-	
-	signal sector_next : std_logic_vector(25 downto 0);
-	signal sector_reg : std_logic_vector(25 downto 0);
-	
-	signal read_request_next : std_logic;
-	signal read_request_reg : std_logic;
-	
-	signal write_request_next : std_logic;
-	signal write_request_reg : std_logic;
-
-	signal clk2 : std_logic;
-begin	 
-	clk2 <= clk or spi_ss_io;
-
-	process(clk2,reset_n,spi_ss_io)
-	begin
-		if (spi_ss_io = '1') then
-			cnt_reg <= (others=>'0');
-			cmd_reg <= (others=>'0');
-			wren_reg <= '0';
-		elsif (reset_n = '0') then
-			cnt_reg <= (others=>'0');
-			cmd_reg <= (others=>'0');
-			sbuf_reg <= (others=>'0');
-			
-			addr_reg <= (others => '0');
-			data_in_reg <= (others => '0');
-			data_out_reg <= (others => '0');
-			wren_reg <= '0';			
-			
-			ready_reg <= '0';
-			
-			transmit_reg <= (others=>'0');
-			
-			read_request_reg <= '0';
-			write_request_reg <= '0';
-			sector_reg <=(others=>'0');
-		elsif (clk2'event and clk2='1') then
-			cnt_reg <= cnt_next;
-			cmd_reg <= cmd_next;
-			sbuf_reg <= sbuf_next;			
-			
-			addr_reg <= addr_next;
-			data_in_reg <= data_in_next;
-			data_out_reg <= data_out_next;
-			wren_reg <= wren_next;
-			
-			ready_reg <= ready_next;
-		
-			transmit_reg <= transmit_next;
-
-			read_request_reg <= read_request_next;
-			write_request_reg <= write_request_next;
-			sector_reg <= sector_next;			
-		end if;
-	end process;	
-	
---	clk_sync : synchronizer
---	PORT MAP ( CLK => clk, raw => spi_clk, sync=>spi_clk_next);
---spi_clk_next <= spi_clk;
-
---	input_sync : synchronizer
---	PORT MAP ( CLK => clk, raw => spi_mosi, sync=>spi_mosi_next);
-
---	select_sync : synchronizer
---	PORT MAP ( CLK => clk, raw => spi_ss_io, sync=>spi_ss_next);
-
-	data_in_next <= data_in;
-
-	process(spi_ss_io,cnt_reg, sbuf_reg, transmit_reg, spi_mosi, addr_reg, cmd_reg, sector_reg, write_request_reg, read_request_reg, ready_reg,read_request,write_request,sector,data_in_reg)
-	begin
-		cnt_next <= cnt_reg;
-		sbuf_next <= sbuf_reg;
-		cmd_next <= cmd_reg;
-		ready_next <= ready_reg and (read_request or write_request); -- stay ready until read_request cleared (received by other end)
-		
-		transmit_next <= transmit_reg;
-		
-		wren_next <= '0';
-		data_out_next <= (others=>'0');		
-		addr_next <= addr_reg;
-		
-		sector_next <= sector_reg;
-		read_request_next <= read_request_reg;		
-		write_request_next <= write_request_reg;		
-		
---- It polls get_status 10 times a second
---- it uses SPI_SS2 for this
---- it sends command code 0x50
---- reads 4 bytes afterwards
-
---- it reports whenever the returned value is different then the one from previous get_status
-
---- if the lowest byte of the status (the last transmitted of the four) is 0xa5:
---- a sector is read from sd card with the sector no being the upper/first three bytes transmitted
---- if the sector could be read
---- SPI_SS2 is activated
---- command byte 0x51 is sent
---- all 512 sector bytes are sent
-		
-		--if (spi_clk_reg = '1' and spi_clk_next = '0') then
-		transmit_next(7 downto 1) <= transmit_reg(6 downto 0);
-		transmit_next(0) <= '0';
-
-		cnt_next <= std_logic_vector(unsigned(cnt_reg) + 1);		
-		
-		sbuf_next(6 downto 1) <= sbuf_reg(5 downto 0);
-		sbuf_next(0) <= SPI_MOSI;
-
-		if (cnt_reg = X"0000") then
-			addr_next <= (others=>'0');
-		end if;
-			
-		if (cnt_reg = X"0007") then
-			cmd_next(7 downto 1) <= sbuf_reg;
-			cmd_next(0) <= SPI_MOSI;
-			
-			sector_next <= sector;
-			read_request_next <= read_request;		
-			write_request_next <= write_request;		
-		end if;
-			
-		--end if;
-		
-		case cmd_reg is
-		when X"50" => --get status
-			case cnt_reg is 
-			when X"0008" =>
-				transmit_next <= sector_reg(25 downto 18);
-			when X"0010" =>
-				transmit_next <= sector_reg(17 downto 10);
-			when X"0018" =>
-				transmit_next <= sector_reg(9 downto 2);				
-			when X"0020" =>
-				transmit_next <= sector_reg(1 downto 0)&"1010"&write_request_reg&read_request_reg; --read read_request
-			when others =>
-				-- nothing
-			end case;
-		when X"51" => --sector read from sd, write it...
-			if (cnt_reg = X"0008") then
-				addr_next <= (others=>'1');
-			end if;
-			if (cnt_reg(2 downto 0) = "111") then
-				addr_next <= std_logic_vector(unsigned(addr_reg) + 1);
-				data_out_next(7 downto 1) <= sbuf_reg;
-				data_out_next(0) <= SPI_MOSI;
-				wren_next <= read_request;
-				
-				if (cnt_reg(12) = '1')then
-					ready_next <= '1';
-				end if;
-			end if;
-		when X"52" => -- read from write, write to sd
-			if (cnt_reg(2 downto 0) = "000") then
-				addr_next <= std_logic_vector(unsigned(addr_reg) + 1);
-				transmit_next <= data_in_reg;
-				
-				if (cnt_reg(12) = '1')then
-					ready_next <= '1';
-				end if;
-			end if;
-		when others =>
-			-- nop
-		end case;
-	end process;
-
-	-- outputs
-	addr <= addr_next;
-	data_out <= data_out_next;
-	wr_en <= wren_next;
-	
-	ready <= ready_reg;
-
-	spi_miso <= transmit_next(7);
-end vhdl;
Index: mist_5200_old_sd_interface/pll_ntsc.ppf
===================================================================
--- mist_5200_old_sd_interface/pll_ntsc.ppf	(nonexistent)
+++ mist_5200_old_sd_interface/pll_ntsc.ppf	(revision 232)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE pinplan>
+<pinplan intended_family="Cyclone III" variation_name="pll_ntsc" megafunction_name="ALTPLL" specifies="all_ports">
+<global>
+<pin name="inclk0" direction="input" scope="external" source="clock"  />
+<pin name="c0" direction="output" scope="external" source="clock"  />
+<pin name="c1" direction="output" scope="external" source="clock"  />
+<pin name="c2" direction="output" scope="external" source="clock"  />
+<pin name="c3" direction="output" scope="external" source="clock"  />
+<pin name="locked" direction="output" scope="external"  />
+
+</global>
+</pinplan>
Index: mist_5200_old_sd_interface/simulate_data_io.sh
===================================================================
--- mist_5200_old_sd_interface/simulate_data_io.sh	(nonexistent)
+++ mist_5200_old_sd_interface/simulate_data_io.sh	(revision 232)
@@ -0,0 +1,65 @@
+#!/bin/bash
+
+echo "---------------------------------------------------------"
+echo "Use 'simulate -run' to skip compilation stage."
+echo "Use 'simulate -view' to show previous simulation results."
+echo "---------------------------------------------------------"
+
+name=data_io
+
+
+
+. /home/markw/fpga/xilinx/14.7/ISE_DS/settings64.sh
+
+mkdir -p sim
+pushd sim
+
+# if we have a WDB file, we can view it if requested (otherwise we remove it)
+if [ ! -e $name.wdb -o "$1" != "-view" ]; then
+
+    rm -f $name.wdb
+
+    # if we have a EXE, we can run it if requested (otherwise we remove it)
+    if [ ! -e $name.exe -o "$1" != "-run" ]; then
+
+        rm -f $name.exe
+
+        # copy testbench files
+        cp -p ../tb_data/* .
+
+        # copy source files
+	cp ../data_io.vhdl .
+	cp ../../common/components/spi_master.vhd .
+	cp ../../common/components/generic_ram_infer.vhdl .
+
+        # set up project definition file
+	ls *.v | perl -e 'while (<>){s/(.*)/verilog work $1/;print $_;}' | cat > $name.prj
+	ls *.vhd* | perl -e 'while (<>){s/(.*)/vhdl work $1/;print $_;}' | cat >> $name.prj
+	echo NumericStdNoWarnings = 1 >> xilinxsim.ini
+
+        # verbose & no multthreading - fallback in case of problems
+        # fuse -v 1 -mt off -incremental -prj %name%.prj -o %name%.exe -t %name%
+
+        fuse -timeprecision_vhdl 1fs -incremental -prj $name.prj -o $name.exe -t ${name}_tb || exit 1
+        # fuse --mt off -prj %name%.prj -o %name%.exe -t %name%_tb
+
+        # Check for the EXE again, independent of the errorlevel of fuse...
+        [ -e $name.exe ] || echo "No simulation executable created"
+
+
+    fi
+
+    # Open the iSIM GUI and run the simulation
+    ./$name.exe -gui -f ../$name.cmd -wdb $name.wdb -log $name.log -view ../$name.wcfg || exit 1
+    #strace ./$name.exe -gui -f ../$name.cmd -wdb $name.wdb -log $name.log -view ../$name.wcfg >& out
+    #./$name.exe -h -log $name.log 
+
+
+else
+
+    # Only start the viewer on an existing wave configuration (from an old simulation)
+    isimgui -view ../$name.wcfg || exit 1
+
+fi
+
+popd

Property changes on: mist_5200_old_sd_interface/simulate_data_io.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: mist_5200/atari800core_mist.vhd
===================================================================
--- mist_5200/atari800core_mist.vhd	(revision 231)
+++ mist_5200/atari800core_mist.vhd	(revision 232)
@@ -116,6 +116,34 @@
 	  );
 	end component;
 
+	component sd_card
+	PORT (
+		-- link to user_io for io controller
+		io_lba : out std_logic_vector(31 downto 0);
+		io_rd : out std_logic;
+		io_wr : out std_logic;
+		io_ack : in std_logic;
+		io_conf : out std_logic;
+		io_sdhc : out std_logic;
+		
+		-- data coming in from io controller
+		io_din : in std_logic_vector(7 downto 0);
+		io_din_strobe : in std_logic;
+		
+		-- data going out to io controller
+		io_dout : out std_logic_vector(7 downto 0);
+		io_dout_strobe : in std_logic;
+		
+		-- configuration input
+		allow_sdhc : in std_logic;
+	
+		sd_cs : in std_logic;
+		sd_sck : in std_logic;
+		sd_sdi : in std_logic;
+		sd_sdo : out std_logic
+	); 
+	end component;
+
   signal AUDIO_L_PCM : std_logic_vector(15 downto 0);
   signal AUDIO_R_PCM : std_logic_vector(15 downto 0);
 
@@ -132,12 +160,6 @@
 
   SIGNAL PS2_CLK : std_logic;
   SIGNAL PS2_DAT : std_logic;
-  SIGNAL	CONSOL_OPTION_RAW :  STD_LOGIC;
-  SIGNAL	CONSOL_OPTION :  STD_LOGIC;
-  SIGNAL	CONSOL_SELECT_RAW :  STD_LOGIC;
-  SIGNAL	CONSOL_SELECT :  STD_LOGIC;
-  SIGNAL	CONSOL_START_RAW :  STD_LOGIC;
-  SIGNAL	CONSOL_START :  STD_LOGIC;
   SIGNAL FKEYS : std_logic_vector(11 downto 0);
 
   signal capslock_pressed : std_logic;
@@ -144,22 +166,6 @@
   signal capsheld_next : std_logic;
   signal capsheld_reg : std_logic;
   
-  signal mist_sector_ready : std_logic;
-  signal mist_sector_ready_sync : std_logic;
-  signal mist_sector_request : std_logic;
-  signal mist_sector_request_sync : std_logic;
-  signal mist_sector_write : std_logic;
-  signal mist_sector_write_sync : std_logic;
-  signal mist_sector : std_logic_vector(25 downto 0);
-  signal mist_sector_sync : std_logic_vector(25 downto 0);
-  
-  		
-  signal mist_addr : std_logic_vector(8 downto 0);
-  signal mist_do : std_logic_vector(7 downto 0);
-  signal mist_di : std_logic_vector(7 downto 0);
-  signal mist_wren : std_logic;
-  
-  signal spi_miso_data : std_logic;
   signal spi_miso_io : std_logic;
 
   signal mist_buttons : std_logic_vector(1 downto 0);
@@ -229,12 +235,23 @@
 	signal pause_atari : std_logic;
 	SIGNAL speed_6502 : std_logic_vector(5 downto 0);
 
-	-- mist sector
-	signal ZPU_ROM_DATA_MUX :  std_logic_vector(31 downto 0);
-	signal ZPU_SECTOR_DATA :  std_logic_vector(31 downto 0);
-	signal ZPU_ROM_DO :  std_logic_vector(31 downto 0);
-	signal ZPU_ROM_WREN :  std_logic;
+	-- connection to sd card emulation
+	signal sd_lba : std_logic_vector(31 downto 0);
+	signal sd_rd : std_logic;
+	signal sd_wr : std_logic;
+	signal sd_ack : std_logic;
+	signal sd_conf : std_logic;
+	signal sd_sdhc : std_logic;
+	signal sd_dout : std_logic_vector(7 downto 0);
+	signal sd_dout_strobe : std_logic;
+	signal sd_din : std_logic_vector(7 downto 0);
+	signal sd_din_strobe : std_logic;
 
+	signal mist_sd_sdo : std_logic;
+	signal mist_sd_sck : std_logic;
+	signal mist_sd_sdi : std_logic;
+	signal mist_sd_cs : std_logic;
+
 	-- ps2
 	signal SLOW_PS2_CLK : std_logic; -- around 16KHz
 
@@ -249,138 +266,8 @@
 composite_on_hsync <= '1' when composite_sync=1 else '0';
 
 -- mist spi io
-mist_spi_interface : entity work.data_io 
-	PORT map
-	(
-		CLK =>spi_sck,
-		RESET_n =>reset_n,
-		
-		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
-		SPI_CLK =>spi_sck,
-		SPI_SS_IO => spi_ss2,
-		SPI_MISO => spi_miso_data,
-		SPI_MOSI => spi_di,
-		
-		-- Sector access request
-		read_request => mist_sector_request_sync,
-		write_request => mist_sector_write_sync,
-		--request => mist_sector_request_sync,
-		sector => mist_sector_sync(25 downto 0),
-		ready => mist_sector_ready,
-		
-		-- DMA to RAM
-		ADDR => mist_addr,
-		DATA_OUT => mist_do,
-		DATA_IN => mist_di,
-		WR_EN => mist_wren
-	 );
- 
-	-- TODO, review if these are all needed when ZPU connected again...
-	select_sync : entity work.synchronizer
-	PORT MAP ( CLK => clk, raw => mist_sector_ready, sync=>mist_sector_ready_sync);
+	spi_do <= spi_miso_io when CONF_DATA0 ='0' else 'Z';
 
-	select_sync2 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector_request, sync=>mist_sector_request_sync);
-
-	select_sync3 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector_write, sync=>mist_sector_write_sync);
-
-	sector_sync0 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(0), sync=>mist_sector_sync(0));
-
-	sector_sync1 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(1), sync=>mist_sector_sync(1));
-
-	sector_sync2 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(2), sync=>mist_sector_sync(2));
-
-	sector_sync3 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(3), sync=>mist_sector_sync(3));
-
-	sector_sync4 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(4), sync=>mist_sector_sync(4));
-
-	sector_sync5 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(5), sync=>mist_sector_sync(5));
-
-	sector_sync6 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(6), sync=>mist_sector_sync(6));
-
-	sector_sync7 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(7), sync=>mist_sector_sync(7));
-
-	sector_sync8 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(8), sync=>mist_sector_sync(8));
-
-	sector_sync9 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(9), sync=>mist_sector_sync(9));
-
-	sector_sync10 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(10), sync=>mist_sector_sync(10));
-
-	sector_sync11 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(11), sync=>mist_sector_sync(11));
-
-	sector_sync12 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(12), sync=>mist_sector_sync(12));
-
-	sector_sync13 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(13), sync=>mist_sector_sync(13));
-
-	sector_sync14 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(14), sync=>mist_sector_sync(14));
-
-	sector_sync15 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(15), sync=>mist_sector_sync(15));
-
-	sector_sync16 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(16), sync=>mist_sector_sync(16));
-
-	sector_sync17 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(17), sync=>mist_sector_sync(17));
-
-	sector_sync18 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(18), sync=>mist_sector_sync(18));
-
-	sector_sync19 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(19), sync=>mist_sector_sync(19));
-
-	sector_sync20 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(20), sync=>mist_sector_sync(20));
-
-	sector_sync21 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(21), sync=>mist_sector_sync(21));
-
-	sector_sync22 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(22), sync=>mist_sector_sync(22));
-
-	sector_sync23 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(23), sync=>mist_sector_sync(23));
-
-	sector_sync24 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(24), sync=>mist_sector_sync(24));
-
-	sector_sync25 : entity work.synchronizer
-	PORT MAP ( CLK => spi_sck, raw => mist_sector(25), sync=>mist_sector_sync(25));
-	
-	
-	spi_do <= spi_miso_io when CONF_DATA0 ='0' else spi_miso_data when spi_SS2='0' else 'Z';
-
-mist_sector_buffer1 : entity work.mist_sector_buffer
-	PORT map
-	(
-		address_a		=> mist_addr,
-		address_b		=> zpu_addr_rom(8 downto 2),
-		clock_a		=> spi_sck,
-		clock_b		=> clk,
-		data_a		=> mist_do,
-		data_b		=> dma_write_data(7 downto 0)&dma_write_data(15 downto 8)&dma_write_data(23 downto 16)&dma_write_data(31 downto 24),
-		wren_a		=> mist_wren,
-		wren_b		=> zpu_rom_wren, 
-		q_a		=> mist_di,
-		q_b		=> zpu_sector_data
-	);
-	
 my_user_io : user_io
 	PORT map(
 	   SPI_CLK => SPI_SCK,
@@ -395,22 +282,50 @@
 		JOYSTICK_ANALOG_1(7 downto 0) => joy1y,
 		BUTTONS => mist_buttons,
 		SWITCHES => mist_switches,
+		STATUS => open,
+
 		PS2_CLK => SLOW_PS2_CLK,
 		PS2_KBD_CLK => ps2_clk,
 		PS2_KBD_DATA => ps2_dat,
-		STATUS => open,
+	
 		SERIAL_DATA => (others=>'0'),
 		SERIAL_STROBE => '0',
 
-		sd_lba => (others=>'0'),
-		sd_rd => '0',
-		sd_wr => '0',
-		sd_conf => '0',
-		sd_sdhc => '0',
-		sd_din => (others=>'0')
-
+		sd_lba => sd_lba,
+		sd_rd => sd_rd,
+		sd_wr => sd_wr,
+		sd_ack => sd_ack,
+		sd_conf => sd_conf,
+		sd_sdhc => sd_sdhc,
+		sd_dout => sd_dout,
+		sd_dout_strobe => sd_dout_strobe,
+		sd_din => sd_din,
+		sd_din_strobe => sd_din_strobe
 	  );
 
+my_sd_card : sd_card
+	PORT map (
+		io_lba => sd_lba,
+		io_rd => sd_rd,
+		io_wr => sd_wr,
+		io_ack => sd_ack,
+		io_conf => sd_conf,
+		io_sdhc => sd_sdhc,
+		
+		io_din => sd_dout,
+		io_din_strobe => sd_dout_strobe,
+		
+		io_dout => sd_din,
+		io_dout_strobe => sd_din_strobe,
+		
+		allow_sdhc => '1',
+	
+		sd_cs => mist_sd_cs,
+		sd_sck => mist_sd_sck,
+		sd_sdi => mist_sd_sdi,
+		sd_sdo => mist_sd_sdo
+	); 
+	  
 	 joy1_n <= not(joy1(5)&joy1(3 downto 0));
 	 joy2_n <= not(joy2(5)&joy2(3 downto 0));
 
@@ -431,28 +346,9 @@
 
 		FKEYS => FKEYS
 	);
---keyboard_map1 : entity work.ps2_to_atari800
---	PORT MAP
---	( 
---		CLK => clk,
---		RESET_N => reset_n,
---		PS2_CLK => ps2_clk,
---		PS2_DAT => ps2_dat,
---		
---		KEYBOARD_SCAN => KEYBOARD_SCAN,
---		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
---
---		CONSOL_START => CONSOL_START_RAW,
---		CONSOL_SELECT => CONSOL_SELECT_RAW,
---		CONSOL_OPTION => CONSOL_OPTION_RAW,
---		
---		FKEYS => FKEYS
---	);
+-- stick 0: consol(1 downto 0)="00"
 
-CONSOL_START <= CONSOL_START_RAW or (mist_buttons(1) and not(joy1_n(4)));
-joy_still <= joy1_n(3) and joy1_n(2) and joy1_n(1) and joy1_n(0);
-CONSOL_SELECT <= CONSOL_SELECT_RAW or (mist_buttons(1) and joy1_n(4) and not(joy_still));
-CONSOL_OPTION <= CONSOL_OPTION_RAW or (mist_buttons(1) and joy1_n(4) and joy_still);
+joy_still <= joy1_n(3) and joy1_n(2) and joy1_n(1) and joy1_n(0); -- TODO, need something better here I think! e.g. keypad? 5200 not centreing
 	 
 dac_left : hq_dac
 port map
@@ -724,7 +620,7 @@
 	GENERIC MAP
 	(
 		platform => 1,
-		spi_clock_div => 1 -- 28MHz/2. Max for SD cards is 25MHz...
+		spi_clock_div => 16 -- 28MHz/2. Max for SD cards is 25MHz...
 	)
 	PORT MAP
 	(
@@ -746,16 +642,15 @@
 		-- rom bus master
 		-- data on next cycle after addr
 		ZPU_ADDR_ROM => zpu_addr_rom,
-		ZPU_ROM_DATA => zpu_rom_data_mux,
+		ZPU_ROM_DATA => zpu_rom_data,
 	
-		ZPU_ROM_WREN => zpu_rom_wren, -- special for mist...
+		ZPU_ROM_WREN => open,
 
 		-- spi master
-		-- not used for mist...
-		ZPU_SD_DAT0 => '0',
-		ZPU_SD_CLK => open,
-		ZPU_SD_CMD => open,
-		ZPU_SD_DAT3 => open,
+		ZPU_SD_DAT0 => mist_sd_sdo,
+		ZPU_SD_CLK => mist_sd_sck,
+		ZPU_SD_CMD => mist_sd_sdi,
+		ZPU_SD_DAT3 => mist_sd_cs,
 
 		-- SIO
 		-- Ditto for speaking to Atari, we have a built in Pokey
@@ -769,7 +664,7 @@
 		ZPU_IN1 => X"00000"&(FKEYS(11) or (mist_buttons(0) and not(joy1_n(4))))&(FKEYS(10) or (mist_buttons(0) and joy1_n(4) and joy_still))&(FKEYS(9) or (mist_buttons(0) and joy1_n(4) and not(joy_still)))&FKEYS(8 downto 0),
 		ZPU_IN2 => X"00000000",
 		ZPU_IN3 => X"00000000",
-		ZPU_IN4 => X"000000"&"0000000"&mist_sector_ready_sync,
+		ZPU_IN4 => X"00000000",
 
 		-- ouputs - e.g. Atari system control, halt, throttle, rom select
 		ZPU_OUT1 => zpu_out1,
@@ -778,10 +673,6 @@
 		ZPU_OUT4 => zpu_out4
 	);
 
-	mist_sector <= zpu_out4(25 downto 0);
-	mist_sector_request <= zpu_out4(26);
-	mist_sector_write <= zpu_out4(27);
-
 	pause_atari <= zpu_out1(0);
 	reset_atari <= zpu_out1(1);
 	speed_6502 <= zpu_out1(7 downto 2);
@@ -795,14 +686,6 @@
 	        q => zpu_rom_data
 	);
 
-process(zpu_addr_rom, zpu_rom_data, zpu_sector_data)
-begin
-	zpu_rom_data_mux <= zpu_rom_data;
-	if (zpu_addr_rom(15 downto 14) = "01") then
-		zpu_rom_data_mux <= zpu_sector_data(7 downto 0)&zpu_sector_data(15 downto 8)&zpu_sector_data(23 downto 16)&zpu_sector_data(31 downto 24);
-	end if;
-end process;
-
 enable_179_clock_div_zpu_pokey : entity work.enable_divider
 	generic map (COUNT=>32) -- cycle_length
 	port map(clk=>clk,reset_n=>reset_n,enable_in=>'1',enable_out=>zpu_pokey_enable);
Index: mist_5200/sd_card.v
===================================================================
--- mist_5200/sd_card.v	(nonexistent)
+++ mist_5200/sd_card.v	(revision 232)
@@ -0,0 +1,485 @@
+// 
+// sd_card.v
+//
+// This file implelents a sd card for the MIST board since on the board
+// the SD card is connected to the ARM IO controller and the FPGA has no
+// direct connection to the SD card. This file provides a SD card like
+// interface to the IO controller easing porting of cores that expect
+// a direct interface to the SD card.
+//
+// Copyright (c) 2014 Till Harbaum <till@harbaum.org>
+//
+// This source file is free software: you can redistribute it and/or modify
+// it under the terms of the Lesser GNU General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This source file is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
+// http://elm-chan.org/docs/mmc/mmc_e.html
+
+// TODO:
+// - CMD9: SEND_CSD (requires device capacity)
+// - CMD10: SEND_CID
+
+module sd_card (
+	// link to user_io for io controller
+	output [31:0] io_lba,
+	output reg    io_rd,
+	output reg    io_wr,
+	input			  io_ack,
+	output		  io_conf,
+	output		  io_sdhc,
+	
+	// data coming in from io controller
+	input	[7:0]	  io_din,
+	input 		  io_din_strobe,
+
+	// data going out to io controller
+	output [7:0]  io_dout,
+	input 		  io_dout_strobe,
+
+	// configuration input
+	input         allow_sdhc,
+	
+   input         sd_cs,
+   input         sd_sck,
+   input         sd_sdi,
+   output reg    sd_sdo
+); 
+
+// set io_rd once read_state machine starts waiting (rising edge of req_io_rd)
+// and clear it once io controller uploads something (io_ack==1) 
+wire req_io_rd = (read_state == RD_STATE_WAIT_IO);
+always @(posedge req_io_rd or posedge io_ack) begin
+	if(io_ack) io_rd <= 1'b0;
+	else 		  io_rd <= 1'b1;
+end
+
+wire req_io_wr = (write_state == WR_STATE_BUSY);
+always @(posedge req_io_wr or posedge io_ack) begin
+	if(io_ack) io_wr <= 1'b0;
+	else 		  io_wr <= 1'b1;
+end
+
+wire [31:0] OCR = { 1'b0, io_sdhc, 30'h0 };  // bit30 = 1 -> high capaciry card (sdhc)
+wire [7:0] READ_DATA_TOKEN = 8'hfe;
+
+localparam NCR=4;
+
+// 0=idle, 1=wait for io ctrl, 2=wait for byte start, 3=send token, 4=send data, 5/6=send crc[0..1]
+localparam RD_STATE_IDLE       = 3'd0;
+localparam RD_STATE_WAIT_IO    = 3'd1;
+localparam RD_STATE_WAIT_START = 3'd2;
+localparam RD_STATE_SEND_TOKEN = 3'd3;
+localparam RD_STATE_SEND_DATA  = 3'd4;
+localparam RD_STATE_SEND_CRC0  = 3'd5;
+localparam RD_STATE_SEND_CRC1  = 3'd6;
+reg [2:0] read_state = RD_STATE_IDLE;  
+
+// 0=idle
+localparam WR_STATE_IDLE       = 3'd0;
+localparam WR_STATE_EXP_DTOKEN = 3'd1;
+localparam WR_STATE_RECV_DATA  = 3'd2;
+localparam WR_STATE_RECV_CRC0  = 3'd3;
+localparam WR_STATE_RECV_CRC1  = 3'd4;
+localparam WR_STATE_SEND_DRESP = 3'd5;
+localparam WR_STATE_BUSY       = 3'd6;
+reg [2:0] write_state = WR_STATE_IDLE;  
+
+reg [6:0] sbuf; 
+reg cmd55;
+reg new_cmd_rcvd;
+reg [7:0] cmd;
+reg [2:0] bit_cnt;           // counts bits 0-7 0-7 ...
+reg [3:0] byte_cnt= 4'd15;   // counts bytes
+
+reg [31:0] lba;
+assign io_lba = io_sdhc?lba:{9'd0, lba[31:9]};
+
+// the command crc is actually never evaluated
+reg [7:0] crc;
+
+reg [7:0] reply;
+reg [7:0] reply0, reply1, reply2, reply3;
+reg [3:0] reply_len;
+
+// signals to address buffer on SD card write (data coming from SD spi)
+reg write_strobe;
+reg [7:0] write_data;
+
+// falling edge of io_ack signals that a sector to be read has been written into
+// the sector bufffer by the io controller. This signal is kept set as long
+// as the read state machine is in the "wait for io controller" state (state 1)
+wire rd_wait_io = (read_state == RD_STATE_WAIT_IO);
+reg rd_io_ack = 1'b0 /* synthesis noprune */;
+always @(negedge io_ack or negedge rd_wait_io) begin
+	if(!rd_wait_io) rd_io_ack <= 1'b0;
+	else            rd_io_ack <= 1'b1;
+end
+
+wire wr_wait_io = (write_state == WR_STATE_BUSY);
+reg wr_io_ack = 1'b0 /* synthesis noprune */;
+always @(negedge io_ack or negedge wr_wait_io) begin
+	if(!wr_wait_io) wr_io_ack <= 1'b0;
+	else            wr_io_ack <= 1'b1;
+end
+
+// ------------------------- SECTOR BUFFER -----------------------
+
+// access to the sector buffer is multiplexed. When reading sectors 
+// the io controller writes into the buffer and the sd card implementation
+// reads. And vice versa when writing sectors
+wire reading = (read_state != RD_STATE_IDLE);
+wire writing = (write_state != WR_STATE_IDLE);
+
+// the buffer itself. Can hold one sector
+reg [8:0] buffer_wptr;
+reg [8:0] buffer_rptr;
+reg [7:0] buffer [511:0];
+reg [7:0] buffer_byte;
+
+// ---------------- buffer read engine -----------------------
+reg core_buffer_read_strobe;
+wire buffer_read_latch = reading?sd_sck:io_dout_strobe;
+wire buffer_read_strobe = reading?core_buffer_read_strobe:!io_dout_strobe;
+assign io_dout = buffer_byte;
+
+// sdo is sampled on negative sd clock so set it on positive edge
+always @(posedge buffer_read_latch)
+	buffer_byte <= buffer[buffer_rptr];
+
+always @(posedge buffer_read_strobe or posedge new_cmd_rcvd) begin
+	if(new_cmd_rcvd == 1) buffer_rptr <= 9'd0;
+	else 		             buffer_rptr <= buffer_rptr + 9'd1;
+end
+
+// ---------------- buffer write engine -----------------------
+wire [7:0] buffer_din = reading?io_din:write_data;
+wire buffer_din_strobe = reading?io_din_strobe:write_strobe;
+
+always @(negedge buffer_din_strobe or posedge new_cmd_rcvd) begin
+	if(new_cmd_rcvd == 1) begin
+		buffer_wptr <= 9'd0;
+	end else begin
+		buffer[buffer_wptr] <= buffer_din;	
+		buffer_wptr <= buffer_wptr + 9'd1;
+	end
+end
+
+wire [7:0] WRITE_DATA_RESPONSE = 8'h05;
+
+// ------------------------- CSD/CID BUFFER ----------------------
+assign io_conf = (csd_wptr == 0);  // csd_wptr still 0 -> configuration required
+
+// the 32 bytes as sent from the io controller
+reg [7:0] cid [15:0];
+reg [7:0] csd [15:0];
+reg [7:0] conf;
+
+reg [7:0] cid_byte;
+reg [7:0] csd_byte;
+reg [5:0] csd_wptr = 6'd0;
+
+// conf[0]==1 -> io controller is using an sdhc card
+wire io_has_sdhc = conf[0];
+assign io_sdhc = allow_sdhc && io_has_sdhc;
+
+always @(negedge io_din_strobe) begin
+	// if io controller sends data without asserting io_ack, then it's
+	// updating the config
+	if(!io_ack && (csd_wptr <= 32)) begin
+	
+		if(csd_wptr < 16)                       // first 16 bytes are cid
+			cid[csd_wptr] <= io_din;	
+		if((csd_wptr >= 16) && (csd_wptr < 32)) // then comes csd
+			csd[csd_wptr-16] <= io_din;	
+		if(csd_wptr == 32)                      // finally a config byte
+			conf <= io_din;	
+			
+		csd_wptr	<= csd_wptr + 1;
+	end
+end
+
+always @(posedge buffer_read_latch)
+	cid_byte <= cid[buffer_rptr];
+
+always @(posedge buffer_read_latch)
+	csd_byte <= csd[buffer_rptr];
+	
+// ----------------- spi transmitter --------------------
+reg rd_io_ackD, wr_io_ackD;
+
+always@(negedge sd_sck or posedge sd_cs) begin
+	if(sd_cs == 1) begin
+//	   sd_sdo <= 1'b1;
+//		read_state <= RD_STATE_IDLE;
+	end else begin
+		core_buffer_read_strobe <= 1'b0;
+
+		// using rd_io_ack directly brings the read state machine into an
+		// non-existing state every now and then. For unknown reason
+		rd_io_ackD <= rd_io_ack;
+		
+		// -------- catch read commmand and reset read state machine ------
+		if(bit_cnt == 7) begin
+			if(byte_cnt == 4) begin
+				// CMD17: READ_SINGLE_BLOCK
+				if(cmd == 8'h51)
+					read_state <= RD_STATE_WAIT_IO;      // start waiting for data from io controller
+			end
+		end
+
+      if(byte_cnt < 5+NCR) begin
+		  sd_sdo <= 1'b1;				// reply $ff -> wait
+		end else begin
+
+			if(byte_cnt == 5+NCR) begin
+				sd_sdo <= reply[~bit_cnt];
+
+				if(bit_cnt == 7) begin
+					// CMD9: SEND_CSD
+					// CMD10: SEND_CID
+					if((cmd == 8'h49)||(cmd == 8'h4a))
+						read_state <= RD_STATE_SEND_TOKEN;      // jump directly to data transmission
+				end
+			end
+			else if((reply_len > 0) && (byte_cnt == 5+NCR+1))
+				sd_sdo <= reply0[~bit_cnt];
+			else if((reply_len > 1) && (byte_cnt == 5+NCR+2))
+				sd_sdo <= reply1[~bit_cnt];
+			else if((reply_len > 2) && (byte_cnt == 5+NCR+3))
+				sd_sdo <= reply2[~bit_cnt];
+			else if((reply_len > 3) && (byte_cnt == 5+NCR+4))
+				sd_sdo <= reply3[~bit_cnt];
+			else
+				sd_sdo <= 1'b1;
+				
+			// falling edge of io_ack signals end of incoming data stream
+			if((read_state == RD_STATE_WAIT_IO) && rd_io_ackD)
+				read_state <= RD_STATE_WAIT_START;
+
+			// wait for begin of new byte
+			else if((read_state == RD_STATE_WAIT_START) && (bit_cnt == 7))
+				read_state <= RD_STATE_SEND_TOKEN;
+
+			// send data token
+			else if(read_state == RD_STATE_SEND_TOKEN) begin
+				sd_sdo <= READ_DATA_TOKEN[~bit_cnt];
+				
+				if(bit_cnt == 7)
+					read_state <= RD_STATE_SEND_DATA;   // next: send data
+			end
+
+			// send data
+			else if(read_state == RD_STATE_SEND_DATA) begin
+				if(cmd == 8'h51) 							// CMD17: READ_SINGLE_BLOCK
+					sd_sdo <= buffer_byte[~bit_cnt];
+				else if(cmd == 8'h49) 					// CMD9: SEND_CSD
+					sd_sdo <= csd_byte[~bit_cnt];
+				else if(cmd == 8'h4a) 					// CMD10: SEND_CID
+					sd_sdo <= cid_byte[~bit_cnt];
+
+				if(bit_cnt == 7) begin
+					core_buffer_read_strobe <= 1'b1;
+				
+					// send 512 sector data bytes?
+					if((cmd == 8'h51) && (buffer_rptr == 511))
+						read_state <= RD_STATE_SEND_CRC0;   // next: send crc
+						
+					// send 16 cid/csd data bytes?
+					if(((cmd == 8'h49)||(cmd == 8'h4a)) && (buffer_rptr == 15))
+						read_state <= RD_STATE_IDLE;   // return to idle state
+				end
+			end
+			
+			// send crc[0]
+			else if(read_state == RD_STATE_SEND_CRC0) begin
+				sd_sdo <= 1'b1;
+				if(bit_cnt == 7)
+					read_state <= RD_STATE_SEND_CRC1;  // send second crc byte
+			end
+			
+			// send crc[1]
+			else if(read_state == RD_STATE_SEND_CRC1) begin
+				sd_sdo <= 1'b1;
+				if(bit_cnt == 7)
+					read_state <= RD_STATE_IDLE;  // return to idle state
+			end
+						
+			// ------------------ write support ----------------------
+			// send write data response
+			if(write_state == WR_STATE_SEND_DRESP) 
+				sd_sdo <= WRITE_DATA_RESPONSE[~bit_cnt];
+
+			// busy after write until the io controller sends ack
+			if(write_state == WR_STATE_BUSY) 
+				sd_sdo <= 1'b0;
+		end
+   end
+end
+
+// spi receiver  
+always @(posedge sd_sck or posedge sd_cs) begin
+	// cs is active low
+	if(sd_cs == 1) begin
+		bit_cnt <= 3'd0;
+//		byte_cnt <= 4'd15;
+//		write_state <= WR_STATE_IDLE;
+//		write_strobe <= 1'b0;
+	end else begin 
+		new_cmd_rcvd <= 1'b0;
+		write_strobe <= 1'b0;
+		sbuf[6:0] <= { sbuf[5:0], sd_sdi };
+		bit_cnt <= bit_cnt + 3'd1;
+		
+		// using wr_io_ack directly brings the write state machine into an
+		// non-existing state every now and then. For unknown reason
+		wr_io_ackD <= wr_io_ack;
+
+		// finished reading command byte
+		if(bit_cnt == 7) begin
+			// byte counter runs against 15 byte boundary
+			if(byte_cnt != 15)
+				byte_cnt <= byte_cnt + 8'd1;			
+
+			// byte_cnt > 6 -> complete command received
+				// first byte of valid command is 01xxxxxx
+ 			if((byte_cnt > 5) && (write_state == WR_STATE_IDLE) && sbuf[6:5] == 2'b01)
+				byte_cnt <= 4'd0;			
+
+			// don't accept new commands once a write command has been accepted
+			if((write_state == WR_STATE_IDLE) && (byte_cnt > 5)&&(sbuf[6:5] == 2'b01)) begin
+				cmd <= { sbuf, sd_sdi};
+				new_cmd_rcvd <= 1'b1;
+
+			   // set cmd55 flag if previous command was 55
+			   cmd55 <= (cmd == 8'h77);
+			end
+
+			// parse additional command bytes
+			if(byte_cnt == 0) lba[31:24] <= { sbuf, sd_sdi};
+			if(byte_cnt == 1) lba[23:16] <= { sbuf, sd_sdi};
+			if(byte_cnt == 2) lba[15:8]  <= { sbuf, sd_sdi};
+			if(byte_cnt == 3) lba[7:0]   <= { sbuf, sd_sdi};			
+
+			// last byte received, evaluate
+			if(byte_cnt == 4) begin		
+				// crc is currently unused
+				crc  <= { sbuf, sd_sdi};
+			
+				// default:
+				reply <= 8'h04;     // illegal command
+				reply_len <= 4'd0;  // no extra reply bytes
+				
+				// CMD0: GO_IDLE_STATE
+				if(cmd == 8'h40)
+					reply <= 8'h01;    // ok, busy
+
+				// CMD1: SEND_OP_COND
+				else if(cmd == 8'h41)
+					reply <= 8'h00;    // ok, not busy
+					
+				// CMD8: SEND_IF_COND (V2 only)
+				else if(cmd == 8'h48) begin
+					reply <= 8'h01;    // ok, busy
+					reply0 <= 8'h00;
+					reply1 <= 8'h00;
+					reply2 <= 8'h01;
+					reply3 <= 8'hAA;
+					reply_len <= 4'd4;
+				end
+				
+				// CMD9: SEND_CSD
+				else if(cmd == 8'h49)
+					reply <= 8'h00;    // ok
+				
+				// CMD10: SEND_CID
+				else if(cmd == 8'h4a)
+					reply <= 8'h00;    // ok
+				
+				// CMD16: SET_BLOCKLEN
+				else if(cmd == 8'h50) begin
+				   // we only support a block size of 512
+				   if(io_lba == 32'd512)
+						reply <= 8'h00;    // ok
+				   else
+						reply <= 8'h40;    // parmeter error
+				end
+
+				// CMD17: READ_SINGLE_BLOCK
+				else if(cmd == 8'h51)
+					reply <= 8'h00;    // ok
+
+				// CMD24: WRITE_BLOCK
+				else if(cmd == 8'h58) begin
+					reply <= 8'h00;    // ok
+					write_state <= WR_STATE_EXP_DTOKEN;  // expect data token
+				end
+
+			   // ACMD41: APP_SEND_OP_COND
+			   else if(cmd55 && (cmd == 8'h69))
+					reply <= 8'h00;    // ok, not busy
+	
+				// CMD55: APP_COND
+				else if(cmd == 8'h77)
+					reply <= 8'h01;    // ok, busy
+
+				// CMD58: READ_OCR
+				else if(cmd == 8'h7a) begin
+					reply <= 8'h00;    // ok
+					
+					reply0 <= OCR[31:24];   // bit 30 = 1 -> high capacity card 
+					reply1 <= OCR[23:16];
+					reply2 <= OCR[15:8];
+					reply3 <= OCR[7:0];
+					reply_len <= 4'd4;
+				end
+			end
+			
+			// ---------- handle write -----------
+			
+			// waiting for data token
+			if(write_state == WR_STATE_EXP_DTOKEN) begin
+				if({ sbuf, sd_sdi} == 8'hfe )
+					write_state <= WR_STATE_RECV_DATA;
+			end
+
+			// transfer 512 bytes
+			if(write_state == WR_STATE_RECV_DATA) begin
+				// push one byte into local buffer
+				write_strobe <= 1'b1;
+				write_data <= { sbuf, sd_sdi};
+				
+				if(buffer_wptr == 511)
+					write_state <= WR_STATE_RECV_CRC0;
+			end
+	
+			// transfer 1st crc byte
+			if(write_state == WR_STATE_RECV_CRC0)
+				write_state <= WR_STATE_RECV_CRC1;
+
+			// transfer 2nd crc byte
+			if(write_state == WR_STATE_RECV_CRC1)
+				write_state <= WR_STATE_SEND_DRESP;
+	
+			// send data response
+			if(write_state == WR_STATE_SEND_DRESP)
+				write_state <= WR_STATE_BUSY;
+		end
+				
+		// wait for io controller to accept data
+		// this happens outside the bit_cnt == 7 test as the 
+		// transition may happen at any time
+		if(write_state == WR_STATE_BUSY && wr_io_ackD)
+			write_state <= WR_STATE_IDLE;
+	end
+end
+
+endmodule
Index: mist_5200/atari800core.qsf
===================================================================
--- mist_5200/atari800core.qsf	(revision 231)
+++ mist_5200/atari800core.qsf	(revision 232)
@@ -308,11 +308,11 @@
 
 set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
 
-set_global_assignment -name VHDL_FILE data_io.vhdl
 set_global_assignment -name VHDL_FILE zpu_rom.vhdl
 set_global_assignment -name SDC_FILE atari800core.sdc
 set_global_assignment -name QIP_FILE mist_sector_buffer.qip
 set_global_assignment -name VHDL_FILE atari800core_mist.vhd
+set_global_assignment -name VERILOG_FILE sd_card.v
 set_global_assignment -name VERILOG_FILE user_io.v
 set_global_assignment -name QIP_FILE pll_pal_pre.qip
 set_global_assignment -name QIP_FILE pll_pal_post.qip
Index: mist_5200_old_sd_interface/pll_pal_post.cmp
===================================================================
--- mist_5200_old_sd_interface/pll_pal_post.cmp	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_post.cmp	(revision 232)
@@ -0,0 +1,27 @@
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+component pll_pal_post
+	PORT
+	(
+		areset		: IN STD_LOGIC  := '0';
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		c1		: OUT STD_LOGIC ;
+		c2		: OUT STD_LOGIC ;
+		c3		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+end component;
Index: mist_5200_old_sd_interface/pll_pal_post.qip
===================================================================
--- mist_5200_old_sd_interface/pll_pal_post.qip	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_post.qip	(revision 232)
@@ -0,0 +1,5 @@
+set_global_assignment -name IP_TOOL_NAME "ALTPLL"
+set_global_assignment -name IP_TOOL_VERSION "13.0"
+set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_pal_post.vhd"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_post.cmp"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_post.ppf"]
Index: mist_5200_old_sd_interface/pll_pal_pre.ppf
===================================================================
--- mist_5200_old_sd_interface/pll_pal_pre.ppf	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_pre.ppf	(revision 232)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE pinplan>
+<pinplan intended_family="Cyclone III" variation_name="pll_pal_pre" megafunction_name="ALTPLL" specifies="all_ports">
+<global>
+<pin name="inclk0" direction="input" scope="external" source="clock"  />
+<pin name="c0" direction="output" scope="external" source="clock"  />
+<pin name="locked" direction="output" scope="external"  />
+
+</global>
+</pinplan>
Index: mist_5200_old_sd_interface/pll_pal_pre.vhd
===================================================================
--- mist_5200_old_sd_interface/pll_pal_pre.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_pre.vhd	(revision 232)
@@ -0,0 +1,360 @@
+-- megafunction wizard: %ALTPLL%
+-- GENERATION: STANDARD
+-- VERSION: WM1.0
+-- MODULE: altpll 
+
+-- ============================================================
+-- File Name: pll_pal_pre.vhd
+-- Megafunction Name(s):
+-- 			altpll
+--
+-- Simulation Library Files(s):
+-- 			altera_mf
+-- ============================================================
+-- ************************************************************
+-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
+--
+-- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
+-- ************************************************************
+
+
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+LIBRARY ieee;
+USE ieee.std_logic_1164.all;
+
+LIBRARY altera_mf;
+USE altera_mf.all;
+
+ENTITY pll_pal_pre IS
+	PORT
+	(
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+END pll_pal_pre;
+
+
+ARCHITECTURE SYN OF pll_pal_pre IS
+
+	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
+	SIGNAL sub_wire1	: STD_LOGIC ;
+	SIGNAL sub_wire2	: STD_LOGIC ;
+	SIGNAL sub_wire3	: STD_LOGIC ;
+	SIGNAL sub_wire4	: STD_LOGIC_VECTOR (1 DOWNTO 0);
+	SIGNAL sub_wire5_bv	: BIT_VECTOR (0 DOWNTO 0);
+	SIGNAL sub_wire5	: STD_LOGIC_VECTOR (0 DOWNTO 0);
+
+
+
+	COMPONENT altpll
+	GENERIC (
+		bandwidth_type		: STRING;
+		clk0_divide_by		: NATURAL;
+		clk0_duty_cycle		: NATURAL;
+		clk0_multiply_by		: NATURAL;
+		clk0_phase_shift		: STRING;
+		compensate_clock		: STRING;
+		inclk0_input_frequency		: NATURAL;
+		intended_device_family		: STRING;
+		lpm_hint		: STRING;
+		lpm_type		: STRING;
+		operation_mode		: STRING;
+		pll_type		: STRING;
+		port_activeclock		: STRING;
+		port_areset		: STRING;
+		port_clkbad0		: STRING;
+		port_clkbad1		: STRING;
+		port_clkloss		: STRING;
+		port_clkswitch		: STRING;
+		port_configupdate		: STRING;
+		port_fbin		: STRING;
+		port_inclk0		: STRING;
+		port_inclk1		: STRING;
+		port_locked		: STRING;
+		port_pfdena		: STRING;
+		port_phasecounterselect		: STRING;
+		port_phasedone		: STRING;
+		port_phasestep		: STRING;
+		port_phaseupdown		: STRING;
+		port_pllena		: STRING;
+		port_scanaclr		: STRING;
+		port_scanclk		: STRING;
+		port_scanclkena		: STRING;
+		port_scandata		: STRING;
+		port_scandataout		: STRING;
+		port_scandone		: STRING;
+		port_scanread		: STRING;
+		port_scanwrite		: STRING;
+		port_clk0		: STRING;
+		port_clk1		: STRING;
+		port_clk2		: STRING;
+		port_clk3		: STRING;
+		port_clk4		: STRING;
+		port_clk5		: STRING;
+		port_clkena0		: STRING;
+		port_clkena1		: STRING;
+		port_clkena2		: STRING;
+		port_clkena3		: STRING;
+		port_clkena4		: STRING;
+		port_clkena5		: STRING;
+		port_extclk0		: STRING;
+		port_extclk1		: STRING;
+		port_extclk2		: STRING;
+		port_extclk3		: STRING;
+		self_reset_on_loss_lock		: STRING;
+		width_clock		: NATURAL
+	);
+	PORT (
+			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
+			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
+			locked	: OUT STD_LOGIC 
+	);
+	END COMPONENT;
+
+BEGIN
+	sub_wire5_bv(0 DOWNTO 0) <= "0";
+	sub_wire5    <= To_stdlogicvector(sub_wire5_bv);
+	sub_wire1    <= sub_wire0(0);
+	c0    <= sub_wire1;
+	locked    <= sub_wire2;
+	sub_wire3    <= inclk0;
+	sub_wire4    <= sub_wire5(0 DOWNTO 0) & sub_wire3;
+
+	altpll_component : altpll
+	GENERIC MAP (
+		bandwidth_type => "LOW",
+		clk0_divide_by => 27,
+		clk0_duty_cycle => 50,
+		clk0_multiply_by => 20,
+		clk0_phase_shift => "0",
+		compensate_clock => "CLK0",
+		inclk0_input_frequency => 37037,
+		intended_device_family => "Cyclone III",
+		lpm_hint => "CBX_MODULE_PREFIX=pll_pal_pre",
+		lpm_type => "altpll",
+		operation_mode => "NORMAL",
+		pll_type => "AUTO",
+		port_activeclock => "PORT_UNUSED",
+		port_areset => "PORT_UNUSED",
+		port_clkbad0 => "PORT_UNUSED",
+		port_clkbad1 => "PORT_UNUSED",
+		port_clkloss => "PORT_UNUSED",
+		port_clkswitch => "PORT_UNUSED",
+		port_configupdate => "PORT_UNUSED",
+		port_fbin => "PORT_UNUSED",
+		port_inclk0 => "PORT_USED",
+		port_inclk1 => "PORT_UNUSED",
+		port_locked => "PORT_USED",
+		port_pfdena => "PORT_UNUSED",
+		port_phasecounterselect => "PORT_UNUSED",
+		port_phasedone => "PORT_UNUSED",
+		port_phasestep => "PORT_UNUSED",
+		port_phaseupdown => "PORT_UNUSED",
+		port_pllena => "PORT_UNUSED",
+		port_scanaclr => "PORT_UNUSED",
+		port_scanclk => "PORT_UNUSED",
+		port_scanclkena => "PORT_UNUSED",
+		port_scandata => "PORT_UNUSED",
+		port_scandataout => "PORT_UNUSED",
+		port_scandone => "PORT_UNUSED",
+		port_scanread => "PORT_UNUSED",
+		port_scanwrite => "PORT_UNUSED",
+		port_clk0 => "PORT_USED",
+		port_clk1 => "PORT_UNUSED",
+		port_clk2 => "PORT_UNUSED",
+		port_clk3 => "PORT_UNUSED",
+		port_clk4 => "PORT_UNUSED",
+		port_clk5 => "PORT_UNUSED",
+		port_clkena0 => "PORT_UNUSED",
+		port_clkena1 => "PORT_UNUSED",
+		port_clkena2 => "PORT_UNUSED",
+		port_clkena3 => "PORT_UNUSED",
+		port_clkena4 => "PORT_UNUSED",
+		port_clkena5 => "PORT_UNUSED",
+		port_extclk0 => "PORT_UNUSED",
+		port_extclk1 => "PORT_UNUSED",
+		port_extclk2 => "PORT_UNUSED",
+		port_extclk3 => "PORT_UNUSED",
+		self_reset_on_loss_lock => "OFF",
+		width_clock => 5
+	)
+	PORT MAP (
+		inclk => sub_wire4,
+		clk => sub_wire0,
+		locked => sub_wire2
+	);
+
+
+
+END SYN;
+
+-- ============================================================
+-- CNX file retrieval info
+-- ============================================================
+-- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
+-- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
+-- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
+-- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "0"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "1"
+-- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
+-- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
+-- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
+-- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
+-- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "27"
+-- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "20.000000"
+-- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
+-- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
+-- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
+-- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "27.000"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
+-- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
+-- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
+-- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "20"
+-- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
+-- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
+-- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll_pal_pre.mif"
+-- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
+-- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
+-- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
+-- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
+-- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
+-- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
+-- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
+-- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
+-- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
+-- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
+-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
+-- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "LOW"
+-- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "27"
+-- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "20"
+-- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
+-- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "37037"
+-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
+-- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
+-- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
+-- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
+-- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
+-- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
+-- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
+-- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
+-- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
+-- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
+-- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
+-- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
+-- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
+-- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.vhd TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.ppf TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.inc FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.cmp TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre.bsf FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_pre_inst.vhd FALSE
+-- Retrieval info: LIB_FILE: altera_mf
+-- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200/zpu_rom.vhdl
===================================================================
--- mist_5200/zpu_rom.vhdl	(revision 231)
+++ mist_5200/zpu_rom.vhdl	(revision 232)
@@ -180,8 +180,8 @@
 X"00000000",
 X"00000000",
 X"71fc0608",
-X"0b0b80dd",
-X"d8738306",
+X"0b0b80e5",
+X"d0738306",
 X"10100508",
 X"060b0b0b",
 X"88a20400",
@@ -227,8 +227,8 @@
 X"00000000",
 X"00000000",
 X"00000000",
-X"810b80e0",
-X"f80c5104",
+X"810b80e8",
+X"f00c5104",
 X"00000000",
 X"00000000",
 X"00000000",
@@ -300,8 +300,8 @@
 X"83e08008",
 X"83e08408",
 X"83e08808",
-X"757580d8",
-X"872d5050",
+X"757580df",
+X"fe2d5050",
 X"83e08008",
 X"5683e088",
 X"0c83e084",
@@ -310,7 +310,7 @@
 X"e0800883",
 X"e0840883",
 X"e0880875",
-X"7580d69b",
+X"7580de92",
 X"2d505083",
 X"e0800856",
 X"83e0880c",
@@ -319,19 +319,19 @@
 X"51040000",
 X"800489aa",
 X"0489aa0b",
-X"80cfd504",
+X"80d9d404",
 X"f43d0d7e",
 X"8f3dec11",
 X"56565890",
 X"53f01552",
-X"775193ae",
+X"775193b0",
 X"3f83e080",
 X"0880d638",
 X"78902e09",
 X"810680cd",
 X"3802ab05",
-X"3380e180",
-X"0b80e180",
+X"3380e8f8",
+X"0b80e8f8",
 X"33575856",
 X"8c397476",
 X"2e8a3884",
@@ -345,7 +345,7 @@
 X"56705556",
 X"5696800a",
 X"52775192",
-X"dd3f83e0",
+X"df3f83e0",
 X"80088638",
 X"78752e85",
 X"38805685",
@@ -354,7 +354,7 @@
 X"800c8e3d",
 X"0d04fc3d",
 X"0d767052",
-X"55b3903f",
+X"55b3923f",
 X"83e08008",
 X"15ff0554",
 X"73752e8e",
@@ -363,7 +363,7 @@
 X"38ff1454",
 X"ef397752",
 X"811451b2",
-X"a83f83e0",
+X"aa3f83e0",
 X"80083070",
 X"83e08008",
 X"07802583",
@@ -371,23 +371,23 @@
 X"863d0d04",
 X"fc3d0d76",
 X"70525599",
-X"c93f83e0",
+X"cb3f83e0",
 X"80085481",
 X"5383e080",
 X"0880c738",
-X"7451998c",
+X"7451998e",
 X"3f83e080",
 X"080b0b80",
-X"dfb85383",
+X"e7b05383",
 X"e0800852",
 X"53ff8f3f",
 X"83e08008",
 X"a5380b0b",
-X"80dfbc52",
+X"80e7b452",
 X"7251fefe",
 X"3f83e080",
 X"0894380b",
-X"0b80dfc0",
+X"0b80e7b8",
 X"527251fe",
 X"ed3f83e0",
 X"8008802e",
@@ -396,11 +396,11 @@
 X"e0800c86",
 X"3d0d04fd",
 X"3d0d7570",
-X"525498e2",
+X"525498e4",
 X"3f815383",
 X"e0800898",
 X"38735198",
-X"ab3f83e0",
+X"ad3f83e0",
 X"a0085283",
 X"e0800851",
 X"feb43f83",
@@ -409,22 +409,22 @@
 X"0c853d0d",
 X"04e03d0d",
 X"a33d0870",
-X"525e8ed1",
+X"525e8ed3",
 X"3f83e080",
 X"0833943d",
 X"56547394",
-X"3880e288",
+X"3880ea80",
 X"52745184",
-X"c6397d52",
-X"785191d4",
-X"3f84d039",
-X"7d518eb9",
+X"c7397d52",
+X"785191d6",
+X"3f84d139",
+X"7d518ebb",
 X"3f83e080",
 X"08527451",
-X"8de93f83",
+X"8deb3f83",
 X"e0a80852",
 X"933d7052",
-X"5d94c43f",
+X"5d94c63f",
 X"83e08008",
 X"59800b83",
 X"e0800855",
@@ -431,7 +431,7 @@
 X"5b83e080",
 X"087b2e94",
 X"38811b74",
-X"525b97c5",
+X"525b97c7",
 X"3f83e080",
 X"085483e0",
 X"8008ee38",
@@ -448,2183 +448,2503 @@
 X"5a525555",
 X"80752595",
 X"38765197",
-X"843f83e0",
+X"863f83e0",
 X"800876ff",
 X"18585557",
 X"738024ed",
 X"38747f2e",
-X"8638b8dd",
-X"3f745f78",
-X"ff1b7058",
-X"5d58807a",
-X"25953877",
-X"5196da3f",
+X"873880c2",
+X"db3f745f",
+X"78ff1b70",
+X"585d5880",
+X"7a259538",
+X"775196db",
+X"3f83e080",
+X"0876ff18",
+X"58555873",
+X"8024ed38",
+X"800b83e7",
+X"bc0c800b",
+X"83e7e00c",
+X"0b0b80e7",
+X"bc518bae",
+X"3f81800b",
+X"83e7e00c",
+X"0b0b80e7",
+X"c4518b9e",
+X"3fa80b83",
+X"e7bc0c76",
+X"802e80e8",
+X"3883e7bc",
+X"08777932",
+X"70307072",
+X"07802570",
+X"872b83e7",
+X"e00c5156",
+X"78535656",
+X"968e3f83",
+X"e0800880",
+X"2e8a380b",
+X"0b80e7cc",
+X"518ae33f",
+X"765195ce",
+X"3f83e080",
+X"08520b0b",
+X"80e88051",
+X"8ad03f76",
+X"5195d43f",
 X"83e08008",
-X"76ff1858",
-X"55587380",
-X"24ed3880",
-X"0b83e3a8",
-X"0c800b83",
-X"e3cc0c0b",
-X"0b80dfc4",
-X"518bad3f",
-X"81800b83",
-X"e3cc0c0b",
-X"0b80dfcc",
-X"518b9d3f",
-X"a80b83e3",
-X"a80c7680",
-X"2e80e838",
-X"83e3a808",
-X"77793270",
-X"30707207",
-X"80257087",
-X"2b83e3cc",
-X"0c515678",
-X"53565696",
-X"8d3f83e0",
-X"8008802e",
-X"8a380b0b",
-X"80dfd451",
-X"8ae23f76",
-X"5195cd3f",
-X"83e08008",
+X"83e7bc08",
+X"55577574",
+X"258638a8",
+X"1656f739",
+X"7583e7bc",
+X"0c86f076",
+X"24ff9438",
+X"87980b83",
+X"e7bc0c77",
+X"802eb738",
+X"7751958a",
+X"3f83e080",
+X"08785255",
+X"95aa3f0b",
+X"0b80e7d4",
+X"5483e080",
+X"088f3887",
+X"39807634",
+X"fd95390b",
+X"0b80e7d0",
+X"54745373",
 X"520b0b80",
-X"e088518a",
-X"cf3f7651",
-X"95d33f83",
-X"e0800883",
-X"e3a80855",
-X"57757425",
-X"8638a816",
-X"56f73975",
-X"83e3a80c",
-X"86f07624",
-X"ff943887",
-X"980b83e3",
-X"a80c7780",
-X"2eb73877",
-X"5195893f",
-X"83e08008",
-X"78525595",
-X"a93f0b0b",
-X"80dfdc54",
-X"83e08008",
-X"8f388739",
-X"807634fd",
-X"96390b0b",
-X"80dfd854",
-X"74537352",
-X"0b0b80df",
-X"a85189e8",
-X"3f80540b",
-X"0b80dfb0",
-X"5189dd3f",
-X"81145473",
-X"a82e0981",
-X"06ed3886",
-X"8da051b4",
-X"d33f8052",
-X"903d7052",
-X"5480c2e7",
-X"3f835273",
-X"5180c2df",
-X"3f61802e",
-X"80ff387b",
-X"5473ff2e",
-X"96387880",
-X"2e818038",
-X"785194a9",
-X"3f83e080",
-X"08ff1555",
-X"59e73978",
-X"802e80eb",
+X"e7a05189",
+X"e93f8054",
+X"0b0b80e7",
+X"a85189de",
+X"3f811454",
+X"73a82e09",
+X"8106ed38",
+X"868da051",
+X"bed13f80",
+X"52903d70",
+X"525480cc",
+X"e63f8352",
+X"735180cc",
+X"de3f6180",
+X"2e80ff38",
+X"7b5473ff",
+X"2e963878",
+X"802e8180",
 X"38785194",
-X"a53f83e0",
-X"8008802e",
-X"fc843878",
-X"5193ed3f",
-X"83e08008",
-X"520b0b80",
-X"dfb451ab",
-X"cb3f83e0",
-X"8008a438",
-X"7c51ad83",
+X"aa3f83e0",
+X"8008ff15",
+X"5559e739",
+X"78802e80",
+X"eb387851",
+X"94a63f83",
+X"e0800880",
+X"2efc8338",
+X"785193ee",
 X"3f83e080",
-X"085574ff",
-X"16565480",
-X"7425fbef",
-X"38741d70",
-X"33555673",
-X"af2efec8",
-X"38e83978",
-X"5193ab3f",
-X"83e08008",
-X"527c51ac",
-X"ba3ffbcf",
-X"397f8829",
-X"6010057a",
-X"0561055a",
-X"fc8039a2",
-X"3d0d0480",
-X"3d0d9080",
-X"f8337081",
-X"ff067084",
-X"2a813270",
-X"81065151",
-X"51517080",
-X"2e8d38a8",
-X"0b9080f8",
-X"34b80b90",
-X"80f83470",
-X"83e0800c",
-X"823d0d04",
+X"08520b0b",
+X"80e7ac51",
+X"abcc3f83",
+X"e08008a4",
+X"387c51ad",
+X"843f83e0",
+X"80085574",
+X"ff165654",
+X"807425fb",
+X"ee38741d",
+X"70335556",
+X"73af2efe",
+X"c838e839",
+X"785193ac",
+X"3f83e080",
+X"08527c51",
+X"acbb3ffb",
+X"ce397f88",
+X"29601005",
+X"7a056105",
+X"5afbff39",
+X"a23d0d04",
 X"803d0d90",
 X"80f83370",
 X"81ff0670",
-X"852a8132",
+X"842a8132",
 X"70810651",
 X"51515170",
 X"802e8d38",
-X"980b9080",
+X"a80b9080",
 X"f834b80b",
 X"9080f834",
 X"7083e080",
 X"0c823d0d",
-X"04930b90",
-X"80fc34ff",
-X"0b9080e8",
-X"3404ff3d",
-X"0d028f05",
-X"3352800b",
-X"9080fc34",
-X"8a51b2a8",
-X"3fdf3f80",
-X"f80b9080",
-X"e034800b",
-X"9080c834",
-X"fa125271",
-X"9080c034",
-X"800b9080",
-X"d8347190",
-X"80d03490",
-X"80f85280",
-X"7234b872",
-X"34833d0d",
 X"04803d0d",
-X"028b0533",
-X"51709080",
-X"f434febf",
-X"3f83e080",
-X"08802ef6",
-X"38823d0d",
-X"04803d0d",
-X"8439bba5",
-X"3ffed93f",
-X"83e08008",
-X"802ef338",
-X"9080f433",
-X"7081ff06",
-X"83e0800c",
-X"51823d0d",
-X"04803d0d",
-X"a30b9080",
-X"fc34ff0b",
-X"9080e834",
-X"9080f851",
-X"a87134b8",
-X"7134823d",
-X"0d04803d",
-X"0d9080fc",
-X"337081c0",
-X"06703070",
-X"802583e0",
-X"800c5151",
-X"51823d0d",
-X"04803d0d",
 X"9080f833",
 X"7081ff06",
-X"70832a81",
+X"70852a81",
 X"32708106",
 X"51515151",
-X"70802ee8",
-X"38b00b90",
+X"70802e8d",
+X"38980b90",
 X"80f834b8",
 X"0b9080f8",
-X"34823d0d",
-X"04803d0d",
-X"9080ac08",
-X"810683e0",
+X"347083e0",
 X"800c823d",
-X"0d04fd3d",
-X"0d757754",
-X"54807325",
-X"94387370",
-X"81055533",
-X"5280dfe0",
-X"5185a13f",
-X"ff1353e9",
-X"39853d0d",
-X"04f63d0d",
-X"7c7e6062",
-X"5a5d5b56",
-X"80598155",
-X"8539747a",
-X"29557452",
-X"755180c1",
-X"803f83e0",
-X"80087a27",
-X"ed387480",
-X"2e80e038",
+X"0d04930b",
+X"9080fc34",
+X"ff0b9080",
+X"e83404ff",
+X"3d0d028f",
+X"05335280",
+X"0b9080fc",
+X"348a51bc",
+X"a63fdf3f",
+X"80f80b90",
+X"80e03480",
+X"0b9080c8",
+X"34fa1252",
+X"719080c0",
+X"34800b90",
+X"80d83471",
+X"9080d034",
+X"9080f852",
+X"807234b8",
+X"7234833d",
+X"0d04803d",
+X"0d028b05",
+X"33517090",
+X"80f434fe",
+X"bf3f83e0",
+X"8008802e",
+X"f638823d",
+X"0d04803d",
+X"0d853980",
+X"c5a23ffe",
+X"d83f83e0",
+X"8008802e",
+X"f2389080",
+X"f4337081",
+X"ff0683e0",
+X"800c5182",
+X"3d0d0480",
+X"3d0da30b",
+X"9080fc34",
+X"ff0b9080",
+X"e8349080",
+X"f851a871",
+X"34b87134",
+X"823d0d04",
+X"803d0d90",
+X"80fc3370",
+X"81c00670",
+X"30708025",
+X"83e0800c",
+X"51515182",
+X"3d0d0480",
+X"3d0d9080",
+X"f8337081",
+X"ff067083",
+X"2a813270",
+X"81065151",
+X"51517080",
+X"2ee838b0",
+X"0b9080f8",
+X"34b80b90",
+X"80f83482",
+X"3d0d0480",
+X"3d0d9080",
+X"ac088106",
+X"83e0800c",
+X"823d0d04",
+X"fd3d0d75",
+X"77545480",
+X"73259438",
+X"73708105",
+X"55335280",
+X"e7d85185",
+X"a13fff13",
+X"53e93985",
+X"3d0d04f6",
+X"3d0d7c7e",
+X"60625a5d",
+X"5b568059",
+X"81558539",
+X"747a2955",
 X"74527551",
-X"80c0ea3f",
+X"80c8f53f",
 X"83e08008",
-X"75537652",
-X"5480c190",
-X"3f83e080",
-X"087a5375",
-X"525680c0",
-X"d03f83e0",
-X"80087930",
-X"707b079f",
-X"2a707780",
-X"24075151",
-X"54557287",
-X"3883e080",
-X"08c23876",
-X"8118b016",
-X"55585889",
-X"74258b38",
-X"b714537a",
-X"853880d7",
-X"14537278",
-X"34811959",
-X"ff9c3980",
-X"77348c3d",
-X"0d04f73d",
-X"0d7b7d7f",
-X"62029005",
-X"bb053357",
-X"59565a5a",
-X"b0587283",
-X"38a05875",
-X"70708105",
-X"52337159",
-X"54559039",
-X"8074258e",
-X"38ff1477",
-X"70810559",
-X"33545472",
-X"ef3873ff",
-X"15555380",
-X"73258938",
-X"77527951",
-X"782def39",
-X"75337557",
-X"5372802e",
-X"90387252",
+X"7a27ed38",
+X"74802e80",
+X"e0387452",
+X"755180c8",
+X"df3f83e0",
+X"80087553",
+X"76525480",
+X"c9853f83",
+X"e080087a",
+X"53755256",
+X"80c8c53f",
+X"83e08008",
+X"7930707b",
+X"079f2a70",
+X"77802407",
+X"51515455",
+X"72873883",
+X"e08008c2",
+X"38768118",
+X"b0165558",
+X"58897425",
+X"8b38b714",
+X"537a8538",
+X"80d71453",
+X"72783481",
+X"1959ff9c",
+X"39807734",
+X"8c3d0d04",
+X"f73d0d7b",
+X"7d7f6202",
+X"9005bb05",
+X"33575956",
+X"5a5ab058",
+X"728338a0",
+X"58757070",
+X"81055233",
+X"71595455",
+X"90398074",
+X"258e38ff",
+X"14777081",
+X"05593354",
+X"5472ef38",
+X"73ff1555",
+X"53807325",
+X"89387752",
 X"7951782d",
-X"75708105",
-X"573353ed",
-X"398b3d0d",
-X"04ee3d0d",
-X"64666969",
+X"ef397533",
+X"75575372",
+X"802e9038",
+X"72527951",
+X"782d7570",
+X"81055733",
+X"53ed398b",
+X"3d0d04ee",
+X"3d0d6466",
+X"69697070",
+X"81055233",
+X"5b4a5c5e",
+X"5e76802e",
+X"82f93876",
+X"a52e0981",
+X"0682e038",
+X"80704167",
 X"70708105",
-X"52335b4a",
-X"5c5e5e76",
-X"802e82f9",
-X"3876a52e",
-X"09810682",
-X"e0388070",
-X"41677070",
-X"81055233",
-X"714a5957",
-X"5f76b02e",
-X"0981068c",
-X"38757081",
-X"05573376",
-X"4857815f",
-X"d0175675",
-X"892680da",
-X"3876675c",
-X"59805c93",
-X"39778a24",
-X"80c3387b",
-X"8a29187b",
-X"7081055d",
-X"335a5cd0",
+X"5233714a",
+X"59575f76",
+X"b02e0981",
+X"068c3875",
+X"70810557",
+X"33764857",
+X"815fd017",
+X"56758926",
+X"80da3876",
+X"675c5980",
+X"5c933977",
+X"8a2480c3",
+X"387b8a29",
+X"187b7081",
+X"055d335a",
+X"5cd01970",
+X"81ff0658",
+X"58897727",
+X"a438ff9f",
 X"197081ff",
-X"06585889",
-X"7727a438",
-X"ff9f1970",
-X"81ff06ff",
-X"a91b5a51",
-X"56857627",
-X"9238ffbf",
-X"197081ff",
-X"06515675",
-X"85268a38",
-X"c9195877",
-X"8025ffb9",
-X"387a477b",
-X"407881ff",
-X"06577680",
-X"e42e80e5",
-X"387680e4",
-X"24a73876",
-X"80d82e81",
-X"86387680",
-X"d8249038",
-X"76802e81",
-X"cc3876a5",
-X"2e81b638",
-X"81b93976",
-X"80e32e81",
-X"8c3881af",
-X"397680f5",
-X"2e9b3876",
-X"80f5248b",
-X"387680f3",
-X"2e818138",
-X"81993976",
-X"80f82e80",
-X"ca38818f",
-X"39913d70",
-X"55578053",
-X"8a527984",
-X"1b710853",
-X"5b56fbfd",
-X"3f7655ab",
-X"3979841b",
-X"7108943d",
-X"705b5b52",
-X"5b567580",
-X"258c3875",
-X"3056ad78",
-X"340280c1",
-X"05577654",
+X"06ffa91b",
+X"5a515685",
+X"76279238",
+X"ffbf1970",
+X"81ff0651",
+X"56758526",
+X"8a38c919",
+X"58778025",
+X"ffb9387a",
+X"477b4078",
+X"81ff0657",
+X"7680e42e",
+X"80e53876",
+X"80e424a7",
+X"387680d8",
+X"2e818638",
+X"7680d824",
+X"90387680",
+X"2e81cc38",
+X"76a52e81",
+X"b63881b9",
+X"397680e3",
+X"2e818c38",
+X"81af3976",
+X"80f52e9b",
+X"387680f5",
+X"248b3876",
+X"80f32e81",
+X"81388199",
+X"397680f8",
+X"2e80ca38",
+X"818f3991",
+X"3d705557",
 X"80538a52",
-X"7551fbd1",
-X"3f77557e",
-X"54b83991",
-X"3d705577",
-X"80d83270",
-X"30708025",
-X"56515856",
-X"90527984",
-X"1b710853",
-X"5b57fbad",
-X"3f7555db",
-X"3979841b",
-X"83123354",
-X"5b569839",
 X"79841b71",
-X"08575b56",
-X"80547f53",
-X"7c527d51",
-X"fc9c3f87",
-X"3976527d",
-X"517c2d66",
-X"70335881",
-X"0547fd83",
-X"39943d0d",
-X"047283e0",
-X"900c7183",
-X"e0940c04",
-X"fb3d0d88",
-X"3d707084",
-X"05520857",
-X"54755383",
-X"e0900852",
-X"83e09408",
-X"51fcc63f",
-X"873d0d04",
-X"ff3d0d73",
-X"70085351",
-X"02930533",
-X"72347008",
-X"8105710c",
-X"833d0d04",
-X"fc3d0d87",
-X"3d881155",
-X"785499d0",
-X"5351fc99",
-X"3f805287",
-X"3d51d13f",
-X"863d0d04",
-X"fd3d0d75",
-X"705254a3",
-X"c23f83e0",
-X"80081453",
-X"72742e92",
-X"38ff1370",
-X"33535371",
-X"af2e0981",
-X"06ee3881",
-X"13537283",
-X"e0800c85",
-X"3d0d04fd",
-X"3d0d7577",
-X"70535454",
-X"c73f83e0",
-X"8008732e",
-X"a13883e0",
-X"80087331",
-X"52ff1252",
-X"71ff2e8f",
-X"38727081",
-X"05543374",
-X"70810556",
-X"34eb39ff",
-X"14548074",
-X"34853d0d",
-X"04803d0d",
-X"7251ff90",
-X"3f823d0d",
-X"047183e0",
-X"800c0480",
-X"3d0d7251",
-X"80713481",
-X"0bbc120c",
-X"800b80c0",
-X"120c823d",
-X"0d04800b",
-X"83e2d408",
-X"248a38b9",
-X"ea3fff0b",
-X"83e2d40c",
-X"800b83e0",
-X"800c04ff",
-X"3d0d7352",
-X"83e0b008",
-X"722e8d38",
-X"d93f7151",
-X"96973f71",
-X"83e0b00c",
-X"833d0d04",
-X"f43d0d7e",
-X"60625c5a",
-X"558154bc",
-X"15088191",
-X"387451cf",
-X"3f795880",
-X"7a2580f7",
-X"3883e384",
-X"0870892a",
-X"5783ff06",
-X"78848072",
-X"31565657",
-X"73782583",
-X"38735575",
-X"83e2d408",
-X"2e8438ff",
-X"893f83e2",
-X"d4088025",
-X"a6387589",
-X"2b5198da",
-X"3f83e384",
-X"088f3dfc",
-X"11555c54",
-X"8152f81b",
-X"5196c43f",
-X"761483e3",
-X"840c7583",
-X"e2d40c74",
-X"53765278",
-X"51b7fd3f",
-X"83e08008",
-X"83e38408",
-X"1683e384",
-X"0c787631",
-X"761b5b59",
-X"56778024",
-X"ff8b3861",
-X"7a710c54",
-X"75547580",
-X"2e833881",
-X"547383e0",
-X"800c8e3d",
+X"08535b56",
+X"fbfd3f76",
+X"55ab3979",
+X"841b7108",
+X"943d705b",
+X"5b525b56",
+X"7580258c",
+X"38753056",
+X"ad783402",
+X"80c10557",
+X"76548053",
+X"8a527551",
+X"fbd13f77",
+X"557e54b8",
+X"39913d70",
+X"557780d8",
+X"32703070",
+X"80255651",
+X"58569052",
+X"79841b71",
+X"08535b57",
+X"fbad3f75",
+X"55db3979",
+X"841b8312",
+X"33545b56",
+X"98397984",
+X"1b710857",
+X"5b568054",
+X"7f537c52",
+X"7d51fc9c",
+X"3f873976",
+X"527d517c",
+X"2d667033",
+X"58810547",
+X"fd833994",
+X"3d0d0472",
+X"83e0900c",
+X"7183e094",
+X"0c04fb3d",
+X"0d883d70",
+X"70840552",
+X"08575475",
+X"5383e090",
+X"085283e0",
+X"940851fc",
+X"c63f873d",
+X"0d04ff3d",
+X"0d737008",
+X"53510293",
+X"05337234",
+X"70088105",
+X"710c833d",
 X"0d04fc3d",
-X"0dfe9b3f",
-X"7651feaf",
-X"3f863dfc",
-X"05537852",
-X"775195e7",
-X"3f797571",
-X"0c5483e0",
-X"80085483",
-X"e0800880",
-X"2e833881",
-X"547383e0",
-X"800c863d",
-X"0d04fe3d",
-X"0d7583e2",
-X"d4085353",
-X"80722489",
-X"3871732e",
-X"8438fdd6",
-X"3f7451fd",
-X"ea3f7251",
-X"97ac3f83",
-X"e0800852",
+X"0d873d88",
+X"11557854",
+X"99d25351",
+X"fc993f80",
+X"52873d51",
+X"d13f863d",
+X"0d04fd3d",
+X"0d757052",
+X"54a3c23f",
 X"83e08008",
-X"802e8338",
-X"81527183",
-X"e0800c84",
+X"14537274",
+X"2e9238ff",
+X"13703353",
+X"5371af2e",
+X"098106ee",
+X"38811353",
+X"7283e080",
+X"0c853d0d",
+X"04fd3d0d",
+X"75777053",
+X"5454c73f",
+X"83e08008",
+X"732ea138",
+X"83e08008",
+X"733152ff",
+X"125271ff",
+X"2e8f3872",
+X"70810554",
+X"33747081",
+X"055634eb",
+X"39ff1454",
+X"80743485",
 X"3d0d0480",
-X"3d0d7280",
-X"c0110883",
-X"e0800c51",
+X"3d0d7251",
+X"ff903f82",
+X"3d0d0471",
+X"83e0800c",
+X"04803d0d",
+X"72518071",
+X"34810bbc",
+X"120c800b",
+X"80c0120c",
 X"823d0d04",
-X"803d0d72",
-X"bc110883",
-X"e0800c51",
-X"823d0d04",
-X"80c40b83",
-X"e0800c04",
-X"fd3d0d75",
-X"77715470",
-X"5355539f",
-X"9a3f82c8",
-X"1308bc15",
-X"0c82c013",
-X"0880c015",
-X"0cfceb3f",
-X"735193a9",
-X"3f7383e0",
-X"b00c83e0",
-X"80085383",
-X"e0800880",
-X"2e833881",
-X"537283e0",
-X"800c853d",
-X"0d04fd3d",
-X"0d757755",
-X"53fcbf3f",
-X"72802ea5",
-X"38bc1308",
-X"5273519e",
-X"a43f83e0",
-X"80088f38",
-X"77527251",
-X"ff9a3f83",
-X"e0800853",
-X"8a3982cc",
-X"130853d8",
-X"39815372",
+X"800b83e2",
+X"d408248a",
+X"38a4ac3f",
+X"ff0b83e2",
+X"d40c800b",
 X"83e0800c",
-X"853d0d04",
-X"fe3d0dff",
-X"0b83e2d4",
-X"0c7483e0",
-X"b40c7583",
-X"e2d00cb4",
-X"c13f83e0",
-X"800881ff",
-X"06528153",
-X"71993883",
-X"e2ec518e",
-X"933f83e0",
-X"80085283",
-X"e0800880",
-X"2e833872",
-X"52715372",
+X"04ff3d0d",
+X"735283e0",
+X"b008722e",
+X"8d38d93f",
+X"71519697",
+X"3f7183e0",
+X"b00c833d",
+X"0d04f43d",
+X"0d7e6062",
+X"5c5a5581",
+X"54bc1508",
+X"81913874",
+X"51cf3f79",
+X"58807a25",
+X"80f73883",
+X"e3840870",
+X"892a5783",
+X"ff067884",
+X"80723156",
+X"56577378",
+X"25833873",
+X"557583e2",
+X"d4082e84",
+X"38ff893f",
+X"83e2d408",
+X"8025a638",
+X"75892b51",
+X"98da3f83",
+X"e384088f",
+X"3dfc1155",
+X"5c548152",
+X"f81b5196",
+X"c43f7614",
+X"83e3840c",
+X"7583e2d4",
+X"0c745376",
+X"527851a2",
+X"dd3f83e0",
+X"800883e3",
+X"84081683",
+X"e3840c78",
+X"7631761b",
+X"5b595677",
+X"8024ff8b",
+X"38617a71",
+X"0c547554",
+X"75802e83",
+X"38815473",
 X"83e0800c",
-X"843d0d04",
-X"fa3d0d78",
-X"7a82c412",
-X"0882c412",
-X"08707224",
-X"59565657",
-X"5773732e",
-X"09810691",
-X"3880c016",
-X"5280c017",
-X"519c953f",
+X"8e3d0d04",
+X"fc3d0dfe",
+X"9b3f7651",
+X"feaf3f86",
+X"3dfc0553",
+X"78527751",
+X"95e73f79",
+X"75710c54",
 X"83e08008",
-X"557483e0",
-X"800c883d",
-X"0d04f63d",
-X"0d7c5b80",
-X"7b715c54",
-X"577a772e",
-X"8c38811a",
-X"82cc1408",
-X"545a72f6",
-X"38805980",
-X"d9397a54",
-X"81578070",
-X"7b7b315a",
-X"5755ff18",
-X"53747325",
-X"80c13882",
-X"cc140852",
-X"7351ff8c",
-X"3f800b83",
-X"e0800825",
-X"a13882cc",
-X"140882cc",
-X"110882cc",
-X"160c7482",
-X"cc120c53",
-X"75802e86",
-X"387282cc",
-X"170c7254",
-X"80577382",
-X"cc150881",
-X"17575556",
-X"ffb83981",
-X"1959800b",
-X"ff1b5454",
-X"78732583",
-X"38815476",
-X"81327075",
-X"06515372",
-X"ff90388c",
-X"3d0d04f7",
-X"3d0d7b7d",
-X"5a5a82d0",
-X"5283e2d0",
-X"0851b489",
+X"5483e080",
+X"08802e83",
+X"38815473",
+X"83e0800c",
+X"863d0d04",
+X"fe3d0d75",
+X"83e2d408",
+X"53538072",
+X"24893871",
+X"732e8438",
+X"fdd63f74",
+X"51fdea3f",
+X"725197ac",
 X"3f83e080",
-X"0857f9e2",
-X"3f795283",
-X"e2d85195",
-X"b43f83e0",
-X"80085480",
-X"5383e080",
-X"08732e09",
-X"81068283",
-X"3883e0b4",
-X"080b0b80",
-X"dfb45370",
-X"52569bd3",
-X"3f0b0b80",
-X"dfb45280",
-X"c016519b",
-X"c63f75bc",
-X"170c7382",
-X"c0170c81",
-X"0b82c417",
-X"0c810b82",
-X"c8170c73",
-X"82cc170c",
-X"ff1782d0",
-X"17555781",
-X"913983e0",
-X"c0337082",
-X"2a708106",
-X"51545572",
-X"81803874",
-X"812a8106",
-X"587780f6",
-X"3874842a",
-X"810682c4",
-X"150c83e0",
-X"c0338106",
-X"82c8150c",
-X"79527351",
-X"9aed3f73",
-X"519b843f",
-X"83e08008",
-X"1453af73",
-X"70810555",
-X"3472bc15",
-X"0c83e0c1",
-X"5272519a",
-X"ce3f83e0",
-X"b80882c0",
-X"150c83e0",
-X"ce5280c0",
-X"14519abb",
-X"3f78802e",
-X"8d387351",
-X"782d83e0",
+X"085283e0",
 X"8008802e",
-X"99387782",
-X"cc150c75",
-X"802e8638",
-X"7382cc17",
-X"0c7382d0",
-X"15ff1959",
-X"55567680",
-X"2e9b3883",
-X"e0b85283",
-X"e2d85194",
-X"aa3f83e0",
-X"80088a38",
-X"83e0c133",
-X"5372fed2",
-X"3878802e",
-X"893883e0",
-X"b40851fc",
-X"b93f83e0",
-X"b4085372",
-X"83e0800c",
-X"8b3d0d04",
-X"ff3d0d80",
-X"527351fd",
-X"b63f833d",
-X"0d04f03d",
-X"0d627052",
-X"54f6913f",
-X"83e08008",
-X"7453873d",
-X"70535555",
-X"f6b13ff7",
-X"913f7351",
-X"d33f6353",
-X"745283e0",
-X"800851fa",
-X"b93f923d",
-X"0d047183",
-X"e0800c04",
-X"80c01283",
-X"e0800c04",
-X"803d0d72",
-X"82c01108",
-X"83e0800c",
-X"51823d0d",
+X"83388152",
+X"7183e080",
+X"0c843d0d",
 X"04803d0d",
-X"7282cc11",
+X"7280c011",
 X"0883e080",
 X"0c51823d",
 X"0d04803d",
-X"0d7282c4",
+X"0d72bc11",
+X"0883e080",
+X"0c51823d",
+X"0d0480c4",
+X"0b83e080",
+X"0c04fd3d",
+X"0d757771",
+X"54705355",
+X"539f9a3f",
+X"82c81308",
+X"bc150c82",
+X"c0130880",
+X"c0150cfc",
+X"eb3f7351",
+X"93a93f73",
+X"83e0b00c",
+X"83e08008",
+X"5383e080",
+X"08802e83",
+X"38815372",
+X"83e0800c",
+X"853d0d04",
+X"fd3d0d75",
+X"775553fc",
+X"bf3f7280",
+X"2ea538bc",
+X"13085273",
+X"519ea43f",
+X"83e08008",
+X"8f387752",
+X"7251ff9a",
+X"3f83e080",
+X"08538a39",
+X"82cc1308",
+X"53d83981",
+X"537283e0",
+X"800c853d",
+X"0d04fe3d",
+X"0dff0b83",
+X"e2d40c74",
+X"83e0b40c",
+X"7583e2d0",
+X"0c9f913f",
+X"83e08008",
+X"81ff0652",
+X"81537199",
+X"3883e2ec",
+X"518e933f",
+X"83e08008",
+X"5283e080",
+X"08802e83",
+X"38725271",
+X"537283e0",
+X"800c843d",
+X"0d04fa3d",
+X"0d787a82",
+X"c4120882",
+X"c4120870",
+X"72245956",
+X"56575773",
+X"732e0981",
+X"06913880",
+X"c0165280",
+X"c017519c",
+X"953f83e0",
+X"80085574",
+X"83e0800c",
+X"883d0d04",
+X"f63d0d7c",
+X"5b807b71",
+X"5c54577a",
+X"772e8c38",
+X"811a82cc",
+X"1408545a",
+X"72f63880",
+X"5980d939",
+X"7a548157",
+X"80707b7b",
+X"315a5755",
+X"ff185374",
+X"732580c1",
+X"3882cc14",
+X"08527351",
+X"ff8c3f80",
+X"0b83e080",
+X"0825a138",
+X"82cc1408",
+X"82cc1108",
+X"82cc160c",
+X"7482cc12",
+X"0c537580",
+X"2e863872",
+X"82cc170c",
+X"72548057",
+X"7382cc15",
+X"08811757",
+X"5556ffb8",
+X"39811959",
+X"800bff1b",
+X"54547873",
+X"25833881",
+X"54768132",
+X"70750651",
+X"5372ff90",
+X"388c3d0d",
+X"04f73d0d",
+X"7b7d5a5a",
+X"82d05283",
+X"e2d00851",
+X"bbfe3f83",
+X"e0800857",
+X"f9e23f79",
+X"5283e2d8",
+X"5195b43f",
+X"83e08008",
+X"54805383",
+X"e0800873",
+X"2e098106",
+X"82833883",
+X"e0b4080b",
+X"0b80e7ac",
+X"53705256",
+X"9bd33f0b",
+X"0b80e7ac",
+X"5280c016",
+X"519bc63f",
+X"75bc170c",
+X"7382c017",
+X"0c810b82",
+X"c4170c81",
+X"0b82c817",
+X"0c7382cc",
+X"170cff17",
+X"82d01755",
+X"57819139",
+X"83e0c033",
+X"70822a70",
+X"81065154",
+X"55728180",
+X"3874812a",
+X"81065877",
+X"80f63874",
+X"842a8106",
+X"82c4150c",
+X"83e0c033",
+X"810682c8",
+X"150c7952",
+X"73519aed",
+X"3f73519b",
+X"843f83e0",
+X"80081453",
+X"af737081",
+X"05553472",
+X"bc150c83",
+X"e0c15272",
+X"519ace3f",
+X"83e0b808",
+X"82c0150c",
+X"83e0ce52",
+X"80c01451",
+X"9abb3f78",
+X"802e8d38",
+X"7351782d",
+X"83e08008",
+X"802e9938",
+X"7782cc15",
+X"0c75802e",
+X"86387382",
+X"cc170c73",
+X"82d015ff",
+X"19595556",
+X"76802e9b",
+X"3883e0b8",
+X"5283e2d8",
+X"5194aa3f",
+X"83e08008",
+X"8a3883e0",
+X"c1335372",
+X"fed23878",
+X"802e8938",
+X"83e0b408",
+X"51fcb93f",
+X"83e0b408",
+X"537283e0",
+X"800c8b3d",
+X"0d04ff3d",
+X"0d805273",
+X"51fdb63f",
+X"833d0d04",
+X"f03d0d62",
+X"705254f6",
+X"913f83e0",
+X"80087453",
+X"873d7053",
+X"5555f6b1",
+X"3ff7913f",
+X"7351d33f",
+X"63537452",
+X"83e08008",
+X"51fab93f",
+X"923d0d04",
+X"7183e080",
+X"0c0480c0",
+X"1283e080",
+X"0c04803d",
+X"0d7282c0",
 X"110883e0",
 X"800c5182",
-X"3d0d04f9",
-X"3d0d7983",
-X"e0980857",
-X"57817727",
-X"81963876",
-X"88170827",
-X"818e3875",
-X"33557482",
-X"2e893874",
-X"832eb338",
-X"80fe3974",
-X"54761083",
-X"fe065376",
-X"882a8c17",
-X"08055289",
-X"3dfc0551",
-X"aedd3f83",
-X"e0800880",
-X"df38029d",
-X"0533893d",
-X"3371882b",
-X"07565680",
-X"d1398454",
-X"76822b83",
-X"fc065376",
-X"872a8c17",
-X"08055289",
-X"3dfc0551",
-X"aead3f83",
-X"e08008b0",
-X"38029f05",
-X"33028405",
-X"9e053371",
-X"982b7190",
-X"2b07028c",
-X"059d0533",
-X"70882b72",
-X"078d3d33",
-X"7180ffff",
-X"fe800607",
-X"51525357",
-X"58568339",
-X"81557483",
-X"e0800c89",
-X"3d0d04fb",
-X"3d0d83e0",
-X"9808fe19",
-X"881208fe",
-X"05555654",
-X"80567473",
-X"278d3882",
-X"14337571",
-X"29941608",
-X"05575375",
+X"3d0d0480",
+X"3d0d7282",
+X"cc110883",
+X"e0800c51",
+X"823d0d04",
+X"803d0d72",
+X"82c41108",
 X"83e0800c",
-X"873d0d04",
-X"fc3d0d76",
-X"52800b83",
-X"e0980870",
-X"33515253",
-X"70832e09",
-X"81069138",
-X"95123394",
-X"13337198",
-X"2b71902b",
-X"07555551",
-X"9b12339a",
-X"13337188",
-X"2b077407",
-X"83e0800c",
-X"55863d0d",
-X"04fc3d0d",
-X"7683e098",
-X"08555580",
-X"75238815",
-X"08537281",
-X"2e883888",
-X"14087326",
-X"85388152",
-X"b2397290",
-X"38733352",
-X"71832e09",
-X"81068538",
-X"90140853",
-X"728c160c",
-X"72802e8d",
-X"387251fe",
-X"d63f83e0",
-X"80085285",
-X"39901408",
-X"52719016",
-X"0c805271",
-X"83e0800c",
-X"863d0d04",
-X"fa3d0d78",
+X"51823d0d",
+X"04f93d0d",
+X"7983e098",
+X"08575781",
+X"77278196",
+X"38768817",
+X"0827818e",
+X"38753355",
+X"74822e89",
+X"3874832e",
+X"b33880fe",
+X"39745476",
+X"1083fe06",
+X"5376882a",
+X"8c170805",
+X"52893dfc",
+X"055199c0",
+X"3f83e080",
+X"0880df38",
+X"029d0533",
+X"893d3371",
+X"882b0756",
+X"5680d139",
+X"84547682",
+X"2b83fc06",
+X"5376872a",
+X"8c170805",
+X"52893dfc",
+X"05519990",
+X"3f83e080",
+X"08b03802",
+X"9f053302",
+X"84059e05",
+X"3371982b",
+X"71902b07",
+X"028c059d",
+X"05337088",
+X"2b72078d",
+X"3d337180",
+X"fffffe80",
+X"06075152",
+X"53575856",
+X"83398155",
+X"7483e080",
+X"0c893d0d",
+X"04fb3d0d",
 X"83e09808",
-X"71228105",
-X"7083ffff",
-X"06575457",
-X"5573802e",
-X"88389015",
-X"08537286",
-X"38835280",
-X"e739738f",
-X"06527180",
-X"da388113",
-X"90160c8c",
-X"15085372",
-X"9038830b",
-X"84172257",
-X"52737627",
-X"80c638bf",
-X"39821633",
-X"ff057484",
-X"2a065271",
-X"b2387251",
-X"fcb13f81",
+X"fe198812",
+X"08fe0555",
+X"56548056",
+X"7473278d",
+X"38821433",
+X"75712994",
+X"16080557",
+X"537583e0",
+X"800c873d",
+X"0d04fc3d",
+X"0d765280",
+X"0b83e098",
+X"08703351",
+X"52537083",
+X"2e098106",
+X"91389512",
+X"33941333",
+X"71982b71",
+X"902b0755",
+X"55519b12",
+X"339a1333",
+X"71882b07",
+X"740783e0",
+X"800c5586",
+X"3d0d04fc",
+X"3d0d7683",
+X"e0980855",
+X"55807523",
+X"88150853",
+X"72812e88",
+X"38881408",
+X"73268538",
+X"8152b239",
+X"72903873",
+X"33527183",
+X"2e098106",
+X"85389014",
+X"0853728c",
+X"160c7280",
+X"2e8d3872",
+X"51fed63f",
+X"83e08008",
+X"52853990",
+X"14085271",
+X"90160c80",
 X"527183e0",
-X"800827a8",
-X"38835283",
-X"e0800888",
-X"1708279c",
-X"3883e080",
-X"088c160c",
+X"800c863d",
+X"0d04fa3d",
+X"0d7883e0",
+X"98087122",
+X"81057083",
+X"ffff0657",
+X"54575573",
+X"802e8838",
+X"90150853",
+X"72863883",
+X"5280e739",
+X"738f0652",
+X"7180da38",
+X"81139016",
+X"0c8c1508",
+X"53729038",
+X"830b8417",
+X"22575273",
+X"762780c6",
+X"38bf3982",
+X"1633ff05",
+X"74842a06",
+X"5271b238",
+X"7251fcb1",
+X"3f815271",
 X"83e08008",
-X"51fdbc3f",
-X"83e08008",
-X"90160c73",
-X"75238052",
-X"7183e080",
-X"0c883d0d",
-X"04f23d0d",
-X"60626458",
-X"5e5b7533",
-X"5574a02e",
-X"09810688",
-X"38811670",
-X"4456ef39",
-X"62703356",
-X"5674af2e",
-X"09810684",
-X"38811643",
-X"800b881c",
-X"0c627033",
-X"5155749f",
-X"2691387a",
-X"51fdd23f",
-X"83e08008",
-X"56807d34",
-X"83813993",
-X"3d841c08",
-X"7058595f",
-X"8a55a076",
-X"70810558",
-X"34ff1555",
-X"74ff2e09",
-X"8106ef38",
-X"80705a5c",
-X"887f085f",
-X"5a7b811d",
+X"27a83883",
+X"5283e080",
+X"08881708",
+X"279c3883",
+X"e080088c",
+X"160c83e0",
+X"800851fd",
+X"bc3f83e0",
+X"80089016",
+X"0c737523",
+X"80527183",
+X"e0800c88",
+X"3d0d04f2",
+X"3d0d6062",
+X"64585e5b",
+X"75335574",
+X"a02e0981",
+X"06883881",
+X"16704456",
+X"ef396270",
+X"33565674",
+X"af2e0981",
+X"06843881",
+X"1643800b",
+X"881c0c62",
+X"70335155",
+X"749f2691",
+X"387a51fd",
+X"d23f83e0",
+X"80085680",
+X"7d348381",
+X"39933d84",
+X"1c087058",
+X"595f8a55",
+X"a0767081",
+X"055834ff",
+X"155574ff",
+X"2e098106",
+X"ef388070",
+X"5a5c887f",
+X"085f5a7b",
+X"811d7081",
+X"ff066013",
+X"703370af",
+X"327030a0",
+X"73277180",
+X"25075151",
+X"525b535e",
+X"57557480",
+X"e73876ae",
+X"2e098106",
+X"83388155",
+X"787a2775",
+X"07557480",
+X"2e9f3879",
+X"88327030",
+X"78ae3270",
+X"30707307",
+X"9f2a5351",
+X"57515675",
+X"bb388859",
+X"8b5affab",
+X"3976982b",
+X"55748025",
+X"873880e4",
+X"e0173357",
+X"ff9f1755",
+X"74992689",
+X"38e01770",
+X"81ff0658",
+X"5578811a",
 X"7081ff06",
-X"60137033",
-X"70af3270",
-X"30a07327",
-X"71802507",
-X"5151525b",
-X"535e5755",
-X"7480e738",
-X"76ae2e09",
-X"81068338",
-X"8155787a",
-X"27750755",
-X"74802e9f",
-X"38798832",
-X"703078ae",
-X"32703070",
-X"73079f2a",
-X"53515751",
-X"5675bb38",
-X"88598b5a",
-X"ffab3976",
-X"982b5574",
-X"80258738",
-X"80dce817",
-X"3357ff9f",
-X"17557499",
-X"268938e0",
-X"177081ff",
-X"06585578",
-X"811a7081",
-X"ff06721b",
-X"535b5755",
-X"767534fe",
-X"f8397b1e",
-X"7f0c8055",
-X"76a02683",
-X"38815574",
-X"8b19347a",
-X"51fc823f",
-X"83e08008",
-X"80f538a0",
-X"547a2270",
-X"852b83e0",
-X"06545590",
-X"1b08527c",
-X"51a8e83f",
-X"83e08008",
-X"5783e080",
-X"08818138",
-X"7c335574",
-X"802e80f4",
-X"388b1d33",
-X"70832a70",
-X"81065156",
-X"5674b438",
-X"8b7d841d",
-X"0883e080",
-X"08595b5b",
-X"58ff1858",
-X"77ff2e9a",
-X"38797081",
-X"055b3379",
+X"721b535b",
+X"57557675",
+X"34fef839",
+X"7b1e7f0c",
+X"805576a0",
+X"26833881",
+X"55748b19",
+X"347a51fc",
+X"823f83e0",
+X"800880f5",
+X"38a0547a",
+X"2270852b",
+X"83e00654",
+X"55901b08",
+X"527c5193",
+X"cb3f83e0",
+X"80085783",
+X"e0800881",
+X"81387c33",
+X"5574802e",
+X"80f4388b",
+X"1d337083",
+X"2a708106",
+X"51565674",
+X"b4388b7d",
+X"841d0883",
+X"e0800859",
+X"5b5b58ff",
+X"185877ff",
+X"2e9a3879",
 X"7081055b",
-X"33717131",
-X"52565675",
-X"802ee238",
-X"86397580",
-X"2e96387a",
-X"51fbe53f",
-X"ff863983",
-X"e0800856",
+X"33797081",
+X"055b3371",
+X"71315256",
+X"5675802e",
+X"e2388639",
+X"75802e96",
+X"387a51fb",
+X"e53fff86",
+X"3983e080",
+X"085683e0",
+X"8008b638",
+X"83397656",
+X"841b088b",
+X"11335155",
+X"74a7388b",
+X"1d337084",
+X"2a708106",
+X"51565674",
+X"89388356",
+X"94398156",
+X"90397c51",
+X"fa943f83",
+X"e0800888",
+X"1c0cfd81",
+X"397583e0",
+X"800c903d",
+X"0d04f83d",
+X"0d7a7c59",
+X"57825483",
+X"fe537752",
+X"76519290",
+X"3f835683",
+X"e0800880",
+X"ec388117",
+X"33773371",
+X"882b0756",
+X"56825674",
+X"82d4d52e",
+X"09810680",
+X"d4387554",
+X"b6537752",
+X"765191e4",
+X"3f83e080",
+X"08983881",
+X"17337733",
+X"71882b07",
 X"83e08008",
-X"b6388339",
-X"7656841b",
-X"088b1133",
-X"515574a7",
-X"388b1d33",
-X"70842a70",
-X"81065156",
-X"56748938",
-X"83569439",
-X"81569039",
-X"7c51fa94",
-X"3f83e080",
-X"08881c0c",
-X"fd813975",
-X"83e0800c",
-X"903d0d04",
-X"f83d0d7a",
-X"7c595782",
-X"5483fe53",
-X"77527651",
-X"a7ad3f83",
-X"5683e080",
-X"0880ec38",
+X"52565674",
+X"8182c62e",
+X"ac388254",
+X"80d25377",
+X"52765191",
+X"bb3f83e0",
+X"80089838",
 X"81173377",
 X"3371882b",
-X"07565682",
-X"567482d4",
-X"d52e0981",
-X"0680d438",
-X"7554b653",
-X"77527651",
-X"a7813f83",
-X"e0800898",
-X"38811733",
-X"77337188",
-X"2b0783e0",
-X"80085256",
-X"56748182",
-X"c62eac38",
-X"825480d2",
-X"53775276",
-X"51a6d83f",
+X"0783e080",
+X"08525656",
+X"748182c6",
+X"2e833881",
+X"567583e0",
+X"800c8a3d",
+X"0d04eb3d",
+X"0d675a80",
+X"0b83e098",
+X"0c90dd3f",
 X"83e08008",
-X"98388117",
-X"33773371",
-X"882b0783",
-X"e0800852",
-X"56567481",
-X"82c62e83",
-X"38815675",
-X"83e0800c",
-X"8a3d0d04",
-X"eb3d0d67",
-X"5a800b83",
-X"e0980ca6",
-X"8d3f83e0",
-X"80088106",
-X"55825674",
-X"83ee3874",
-X"75538f3d",
-X"70535759",
-X"feca3f83",
-X"e0800881",
-X"ff065776",
-X"812e0981",
-X"0680d438",
-X"905483be",
-X"53745275",
-X"51a5ec3f",
-X"83e08008",
-X"80c9388f",
-X"3d335574",
-X"802e80c9",
-X"3802bf05",
-X"33028405",
-X"be053371",
+X"81065582",
+X"567483ee",
+X"38747553",
+X"8f3d7053",
+X"5759feca",
+X"3f83e080",
+X"0881ff06",
+X"5776812e",
+X"09810680",
+X"d4389054",
+X"83be5374",
+X"52755190",
+X"cf3f83e0",
+X"800880c9",
+X"388f3d33",
+X"5574802e",
+X"80c93802",
+X"bf053302",
+X"8405be05",
+X"3371982b",
+X"71902b07",
+X"028c05bd",
+X"05337088",
+X"2b720795",
+X"3d337107",
+X"70587b57",
+X"5e525e57",
+X"5957fdee",
+X"3f83e080",
+X"0881ff06",
+X"5776832e",
+X"09810686",
+X"38815682",
+X"f1397680",
+X"2e863886",
+X"5682e739",
+X"a4548d53",
+X"78527551",
+X"8fe63f81",
+X"5683e080",
+X"0882d338",
+X"02be0533",
+X"028405bd",
+X"05337188",
+X"2b07595d",
+X"77ab3802",
+X"80ce0533",
+X"02840580",
+X"cd053371",
 X"982b7190",
-X"2b07028c",
-X"05bd0533",
+X"2b07973d",
+X"3370882b",
+X"72070294",
+X"0580cb05",
+X"33710754",
+X"525e5759",
+X"5602b705",
+X"33787129",
+X"028805b6",
+X"0533028c",
+X"05b50533",
+X"71882b07",
+X"701d707f",
+X"8c050c5f",
+X"5957595d",
+X"8e3d3382",
+X"1b3402b9",
+X"0533903d",
+X"3371882b",
+X"075a5c78",
+X"841b2302",
+X"bb053302",
+X"8405ba05",
+X"3371882b",
+X"07565c74",
+X"ab380280",
+X"ca053302",
+X"840580c9",
+X"05337198",
+X"2b71902b",
+X"07963d33",
 X"70882b72",
-X"07953d33",
-X"71077058",
-X"7b575e52",
-X"5e575957",
-X"fdee3f83",
-X"e0800881",
-X"ff065776",
+X"07029405",
+X"80c70533",
+X"71075152",
+X"53575e5c",
+X"74763178",
+X"3179842a",
+X"903d3354",
+X"71713153",
+X"5656ace4",
+X"3f83e080",
+X"08820570",
+X"881c0c83",
+X"e08008e0",
+X"8a055656",
+X"7483dffe",
+X"26833882",
+X"5783fff6",
+X"76278538",
+X"83578939",
+X"86567680",
+X"2e80db38",
+X"767a3476",
 X"832e0981",
-X"06863881",
-X"5682f139",
-X"76802e86",
-X"38865682",
-X"e739a454",
-X"8d537852",
-X"7551a583",
-X"3f815683",
-X"e0800882",
-X"d33802be",
-X"05330284",
-X"05bd0533",
-X"71882b07",
-X"595d77ab",
-X"380280ce",
-X"05330284",
-X"0580cd05",
-X"3371982b",
-X"71902b07",
-X"973d3370",
+X"06b03802",
+X"80d60533",
+X"02840580",
+X"d5053371",
+X"982b7190",
+X"2b07993d",
+X"3370882b",
+X"72070294",
+X"0580d305",
+X"3371077f",
+X"90050c52",
+X"5e575856",
+X"8639771b",
+X"901b0c84",
+X"1a228c1b",
+X"08197184",
+X"2a05941c",
+X"0c5d800b",
+X"811b3479",
+X"83e0980c",
+X"80567583",
+X"e0800c97",
+X"3d0d04e9",
+X"3d0d83e0",
+X"98085685",
+X"5475802e",
+X"81823880",
+X"0b811734",
+X"993de011",
+X"466a548a",
+X"3d705458",
+X"ec0551f6",
+X"e63f83e0",
+X"80085483",
+X"e0800880",
+X"df38893d",
+X"33547380",
+X"2e913802",
+X"ab053370",
+X"842a8106",
+X"51557480",
+X"2e863883",
+X"5480c139",
+X"7651f48a",
+X"3f83e080",
+X"08a0170c",
+X"02bf0533",
+X"028405be",
+X"05337198",
+X"2b71902b",
+X"07028c05",
+X"bd053370",
 X"882b7207",
-X"02940580",
-X"cb053371",
-X"0754525e",
-X"57595602",
-X"b7053378",
-X"71290288",
-X"05b60533",
-X"028c05b5",
-X"05337188",
-X"2b07701d",
-X"707f8c05",
-X"0c5f5957",
-X"595d8e3d",
-X"33821b34",
-X"02b90533",
-X"903d3371",
-X"882b075a",
-X"5c78841b",
-X"2302bb05",
-X"33028405",
-X"ba053371",
-X"882b0756",
-X"5c74ab38",
-X"0280ca05",
-X"33028405",
-X"80c90533",
-X"71982b71",
-X"902b0796",
-X"3d337088",
-X"2b720702",
-X"940580c7",
-X"05337107",
-X"51525357",
-X"5e5c7476",
-X"31783179",
-X"842a903d",
-X"33547171",
-X"31535656",
-X"a4ef3f83",
-X"e0800882",
-X"0570881c",
-X"0c83e080",
-X"08e08a05",
-X"56567483",
-X"dffe2683",
-X"38825783",
-X"fff67627",
-X"85388357",
-X"89398656",
-X"76802e80",
-X"db38767a",
-X"3476832e",
-X"098106b0",
-X"380280d6",
-X"05330284",
-X"0580d505",
-X"3371982b",
-X"71902b07",
-X"993d3370",
-X"882b7207",
-X"02940580",
-X"d3053371",
-X"077f9005",
-X"0c525e57",
-X"58568639",
-X"771b901b",
-X"0c841a22",
-X"8c1b0819",
-X"71842a05",
-X"941c0c5d",
-X"800b811b",
-X"347983e0",
-X"980c8056",
-X"7583e080",
-X"0c973d0d",
-X"04e93d0d",
+X"953d3371",
+X"079c1c0c",
+X"5278981b",
+X"0c535659",
+X"57810b81",
+X"17347454",
+X"7383e080",
+X"0c993d0d",
+X"04f53d0d",
+X"7d7f6172",
 X"83e09808",
-X"56855475",
-X"802e8182",
-X"38800b81",
-X"1734993d",
-X"e011466a",
-X"548a3d70",
-X"5458ec05",
-X"51f6e63f",
+X"5a5d5d59",
+X"5c807b0c",
+X"85577580",
+X"2e81e038",
+X"81163381",
+X"06558457",
+X"74802e81",
+X"d2389139",
+X"74811734",
+X"8639800b",
+X"81173481",
+X"5781c039",
+X"9c160898",
+X"17083155",
+X"74782783",
+X"38745877",
+X"802e81a9",
+X"38981608",
+X"7083ff06",
+X"56577480",
+X"cf388216",
+X"33ff0577",
+X"892a0670",
+X"81ff065a",
+X"5578a038",
+X"768738a0",
+X"1608558d",
+X"39a41608",
+X"51f0ea3f",
 X"83e08008",
-X"5483e080",
-X"0880df38",
-X"893d3354",
-X"73802e91",
-X"3802ab05",
-X"3370842a",
-X"81065155",
-X"74802e86",
-X"38835480",
-X"c1397651",
-X"f48a3f83",
-X"e08008a0",
-X"170c02bf",
-X"05330284",
-X"05be0533",
-X"71982b71",
-X"902b0702",
-X"8c05bd05",
-X"3370882b",
-X"7207953d",
-X"3371079c",
-X"1c0c5278",
-X"981b0c53",
-X"56595781",
-X"0b811734",
-X"74547383",
-X"e0800c99",
-X"3d0d04f5",
-X"3d0d7d7f",
-X"617283e0",
-X"98085a5d",
-X"5d595c80",
-X"7b0c8557",
+X"55817527",
+X"ffa83874",
+X"a4170ca4",
+X"160851f2",
+X"843f83e0",
+X"80085583",
+X"e0800880",
+X"2eff8938",
+X"83e08008",
+X"19a8170c",
+X"98160883",
+X"ff068480",
+X"71315155",
+X"77752783",
+X"38775574",
+X"83ffff06",
+X"54981608",
+X"83ff0653",
+X"a8160852",
+X"79577b83",
+X"387b5776",
+X"518a8d3f",
+X"83e08008",
+X"fed03898",
+X"16081598",
+X"170c741a",
+X"7876317c",
+X"08177d0c",
+X"595afed3",
+X"39805776",
+X"83e0800c",
+X"8d3d0d04",
+X"fa3d0d78",
+X"83e09808",
+X"55568555",
+X"73802e81",
+X"e1388114",
+X"33810653",
+X"84557280",
+X"2e81d338",
+X"9c140853",
+X"72762783",
+X"38725698",
+X"14085780",
+X"0b98150c",
 X"75802e81",
-X"e0388116",
-X"33810655",
-X"84577480",
-X"2e81d238",
-X"91397481",
-X"17348639",
-X"800b8117",
-X"34815781",
-X"c0399c16",
-X"08981708",
-X"31557478",
-X"27833874",
-X"5877802e",
-X"81a93898",
-X"16087083",
-X"ff065657",
-X"7480cf38",
-X"821633ff",
-X"0577892a",
-X"067081ff",
-X"065a5578",
-X"a0387687",
-X"38a01608",
-X"558d39a4",
-X"160851f0",
-X"ea3f83e0",
-X"80085581",
-X"7527ffa8",
-X"3874a417",
-X"0ca41608",
-X"51f2843f",
-X"83e08008",
-X"5583e080",
-X"08802eff",
-X"893883e0",
-X"800819a8",
-X"170c9816",
-X"0883ff06",
-X"84807131",
-X"51557775",
-X"27833877",
-X"557483ff",
-X"ff065498",
-X"160883ff",
-X"0653a816",
-X"08527957",
-X"7b83387b",
-X"5776519f",
-X"aa3f83e0",
-X"8008fed0",
-X"38981608",
-X"1598170c",
-X"741a7876",
-X"317c0817",
-X"7d0c595a",
-X"fed33980",
-X"577683e0",
-X"800c8d3d",
-X"0d04fa3d",
-X"0d7883e0",
-X"98085556",
-X"85557380",
-X"2e81e138",
-X"81143381",
-X"06538455",
-X"72802e81",
-X"d3389c14",
-X"08537276",
-X"27833872",
-X"56981408",
-X"57800b98",
-X"150c7580",
-X"2e81b738",
-X"82143370",
-X"892b5653",
-X"76802eb5",
-X"387452ff",
-X"16519ff1",
+X"b7388214",
+X"3370892b",
+X"56537680",
+X"2eb53874",
+X"52ff1651",
+X"a7e63f83",
+X"e08008ff",
+X"18765470",
+X"535853a7",
+X"d73f83e0",
+X"80087326",
+X"96387430",
+X"70780670",
+X"98170c77",
+X"7131a417",
+X"08525851",
+X"538939a0",
+X"140870a4",
+X"160c5374",
+X"7627b938",
+X"7251eed9",
 X"3f83e080",
-X"08ff1876",
-X"54705358",
-X"539fe23f",
+X"0853810b",
 X"83e08008",
-X"73269638",
-X"74307078",
-X"06709817",
-X"0c777131",
-X"a4170852",
-X"58515389",
-X"39a01408",
-X"70a4160c",
-X"53747627",
-X"b9387251",
-X"eed93f83",
-X"e0800853",
-X"810b83e0",
-X"8008278b",
-X"38881408",
+X"278b3888",
+X"140883e0",
+X"80082688",
+X"38800b81",
+X"1534b039",
 X"83e08008",
-X"26883880",
-X"0b811534",
-X"b03983e0",
-X"8008a415",
-X"0c981408",
-X"1598150c",
-X"75753156",
-X"c4399814",
-X"08167098",
-X"160c7352",
-X"56efc83f",
+X"a4150c98",
+X"14081598",
+X"150c7575",
+X"3156c439",
+X"98140816",
+X"7098160c",
+X"735256ef",
+X"c83f83e0",
+X"80088c38",
 X"83e08008",
-X"8c3883e0",
-X"80088115",
-X"34815594",
-X"39821433",
-X"ff057689",
-X"2a0683e0",
-X"800805a8",
-X"150c8055",
+X"81153481",
+X"55943982",
+X"1433ff05",
+X"76892a06",
+X"83e08008",
+X"05a8150c",
+X"80557483",
+X"e0800c88",
+X"3d0d04ef",
+X"3d0d6356",
+X"855583e0",
+X"9808802e",
+X"80d23893",
+X"3df40584",
+X"170c6453",
+X"883d7053",
+X"765257f1",
+X"d23f83e0",
+X"80085583",
+X"e08008b4",
+X"38883d33",
+X"5473802e",
+X"a13802a7",
+X"05337084",
+X"2a708106",
+X"51555583",
+X"5573802e",
+X"97387651",
+X"eef83f83",
+X"e0800888",
+X"170c7551",
+X"efa93f83",
+X"e0800855",
 X"7483e080",
-X"0c883d0d",
-X"04ef3d0d",
-X"63568555",
+X"0c933d0d",
+X"04e43d0d",
+X"6ea13d08",
+X"405e8556",
 X"83e09808",
-X"802e80d2",
-X"38933df4",
-X"0584170c",
-X"6453883d",
-X"70537652",
-X"57f1d23f",
+X"802e8485",
+X"389e3df4",
+X"05841f0c",
+X"7e98387d",
+X"51eef83f",
 X"83e08008",
-X"5583e080",
-X"08b43888",
-X"3d335473",
-X"802ea138",
-X"02a70533",
-X"70842a70",
-X"81065155",
-X"55835573",
+X"5683ee39",
+X"814181f6",
+X"39834181",
+X"f139933d",
+X"7f960541",
+X"59807f82",
+X"95055e56",
+X"756081ff",
+X"05348341",
+X"901e0876",
+X"2e81d338",
+X"a0547d22",
+X"70852b83",
+X"e0065458",
+X"901e0852",
+X"78518698",
+X"3f83e080",
+X"084183e0",
+X"8008ffb8",
+X"3878335c",
+X"7b802eff",
+X"b4388b19",
+X"3370bf06",
+X"71810652",
+X"43557480",
+X"2e80de38",
+X"7b81bf06",
+X"55748f24",
+X"80d3389a",
+X"19335574",
+X"80cb38f3",
+X"1d70585d",
+X"8156758b",
+X"2e098106",
+X"85388e56",
+X"8b39759a",
+X"2e098106",
+X"83389c56",
+X"75197070",
+X"81055233",
+X"7133811a",
+X"821a5f5b",
+X"525b5574",
+X"86387977",
+X"34853980",
+X"df773477",
+X"7b57577a",
+X"a02e0981",
+X"06c03881",
+X"567b81e5",
+X"32703070",
+X"9f2a5151",
+X"557bae2e",
+X"93387480",
+X"2e8e3861",
+X"832a7081",
+X"06515574",
 X"802e9738",
-X"7651eef8",
+X"7d51ede2",
 X"3f83e080",
-X"0888170c",
-X"7551efa9",
+X"084183e0",
+X"80088738",
+X"901e08fe",
+X"af388060",
+X"3475802e",
+X"88387c52",
+X"7f5183a5",
+X"3f60802e",
+X"8638800b",
+X"901f0c60",
+X"5660832e",
+X"85386081",
+X"d038891f",
+X"57901e08",
+X"802e81a8",
+X"38805675",
+X"19703351",
+X"5574a02e",
+X"a0387485",
+X"2e098106",
+X"843881e5",
+X"55747770",
+X"81055934",
+X"81167081",
+X"ff065755",
+X"877627d7",
+X"38881933",
+X"5574a02e",
+X"a938ae77",
+X"70810559",
+X"34885675",
+X"19703351",
+X"5574a02e",
+X"95387477",
+X"70810559",
+X"34811670",
+X"81ff0657",
+X"558a7627",
+X"e2388b19",
+X"337f8805",
+X"349f1933",
+X"9e1a3371",
+X"982b7190",
+X"2b079d1c",
+X"3370882b",
+X"72079c1e",
+X"33710764",
+X"0c52991d",
+X"33981e33",
+X"71882b07",
+X"53515357",
+X"5956747f",
+X"84052397",
+X"1933961a",
+X"3371882b",
+X"07565674",
+X"7f860523",
+X"8077347d",
+X"51ebf33f",
+X"83e08008",
+X"83327030",
+X"7072079f",
+X"2c83e080",
+X"08065256",
+X"56961f33",
+X"55748a38",
+X"891f5296",
+X"1f5181b1",
+X"3f7583e0",
+X"800c9e3d",
+X"0d04fd3d",
+X"0d757753",
+X"54733351",
+X"70893871",
+X"33517080",
+X"2ea13873",
+X"33723352",
+X"53727127",
+X"8538ff51",
+X"94397073",
+X"27853881",
+X"518b3981",
+X"14811353",
+X"54d33980",
+X"517083e0",
+X"800c853d",
+X"0d04fd3d",
+X"0d757754",
+X"54723370",
+X"81ff0652",
+X"5270802e",
+X"a3387181",
+X"ff068114",
+X"ffbf1253",
+X"54527099",
+X"268938a0",
+X"127081ff",
+X"06535171",
+X"74708105",
+X"5634d239",
+X"80743485",
+X"3d0d04ff",
+X"bd3d0d80",
+X"c63d0852",
+X"a53d7052",
+X"54ffb33f",
+X"80c73d08",
+X"52853d70",
+X"5253ffa6",
+X"3f725273",
+X"51fedf3f",
+X"80c53d0d",
+X"04fe3d0d",
+X"74765353",
+X"71708105",
+X"53335170",
+X"73708105",
+X"553470f0",
+X"38843d0d",
+X"04fe3d0d",
+X"74528072",
+X"33525370",
+X"732e8d38",
+X"81128114",
+X"71335354",
+X"5270f538",
+X"7283e080",
+X"0c843d0d",
+X"04fc3d0d",
+X"76557483",
+X"e398082e",
+X"af388053",
+X"745187c1",
 X"3f83e080",
-X"08557483",
-X"e0800c93",
-X"3d0d04e4",
-X"3d0d6ea1",
-X"3d08405e",
-X"855683e0",
-X"9808802e",
-X"8485389e",
-X"3df40584",
-X"1f0c7e98",
-X"387d51ee",
-X"f83f83e0",
-X"80085683",
-X"ee398141",
-X"81f63983",
-X"4181f139",
-X"933d7f96",
-X"05415980",
-X"7f829505",
-X"5e567560",
-X"81ff0534",
-X"8341901e",
-X"08762e81",
-X"d338a054",
-X"7d227085",
-X"2b83e006",
-X"5458901e",
-X"08527851",
-X"9bb53f83",
-X"e0800841",
+X"0881ff06",
+X"ff147081",
+X"ff067230",
+X"709f2a51",
+X"52555354",
+X"72802e84",
+X"3871dd38",
+X"73fe3874",
+X"83e3980c",
+X"863d0d04",
+X"ff3d0dff",
+X"0b83e398",
+X"0c84a53f",
+X"81518785",
+X"3f83e080",
+X"0881ff06",
+X"5271ee38",
+X"81d33f71",
+X"83e0800c",
+X"833d0d04",
+X"fc3d0d76",
+X"028405a2",
+X"05220288",
+X"05a60522",
+X"7a545555",
+X"55ff823f",
+X"72802ea0",
+X"3883e3ac",
+X"14337570",
+X"81055734",
+X"81147083",
+X"ffff06ff",
+X"157083ff",
+X"ff065652",
+X"5552dd39",
+X"800b83e0",
+X"800c863d",
+X"0d04fc3d",
+X"0d76787a",
+X"11565355",
+X"80537174",
+X"2e933872",
+X"15517033",
+X"83e3ac13",
+X"34811281",
+X"145452ea",
+X"39800b83",
+X"e0800c86",
+X"3d0d04fd",
+X"3d0d9054",
+X"83e39808",
+X"5186f43f",
 X"83e08008",
-X"ffb83878",
-X"335c7b80",
-X"2effb438",
-X"8b193370",
-X"bf067181",
-X"06524355",
-X"74802e80",
-X"de387b81",
-X"bf065574",
-X"8f2480d3",
-X"389a1933",
-X"557480cb",
-X"38f31d70",
-X"585d8156",
-X"758b2e09",
-X"81068538",
-X"8e568b39",
-X"759a2e09",
-X"81068338",
-X"9c567519",
-X"70708105",
-X"52337133",
-X"811a821a",
-X"5f5b525b",
-X"55748638",
-X"79773485",
-X"3980df77",
-X"34777b57",
-X"577aa02e",
-X"098106c0",
-X"3881567b",
-X"81e53270",
-X"30709f2a",
-X"5151557b",
-X"ae2e9338",
-X"74802e8e",
-X"3861832a",
-X"70810651",
-X"5574802e",
-X"97387d51",
-X"ede23f83",
-X"e0800841",
-X"83e08008",
-X"8738901e",
-X"08feaf38",
-X"80603475",
-X"802e8838",
-X"7c527f51",
-X"83a53f60",
-X"802e8638",
-X"800b901f",
-X"0c605660",
-X"832e8538",
-X"6081d038",
-X"891f5790",
-X"1e08802e",
-X"81a83880",
-X"56751970",
-X"33515574",
-X"a02ea038",
-X"74852e09",
-X"81068438",
-X"81e55574",
-X"77708105",
-X"59348116",
+X"81ff06ff",
+X"15713071",
+X"30707307",
+X"9f2a729f",
+X"2a065255",
+X"52555372",
+X"db38853d",
+X"0d04803d",
+X"0d83e3a4",
+X"081083e3",
+X"9c080790",
+X"80a80c82",
+X"3d0d0480",
+X"0b83e3a4",
+X"0ce43f04",
+X"810b83e3",
+X"a40cdb3f",
+X"04ed3f04",
+X"7183e3a0",
+X"0c04803d",
+X"0d8051f4",
+X"3f810b83",
+X"e3a40c81",
+X"0b83e39c",
+X"0cffbb3f",
+X"823d0d04",
+X"803d0d72",
+X"30707407",
+X"802583e3",
+X"9c0c51ff",
+X"a53f823d",
+X"0d04803d",
+X"0d028b05",
+X"339080a4",
+X"0c9080a8",
+X"08708106",
+X"515170f5",
+X"389080a4",
+X"087081ff",
+X"0683e080",
+X"0c51823d",
+X"0d04803d",
+X"0d81ff51",
+X"d13f83e0",
+X"800881ff",
+X"0683e080",
+X"0c823d0d",
+X"04803d0d",
+X"73902b73",
+X"079080b4",
+X"0c823d0d",
+X"0404fb3d",
+X"0d780284",
+X"059f0533",
+X"70982b55",
+X"57557280",
+X"259b3875",
+X"80ff0656",
+X"805280f7",
+X"51e03f83",
+X"e0800881",
+X"ff065473",
+X"812680ff",
+X"388051fe",
+X"e73fffa2",
+X"3f8151fe",
+X"df3fff9a",
+X"3f7551fe",
+X"ed3f7498",
+X"2a51fee6",
+X"3f74902a",
 X"7081ff06",
-X"57558776",
-X"27d73888",
-X"19335574",
-X"a02ea938",
-X"ae777081",
-X"05593488",
-X"56751970",
-X"33515574",
-X"a02e9538",
-X"74777081",
-X"05593481",
-X"167081ff",
-X"0657558a",
-X"7627e238",
-X"8b19337f",
-X"8805349f",
-X"19339e1a",
-X"3371982b",
-X"71902b07",
-X"9d1c3370",
-X"882b7207",
-X"9c1e3371",
-X"07640c52",
-X"991d3398",
-X"1e337188",
-X"2b075351",
-X"53575956",
-X"747f8405",
-X"23971933",
-X"961a3371",
-X"882b0756",
-X"56747f86",
-X"05238077",
-X"347d51eb",
-X"f33f83e0",
-X"80088332",
-X"70307072",
-X"079f2c83",
-X"e0800806",
-X"52565696",
-X"1f335574",
-X"8a38891f",
-X"52961f51",
-X"81b13f75",
+X"5253feda",
+X"3f74882a",
+X"7081ff06",
+X"5253fece",
+X"3f7481ff",
+X"0651fec6",
+X"3f815575",
+X"80c02e09",
+X"81068638",
+X"8195558d",
+X"397580c8",
+X"2e098106",
+X"84388187",
+X"557451fe",
+X"a53f8a55",
+X"fec83f83",
+X"e0800881",
+X"ff067098",
+X"2b545472",
+X"80258c38",
+X"ff157081",
+X"ff065653",
+X"74e23873",
 X"83e0800c",
-X"9e3d0d04",
-X"fd3d0d75",
-X"77535473",
-X"33517089",
-X"38713351",
-X"70802ea1",
-X"38733372",
-X"33525372",
-X"71278538",
-X"ff519439",
-X"70732785",
-X"3881518b",
-X"39811481",
-X"135354d3",
-X"39805170",
-X"83e0800c",
-X"853d0d04",
-X"fd3d0d75",
-X"77545472",
-X"337081ff",
-X"06525270",
-X"802ea338",
-X"7181ff06",
-X"8114ffbf",
-X"12535452",
-X"70992689",
-X"38a01270",
+X"873d0d04",
+X"fa3d0dfd",
+X"c53f8051",
+X"fdda3f8a",
+X"54fe933f",
+X"ff147081",
+X"ff065553",
+X"73f33873",
+X"74535580",
+X"c051fea6",
+X"3f83e080",
+X"0881ff06",
+X"5473812e",
+X"09810682",
+X"9f3883aa",
+X"5280c851",
+X"fe8c3f83",
+X"e0800881",
+X"ff065372",
+X"812e0981",
+X"0681a838",
+X"7454873d",
+X"74115456",
+X"fdc83f83",
+X"e0800873",
+X"34811470",
+X"81ff0655",
+X"53837427",
+X"e538029a",
+X"05335372",
+X"812e0981",
+X"0681d938",
+X"029b0533",
+X"5380ce90",
+X"547281aa",
+X"2e8d3881",
+X"c73980e4",
+X"518ac03f",
+X"ff145473",
+X"802e81b8",
+X"38820a52",
+X"81e951fd",
+X"a53f83e0",
+X"800881ff",
+X"065372de",
+X"38725280",
+X"fa51fd92",
+X"3f83e080",
+X"0881ff06",
+X"53728190",
+X"38725473",
+X"1653fcd6",
+X"3f83e080",
+X"08733481",
+X"147081ff",
+X"06555383",
+X"7427e838",
+X"873d3370",
+X"862a7081",
+X"06515454",
+X"8c557280",
+X"e3388455",
+X"80de3974",
+X"5281e951",
+X"fccc3f83",
+X"e0800881",
+X"ff065382",
+X"5581e956",
+X"81732786",
+X"38735580",
+X"c15680ce",
+X"90548a39",
+X"80e45189",
+X"b23fff14",
+X"5473802e",
+X"a9388052",
+X"7551fc9a",
+X"3f83e080",
+X"0881ff06",
+X"5372e138",
+X"84805280",
+X"d051fc86",
+X"3f83e080",
+X"0881ff06",
+X"5372802e",
+X"83388055",
+X"7483e3a8",
+X"348051fb",
+X"873ffbc2",
+X"3f883d0d",
+X"04fb3d0d",
+X"7754800b",
+X"83e3a833",
+X"70832a70",
+X"81065155",
+X"57557275",
+X"2e098106",
+X"85387389",
+X"2b547352",
+X"80d151fb",
+X"bd3f83e0",
+X"800881ff",
+X"065372bd",
+X"3882b8c0",
+X"54fb833f",
+X"83e08008",
 X"81ff0653",
-X"51717470",
-X"81055634",
-X"d2398074",
-X"34853d0d",
-X"04ffbd3d",
-X"0d80c63d",
-X"0852a53d",
-X"705254ff",
-X"b33f80c7",
-X"3d085285",
-X"3d705253",
-X"ffa63f72",
-X"527351fe",
-X"df3f80c5",
-X"3d0d04fe",
-X"3d0d7476",
-X"53537170",
-X"81055333",
-X"51707370",
-X"81055534",
-X"70f03884",
-X"3d0d04fe",
-X"3d0d7452",
-X"80723352",
-X"5370732e",
-X"8d388112",
-X"81147133",
-X"53545270",
-X"f5387283",
-X"e0800c84",
-X"3d0d0471",
-X"83e39c0c",
-X"8880800b",
-X"83e3980c",
-X"8480800b",
-X"83e3a00c",
-X"04f03d0d",
-X"83808056",
-X"83e39c08",
-X"1683e398",
-X"08175654",
-X"74337434",
-X"83e3a008",
-X"16548074",
-X"34811656",
-X"758380a0",
+X"7281ff2e",
+X"09810689",
+X"38ff1454",
+X"73e7389f",
+X"397281fe",
 X"2e098106",
-X"db3883d0",
-X"805683e3",
-X"9c081683",
-X"e3980817",
-X"56547433",
-X"743483e3",
-X"a0081654",
-X"80743481",
-X"16567583",
-X"d0a02e09",
-X"8106db38",
-X"83a88056",
-X"83e39c08",
-X"1683e398",
-X"08175654",
-X"74337434",
-X"83e3a008",
-X"16548074",
-X"34811656",
-X"7583a890",
-X"2e098106",
-X"db388056",
-X"83e39c08",
-X"1683e3a0",
-X"08175555",
-X"73337534",
+X"963883e7",
+X"ac5283e3",
+X"ac51faed",
+X"3ffad33f",
+X"fad03f83",
+X"39815580",
+X"51fa893f",
+X"fac43f74",
+X"81ff0683",
+X"e0800c87",
+X"3d0d04fb",
+X"3d0d7783",
+X"e3ac5654",
+X"8151f9ec",
+X"3f83e3a8",
+X"3370832a",
+X"70810651",
+X"54567285",
+X"3873892b",
+X"54735280",
+X"d851fab6",
+X"3f83e080",
+X"0881ff06",
+X"537280e4",
+X"3881ff51",
+X"f9d43f81",
+X"fe51f9ce",
+X"3f848053",
+X"74708105",
+X"563351f9",
+X"c13fff13",
+X"7083ffff",
+X"06515372",
+X"eb387251",
+X"f9b03f72",
+X"51f9ab3f",
+X"f9d03f83",
+X"e080089f",
+X"0653a788",
+X"5472852e",
+X"8c389939",
+X"80e45186",
+X"ea3fff14",
+X"54f9b33f",
+X"83e08008",
+X"81ff2e84",
+X"3873e938",
+X"8051f8e4",
+X"3ff99f3f",
+X"800b83e0",
+X"800c873d",
+X"0d047183",
+X"e7b00c88",
+X"80800b83",
+X"e7ac0c84",
+X"80800b83",
+X"e7b40c04",
+X"f03d0d83",
+X"80805683",
+X"e7b00816",
+X"83e7ac08",
+X"17565474",
+X"33743483",
+X"e7b40816",
+X"54807434",
 X"81165675",
-X"8180802e",
-X"098106e4",
-X"3886fe3f",
-X"893d58a2",
-X"5380dee8",
-X"5277519d",
-X"833f8057",
-X"8c805683",
-X"e3a00816",
-X"77195555",
-X"73337534",
-X"81168118",
-X"585676a2",
+X"8380a02e",
+X"098106db",
+X"3883d080",
+X"5683e7b0",
+X"081683e7",
+X"ac081756",
+X"54743374",
+X"3483e7b4",
+X"08165480",
+X"74348116",
+X"567583d0",
+X"a02e0981",
+X"06db3883",
+X"a8805683",
+X"e7b00816",
+X"83e7ac08",
+X"17565474",
+X"33743483",
+X"e7b40816",
+X"54807434",
+X"81165675",
+X"83a8902e",
+X"098106db",
+X"38805683",
+X"e7b00816",
+X"83e7b408",
+X"17555573",
+X"33753481",
+X"16567581",
+X"80802e09",
+X"8106e438",
+X"86fe3f89",
+X"3d58a253",
+X"80e6e052",
+X"77519afb",
+X"3f80578c",
+X"805683e7",
+X"b4081677",
+X"19555573",
+X"33753481",
+X"16811858",
+X"5676a22e",
+X"098106e6",
+X"38860b87",
+X"a8833480",
+X"0b87a882",
+X"34800b87",
+X"809a34af",
+X"0b878096",
+X"34bf0b87",
+X"80973480",
+X"0b878098",
+X"349f0b87",
+X"80993480",
+X"0b87809b",
+X"34f80b87",
+X"a8893476",
+X"87a88034",
+X"820b87d0",
+X"8f34820b",
+X"87a88134",
+X"923d0d04",
+X"fe3d0d80",
+X"5383e7b4",
+X"081383e7",
+X"b0081452",
+X"52703372",
+X"34811353",
+X"72818080",
 X"2e098106",
-X"e638860b",
-X"87a88334",
-X"800b87a8",
-X"8234800b",
-X"87809a34",
-X"af0b8780",
-X"9634bf0b",
-X"87809734",
-X"800b8780",
-X"98349f0b",
-X"87809934",
-X"800b8780",
-X"9b34f80b",
-X"87a88934",
-X"7687a880",
-X"34820b87",
-X"d08f3482",
-X"0b87a881",
-X"34923d0d",
-X"04fe3d0d",
-X"805383e3",
-X"a0081383",
-X"e39c0814",
+X"e4388380",
+X"805383e7",
+X"b4081383",
+X"e7b00814",
 X"52527033",
 X"72348113",
-X"53728180",
-X"802e0981",
+X"53728380",
+X"a02e0981",
 X"06e43883",
-X"80805383",
-X"e3a00813",
-X"83e39c08",
+X"d0805383",
+X"e7b40813",
+X"83e7b008",
 X"14525270",
 X"33723481",
 X"13537283",
-X"80a02e09",
+X"d0a02e09",
 X"8106e438",
-X"83d08053",
-X"83e3a008",
-X"1383e39c",
+X"83a88053",
+X"83e7b408",
+X"1383e7b0",
 X"08145252",
 X"70337234",
 X"81135372",
-X"83d0a02e",
+X"83a8902e",
 X"098106e4",
-X"3883a880",
-X"5383e3a0",
-X"081383e3",
-X"9c081452",
-X"52703372",
-X"34811353",
-X"7283a890",
-X"2e098106",
-X"e438843d",
+X"38843d0d",
+X"04803d0d",
+X"90809008",
+X"810683e0",
+X"800c823d",
+X"0d04ff3d",
+X"0d908090",
+X"700870fe",
+X"06760772",
+X"0c525283",
+X"3d0d0480",
+X"3d0d9080",
+X"90087081",
+X"2c810683",
+X"e0800c51",
+X"823d0d04",
+X"ff3d0d90",
+X"80907008",
+X"70fd0676",
+X"1007720c",
+X"5252833d",
 X"0d04803d",
 X"0d908090",
-X"08810683",
-X"e0800c82",
+X"0870822c",
+X"bf0683e0",
+X"800c5182",
 X"3d0d04ff",
 X"3d0d9080",
 X"90700870",
-X"fe067607",
-X"720c5252",
-X"833d0d04",
-X"803d0d90",
-X"80900870",
-X"812c8106",
-X"83e0800c",
-X"51823d0d",
-X"04ff3d0d",
-X"90809070",
-X"0870fd06",
-X"76100772",
+X"fe830676",
+X"822b0772",
 X"0c525283",
 X"3d0d0480",
 X"3d0d9080",
-X"90087082",
-X"2cbf0683",
+X"90087088",
+X"2c870683",
 X"e0800c51",
 X"823d0d04",
 X"ff3d0d90",
 X"80907008",
-X"70fe8306",
-X"76822b07",
+X"70f1ff06",
+X"76882b07",
 X"720c5252",
 X"833d0d04",
 X"803d0d90",
 X"80900870",
-X"882c8706",
+X"8b2cbf06",
 X"83e0800c",
 X"51823d0d",
 X"04ff3d0d",
 X"90809070",
-X"0870f1ff",
-X"0676882b",
+X"0870f88f",
+X"ff06768b",
+X"2b07720c",
+X"5252833d",
+X"0d04803d",
+X"0d908090",
+X"0870912c",
+X"bf0683e0",
+X"800c5182",
+X"3d0d04ff",
+X"3d0d9080",
+X"90700870",
+X"fc87ffff",
+X"0676912b",
 X"07720c52",
 X"52833d0d",
 X"04803d0d",
 X"90809008",
-X"708b2cbf",
+X"70992c81",
 X"0683e080",
 X"0c51823d",
 X"0d04ff3d",
 X"0d908090",
-X"700870f8",
-X"8fff0676",
-X"8b2b0772",
+X"700870ff",
+X"bf0a0676",
+X"992b0772",
 X"0c525283",
 X"3d0d0480",
 X"3d0d9080",
-X"90087091",
-X"2cbf0683",
+X"80087088",
+X"2c810683",
 X"e0800c51",
 X"823d0d04",
-X"ff3d0d90",
-X"80907008",
-X"70fc87ff",
-X"ff067691",
-X"2b07720c",
-X"5252833d",
-X"0d04803d",
-X"0d908090",
-X"0870992c",
-X"810683e0",
-X"800c5182",
-X"3d0d04ff",
-X"3d0d9080",
-X"90700870",
-X"ffbf0a06",
-X"76992b07",
-X"720c5252",
-X"833d0d04",
 X"803d0d90",
 X"80800870",
-X"882c8106",
+X"892c8106",
 X"83e0800c",
 X"51823d0d",
 X"04803d0d",
 X"90808008",
-X"70892c81",
+X"708a2c81",
 X"0683e080",
 X"0c51823d",
 X"0d04803d",
 X"0d908080",
-X"08708a2c",
+X"08708b2c",
 X"810683e0",
 X"800c5182",
-X"3d0d0480",
-X"3d0d9080",
-X"8008708b",
-X"2c810683",
-X"e0800c51",
-X"823d0d04",
-X"fe3d0d74",
-X"81e62987",
-X"2a9080a0",
-X"0c843d0d",
-X"04fe3d0d",
-X"7575ff19",
-X"53535370",
-X"ff2e8d38",
-X"72727081",
-X"055434ff",
-X"1151f039",
+X"3d0d04fe",
+X"3d0d7481",
+X"e629872a",
+X"9080a00c",
 X"843d0d04",
 X"fe3d0d75",
 X"75ff1953",
 X"535370ff",
 X"2e8d3872",
-X"72708405",
-X"540cff11",
+X"72708105",
+X"5434ff11",
 X"51f03984",
 X"3d0d04fe",
-X"3d0d8180",
-X"80538052",
-X"88800a51",
-X"ffb33fa0",
-X"80538052",
-X"82800a51",
-X"c73f843d",
-X"0d04803d",
-X"0d8151fc",
-X"923f7280",
-X"2e903880",
-X"51fe943f",
-X"ce3f80e1",
-X"f43351fe",
-X"8a3f8151",
-X"fca33f80",
-X"51fc9e3f",
-X"8051fbef",
-X"3f823d0d",
-X"04fd3d0d",
-X"75528054",
-X"80ff7225",
-X"8838810b",
-X"ff801353",
-X"54ffbf12",
-X"51709926",
-X"8638e012",
-X"529e39ff",
-X"9f125199",
-X"71279538",
-X"d012e013",
-X"70545451",
-X"89712788",
-X"388f7327",
-X"83388052",
-X"73802e85",
-X"38818012",
-X"527181ff",
-X"0683e080",
-X"0c853d0d",
+X"3d0d7575",
+X"ff195353",
+X"5370ff2e",
+X"8d387272",
+X"70840554",
+X"0cff1151",
+X"f039843d",
+X"0d04fe3d",
+X"0d818080",
+X"53805288",
+X"800a51ff",
+X"b33fa080",
+X"53805282",
+X"800a51c7",
+X"3f843d0d",
 X"04803d0d",
-X"84d8c051",
-X"80717081",
-X"05533470",
-X"84e0c02e",
-X"098106f0",
-X"38823d0d",
+X"8151fc92",
+X"3f72802e",
+X"90388051",
+X"fe943fce",
+X"3f80e9ec",
+X"3351fe8a",
+X"3f8151fc",
+X"a33f8051",
+X"fc9e3f80",
+X"51fbef3f",
+X"823d0d04",
+X"fd3d0d75",
+X"52805480",
+X"ff722588",
+X"38810bff",
+X"80135354",
+X"ffbf1251",
+X"70992686",
+X"38e01252",
+X"9e39ff9f",
+X"12519971",
+X"279538d0",
+X"12e01370",
+X"54545189",
+X"71278838",
+X"8f732783",
+X"38805273",
+X"802e8538",
+X"81801252",
+X"7181ff06",
+X"83e0800c",
+X"853d0d04",
+X"803d0d84",
+X"d8c05180",
+X"71708105",
+X"53347084",
+X"e0c02e09",
+X"8106f038",
+X"823d0d04",
+X"fe3d0d02",
+X"97053351",
+X"ff863f83",
+X"e0800881",
+X"ff0683e7",
+X"bc085452",
+X"8073249b",
+X"3883e7dc",
+X"08137283",
+X"e7e00807",
+X"53537173",
+X"3483e7bc",
+X"08810583",
+X"e7bc0c84",
+X"3d0d04fa",
+X"3d0d8280",
+X"0a1b5580",
+X"57883dfc",
+X"05547953",
+X"74527851",
+X"cbe23f88",
+X"3d0d04fe",
+X"3d0d83e7",
+X"d4085274",
+X"51d2c53f",
+X"83e08008",
+X"8c387653",
+X"755283e7",
+X"d40851c7",
+X"3f843d0d",
 X"04fe3d0d",
-X"02970533",
-X"51ff863f",
+X"83e7d408",
+X"53755274",
+X"51cd853f",
 X"83e08008",
-X"81ff0683",
-X"e3a80854",
-X"52807324",
-X"9b3883e3",
-X"c8081372",
-X"83e3cc08",
-X"07535371",
-X"733483e3",
-X"a8088105",
-X"83e3a80c",
-X"843d0d04",
-X"fa3d0d82",
-X"800a1b55",
-X"8057883d",
-X"fc055479",
-X"53745278",
-X"51d5df3f",
-X"883d0d04",
-X"fe3d0d83",
-X"e3c00852",
-X"7451dcc2",
+X"8d387753",
+X"765283e7",
+X"d40851ff",
+X"a23f843d",
+X"0d04fd3d",
+X"0d83e7d4",
+X"0851cbf9",
 X"3f83e080",
-X"088c3876",
-X"53755283",
-X"e3c00851",
-X"c73f843d",
-X"0d04fe3d",
-X"0d83e3c0",
-X"08537552",
-X"7451d782",
+X"0890802e",
+X"098106ad",
+X"38805483",
+X"c1808053",
+X"83e08008",
+X"5283e7d4",
+X"0851fef3",
+X"3f87c180",
+X"80143387",
+X"c1908015",
+X"34811454",
+X"7390802e",
+X"098106e9",
+X"38853d0d",
+X"0480e7e0",
+X"0b83e080",
+X"0c04f73d",
+X"0d805a80",
+X"59805880",
+X"705757fd",
+X"e73f800b",
+X"83e7bc0c",
+X"800b83e7",
+X"e00c80e7",
+X"e451c6de",
+X"3f81800b",
+X"83e7e00c",
+X"80e7e851",
+X"c6d03f80",
+X"d00b83e7",
+X"bc0c7530",
+X"70770780",
+X"2570872b",
+X"83e7e00c",
+X"5154f982",
 X"3f83e080",
-X"088d3877",
-X"53765283",
-X"e3c00851",
-X"ffa23f84",
-X"3d0d04fd",
-X"3d0d83e3",
-X"c00851d5",
-X"f63f83e0",
-X"80089080",
-X"2e098106",
-X"ad388054",
-X"83c18080",
-X"5383e080",
-X"085283e3",
-X"c00851fe",
-X"f33f87c1",
-X"80801433",
-X"87c19080",
-X"15348114",
-X"54739080",
-X"2e098106",
-X"e938853d",
-X"0d0480df",
-X"e80b83e0",
-X"800c04f7",
-X"3d0d805a",
-X"80598058",
-X"80705757",
-X"fde73f80",
-X"0b83e3a8",
-X"0c800b83",
-X"e3cc0c80",
-X"dfec51d0",
-X"db3f8180",
-X"0b83e3cc",
-X"0c80dff0",
-X"51d0cd3f",
-X"80d00b83",
-X"e3a80c75",
-X"30707707",
+X"085280e7",
+X"f051c6aa",
+X"3f80f80b",
+X"83e7bc0c",
+X"75813270",
+X"30707207",
 X"80257087",
-X"2b83e3cc",
-X"0c5154f9",
-X"823f83e0",
+X"2b83e7e0",
+X"0c515555",
+X"ff833f83",
+X"e0800852",
+X"80e7fc51",
+X"c6803f81",
+X"a00b83e7",
+X"bc0c7582",
+X"32703070",
+X"72078025",
+X"70872b83",
+X"e7e00c51",
+X"5583e7d4",
+X"085255c7",
+X"9a3f83e0",
 X"80085280",
-X"dff851d0",
-X"a73f80f8",
-X"0b83e3a8",
-X"0c758132",
+X"e88451c5",
+X"d13f81c8",
+X"0b83e7bc",
+X"0c758332",
 X"70307072",
 X"07802570",
-X"872b83e3",
-X"cc0c5155",
-X"55ff833f",
-X"83e08008",
-X"5280e084",
-X"51cffd3f",
-X"81a00b83",
-X"e3a80c75",
-X"82327030",
+X"872b83e7",
+X"e00c5155",
+X"80e88c52",
+X"55c5af3f",
+X"81f00b83",
+X"e7bc0c75",
+X"84327030",
 X"70720780",
 X"2570872b",
-X"83e3cc0c",
-X"515583e3",
-X"c0085255",
-X"d1973f83",
-X"e0800852",
-X"80e08c51",
-X"cfce3f81",
-X"c80b83e3",
-X"a80c7583",
-X"32703070",
-X"72078025",
-X"70872b83",
-X"e3cc0c51",
-X"5580e094",
-X"5255cfac",
-X"3f81f00b",
-X"83e3a80c",
-X"75843270",
-X"30707207",
-X"80257087",
-X"2b83e3cc",
-X"0c515580",
-X"e0a45255",
-X"cf8a3f82",
-X"980b83e3",
-X"a80c7585",
-X"32703070",
-X"72078025",
-X"70872b83",
-X"e3cc0c51",
-X"5580e0bc",
-X"5255cee8",
-X"3f82c00b",
-X"83e3a80c",
-X"75863270",
-X"30707207",
-X"80257087",
-X"2b83e3cc",
-X"0c515580",
-X"e0d45255",
-X"cec63f86",
-X"8da051f9",
-X"c73f8052",
-X"883d7052",
-X"5487dc3f",
-X"83527351",
-X"87d53f78",
-X"16567580",
+X"83e7e00c",
+X"515580e8",
+X"9c5255c5",
+X"8d3f8298",
+X"0b83e7bc",
+X"0c758532",
+X"70307072",
+X"07802570",
+X"872b83e7",
+X"e00c5155",
+X"80e8b452",
+X"55c4eb3f",
+X"82c00b83",
+X"e7bc0c75",
+X"86327030",
+X"70720780",
+X"2570872b",
+X"83e7e00c",
+X"515580e8",
+X"cc5255c4",
+X"c93f868d",
+X"a051f9c7",
+X"3f805288",
+X"3d705254",
+X"87dd3f83",
+X"52735187",
+X"d63f7816",
+X"56758025",
+X"85388056",
+X"90398676",
+X"25853886",
+X"56873975",
+X"862682db",
+X"38758429",
+X"80e78405",
+X"54730804",
+X"f6d43f83",
+X"e0800878",
+X"56547481",
+X"2e098106",
+X"893883e0",
+X"80081054",
+X"903974ff",
+X"2e098106",
+X"883883e0",
+X"8008812c",
+X"54907425",
+X"85389054",
+X"88397380",
+X"24833881",
+X"547351f6",
+X"ae3f828f",
+X"39f6c03f",
+X"83e08008",
+X"18547380",
 X"25853880",
-X"56903986",
-X"76258538",
-X"86568739",
-X"75862682",
-X"db387584",
-X"2980df8c",
-X"05547308",
-X"04f6d43f",
-X"83e08008",
-X"78565474",
-X"812e0981",
-X"06893883",
-X"e0800810",
-X"54903974",
-X"ff2e0981",
-X"06883883",
-X"e0800881",
-X"2c549074",
-X"25853890",
-X"54883973",
-X"80248338",
-X"81547351",
-X"f6ae3f82",
-X"8f39f6c0",
-X"3f83e080",
-X"08185473",
-X"80258538",
-X"80548839",
-X"87742583",
-X"38875473",
-X"51f6ba3f",
-X"81ee3977",
-X"87387980",
-X"2e81e538",
-X"83e0a408",
-X"83e0a00c",
-X"8bdf0b83",
-X"e0a80c83",
-X"e3c00851",
-X"ffbfe63f",
-X"fbb53f81",
-X"c7397980",
-X"2e81c138",
-X"83e09c08",
-X"83e0a00c",
-X"8bdf0b83",
-X"e0a80c83",
-X"e3bc0851",
-X"ffbfc23f",
-X"75832e09",
-X"81069438",
-X"81808053",
-X"82808052",
-X"83e3bc08",
-X"51fa993f",
-X"81873975",
-X"842e0981",
-X"06af3882",
-X"80805381",
+X"54883987",
+X"74258338",
+X"87547351",
+X"f6ba3f81",
+X"ee397787",
+X"3879802e",
+X"81e53883",
+X"e0a40883",
+X"e0a00c8b",
+X"df0b83e0",
+X"a80c83e7",
+X"d40851ff",
+X"b5e73ffb",
+X"b53f81c7",
+X"3979802e",
+X"81c13883",
+X"e09c0883",
+X"e0a00c8b",
+X"df0b83e0",
+X"a80c83e7",
+X"d00851ff",
+X"b5c33f75",
+X"832e0981",
+X"06943881",
+X"80805382",
 X"80805283",
-X"e3bc0851",
-X"f9fe3f80",
-X"54848280",
-X"80143384",
-X"81808015",
-X"34811454",
-X"73818080",
+X"e7d00851",
+X"fa993f81",
+X"87397584",
 X"2e098106",
-X"e83880d1",
-X"3975852e",
-X"09810680",
-X"c8388054",
-X"81808053",
-X"80c08052",
-X"83e3bc08",
-X"51f9c53f",
-X"82808053",
-X"80c08052",
-X"83e3bc08",
-X"51f9b53f",
-X"84818080",
+X"af388280",
+X"80538180",
+X"805283e7",
+X"d00851f9",
+X"fe3f8054",
+X"84828080",
 X"14338481",
-X"c0801534",
-X"84828080",
-X"14338482",
-X"c0801534",
+X"80801534",
 X"81145473",
-X"80c0802e",
-X"098106dc",
-X"3881548c",
-X"39798738",
-X"76802efa",
-X"c3388054",
-X"7383e080",
-X"0c8b3d0d",
-X"04ff3d0d",
-X"f5d63f83",
-X"e0800880",
-X"2e863880",
-X"5180dd39",
-X"f5db3f83",
-X"e0800880",
-X"d138f5fb",
+X"8180802e",
+X"098106e8",
+X"3880d139",
+X"75852e09",
+X"810680c8",
+X"38805481",
+X"80805380",
+X"c0805283",
+X"e7d00851",
+X"f9c53f82",
+X"80805380",
+X"c0805283",
+X"e7d00851",
+X"f9b53f84",
+X"81808014",
+X"338481c0",
+X"80153484",
+X"82808014",
+X"338482c0",
+X"80153481",
+X"14547380",
+X"c0802e09",
+X"8106dc38",
+X"81548c39",
+X"79873876",
+X"802efac3",
+X"38805473",
+X"83e0800c",
+X"8b3d0d04",
+X"ff3d0df5",
+X"d63f83e0",
+X"8008802e",
+X"86388051",
+X"80dd39f5",
+X"db3f83e0",
+X"800880d1",
+X"38f5fb3f",
+X"83e08008",
+X"802eaa38",
+X"8151f38a",
+X"3fefd13f",
+X"800b83e7",
+X"bc0cf9f2",
 X"3f83e080",
-X"08802eaa",
-X"388151f3",
-X"8a3fefd1",
-X"3f800b83",
-X"e3a80cf9",
-X"f23f83e0",
-X"800852ff",
-X"0b83e3a8",
-X"0cf1d63f",
-X"71a43871",
-X"51f2e83f",
-X"a239f5b2",
-X"3f83e080",
-X"08802e97",
-X"388151f2",
-X"d63fef9d",
-X"3fff0b83",
-X"e3a80cf1",
-X"b03f8151",
-X"f6ac3f83",
-X"3d0d04fc",
-X"3d0d9080",
-X"80528684",
-X"808051cf",
-X"ff3f83e0",
-X"8008b838",
-X"80e1f851",
-X"d4c23f83",
-X"e0800883",
-X"e3c00854",
-X"80e0e053",
+X"0852ff0b",
+X"83e7bc0c",
+X"f1d63f71",
+X"a4387151",
+X"f2e83fa2",
+X"39f5b23f",
 X"83e08008",
-X"5255cf9e",
+X"802e9738",
+X"8151f2d6",
+X"3fef9d3f",
+X"ff0b83e7",
+X"bc0cf1b0",
+X"3f8151f6",
+X"ac3f833d",
+X"0d04fc3d",
+X"0d908080",
+X"52868480",
+X"8051c682",
 X"3f83e080",
-X"088438f8",
-X"aa3f8180",
-X"80548280",
-X"805380e0",
-X"dc527451",
-X"f7f43f81",
-X"51f5d73f",
-X"feb73ffc",
-X"3983e08c",
-X"080283e0",
-X"8c0cfb3d",
-X"0d0280e0",
-X"ec0b83e0",
-X"a40c80e0",
-X"f00b83e0",
-X"9c0c80e0",
-X"f40b83e0",
-X"ac0c83e0",
-X"8c08fc05",
-X"0c800b83",
-X"e3ac0b83",
-X"e08c08f8",
-X"050c83e0",
-X"8c08f405",
-X"0ccded3f",
+X"08b83880",
+X"e9f051ca",
+X"c53f83e0",
+X"800883e7",
+X"d4085480",
+X"e8d85383",
+X"e0800852",
+X"55c5a13f",
 X"83e08008",
-X"8605fc06",
+X"8438f8aa",
+X"3f818080",
+X"54828080",
+X"5380e8d4",
+X"527451f7",
+X"f43f8151",
+X"f5d73ffe",
+X"b73ffc39",
 X"83e08c08",
-X"f0050c02",
-X"83e08c08",
-X"f0050831",
-X"0d833d70",
-X"83e08c08",
-X"f8050870",
-X"840583e0",
+X"0283e08c",
+X"0cfb3d0d",
+X"0280e8e4",
+X"0b83e0a4",
+X"0c80e8e8",
+X"0b83e09c",
+X"0c80e8ec",
+X"0b83e0ac",
+X"0c83e08c",
+X"08fc050c",
+X"800b83e7",
+X"c00b83e0",
 X"8c08f805",
-X"0c0c51ca",
-X"b63f83e0",
+X"0c83e08c",
+X"08f4050c",
+X"c3f03f83",
+X"e0800886",
+X"05fc0683",
+X"e08c08f0",
+X"050c0283",
+X"e08c08f0",
+X"0508310d",
+X"833d7083",
+X"e08c08f8",
+X"05087084",
+X"0583e08c",
+X"08f8050c",
+X"0c51c0b9",
+X"3f83e08c",
+X"08f40508",
+X"810583e0",
 X"8c08f405",
-X"08810583",
-X"e08c08f4",
-X"050c83e0",
-X"8c08f405",
-X"08872e09",
-X"8106ffad",
-X"38869480",
-X"8051ed83",
-X"3fff0b83",
-X"e3a80c80",
-X"0b83e3cc",
-X"0c84d8c0",
-X"0b83e3c8",
-X"0c8151f0",
-X"b63f8151",
-X"f0db3f80",
-X"51f0d63f",
-X"8151f0fc",
-X"3f8151f1",
-X"d13f8251",
-X"f19f3f80",
-X"51f1f53f",
-X"8051f29f",
-X"3f80c6c5",
-X"528051c7",
-X"f03ffdc7",
+X"0c83e08c",
+X"08f40508",
+X"872e0981",
+X"06ffad38",
+X"86948080",
+X"51ed833f",
+X"ff0b83e7",
+X"bc0c800b",
+X"83e7e00c",
+X"84d8c00b",
+X"83e7dc0c",
+X"8151f0b6",
+X"3f8151f0",
+X"db3f8051",
+X"f0d63f81",
+X"51f0fc3f",
+X"8151f1d1",
+X"3f8251f1",
+X"9f3f8051",
+X"f1f53f80",
+X"51f29f3f",
+X"80d0c452",
+X"8051ffbd",
+X"f23ffdc6",
 X"3f83e08c",
 X"08fc0508",
 X"0d800b83",
@@ -2686,93 +3006,14 @@
 X"84120880",
 X"2effb738",
 X"843d0d04",
-X"ff3d0d73",
-X"527183e3",
-X"d4082ea6",
-X"3871a00a",
-X"0790809c",
-X"0c90808c",
-X"08517080",
-X"2ef73880",
-X"0b90809c",
-X"0c90808c",
-X"085170f9",
-X"387183e3",
-X"d40c833d",
-X"0d04ff0b",
-X"83e3d40c",
-X"8180800b",
-X"83e3d00c",
-X"800b83e0",
-X"800c04fc",
-X"3d0d7602",
-X"8405a205",
-X"22028805",
-X"a605227a",
-X"54555555",
-X"ff9e3f72",
-X"802ea338",
-X"83e3d008",
-X"14527133",
-X"75708105",
-X"57348114",
-X"7083ffff",
-X"06ff1570",
-X"83ffff06",
-X"56525552",
-X"da39800b",
-X"83e0800c",
-X"863d0d04",
-X"f73d0d7b",
-X"7d7f1158",
-X"55598055",
-X"73762eb1",
-X"3883e3d0",
-X"088b3d59",
-X"57741970",
-X"3375fc06",
-X"1970085d",
-X"7683067b",
-X"07535454",
-X"51727134",
-X"79720c81",
-X"14811656",
-X"5473762e",
-X"098106d9",
-X"38800b83",
-X"e0800c8b",
-X"3d0d0480",
-X"3d0d83e3",
-X"d408900a",
-X"0790809c",
-X"0c90808c",
-X"08517080",
-X"2ef73880",
-X"0b90809c",
-X"0c90808c",
-X"085170f9",
-X"38823d0d",
-X"0483e08c",
-X"080283e0",
-X"8c0cfd3d",
-X"0d805383",
-X"e08c088c",
-X"05085283",
-X"e08c0888",
-X"05085183",
-X"d43f83e0",
-X"80087083",
-X"e0800c54",
-X"853d0d83",
-X"e08c0c04",
 X"83e08c08",
 X"0283e08c",
 X"0cfd3d0d",
-X"815383e0",
+X"805383e0",
 X"8c088c05",
 X"085283e0",
 X"8c088805",
-X"085183a1",
+X"085183d4",
 X"3f83e080",
 X"087083e0",
 X"800c5485",
@@ -2780,243 +3021,256 @@
 X"8c0c0483",
 X"e08c0802",
 X"83e08c0c",
-X"f93d0d80",
-X"0b83e08c",
-X"08fc050c",
+X"fd3d0d81",
+X"5383e08c",
+X"088c0508",
+X"5283e08c",
+X"08880508",
+X"5183a13f",
+X"83e08008",
+X"7083e080",
+X"0c54853d",
+X"0d83e08c",
+X"0c0483e0",
+X"8c080283",
+X"e08c0cf9",
+X"3d0d800b",
 X"83e08c08",
-X"88050880",
-X"25b93883",
+X"fc050c83",
 X"e08c0888",
-X"05083083",
-X"e08c0888",
-X"050c800b",
-X"83e08c08",
-X"f4050c83",
-X"e08c08fc",
-X"05088a38",
-X"810b83e0",
-X"8c08f405",
-X"0c83e08c",
-X"08f40508",
-X"83e08c08",
-X"fc050c83",
-X"e08c088c",
 X"05088025",
 X"b93883e0",
-X"8c088c05",
+X"8c088805",
 X"083083e0",
-X"8c088c05",
+X"8c088805",
 X"0c800b83",
-X"e08c08f0",
+X"e08c08f4",
 X"050c83e0",
 X"8c08fc05",
 X"088a3881",
 X"0b83e08c",
-X"08f0050c",
+X"08f4050c",
 X"83e08c08",
-X"f0050883",
+X"f4050883",
 X"e08c08fc",
-X"050c8053",
+X"050c83e0",
+X"8c088c05",
+X"088025b9",
+X"3883e08c",
+X"088c0508",
+X"3083e08c",
+X"088c050c",
+X"800b83e0",
+X"8c08f005",
+X"0c83e08c",
+X"08fc0508",
+X"8a38810b",
 X"83e08c08",
-X"8c050852",
-X"83e08c08",
-X"88050851",
-X"81df3f83",
-X"e0800870",
-X"83e08c08",
-X"f8050c54",
-X"83e08c08",
-X"fc050880",
-X"2e903883",
+X"f0050c83",
+X"e08c08f0",
+X"050883e0",
+X"8c08fc05",
+X"0c805383",
+X"e08c088c",
+X"05085283",
+X"e08c0888",
+X"05085181",
+X"df3f83e0",
+X"80087083",
 X"e08c08f8",
-X"05083083",
-X"e08c08f8",
-X"050c83e0",
+X"050c5483",
+X"e08c08fc",
+X"0508802e",
+X"903883e0",
 X"8c08f805",
-X"087083e0",
-X"800c5489",
-X"3d0d83e0",
-X"8c0c0483",
-X"e08c0802",
-X"83e08c0c",
-X"fb3d0d80",
-X"0b83e08c",
-X"08fc050c",
+X"083083e0",
+X"8c08f805",
+X"0c83e08c",
+X"08f80508",
+X"7083e080",
+X"0c54893d",
+X"0d83e08c",
+X"0c0483e0",
+X"8c080283",
+X"e08c0cfb",
+X"3d0d800b",
 X"83e08c08",
-X"88050880",
-X"25993883",
+X"fc050c83",
 X"e08c0888",
-X"05083083",
-X"e08c0888",
-X"050c810b",
-X"83e08c08",
-X"fc050c83",
-X"e08c088c",
 X"05088025",
-X"903883e0",
-X"8c088c05",
+X"993883e0",
+X"8c088805",
 X"083083e0",
+X"8c088805",
+X"0c810b83",
+X"e08c08fc",
+X"050c83e0",
 X"8c088c05",
-X"0c815383",
-X"e08c088c",
-X"05085283",
-X"e08c0888",
-X"050851bd",
-X"3f83e080",
-X"087083e0",
-X"8c08f805",
-X"0c5483e0",
-X"8c08fc05",
-X"08802e90",
+X"08802590",
 X"3883e08c",
-X"08f80508",
+X"088c0508",
 X"3083e08c",
+X"088c050c",
+X"815383e0",
+X"8c088c05",
+X"085283e0",
+X"8c088805",
+X"0851bd3f",
+X"83e08008",
+X"7083e08c",
 X"08f8050c",
+X"5483e08c",
+X"08fc0508",
+X"802e9038",
 X"83e08c08",
-X"f8050870",
-X"83e0800c",
-X"54873d0d",
-X"83e08c0c",
-X"0483e08c",
-X"080283e0",
-X"8c0cfd3d",
-X"0d810b83",
+X"f8050830",
+X"83e08c08",
+X"f8050c83",
+X"e08c08f8",
+X"05087083",
+X"e0800c54",
+X"873d0d83",
+X"e08c0c04",
+X"83e08c08",
+X"0283e08c",
+X"0cfd3d0d",
+X"810b83e0",
+X"8c08fc05",
+X"0c800b83",
+X"e08c08f8",
+X"050c83e0",
+X"8c088c05",
+X"0883e08c",
+X"08880508",
+X"27b93883",
 X"e08c08fc",
-X"050c800b",
+X"0508802e",
+X"ae38800b",
 X"83e08c08",
-X"f8050c83",
+X"8c050824",
+X"a23883e0",
+X"8c088c05",
+X"081083e0",
+X"8c088c05",
+X"0c83e08c",
+X"08fc0508",
+X"1083e08c",
+X"08fc050c",
+X"ffb83983",
+X"e08c08fc",
+X"0508802e",
+X"80e13883",
 X"e08c088c",
 X"050883e0",
 X"8c088805",
-X"0827b938",
+X"0826ad38",
 X"83e08c08",
-X"fc050880",
-X"2eae3880",
-X"0b83e08c",
-X"088c0508",
-X"24a23883",
+X"88050883",
 X"e08c088c",
-X"05081083",
-X"e08c088c",
+X"05083183",
+X"e08c0888",
 X"050c83e0",
-X"8c08fc05",
-X"081083e0",
-X"8c08fc05",
-X"0cffb839",
+X"8c08f805",
+X"0883e08c",
+X"08fc0508",
+X"0783e08c",
+X"08f8050c",
 X"83e08c08",
-X"fc050880",
-X"2e80e138",
+X"fc050881",
+X"2a83e08c",
+X"08fc050c",
 X"83e08c08",
-X"8c050883",
-X"e08c0888",
-X"050826ad",
-X"3883e08c",
-X"08880508",
+X"8c050881",
+X"2a83e08c",
+X"088c050c",
+X"ff953983",
+X"e08c0890",
+X"0508802e",
+X"933883e0",
+X"8c088805",
+X"087083e0",
+X"8c08f405",
+X"0c519139",
 X"83e08c08",
-X"8c050831",
+X"f8050870",
 X"83e08c08",
-X"88050c83",
-X"e08c08f8",
-X"050883e0",
+X"f4050c51",
+X"83e08c08",
+X"f4050883",
+X"e0800c85",
+X"3d0d83e0",
+X"8c0c0483",
+X"e08c0802",
+X"83e08c0c",
+X"ff3d0d80",
+X"0b83e08c",
+X"08fc050c",
+X"83e08c08",
+X"88050881",
+X"06ff1170",
+X"097083e0",
+X"8c088c05",
+X"080683e0",
 X"8c08fc05",
-X"080783e0",
-X"8c08f805",
+X"081183e0",
+X"8c08fc05",
 X"0c83e08c",
-X"08fc0508",
+X"08880508",
 X"812a83e0",
-X"8c08fc05",
+X"8c088805",
 X"0c83e08c",
 X"088c0508",
-X"812a83e0",
-X"8c088c05",
-X"0cff9539",
+X"1083e08c",
+X"088c050c",
+X"51515151",
 X"83e08c08",
-X"90050880",
-X"2e933883",
-X"e08c0888",
-X"05087083",
-X"e08c08f4",
-X"050c5191",
-X"3983e08c",
-X"08f80508",
-X"7083e08c",
-X"08f4050c",
-X"5183e08c",
-X"08f40508",
-X"83e0800c",
-X"853d0d83",
-X"e08c0c04",
-X"83e08c08",
-X"0283e08c",
-X"0cff3d0d",
-X"800b83e0",
+X"88050880",
+X"2e8438ff",
+X"ab3983e0",
 X"8c08fc05",
-X"0c83e08c",
-X"08880508",
-X"8106ff11",
-X"70097083",
-X"e08c088c",
-X"05080683",
-X"e08c08fc",
-X"05081183",
-X"e08c08fc",
-X"050c83e0",
-X"8c088805",
-X"08812a83",
-X"e08c0888",
-X"050c83e0",
-X"8c088c05",
-X"081083e0",
-X"8c088c05",
-X"0c515151",
-X"5183e08c",
-X"08880508",
-X"802e8438",
-X"ffab3983",
-X"e08c08fc",
-X"05087083",
-X"e0800c51",
-X"833d0d83",
-X"e08c0c04",
-X"fc3d0d76",
-X"70797b55",
-X"5555558f",
-X"72278c38",
-X"72750783",
-X"06517080",
-X"2ea938ff",
-X"125271ff",
-X"2e983872",
-X"70810554",
-X"33747081",
-X"055634ff",
-X"125271ff",
-X"2e098106",
-X"ea387483",
-X"e0800c86",
-X"3d0d0474",
-X"51727084",
+X"087083e0",
+X"800c5183",
+X"3d0d83e0",
+X"8c0c04fc",
+X"3d0d7670",
+X"797b5555",
+X"55558f72",
+X"278c3872",
+X"75078306",
+X"5170802e",
+X"a938ff12",
+X"5271ff2e",
+X"98387270",
+X"81055433",
+X"74708105",
+X"5634ff12",
+X"5271ff2e",
+X"098106ea",
+X"387483e0",
+X"800c863d",
+X"0d047451",
+X"72708405",
+X"54087170",
+X"8405530c",
+X"72708405",
+X"54087170",
+X"8405530c",
+X"72708405",
+X"54087170",
+X"8405530c",
+X"72708405",
+X"54087170",
+X"8405530c",
+X"f0125271",
+X"8f26c938",
+X"83722795",
+X"38727084",
 X"05540871",
 X"70840553",
-X"0c727084",
-X"05540871",
-X"70840553",
-X"0c727084",
-X"05540871",
-X"70840553",
-X"0c727084",
-X"05540871",
-X"70840553",
-X"0cf01252",
-X"718f26c9",
-X"38837227",
-X"95387270",
-X"84055408",
-X"71708405",
-X"530cfc12",
-X"52718326",
-X"ed387054",
-X"ff813900",
+X"0cfc1252",
+X"718326ed",
+X"387054ff",
+X"81390000",
 X"00ffffff",
 X"ff00ffff",
 X"ffff00ff",
@@ -3062,13 +3316,13 @@
 X"02020202",
 X"02020241",
 X"00060000",
-X"000025a9",
-X"000025ea",
-X"0000260b",
-X"00002632",
-X"00002632",
-X"00002632",
-X"000026f5",
+X"00002aa8",
+X"00002ae9",
+X"00002b0a",
+X"00002b31",
+X"00002b31",
+X"00002b31",
+X"00002bf4",
 X"25732025",
 X"73000000",
 X"20000000",
@@ -3211,260 +3465,6 @@
 X"00000000",
 X"00000000",
 X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
-X"00000000",
 X"00000000",
 X"00000000",
 X"00000000",
Index: mist_5200_old_sd_interface/pll_ntsc.vhd
===================================================================
--- mist_5200_old_sd_interface/pll_ntsc.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/pll_ntsc.vhd	(revision 232)
@@ -0,0 +1,456 @@
+-- megafunction wizard: %ALTPLL%
+-- GENERATION: STANDARD
+-- VERSION: WM1.0
+-- MODULE: altpll 
+
+-- ============================================================
+-- File Name: pll_ntsc.vhd
+-- Megafunction Name(s):
+-- 			altpll
+--
+-- Simulation Library Files(s):
+-- 			altera_mf
+-- ============================================================
+-- ************************************************************
+-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
+--
+-- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
+-- ************************************************************
+
+
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+LIBRARY ieee;
+USE ieee.std_logic_1164.all;
+
+LIBRARY altera_mf;
+USE altera_mf.all;
+
+ENTITY pll_ntsc IS
+	PORT
+	(
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		c1		: OUT STD_LOGIC ;
+		c2		: OUT STD_LOGIC ;
+		c3		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+END pll_ntsc;
+
+
+ARCHITECTURE SYN OF pll_ntsc IS
+
+	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
+	SIGNAL sub_wire1	: STD_LOGIC ;
+	SIGNAL sub_wire2	: STD_LOGIC ;
+	SIGNAL sub_wire3	: STD_LOGIC ;
+	SIGNAL sub_wire4	: STD_LOGIC ;
+	SIGNAL sub_wire5	: STD_LOGIC ;
+	SIGNAL sub_wire6	: STD_LOGIC ;
+	SIGNAL sub_wire7	: STD_LOGIC_VECTOR (1 DOWNTO 0);
+	SIGNAL sub_wire8_bv	: BIT_VECTOR (0 DOWNTO 0);
+	SIGNAL sub_wire8	: STD_LOGIC_VECTOR (0 DOWNTO 0);
+
+
+
+	COMPONENT altpll
+	GENERIC (
+		bandwidth_type		: STRING;
+		clk0_divide_by		: NATURAL;
+		clk0_duty_cycle		: NATURAL;
+		clk0_multiply_by		: NATURAL;
+		clk0_phase_shift		: STRING;
+		clk1_divide_by		: NATURAL;
+		clk1_duty_cycle		: NATURAL;
+		clk1_multiply_by		: NATURAL;
+		clk1_phase_shift		: STRING;
+		clk2_divide_by		: NATURAL;
+		clk2_duty_cycle		: NATURAL;
+		clk2_multiply_by		: NATURAL;
+		clk2_phase_shift		: STRING;
+		clk3_divide_by		: NATURAL;
+		clk3_duty_cycle		: NATURAL;
+		clk3_multiply_by		: NATURAL;
+		clk3_phase_shift		: STRING;
+		compensate_clock		: STRING;
+		inclk0_input_frequency		: NATURAL;
+		intended_device_family		: STRING;
+		lpm_hint		: STRING;
+		lpm_type		: STRING;
+		operation_mode		: STRING;
+		pll_type		: STRING;
+		port_activeclock		: STRING;
+		port_areset		: STRING;
+		port_clkbad0		: STRING;
+		port_clkbad1		: STRING;
+		port_clkloss		: STRING;
+		port_clkswitch		: STRING;
+		port_configupdate		: STRING;
+		port_fbin		: STRING;
+		port_inclk0		: STRING;
+		port_inclk1		: STRING;
+		port_locked		: STRING;
+		port_pfdena		: STRING;
+		port_phasecounterselect		: STRING;
+		port_phasedone		: STRING;
+		port_phasestep		: STRING;
+		port_phaseupdown		: STRING;
+		port_pllena		: STRING;
+		port_scanaclr		: STRING;
+		port_scanclk		: STRING;
+		port_scanclkena		: STRING;
+		port_scandata		: STRING;
+		port_scandataout		: STRING;
+		port_scandone		: STRING;
+		port_scanread		: STRING;
+		port_scanwrite		: STRING;
+		port_clk0		: STRING;
+		port_clk1		: STRING;
+		port_clk2		: STRING;
+		port_clk3		: STRING;
+		port_clk4		: STRING;
+		port_clk5		: STRING;
+		port_clkena0		: STRING;
+		port_clkena1		: STRING;
+		port_clkena2		: STRING;
+		port_clkena3		: STRING;
+		port_clkena4		: STRING;
+		port_clkena5		: STRING;
+		port_extclk0		: STRING;
+		port_extclk1		: STRING;
+		port_extclk2		: STRING;
+		port_extclk3		: STRING;
+		self_reset_on_loss_lock		: STRING;
+		width_clock		: NATURAL
+	);
+	PORT (
+			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
+			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
+			locked	: OUT STD_LOGIC 
+	);
+	END COMPONENT;
+
+BEGIN
+	sub_wire8_bv(0 DOWNTO 0) <= "0";
+	sub_wire8    <= To_stdlogicvector(sub_wire8_bv);
+	sub_wire5    <= sub_wire0(2);
+	sub_wire4    <= sub_wire0(0);
+	sub_wire2    <= sub_wire0(3);
+	sub_wire1    <= sub_wire0(1);
+	c1    <= sub_wire1;
+	c3    <= sub_wire2;
+	locked    <= sub_wire3;
+	c0    <= sub_wire4;
+	c2    <= sub_wire5;
+	sub_wire6    <= inclk0;
+	sub_wire7    <= sub_wire8(0 DOWNTO 0) & sub_wire6;
+
+	altpll_component : altpll
+	GENERIC MAP (
+		bandwidth_type => "AUTO",
+		clk0_divide_by => 33,
+		clk0_duty_cycle => 50,
+		clk0_multiply_by => 140,
+		clk0_phase_shift => "0",
+		clk1_divide_by => 33,
+		clk1_duty_cycle => 50,
+		clk1_multiply_by => 70,
+		clk1_phase_shift => "0",
+		clk2_divide_by => 33,
+		clk2_duty_cycle => 50,
+		clk2_multiply_by => 140,
+		clk2_phase_shift => "-2400",
+		clk3_divide_by => 2112,
+		clk3_duty_cycle => 50,
+		clk3_multiply_by => 1,
+		clk3_phase_shift => "0",
+		compensate_clock => "CLK0",
+		inclk0_input_frequency => 37037,
+		intended_device_family => "Cyclone III",
+		lpm_hint => "CBX_MODULE_PREFIX=pll_ntsc",
+		lpm_type => "altpll",
+		operation_mode => "NORMAL",
+		pll_type => "AUTO",
+		port_activeclock => "PORT_UNUSED",
+		port_areset => "PORT_UNUSED",
+		port_clkbad0 => "PORT_UNUSED",
+		port_clkbad1 => "PORT_UNUSED",
+		port_clkloss => "PORT_UNUSED",
+		port_clkswitch => "PORT_UNUSED",
+		port_configupdate => "PORT_UNUSED",
+		port_fbin => "PORT_UNUSED",
+		port_inclk0 => "PORT_USED",
+		port_inclk1 => "PORT_UNUSED",
+		port_locked => "PORT_USED",
+		port_pfdena => "PORT_UNUSED",
+		port_phasecounterselect => "PORT_UNUSED",
+		port_phasedone => "PORT_UNUSED",
+		port_phasestep => "PORT_UNUSED",
+		port_phaseupdown => "PORT_UNUSED",
+		port_pllena => "PORT_UNUSED",
+		port_scanaclr => "PORT_UNUSED",
+		port_scanclk => "PORT_UNUSED",
+		port_scanclkena => "PORT_UNUSED",
+		port_scandata => "PORT_UNUSED",
+		port_scandataout => "PORT_UNUSED",
+		port_scandone => "PORT_UNUSED",
+		port_scanread => "PORT_UNUSED",
+		port_scanwrite => "PORT_UNUSED",
+		port_clk0 => "PORT_USED",
+		port_clk1 => "PORT_USED",
+		port_clk2 => "PORT_USED",
+		port_clk3 => "PORT_USED",
+		port_clk4 => "PORT_UNUSED",
+		port_clk5 => "PORT_UNUSED",
+		port_clkena0 => "PORT_UNUSED",
+		port_clkena1 => "PORT_UNUSED",
+		port_clkena2 => "PORT_UNUSED",
+		port_clkena3 => "PORT_UNUSED",
+		port_clkena4 => "PORT_UNUSED",
+		port_clkena5 => "PORT_UNUSED",
+		port_extclk0 => "PORT_UNUSED",
+		port_extclk1 => "PORT_UNUSED",
+		port_extclk2 => "PORT_UNUSED",
+		port_extclk3 => "PORT_UNUSED",
+		self_reset_on_loss_lock => "OFF",
+		width_clock => 5
+	)
+	PORT MAP (
+		inclk => sub_wire7,
+		clk => sub_wire0,
+		locked => sub_wire3
+	);
+
+
+
+END SYN;
+
+-- ============================================================
+-- CNX file retrieval info
+-- ============================================================
+-- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
+-- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
+-- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
+-- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "Low"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "1"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "0"
+-- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "1"
+-- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
+-- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
+-- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
+-- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
+-- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "33"
+-- Retrieval info: PRIVATE: DIV_FACTOR1 NUMERIC "33"
+-- Retrieval info: PRIVATE: DIV_FACTOR2 NUMERIC "33"
+-- Retrieval info: PRIVATE: DIV_FACTOR3 NUMERIC "2112"
+-- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE1 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE2 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE3 STRING "50.00000000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "114.545456"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE1 STRING "57.272728"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE2 STRING "114.545456"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE3 STRING "0.012784"
+-- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
+-- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "1"
+-- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
+-- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "27.000"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
+-- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT1 STRING "ps"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT2 STRING "ps"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT3 STRING "ps"
+-- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
+-- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK1 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK2 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK3 STRING "0"
+-- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "140"
+-- Retrieval info: PRIVATE: MULT_FACTOR1 NUMERIC "70"
+-- Retrieval info: PRIVATE: MULT_FACTOR2 NUMERIC "140"
+-- Retrieval info: PRIVATE: MULT_FACTOR3 NUMERIC "1"
+-- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "57.40000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ1 STRING "57.50000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ2 STRING "57.50000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ3 STRING "0.10000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE1 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE2 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE3 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT1 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT2 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT3 STRING "MHz"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT1 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT2 STRING "-2.40000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT3 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT1 STRING "ns"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT2 STRING "ns"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT3 STRING "ps"
+-- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
+-- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
+-- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll.mif"
+-- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
+-- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
+-- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
+-- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
+-- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
+-- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
+-- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK1 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK2 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK3 STRING "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
+-- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK1 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK2 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK3 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA1 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA2 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA3 STRING "0"
+-- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
+-- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
+-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
+-- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "AUTO"
+-- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "33"
+-- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "140"
+-- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: CLK1_DIVIDE_BY NUMERIC "33"
+-- Retrieval info: CONSTANT: CLK1_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK1_MULTIPLY_BY NUMERIC "70"
+-- Retrieval info: CONSTANT: CLK1_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: CLK2_DIVIDE_BY NUMERIC "33"
+-- Retrieval info: CONSTANT: CLK2_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK2_MULTIPLY_BY NUMERIC "140"
+-- Retrieval info: CONSTANT: CLK2_PHASE_SHIFT STRING "-2400"
+-- Retrieval info: CONSTANT: CLK3_DIVIDE_BY NUMERIC "2112"
+-- Retrieval info: CONSTANT: CLK3_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK3_MULTIPLY_BY NUMERIC "1"
+-- Retrieval info: CONSTANT: CLK3_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
+-- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "37037"
+-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
+-- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
+-- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
+-- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
+-- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
+-- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
+-- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
+-- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
+-- Retrieval info: USED_PORT: c1 0 0 0 0 OUTPUT_CLK_EXT VCC "c1"
+-- Retrieval info: USED_PORT: c2 0 0 0 0 OUTPUT_CLK_EXT VCC "c2"
+-- Retrieval info: USED_PORT: c3 0 0 0 0 OUTPUT_CLK_EXT VCC "c3"
+-- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
+-- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
+-- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
+-- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
+-- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
+-- Retrieval info: CONNECT: c1 0 0 0 0 @clk 0 0 1 1
+-- Retrieval info: CONNECT: c2 0 0 0 0 @clk 0 0 1 2
+-- Retrieval info: CONNECT: c3 0 0 0 0 @clk 0 0 1 3
+-- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.vhd TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.ppf TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.inc FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.cmp TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc.bsf FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_ntsc_inst.vhd FALSE
+-- Retrieval info: LIB_FILE: altera_mf
+-- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200_old_sd_interface/pll_pal_post.vhd
===================================================================
--- mist_5200_old_sd_interface/pll_pal_post.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_post.vhd	(revision 232)
@@ -0,0 +1,461 @@
+-- megafunction wizard: %ALTPLL%
+-- GENERATION: STANDARD
+-- VERSION: WM1.0
+-- MODULE: altpll 
+
+-- ============================================================
+-- File Name: pll_pal_post.vhd
+-- Megafunction Name(s):
+-- 			altpll
+--
+-- Simulation Library Files(s):
+-- 			altera_mf
+-- ============================================================
+-- ************************************************************
+-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
+--
+-- 13.0.1 Build 232 06/12/2013 SP 1 SJ Web Edition
+-- ************************************************************
+
+
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+LIBRARY ieee;
+USE ieee.std_logic_1164.all;
+
+LIBRARY altera_mf;
+USE altera_mf.all;
+
+ENTITY pll_pal_post IS
+	PORT
+	(
+		areset		: IN STD_LOGIC  := '0';
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		c1		: OUT STD_LOGIC ;
+		c2		: OUT STD_LOGIC ;
+		c3		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+END pll_pal_post;
+
+
+ARCHITECTURE SYN OF pll_pal_post IS
+
+	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (4 DOWNTO 0);
+	SIGNAL sub_wire1	: STD_LOGIC ;
+	SIGNAL sub_wire2	: STD_LOGIC ;
+	SIGNAL sub_wire3	: STD_LOGIC ;
+	SIGNAL sub_wire4	: STD_LOGIC ;
+	SIGNAL sub_wire5	: STD_LOGIC ;
+	SIGNAL sub_wire6	: STD_LOGIC ;
+	SIGNAL sub_wire7	: STD_LOGIC_VECTOR (1 DOWNTO 0);
+	SIGNAL sub_wire8_bv	: BIT_VECTOR (0 DOWNTO 0);
+	SIGNAL sub_wire8	: STD_LOGIC_VECTOR (0 DOWNTO 0);
+
+
+
+	COMPONENT altpll
+	GENERIC (
+		bandwidth_type		: STRING;
+		clk0_divide_by		: NATURAL;
+		clk0_duty_cycle		: NATURAL;
+		clk0_multiply_by		: NATURAL;
+		clk0_phase_shift		: STRING;
+		clk1_divide_by		: NATURAL;
+		clk1_duty_cycle		: NATURAL;
+		clk1_multiply_by		: NATURAL;
+		clk1_phase_shift		: STRING;
+		clk2_divide_by		: NATURAL;
+		clk2_duty_cycle		: NATURAL;
+		clk2_multiply_by		: NATURAL;
+		clk2_phase_shift		: STRING;
+		clk3_divide_by		: NATURAL;
+		clk3_duty_cycle		: NATURAL;
+		clk3_multiply_by		: NATURAL;
+		clk3_phase_shift		: STRING;
+		compensate_clock		: STRING;
+		inclk0_input_frequency		: NATURAL;
+		intended_device_family		: STRING;
+		lpm_hint		: STRING;
+		lpm_type		: STRING;
+		operation_mode		: STRING;
+		pll_type		: STRING;
+		port_activeclock		: STRING;
+		port_areset		: STRING;
+		port_clkbad0		: STRING;
+		port_clkbad1		: STRING;
+		port_clkloss		: STRING;
+		port_clkswitch		: STRING;
+		port_configupdate		: STRING;
+		port_fbin		: STRING;
+		port_inclk0		: STRING;
+		port_inclk1		: STRING;
+		port_locked		: STRING;
+		port_pfdena		: STRING;
+		port_phasecounterselect		: STRING;
+		port_phasedone		: STRING;
+		port_phasestep		: STRING;
+		port_phaseupdown		: STRING;
+		port_pllena		: STRING;
+		port_scanaclr		: STRING;
+		port_scanclk		: STRING;
+		port_scanclkena		: STRING;
+		port_scandata		: STRING;
+		port_scandataout		: STRING;
+		port_scandone		: STRING;
+		port_scanread		: STRING;
+		port_scanwrite		: STRING;
+		port_clk0		: STRING;
+		port_clk1		: STRING;
+		port_clk2		: STRING;
+		port_clk3		: STRING;
+		port_clk4		: STRING;
+		port_clk5		: STRING;
+		port_clkena0		: STRING;
+		port_clkena1		: STRING;
+		port_clkena2		: STRING;
+		port_clkena3		: STRING;
+		port_clkena4		: STRING;
+		port_clkena5		: STRING;
+		port_extclk0		: STRING;
+		port_extclk1		: STRING;
+		port_extclk2		: STRING;
+		port_extclk3		: STRING;
+		self_reset_on_loss_lock		: STRING;
+		width_clock		: NATURAL
+	);
+	PORT (
+			areset	: IN STD_LOGIC ;
+			clk	: OUT STD_LOGIC_VECTOR (4 DOWNTO 0);
+			inclk	: IN STD_LOGIC_VECTOR (1 DOWNTO 0);
+			locked	: OUT STD_LOGIC 
+	);
+	END COMPONENT;
+
+BEGIN
+	sub_wire8_bv(0 DOWNTO 0) <= "0";
+	sub_wire8    <= To_stdlogicvector(sub_wire8_bv);
+	sub_wire5    <= sub_wire0(2);
+	sub_wire4    <= sub_wire0(0);
+	sub_wire2    <= sub_wire0(3);
+	sub_wire1    <= sub_wire0(1);
+	c1    <= sub_wire1;
+	c3    <= sub_wire2;
+	locked    <= sub_wire3;
+	c0    <= sub_wire4;
+	c2    <= sub_wire5;
+	sub_wire6    <= inclk0;
+	sub_wire7    <= sub_wire8(0 DOWNTO 0) & sub_wire6;
+
+	altpll_component : altpll
+	GENERIC MAP (
+		bandwidth_type => "HIGH",
+		clk0_divide_by => 40,
+		clk0_duty_cycle => 50,
+		clk0_multiply_by => 227,
+		clk0_phase_shift => "0",
+		clk1_divide_by => 80,
+		clk1_duty_cycle => 50,
+		clk1_multiply_by => 227,
+		clk1_phase_shift => "0",
+		clk2_divide_by => 40,
+		clk2_duty_cycle => 50,
+		clk2_multiply_by => 227,
+		clk2_phase_shift => "-2400",
+		clk3_divide_by => 1280,
+		clk3_duty_cycle => 50,
+		clk3_multiply_by => 1,
+		clk3_phase_shift => "0",
+		compensate_clock => "CLK0",
+		inclk0_input_frequency => 50000,
+		intended_device_family => "Cyclone III",
+		lpm_hint => "CBX_MODULE_PREFIX=pll_pal_post",
+		lpm_type => "altpll",
+		operation_mode => "NORMAL",
+		pll_type => "AUTO",
+		port_activeclock => "PORT_UNUSED",
+		port_areset => "PORT_USED",
+		port_clkbad0 => "PORT_UNUSED",
+		port_clkbad1 => "PORT_UNUSED",
+		port_clkloss => "PORT_UNUSED",
+		port_clkswitch => "PORT_UNUSED",
+		port_configupdate => "PORT_UNUSED",
+		port_fbin => "PORT_UNUSED",
+		port_inclk0 => "PORT_USED",
+		port_inclk1 => "PORT_UNUSED",
+		port_locked => "PORT_USED",
+		port_pfdena => "PORT_UNUSED",
+		port_phasecounterselect => "PORT_UNUSED",
+		port_phasedone => "PORT_UNUSED",
+		port_phasestep => "PORT_UNUSED",
+		port_phaseupdown => "PORT_UNUSED",
+		port_pllena => "PORT_UNUSED",
+		port_scanaclr => "PORT_UNUSED",
+		port_scanclk => "PORT_UNUSED",
+		port_scanclkena => "PORT_UNUSED",
+		port_scandata => "PORT_UNUSED",
+		port_scandataout => "PORT_UNUSED",
+		port_scandone => "PORT_UNUSED",
+		port_scanread => "PORT_UNUSED",
+		port_scanwrite => "PORT_UNUSED",
+		port_clk0 => "PORT_USED",
+		port_clk1 => "PORT_USED",
+		port_clk2 => "PORT_USED",
+		port_clk3 => "PORT_USED",
+		port_clk4 => "PORT_UNUSED",
+		port_clk5 => "PORT_UNUSED",
+		port_clkena0 => "PORT_UNUSED",
+		port_clkena1 => "PORT_UNUSED",
+		port_clkena2 => "PORT_UNUSED",
+		port_clkena3 => "PORT_UNUSED",
+		port_clkena4 => "PORT_UNUSED",
+		port_clkena5 => "PORT_UNUSED",
+		port_extclk0 => "PORT_UNUSED",
+		port_extclk1 => "PORT_UNUSED",
+		port_extclk2 => "PORT_UNUSED",
+		port_extclk3 => "PORT_UNUSED",
+		self_reset_on_loss_lock => "OFF",
+		width_clock => 5
+	)
+	PORT MAP (
+		areset => areset,
+		inclk => sub_wire7,
+		clk => sub_wire0,
+		locked => sub_wire3
+	);
+
+
+
+END SYN;
+
+-- ============================================================
+-- CNX file retrieval info
+-- ============================================================
+-- Retrieval info: PRIVATE: ACTIVECLK_CHECK STRING "0"
+-- Retrieval info: PRIVATE: BANDWIDTH STRING "1.000"
+-- Retrieval info: PRIVATE: BANDWIDTH_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: BANDWIDTH_FREQ_UNIT STRING "MHz"
+-- Retrieval info: PRIVATE: BANDWIDTH_PRESET STRING "High"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_AUTO STRING "0"
+-- Retrieval info: PRIVATE: BANDWIDTH_USE_PRESET STRING "1"
+-- Retrieval info: PRIVATE: CLKBAD_SWITCHOVER_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKLOSS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CLKSWITCH_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CNX_NO_COMPENSATE_RADIO STRING "0"
+-- Retrieval info: PRIVATE: CREATE_CLKBAD_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CREATE_INCLK1_CHECK STRING "0"
+-- Retrieval info: PRIVATE: CUR_DEDICATED_CLK STRING "c0"
+-- Retrieval info: PRIVATE: CUR_FBIN_CLK STRING "c0"
+-- Retrieval info: PRIVATE: DEVICE_SPEED_GRADE STRING "8"
+-- Retrieval info: PRIVATE: DIV_FACTOR0 NUMERIC "40"
+-- Retrieval info: PRIVATE: DIV_FACTOR1 NUMERIC "80"
+-- Retrieval info: PRIVATE: DIV_FACTOR2 NUMERIC "40"
+-- Retrieval info: PRIVATE: DIV_FACTOR3 NUMERIC "1280"
+-- Retrieval info: PRIVATE: DUTY_CYCLE0 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE1 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE2 STRING "50.00000000"
+-- Retrieval info: PRIVATE: DUTY_CYCLE3 STRING "50.00000000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE0 STRING "113.500000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE1 STRING "56.750000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE2 STRING "113.500000"
+-- Retrieval info: PRIVATE: EFF_OUTPUT_FREQ_VALUE3 STRING "0.015625"
+-- Retrieval info: PRIVATE: EXPLICIT_SWITCHOVER_COUNTER STRING "0"
+-- Retrieval info: PRIVATE: EXT_FEEDBACK_RADIO STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_COUNTER_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: GLOCKED_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: GLOCKED_MODE_CHECK STRING "0"
+-- Retrieval info: PRIVATE: GLOCK_COUNTER_EDIT NUMERIC "1048575"
+-- Retrieval info: PRIVATE: HAS_MANUAL_SWITCHOVER STRING "1"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_EDIT STRING "20.000"
+-- Retrieval info: PRIVATE: INCLK0_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT STRING "100.000"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_EDIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_CHANGED STRING "1"
+-- Retrieval info: PRIVATE: INCLK1_FREQ_UNIT_COMBO STRING "MHz"
+-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: PRIVATE: INT_FEEDBACK__MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LOCKED_OUTPUT_CHECK STRING "1"
+-- Retrieval info: PRIVATE: LONG_SCAN_RADIO STRING "1"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE STRING "Not Available"
+-- Retrieval info: PRIVATE: LVDS_MODE_DATA_RATE_DIRTY NUMERIC "0"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT1 STRING "deg"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT2 STRING "deg"
+-- Retrieval info: PRIVATE: LVDS_PHASE_SHIFT_UNIT3 STRING "deg"
+-- Retrieval info: PRIVATE: MIG_DEVICE_SPEED_GRADE STRING "Any"
+-- Retrieval info: PRIVATE: MIRROR_CLK0 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK1 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK2 STRING "0"
+-- Retrieval info: PRIVATE: MIRROR_CLK3 STRING "0"
+-- Retrieval info: PRIVATE: MULT_FACTOR0 NUMERIC "227"
+-- Retrieval info: PRIVATE: MULT_FACTOR1 NUMERIC "227"
+-- Retrieval info: PRIVATE: MULT_FACTOR2 NUMERIC "227"
+-- Retrieval info: PRIVATE: MULT_FACTOR3 NUMERIC "1"
+-- Retrieval info: PRIVATE: NORMAL_MODE_RADIO STRING "1"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ0 STRING "100.00000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ1 STRING "100.00000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ2 STRING "100.00000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ3 STRING "0.10000000"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE0 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE1 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE2 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_MODE3 STRING "0"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT0 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT1 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT2 STRING "MHz"
+-- Retrieval info: PRIVATE: OUTPUT_FREQ_UNIT3 STRING "MHz"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: PHASE_RECONFIG_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT0 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT1 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT2 STRING "-2.40000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT3 STRING "0.00000000"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_STEP_ENABLED_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT0 STRING "deg"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT1 STRING "deg"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT2 STRING "ns"
+-- Retrieval info: PRIVATE: PHASE_SHIFT_UNIT3 STRING "deg"
+-- Retrieval info: PRIVATE: PLL_ADVANCED_PARAM_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_ARESET_CHECK STRING "1"
+-- Retrieval info: PRIVATE: PLL_AUTOPLL_CHECK NUMERIC "1"
+-- Retrieval info: PRIVATE: PLL_ENHPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FASTPLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_FBMIMIC_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_LVDS_PLL_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PLL_PFDENA_CHECK STRING "0"
+-- Retrieval info: PRIVATE: PLL_TARGET_HARCOPY_CHECK NUMERIC "0"
+-- Retrieval info: PRIVATE: PRIMARY_CLK_COMBO STRING "inclk0"
+-- Retrieval info: PRIVATE: RECONFIG_FILE STRING "pll_pal_post.mif"
+-- Retrieval info: PRIVATE: SACN_INPUTS_CHECK STRING "0"
+-- Retrieval info: PRIVATE: SCAN_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SELF_RESET_LOCK_LOSS STRING "0"
+-- Retrieval info: PRIVATE: SHORT_SCAN_RADIO STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FEATURE_ENABLED STRING "0"
+-- Retrieval info: PRIVATE: SPREAD_FREQ STRING "50.000"
+-- Retrieval info: PRIVATE: SPREAD_FREQ_UNIT STRING "KHz"
+-- Retrieval info: PRIVATE: SPREAD_PERCENT STRING "0.500"
+-- Retrieval info: PRIVATE: SPREAD_USE STRING "0"
+-- Retrieval info: PRIVATE: SRC_SYNCH_COMP_RADIO STRING "0"
+-- Retrieval info: PRIVATE: STICKY_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK1 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK2 STRING "1"
+-- Retrieval info: PRIVATE: STICKY_CLK3 STRING "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_COUNT_EDIT NUMERIC "1"
+-- Retrieval info: PRIVATE: SWITCHOVER_FEATURE_ENABLED STRING "1"
+-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
+-- Retrieval info: PRIVATE: USE_CLK0 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK1 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK2 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLK3 STRING "1"
+-- Retrieval info: PRIVATE: USE_CLKENA0 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA1 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA2 STRING "0"
+-- Retrieval info: PRIVATE: USE_CLKENA3 STRING "0"
+-- Retrieval info: PRIVATE: USE_MIL_SPEED_GRADE NUMERIC "0"
+-- Retrieval info: PRIVATE: ZERO_DELAY_RADIO STRING "0"
+-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
+-- Retrieval info: CONSTANT: BANDWIDTH_TYPE STRING "HIGH"
+-- Retrieval info: CONSTANT: CLK0_DIVIDE_BY NUMERIC "40"
+-- Retrieval info: CONSTANT: CLK0_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK0_MULTIPLY_BY NUMERIC "227"
+-- Retrieval info: CONSTANT: CLK0_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: CLK1_DIVIDE_BY NUMERIC "80"
+-- Retrieval info: CONSTANT: CLK1_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK1_MULTIPLY_BY NUMERIC "227"
+-- Retrieval info: CONSTANT: CLK1_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: CLK2_DIVIDE_BY NUMERIC "40"
+-- Retrieval info: CONSTANT: CLK2_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK2_MULTIPLY_BY NUMERIC "227"
+-- Retrieval info: CONSTANT: CLK2_PHASE_SHIFT STRING "-2400"
+-- Retrieval info: CONSTANT: CLK3_DIVIDE_BY NUMERIC "1280"
+-- Retrieval info: CONSTANT: CLK3_DUTY_CYCLE NUMERIC "50"
+-- Retrieval info: CONSTANT: CLK3_MULTIPLY_BY NUMERIC "1"
+-- Retrieval info: CONSTANT: CLK3_PHASE_SHIFT STRING "0"
+-- Retrieval info: CONSTANT: COMPENSATE_CLOCK STRING "CLK0"
+-- Retrieval info: CONSTANT: INCLK0_INPUT_FREQUENCY NUMERIC "50000"
+-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: CONSTANT: LPM_TYPE STRING "altpll"
+-- Retrieval info: CONSTANT: OPERATION_MODE STRING "NORMAL"
+-- Retrieval info: CONSTANT: PLL_TYPE STRING "AUTO"
+-- Retrieval info: CONSTANT: PORT_ACTIVECLOCK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_ARESET STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKBAD1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKLOSS STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CLKSWITCH STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_CONFIGUPDATE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_FBIN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_INCLK0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_INCLK1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_LOCKED STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_PFDENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASECOUNTERSELECT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASESTEP STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PHASEUPDOWN STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_PLLENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANACLR STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLK STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANCLKENA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATA STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDATAOUT STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANDONE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANREAD STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_SCANWRITE STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk0 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk1 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk2 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk3 STRING "PORT_USED"
+-- Retrieval info: CONSTANT: PORT_clk4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clk5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena4 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_clkena5 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk0 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk1 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk2 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: PORT_extclk3 STRING "PORT_UNUSED"
+-- Retrieval info: CONSTANT: SELF_RESET_ON_LOSS_LOCK STRING "OFF"
+-- Retrieval info: CONSTANT: WIDTH_CLOCK NUMERIC "5"
+-- Retrieval info: USED_PORT: @clk 0 0 5 0 OUTPUT_CLK_EXT VCC "@clk[4..0]"
+-- Retrieval info: USED_PORT: @inclk 0 0 2 0 INPUT_CLK_EXT VCC "@inclk[1..0]"
+-- Retrieval info: USED_PORT: areset 0 0 0 0 INPUT GND "areset"
+-- Retrieval info: USED_PORT: c0 0 0 0 0 OUTPUT_CLK_EXT VCC "c0"
+-- Retrieval info: USED_PORT: c1 0 0 0 0 OUTPUT_CLK_EXT VCC "c1"
+-- Retrieval info: USED_PORT: c2 0 0 0 0 OUTPUT_CLK_EXT VCC "c2"
+-- Retrieval info: USED_PORT: c3 0 0 0 0 OUTPUT_CLK_EXT VCC "c3"
+-- Retrieval info: USED_PORT: inclk0 0 0 0 0 INPUT_CLK_EXT GND "inclk0"
+-- Retrieval info: USED_PORT: locked 0 0 0 0 OUTPUT GND "locked"
+-- Retrieval info: CONNECT: @areset 0 0 0 0 areset 0 0 0 0
+-- Retrieval info: CONNECT: @inclk 0 0 1 1 GND 0 0 0 0
+-- Retrieval info: CONNECT: @inclk 0 0 1 0 inclk0 0 0 0 0
+-- Retrieval info: CONNECT: c0 0 0 0 0 @clk 0 0 1 0
+-- Retrieval info: CONNECT: c1 0 0 0 0 @clk 0 0 1 1
+-- Retrieval info: CONNECT: c2 0 0 0 0 @clk 0 0 1 2
+-- Retrieval info: CONNECT: c3 0 0 0 0 @clk 0 0 1 3
+-- Retrieval info: CONNECT: locked 0 0 0 0 @locked 0 0 0 0
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.vhd TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.ppf TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.inc FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.cmp TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post.bsf FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL pll_pal_post_inst.vhd FALSE
+-- Retrieval info: LIB_FILE: altera_mf
+-- Retrieval info: CBX_MODULE_PREFIX: ON
Index: mist_5200_old_sd_interface/atari800core.qsf
===================================================================
--- mist_5200_old_sd_interface/atari800core.qsf	(nonexistent)
+++ mist_5200_old_sd_interface/atari800core.qsf	(revision 232)
@@ -0,0 +1,320 @@
+# Copyright (C) 1991-2007 Altera Corporation
+# Your use of Altera Corporation's design tools, logic functions 
+# and other software and tools, and its AMPP partner logic 
+# functions, and any output files from any of the foregoing 
+# (including device programming or simulation files), and any 
+# associated documentation or information are expressly subject 
+# to the terms and conditions of the Altera Program License 
+# Subscription Agreement, Altera MegaCore Function License 
+# Agreement, or other applicable license agreement, including, 
+# without limitation, that your use is for the sole purpose of 
+# programming logic devices manufactured by Altera and sold by 
+# Altera or its authorized distributors.  Please refer to the 
+# applicable agreement for further details.
+
+
+# The default values for assignments are stored in the file
+#		minimig_de1_assignment_defaults.qdf
+# If this file doesn't exist, and for assignments not listed, see file
+#		assignment_defaults.qdf
+
+# Altera recommends that you do not modify this file. This
+# file is updated automatically by the Quartus II software
+# and any changes you make may be lost or overwritten.
+
+
+set_global_assignment -name FAMILY "Cyclone III"
+set_global_assignment -name DEVICE EP3C25E144C8
+set_global_assignment -name TOP_LEVEL_ENTITY atari800core_mist
+set_global_assignment -name ORIGINAL_QUARTUS_VERSION 7.2
+set_global_assignment -name PROJECT_CREATION_TIME_DATE "22:27:29  OCTOBER 30, 2007"
+set_global_assignment -name LAST_QUARTUS_VERSION "12.1 SP1.33"
+set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_palace
+set_global_assignment -name DEVICE_FILTER_PIN_COUNT 144
+set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "NO HEAT SINK WITH STILL AIR"
+set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
+set_global_assignment -name OPTIMIZE_HOLD_TIMING "ALL PATHS"
+set_global_assignment -name FITTER_EFFORT "AUTO FIT"
+set_global_assignment -name STRATIX_CONFIGURATION_DEVICE EPCS4
+set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "AS INPUT TRI-STATED"
+set_global_assignment -name CYCLONEIII_CONFIGURATION_SCHEME "PASSIVE SERIAL"
+set_global_assignment -name GENERATE_RBF_FILE ON
+set_global_assignment -name FORCE_CONFIGURATION_VCCIO ON
+set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"
+
+set_location_assignment PIN_7 -to LED
+set_location_assignment PIN_22 -to CLOCK_50[0]
+set_location_assignment PIN_23 -to CLOCK_50[1]
+set_location_assignment PIN_128 -to CLOCK_32[0]
+set_location_assignment PIN_129 -to CLOCK_32[1]
+set_location_assignment PIN_54 -to CLOCK_27[0]
+set_location_assignment PIN_55 -to CLOCK_27[1]
+set_location_assignment PIN_144 -to VGA_R[5]
+set_location_assignment PIN_143 -to VGA_R[4]
+set_location_assignment PIN_142 -to VGA_R[3]
+set_location_assignment PIN_141 -to VGA_R[2]
+set_location_assignment PIN_137 -to VGA_R[1]
+set_location_assignment PIN_135 -to VGA_R[0]
+set_location_assignment PIN_133 -to VGA_B[5]
+set_location_assignment PIN_132 -to VGA_B[4]
+set_location_assignment PIN_125 -to VGA_B[3]
+set_location_assignment PIN_121 -to VGA_B[2]
+set_location_assignment PIN_120 -to VGA_B[1]
+set_location_assignment PIN_115 -to VGA_B[0]
+set_location_assignment PIN_114 -to VGA_G[5]
+set_location_assignment PIN_113 -to VGA_G[4]
+set_location_assignment PIN_112 -to VGA_G[3]
+set_location_assignment PIN_111 -to VGA_G[2]
+set_location_assignment PIN_110 -to VGA_G[1]
+set_location_assignment PIN_106 -to VGA_G[0]
+set_location_assignment PIN_136 -to VGA_VS
+set_location_assignment PIN_119 -to VGA_HS
+set_location_assignment PIN_65 -to AUDIO_L
+set_location_assignment PIN_80 -to AUDIO_R
+set_location_assignment PIN_46 -to UART_TX
+set_location_assignment PIN_31 -to UART_RX
+set_location_assignment PIN_105 -to SPI_DO
+set_location_assignment PIN_88 -to SPI_DI
+set_location_assignment PIN_126 -to SPI_SCK
+set_location_assignment PIN_127 -to SPI_SS2
+set_location_assignment PIN_91 -to SPI_SS3
+set_location_assignment PIN_90 -to SPI_SS4
+set_location_assignment PIN_13 -to CONF_DATA0
+
+set_location_assignment PIN_49 -to SDRAM_A[0]
+set_location_assignment PIN_44 -to SDRAM_A[1]
+set_location_assignment PIN_42 -to SDRAM_A[2]
+set_location_assignment PIN_39 -to SDRAM_A[3]
+set_location_assignment PIN_4 -to SDRAM_A[4]
+set_location_assignment PIN_6 -to SDRAM_A[5]
+set_location_assignment PIN_8 -to SDRAM_A[6]
+set_location_assignment PIN_10 -to SDRAM_A[7]
+set_location_assignment PIN_11 -to SDRAM_A[8]
+set_location_assignment PIN_28 -to SDRAM_A[9]
+set_location_assignment PIN_50 -to SDRAM_A[10]
+set_location_assignment PIN_30 -to SDRAM_A[11]
+set_location_assignment PIN_32 -to SDRAM_A[12]
+set_location_assignment PIN_83 -to SDRAM_DQ[0]
+set_location_assignment PIN_79 -to SDRAM_DQ[1]
+set_location_assignment PIN_77 -to SDRAM_DQ[2]
+set_location_assignment PIN_76 -to SDRAM_DQ[3]
+set_location_assignment PIN_72 -to SDRAM_DQ[4]
+set_location_assignment PIN_71 -to SDRAM_DQ[5]
+set_location_assignment PIN_69 -to SDRAM_DQ[6]
+set_location_assignment PIN_68 -to SDRAM_DQ[7]
+set_location_assignment PIN_86 -to SDRAM_DQ[8]
+set_location_assignment PIN_87 -to SDRAM_DQ[9]
+set_location_assignment PIN_98 -to SDRAM_DQ[10]
+set_location_assignment PIN_99 -to SDRAM_DQ[11]
+set_location_assignment PIN_100 -to SDRAM_DQ[12]
+set_location_assignment PIN_101 -to SDRAM_DQ[13]
+set_location_assignment PIN_103 -to SDRAM_DQ[14]
+set_location_assignment PIN_104 -to SDRAM_DQ[15]
+set_location_assignment PIN_58 -to SDRAM_BA[0]
+set_location_assignment PIN_51 -to SDRAM_BA[1]
+set_location_assignment PIN_85 -to SDRAM_DQMH
+set_location_assignment PIN_67 -to SDRAM_DQML
+set_location_assignment PIN_60 -to SDRAM_nRAS
+set_location_assignment PIN_64 -to SDRAM_nCAS
+set_location_assignment PIN_66 -to SDRAM_nWE
+set_location_assignment PIN_59 -to SDRAM_nCS
+set_location_assignment PIN_33 -to SDRAM_CKE
+set_location_assignment PIN_43 -to SDRAM_CLK
+
+set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE BALANCED
+set_global_assignment -name SMART_RECOMPILE ON
+set_global_assignment -name ENABLE_SIGNALTAP ON
+set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC ON
+set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION ON
+set_global_assignment -name PHYSICAL_SYNTHESIS_EFFORT NORMAL
+set_global_assignment -name FMAX_REQUIREMENT "114 MHz"
+set_global_assignment -name OPTIMIZE_MULTI_CORNER_TIMING OFF
+set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
+set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
+set_global_assignment -name USE_CONFIGURATION_DEVICE ON
+set_global_assignment -name TPD_REQUIREMENT "2 ns"
+set_global_assignment -name TSU_REQUIREMENT "2 ns"
+set_global_assignment -name TCO_REQUIREMENT "2 ns"
+set_global_assignment -name ALLOW_POWER_UP_DONT_CARE OFF
+set_global_assignment -name SYNTH_TIMING_DRIVEN_SYNTHESIS OFF
+set_global_assignment -name AUTO_RAM_TO_LCELL_CONVERSION OFF
+set_global_assignment -name AUTO_RAM_RECOGNITION ON
+set_global_assignment -name AUTO_ROM_RECOGNITION ON
+set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_RETIMING ON
+set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
+set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"
+set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
+set_global_assignment -name PARTITION_COLOR 2147039 -section_id Top
+set_global_assignment -name MISC_FILE atari800core.dpf
+set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
+
+set_global_assignment -name PHYSICAL_SYNTHESIS_ASYNCHRONOUS_SIGNAL_PIPELINING ON
+set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC_FOR_AREA OFF
+set_global_assignment -name PHYSICAL_SYNTHESIS_MAP_LOGIC_TO_MEMORY_FOR_AREA OFF
+
+set_global_assignment -name PROJECT_OUTPUT_DIRECTORY out
+set_global_assignment -name PLACEMENT_EFFORT_MULTIPLIER 4.0
+set_global_assignment -name ROUTER_EFFORT_MULTIPLIER 4.0
+set_global_assignment -name CYCLONEII_M4K_COMPATIBILITY OFF
+
+#set_parameter -name ENABLE_RUNTIME_MOD YES -to "Minimig1:minimig|amiga_boot:BOOTROM1|altsyncram:Ram0_rtl_10"
+#set_parameter -name INSTANCE_NAME mig -to "Minimig1:minimig|amiga_boot:BOOTROM1|altsyncram:Ram0_rtl_10"
+
+set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
+set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
+set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
+set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
+set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
+set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
+
+
+
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[0]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[1]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[2]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[3]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[4]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[5]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[6]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[7]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[8]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[9]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[10]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[11]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[12]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[13]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[14]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQ[15]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[0]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[1]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[2]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[3]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[4]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[5]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[6]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[7]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[8]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[9]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[10]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[11]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_A[12]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_BA[0]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_BA[1]
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQMH
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_DQML
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nRAS
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nCAS
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nWE
+set_instance_assignment -name FAST_OUTPUT_REGISTER ON -to SDRAM_nCS
+
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[0]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[1]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[2]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[3]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[4]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[5]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[6]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[7]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[8]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[9]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[10]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[11]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[12]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[13]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[14]
+set_instance_assignment -name FAST_OUTPUT_ENABLE_REGISTER ON -to SDRAM_DQ[15]
+
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[0]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[1]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[2]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[3]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[4]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[5]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[6]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[7]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[8]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[9]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[10]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[11]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[12]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[13]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[14]
+set_instance_assignment -name FAST_INPUT_REGISTER ON -to SDRAM_DQ[15]
+
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[0]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[2]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[3]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[4]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[5]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[6]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[7]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[8]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[9]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[10]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[11]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_A[12]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[0]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[2]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[3]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[4]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[5]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[6]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[7]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[8]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[9]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[10]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[11]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[12]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[13]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[14]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQ[15]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_BA[0]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_BA[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQML
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_DQMH
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nRAS
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nCAS
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nWE
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_nCS
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_CKE
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to SDRAM_CLK
+
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[5]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[4]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[3]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[2]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_R[0]
+
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[5]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[4]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[3]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[2]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_G[0]
+
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[5]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[4]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[3]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[2]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[1]
+set_instance_assignment -name CURRENT_STRENGTH_NEW 4MA -to VGA_B[0]
+
+set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
+
+set_global_assignment -name VHDL_FILE data_io.vhdl
+set_global_assignment -name VHDL_FILE zpu_rom.vhdl
+set_global_assignment -name SDC_FILE atari800core.sdc
+set_global_assignment -name QIP_FILE mist_sector_buffer.qip
+set_global_assignment -name VHDL_FILE atari800core_mist.vhd
+set_global_assignment -name VERILOG_FILE user_io.v
+set_global_assignment -name QIP_FILE pll_pal_pre.qip
+set_global_assignment -name QIP_FILE pll_pal_post.qip
+set_global_assignment -name QIP_FILE pll_ntsc.qip
+
Index: mist_5200_old_sd_interface/atari800core_mist.vhd
===================================================================
--- mist_5200_old_sd_interface/atari800core_mist.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/atari800core_mist.vhd	(revision 232)
@@ -0,0 +1,810 @@
+--------------------------------------------------------------------------- -- (c) 2013 mark watson
+-- I am happy for anyone to use this for non-commercial use.
+-- If my vhdl files are used commercially or otherwise sold,
+-- please contact me for explicit permission at scrameta (gmail).
+-- This applies for source and binary form and derived works.
+---------------------------------------------------------------------------
+
+LIBRARY ieee;
+USE ieee.std_logic_1164.all; 
+use ieee.numeric_std.all;
+
+LIBRARY work;
+
+ENTITY atari800core_mist IS 
+	GENERIC
+	(
+		TV : integer;  -- 1 = PAL, 0=NTSC
+		VIDEO : integer; -- 1 = RGB, 2 = VGA
+		COMPOSITE_SYNC : integer; --0 = no, 1 = yes!
+		SCANDOUBLE : integer -- 1 = YES, 0=NO, (+ later scanlines etc)
+	);
+	PORT
+	(
+		CLOCK_27 :  IN  STD_LOGIC_VECTOR(1 downto 0);
+
+		VGA_VS :  OUT  STD_LOGIC;
+		VGA_HS :  OUT  STD_LOGIC;
+		VGA_B :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
+		VGA_G :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
+		VGA_R :  OUT  STD_LOGIC_VECTOR(5 DOWNTO 0);
+		
+		AUDIO_L : OUT std_logic;
+		AUDIO_R : OUT std_logic;
+
+		SDRAM_BA :  OUT  STD_LOGIC_VECTOR(1 downto 0);
+		SDRAM_nCS :  OUT  STD_LOGIC;
+		SDRAM_nRAS :  OUT  STD_LOGIC;
+		SDRAM_nCAS :  OUT  STD_LOGIC;
+		SDRAM_nWE :  OUT  STD_LOGIC;
+		SDRAM_DQMH :  OUT  STD_LOGIC;
+		SDRAM_DQML :  OUT  STD_LOGIC;
+		SDRAM_CLK :  OUT  STD_LOGIC;
+		SDRAM_CKE :  OUT  STD_LOGIC;
+		SDRAM_A :  OUT  STD_LOGIC_VECTOR(12 DOWNTO 0);
+		SDRAM_DQ :  INOUT  STD_LOGIC_VECTOR(15 DOWNTO 0);
+
+		LED : OUT std_logic;
+		
+		UART_TX :  OUT  STD_LOGIC;
+		UART_RX :  IN  STD_LOGIC;
+		
+		SPI_DO :  INOUT  STD_LOGIC;
+		SPI_DI :  IN  STD_LOGIC;
+		SPI_SCK :  IN  STD_LOGIC;
+		SPI_SS2 :  IN  STD_LOGIC;		
+		SPI_SS3 :  IN  STD_LOGIC;		
+		SPI_SS4 :  IN  STD_LOGIC;
+		CONF_DATA0 :  IN  STD_LOGIC -- AKA SPI_SS5
+	);
+END atari800core_mist;
+
+ARCHITECTURE vhdl OF atari800core_mist IS 
+
+component hq_dac
+port (
+  reset :in std_logic;
+  clk :in std_logic;
+  clk_ena : in std_logic;
+  pcm_in : in std_logic_vector(19 downto 0);
+  dac_out : out std_logic
+);
+end component;
+
+component user_io
+	GENERIC(
+		STRLEN : in integer := 0
+	);
+	PORT(
+		-- conf_str? how to do in vhdl...
+
+		-- mist spi to firmware
+		SPI_CLK : in std_logic;
+		SPI_SS_IO : in std_logic;
+		SPI_MISO : out std_logic;
+		SPI_MOSI : in std_logic;
+
+		-- joysticks
+		JOYSTICK_0 : out std_logic_vector(5 downto 0);
+		JOYSTICK_1 : out std_logic_vector(5 downto 0);
+		JOYSTICK_ANALOG_0 : out std_logic_vector(15 downto 0);
+		JOYSTICK_ANALOG_1 : out std_logic_vector(15 downto 0); -- x axis is top 8 bits, y axis is bottom 8 bits. signed.
+		BUTTONS : out std_logic_vector(1 downto 0);
+		SWITCHES : out std_logic_vector(1 downto 0);
+		STATUS : out std_logic_vector(7 downto 0); -- what is this?
+
+		-- ps2
+		PS2_CLK : in std_logic; --12-16khz
+		PS2_KBD_CLK : out std_logic;
+		PS2_KBD_DATA : out std_logic;
+
+		-- serial (one way?)
+		SERIAL_DATA : in std_logic_vector(7 downto 0);
+		SERIAL_STROBE : in std_logic;
+
+		-- connection to sd card emulation
+		sd_lba : in std_logic_vector(31 downto 0);
+		sd_rd : in std_logic;
+		sd_wr : in std_logic;
+		sd_ack : out std_logic;
+		sd_conf : in std_logic;
+		sd_sdhc : in std_logic;
+		sd_dout : out std_logic_vector(7 downto 0);
+		sd_dout_strobe : out std_logic;
+		sd_din : in std_logic_vector(7 downto 0);
+		sd_din_strobe : out std_logic
+	  );
+	end component;
+
+  signal AUDIO_L_PCM : std_logic_vector(15 downto 0);
+  signal AUDIO_R_PCM : std_logic_vector(15 downto 0);
+
+  signal VGA_VS_RAW : std_logic;
+  signal VGA_HS_RAW : std_logic;
+
+  signal RESET_n : std_logic;
+  signal PLL_LOCKED : std_logic;
+  signal CLK : std_logic;
+  signal CLK_SDRAM : std_logic;
+
+  signal CLK_PLL1 : std_logic; -- cascaded to get better pal clock
+  signal PLL1_LOCKED : std_logic;
+
+  SIGNAL PS2_CLK : std_logic;
+  SIGNAL PS2_DAT : std_logic;
+  SIGNAL	CONSOL_OPTION_RAW :  STD_LOGIC;
+  SIGNAL	CONSOL_OPTION :  STD_LOGIC;
+  SIGNAL	CONSOL_SELECT_RAW :  STD_LOGIC;
+  SIGNAL	CONSOL_SELECT :  STD_LOGIC;
+  SIGNAL	CONSOL_START_RAW :  STD_LOGIC;
+  SIGNAL	CONSOL_START :  STD_LOGIC;
+  SIGNAL FKEYS : std_logic_vector(11 downto 0);
+
+  signal capslock_pressed : std_logic;
+  signal capsheld_next : std_logic;
+  signal capsheld_reg : std_logic;
+  
+  signal mist_sector_ready : std_logic;
+  signal mist_sector_ready_sync : std_logic;
+  signal mist_sector_request : std_logic;
+  signal mist_sector_request_sync : std_logic;
+  signal mist_sector_write : std_logic;
+  signal mist_sector_write_sync : std_logic;
+  signal mist_sector : std_logic_vector(25 downto 0);
+  signal mist_sector_sync : std_logic_vector(25 downto 0);
+  
+  		
+  signal mist_addr : std_logic_vector(8 downto 0);
+  signal mist_do : std_logic_vector(7 downto 0);
+  signal mist_di : std_logic_vector(7 downto 0);
+  signal mist_wren : std_logic;
+  
+  signal spi_miso_data : std_logic;
+  signal spi_miso_io : std_logic;
+
+  signal mist_buttons : std_logic_vector(1 downto 0);
+  signal mist_switches : std_logic_vector(1 downto 0);
+
+  signal		JOY1 :  STD_LOGIC_VECTOR(5 DOWNTO 0);
+  signal		JOY2 :  STD_LOGIC_VECTOR(5 DOWNTO 0);
+  signal		JOY1X : std_logic_vector(7 downto 0);
+  signal		JOY1Y : std_logic_vector(7 downto 0);
+  signal		JOY2X : std_logic_vector(7 downto 0);
+  signal		JOY2Y : std_logic_vector(7 downto 0);
+  signal		JOY1_n :  STD_LOGIC_VECTOR(4 DOWNTO 0);
+  signal		JOY2_n :  STD_LOGIC_VECTOR(4 DOWNTO 0);
+  signal joy_still : std_logic;
+
+  SIGNAL	KEYBOARD_RESPONSE :  STD_LOGIC_VECTOR(1 DOWNTO 0);
+  SIGNAL	KEYBOARD_SCAN :  STD_LOGIC_VECTOR(5 DOWNTO 0);
+  signal controller_select : std_logic_vector(1 downto 0);
+
+  SIGNAL PAL : std_logic;
+  SIGNAL COMPOSITE_ON_HSYNC : std_logic;
+  SIGNAL VGA : std_logic;
+
+  signal SDRAM_REQUEST : std_logic;
+  signal SDRAM_REQUEST_COMPLETE : std_logic;
+  signal SDRAM_READ_ENABLE :  STD_LOGIC;
+  signal SDRAM_WRITE_ENABLE : std_logic;
+  signal SDRAM_ADDR : STD_LOGIC_VECTOR(22 DOWNTO 0);
+  signal SDRAM_DO : STD_LOGIC_VECTOR(31 DOWNTO 0);
+  signal SDRAM_DI : STD_LOGIC_VECTOR(31 DOWNTO 0);
+  signal SDRAM_WIDTH_8bit_ACCESS : std_logic;
+  signal SDRAM_WIDTH_16bit_ACCESS : std_logic;
+  signal SDRAM_WIDTH_32bit_ACCESS : std_logic;
+
+  signal SDRAM_REFRESH : std_logic;
+  
+  signal SDRAM_RESET_N : std_logic;
+
+	-- dma/virtual drive
+	signal DMA_ADDR_FETCH : std_logic_vector(23 downto 0);
+	signal DMA_WRITE_DATA : std_logic_vector(31 downto 0);
+	signal DMA_FETCH : std_logic;
+	signal DMA_32BIT_WRITE_ENABLE : std_logic;
+	signal DMA_16BIT_WRITE_ENABLE : std_logic;
+	signal DMA_8BIT_WRITE_ENABLE : std_logic;
+	signal DMA_READ_ENABLE : std_logic;
+	signal DMA_MEMORY_READY : std_logic;
+	signal DMA_MEMORY_DATA : std_logic_vector(31 downto 0);
+
+	signal ZPU_ADDR_ROM : std_logic_vector(15 downto 0);
+	signal ZPU_ROM_DATA :  std_logic_vector(31 downto 0);
+
+	signal ZPU_OUT1 : std_logic_vector(31 downto 0);
+	signal ZPU_OUT2 : std_logic_vector(31 downto 0);
+	signal ZPU_OUT3 : std_logic_vector(31 downto 0);
+	signal ZPU_OUT4 : std_logic_vector(31 downto 0);
+
+	signal zpu_pokey_enable : std_logic;
+	signal zpu_sio_txd : std_logic;
+	signal zpu_sio_rxd : std_logic;
+	signal zpu_sio_command : std_logic;
+
+	-- system control from zpu
+	signal ram_select : std_logic_vector(2 downto 0);
+	signal rom_select : std_logic_vector(5 downto 0);
+	signal reset_atari : std_logic;
+	signal pause_atari : std_logic;
+	SIGNAL speed_6502 : std_logic_vector(5 downto 0);
+
+	-- mist sector
+	signal ZPU_ROM_DATA_MUX :  std_logic_vector(31 downto 0);
+	signal ZPU_SECTOR_DATA :  std_logic_vector(31 downto 0);
+	signal ZPU_ROM_DO :  std_logic_vector(31 downto 0);
+	signal ZPU_ROM_WREN :  std_logic;
+
+	-- ps2
+	signal SLOW_PS2_CLK : std_logic; -- around 16KHz
+
+	-- scandoubler
+	signal half_scandouble_enable_reg : std_logic;
+	signal half_scandouble_enable_next : std_logic;
+	signal VIDEO_B : std_logic_vector(7 downto 0);
+
+BEGIN 
+pal <= '1' when tv=1 else '0';
+vga <= '1' when video=2 else '0';
+composite_on_hsync <= '1' when composite_sync=1 else '0';
+
+-- mist spi io
+mist_spi_interface : entity work.data_io 
+	PORT map
+	(
+		CLK =>spi_sck,
+		RESET_n =>reset_n,
+		
+		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
+		SPI_CLK =>spi_sck,
+		SPI_SS_IO => spi_ss2,
+		SPI_MISO => spi_miso_data,
+		SPI_MOSI => spi_di,
+		
+		-- Sector access request
+		read_request => mist_sector_request_sync,
+		write_request => mist_sector_write_sync,
+		--request => mist_sector_request_sync,
+		sector => mist_sector_sync(25 downto 0),
+		ready => mist_sector_ready,
+		
+		-- DMA to RAM
+		ADDR => mist_addr,
+		DATA_OUT => mist_do,
+		DATA_IN => mist_di,
+		WR_EN => mist_wren
+	 );
+ 
+	-- TODO, review if these are all needed when ZPU connected again...
+	select_sync : entity work.synchronizer
+	PORT MAP ( CLK => clk, raw => mist_sector_ready, sync=>mist_sector_ready_sync);
+
+	select_sync2 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector_request, sync=>mist_sector_request_sync);
+
+	select_sync3 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector_write, sync=>mist_sector_write_sync);
+
+	sector_sync0 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(0), sync=>mist_sector_sync(0));
+
+	sector_sync1 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(1), sync=>mist_sector_sync(1));
+
+	sector_sync2 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(2), sync=>mist_sector_sync(2));
+
+	sector_sync3 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(3), sync=>mist_sector_sync(3));
+
+	sector_sync4 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(4), sync=>mist_sector_sync(4));
+
+	sector_sync5 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(5), sync=>mist_sector_sync(5));
+
+	sector_sync6 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(6), sync=>mist_sector_sync(6));
+
+	sector_sync7 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(7), sync=>mist_sector_sync(7));
+
+	sector_sync8 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(8), sync=>mist_sector_sync(8));
+
+	sector_sync9 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(9), sync=>mist_sector_sync(9));
+
+	sector_sync10 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(10), sync=>mist_sector_sync(10));
+
+	sector_sync11 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(11), sync=>mist_sector_sync(11));
+
+	sector_sync12 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(12), sync=>mist_sector_sync(12));
+
+	sector_sync13 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(13), sync=>mist_sector_sync(13));
+
+	sector_sync14 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(14), sync=>mist_sector_sync(14));
+
+	sector_sync15 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(15), sync=>mist_sector_sync(15));
+
+	sector_sync16 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(16), sync=>mist_sector_sync(16));
+
+	sector_sync17 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(17), sync=>mist_sector_sync(17));
+
+	sector_sync18 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(18), sync=>mist_sector_sync(18));
+
+	sector_sync19 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(19), sync=>mist_sector_sync(19));
+
+	sector_sync20 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(20), sync=>mist_sector_sync(20));
+
+	sector_sync21 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(21), sync=>mist_sector_sync(21));
+
+	sector_sync22 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(22), sync=>mist_sector_sync(22));
+
+	sector_sync23 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(23), sync=>mist_sector_sync(23));
+
+	sector_sync24 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(24), sync=>mist_sector_sync(24));
+
+	sector_sync25 : entity work.synchronizer
+	PORT MAP ( CLK => spi_sck, raw => mist_sector(25), sync=>mist_sector_sync(25));
+	
+	
+	spi_do <= spi_miso_io when CONF_DATA0 ='0' else spi_miso_data when spi_SS2='0' else 'Z';
+
+mist_sector_buffer1 : entity work.mist_sector_buffer
+	PORT map
+	(
+		address_a		=> mist_addr,
+		address_b		=> zpu_addr_rom(8 downto 2),
+		clock_a		=> spi_sck,
+		clock_b		=> clk,
+		data_a		=> mist_do,
+		data_b		=> dma_write_data(7 downto 0)&dma_write_data(15 downto 8)&dma_write_data(23 downto 16)&dma_write_data(31 downto 24),
+		wren_a		=> mist_wren,
+		wren_b		=> zpu_rom_wren, 
+		q_a		=> mist_di,
+		q_b		=> zpu_sector_data
+	);
+	
+my_user_io : user_io
+	PORT map(
+	   SPI_CLK => SPI_SCK,
+	   SPI_SS_IO => CONF_DATA0,
+	   SPI_MISO => SPI_miso_io,
+	   SPI_MOSI => SPI_DI,
+		JOYSTICK_0 => joy2,
+		JOYSTICK_1 => joy1,
+		JOYSTICK_ANALOG_0(15 downto 8) => joy2x,
+		JOYSTICK_ANALOG_0(7 downto 0) => joy2y,
+		JOYSTICK_ANALOG_1(15 downto 8) => joy1x,
+		JOYSTICK_ANALOG_1(7 downto 0) => joy1y,
+		BUTTONS => mist_buttons,
+		SWITCHES => mist_switches,
+		PS2_CLK => SLOW_PS2_CLK,
+		PS2_KBD_CLK => ps2_clk,
+		PS2_KBD_DATA => ps2_dat,
+		STATUS => open,
+		SERIAL_DATA => (others=>'0'),
+		SERIAL_STROBE => '0',
+
+		sd_lba => (others=>'0'),
+		sd_rd => '0',
+		sd_wr => '0',
+		sd_conf => '0',
+		sd_sdhc => '0',
+		sd_din => (others=>'0')
+
+	  );
+
+	 joy1_n <= not(joy1(5)&joy1(3 downto 0));
+	 joy2_n <= not(joy2(5)&joy2(3 downto 0));
+
+-- PS2 to pokey
+keyboard_map1 : entity work.ps2_to_atari5200
+	PORT MAP
+	( 
+		CLK => clk,
+		RESET_N => reset_n,
+		PS2_CLK => ps2_clk,
+		PS2_DAT => ps2_dat,
+
+		FIRE2 => '0'&'0'&joy2(4)&joy1(4),
+		CONTROLLER_SELECT => CONTROLLER_SELECT, -- selected stick keyboard/shift button
+		
+		KEYBOARD_SCAN => KEYBOARD_SCAN,
+		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
+
+		FKEYS => FKEYS
+	);
+--keyboard_map1 : entity work.ps2_to_atari800
+--	PORT MAP
+--	( 
+--		CLK => clk,
+--		RESET_N => reset_n,
+--		PS2_CLK => ps2_clk,
+--		PS2_DAT => ps2_dat,
+--		
+--		KEYBOARD_SCAN => KEYBOARD_SCAN,
+--		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
+--
+--		CONSOL_START => CONSOL_START_RAW,
+--		CONSOL_SELECT => CONSOL_SELECT_RAW,
+--		CONSOL_OPTION => CONSOL_OPTION_RAW,
+--		
+--		FKEYS => FKEYS
+--	);
+
+CONSOL_START <= CONSOL_START_RAW or (mist_buttons(1) and not(joy1_n(4)));
+joy_still <= joy1_n(3) and joy1_n(2) and joy1_n(1) and joy1_n(0);
+CONSOL_SELECT <= CONSOL_SELECT_RAW or (mist_buttons(1) and joy1_n(4) and not(joy_still));
+CONSOL_OPTION <= CONSOL_OPTION_RAW or (mist_buttons(1) and joy1_n(4) and joy_still);
+	 
+dac_left : hq_dac
+port map
+(
+  reset => not(reset_n),
+  clk => clk,
+  clk_ena => '1',
+  pcm_in => AUDIO_L_PCM&"0000",
+  dac_out => audio_l
+);
+
+dac_right : hq_dac
+port map
+(
+  reset => not(reset_n),
+  clk => clk,
+  clk_ena => '1',
+  pcm_in => AUDIO_R_PCM&"0000",
+  dac_out => audio_r
+);
+
+gen_ntsc_pll : if tv=0 generate
+mist_pll : entity work.pll_ntsc
+PORT MAP(inclk0 => CLOCK_27(0),
+		 c0 => CLK_SDRAM,
+		 c1 => CLK,
+		 c2 => SDRAM_CLK,
+		 c3 => SLOW_PS2_CLK,
+		 locked => PLL_LOCKED);
+end generate;
+
+gen_pal_pll : if tv=1 generate
+mist_pll : entity work.pll_pal_pre
+PORT MAP(inclk0 => CLOCK_27(0),
+		 c0 => CLK_PLL1,
+		 locked => PLL1_LOCKED);
+mist_pll2 : entity work.pll_pal_post
+PORT MAP(inclk0 => CLK_PLL1,
+		 c0 => CLK_SDRAM,
+		 c1 => CLK,
+		 c2 => SDRAM_CLK,
+		 c3 => SLOW_PS2_CLK,
+		 areset => not(PLL1_LOCKED),
+		 locked => PLL_LOCKED);
+end generate;
+
+reset_n <= PLL_LOCKED;
+
+atari5200_test : entity work.atari5200core_simplesdram
+	GENERIC MAP
+	(
+		cycle_length => 32,
+		--internal_rom => 4, --5200 rom...
+		internal_rom => 0, --5200 rom...
+		internal_ram => 0, -- only 1 option for 5200...
+		video_bits => 8,
+		palette => 0
+	)
+	PORT MAP
+	(
+		CLK => CLK,
+		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
+
+		VIDEO_VS => VGA_VS_RAW,
+		VIDEO_HS => VGA_HS_RAW,
+		VIDEO_B => VIDEO_B,
+		VIDEO_G => open,
+		VIDEO_R => open,
+
+		AUDIO_L => AUDIO_L_PCM,
+		AUDIO_R => AUDIO_R_PCM,
+
+		SDRAM_REQUEST => SDRAM_REQUEST,
+		SDRAM_REQUEST_COMPLETE => SDRAM_REQUEST_COMPLETE,
+		SDRAM_READ_ENABLE => SDRAM_READ_ENABLE,
+		SDRAM_WRITE_ENABLE => SDRAM_WRITE_ENABLE,
+		SDRAM_ADDR => SDRAM_ADDR,
+		SDRAM_DO => SDRAM_DO,
+		SDRAM_DI => SDRAM_DI,
+		SDRAM_32BIT_WRITE_ENABLE => SDRAM_WIDTH_32bit_ACCESS,
+		SDRAM_16BIT_WRITE_ENABLE => SDRAM_WIDTH_16bit_ACCESS,
+		SDRAM_8BIT_WRITE_ENABLE => SDRAM_WIDTH_8bit_ACCESS,
+		SDRAM_REFRESH => SDRAM_REFRESH,
+
+		DMA_FETCH => dma_fetch,
+		DMA_READ_ENABLE => dma_read_enable,
+		DMA_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
+		DMA_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
+		DMA_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
+		DMA_ADDR => dma_addr_fetch,
+		DMA_WRITE_DATA => dma_write_data,
+		MEMORY_READY_DMA => dma_memory_ready,
+		DMA_MEMORY_DATA => dma_memory_data, 
+
+		THROTTLE_COUNT_6502 => speed_6502,
+		HALT => pause_atari,
+
+		-- JOYSTICK
+		JOY1_X => signed(joy1x),
+		JOY1_Y => signed(joy1y),
+		JOY1_BUTTON => joy1_n(4),
+		JOY2_X => signed(joy2x),
+		JOY2_Y => signed(joy2y),
+		JOY2_BUTTON => joy2_n(4),
+
+		-- Pokey keyboard matrix
+		-- Standard component available to connect this to PS2
+		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
+		KEYBOARD_SCAN => KEYBOARD_SCAN,
+		CONTROLLER_SELECT => CONTROLLER_SELECT
+	);
+
+--atarixl_simple_sdram1 : entity work.atari800core_simple_sdram
+--	GENERIC MAP
+--	(
+--		cycle_length => 32,
+--		internal_rom => 0,
+--		internal_ram => 0,
+--		video_bits => 8,
+--		palette => 0
+--	)
+--	PORT MAP
+--	(
+--		CLK => CLK,
+--		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
+--
+--		VIDEO_VS => VGA_VS_RAW,
+--		VIDEO_HS => VGA_HS_RAW,
+--		VIDEO_B => VIDEO_B,
+--		VIDEO_G => open,
+--		VIDEO_R => open,
+--
+--		AUDIO_L => AUDIO_L_PCM,
+--		AUDIO_R => AUDIO_R_PCM,
+--
+--		JOY1_n => JOY1_n(4)&JOY1_n(0)&JOY1_n(1)&JOY1_n(2)&JOY1_n(3),
+--		JOY2_n => JOY2_n(4)&JOY2_n(0)&JOY2_n(1)&JOY2_n(2)&JOY2_n(3),
+--
+--		KEYBOARD_RESPONSE => KEYBOARD_RESPONSE,
+--		KEYBOARD_SCAN => KEYBOARD_SCAN,
+--
+--		SIO_COMMAND => zpu_sio_command,
+--		SIO_RXD => zpu_sio_txd,
+--		SIO_TXD => zpu_sio_rxd,
+--
+--		CONSOL_OPTION => CONSOL_OPTION,
+--		CONSOL_SELECT => CONSOL_SELECT,
+--		CONSOL_START => CONSOL_START,
+--
+--		SDRAM_REQUEST => SDRAM_REQUEST,
+--		SDRAM_REQUEST_COMPLETE => SDRAM_REQUEST_COMPLETE,
+--		SDRAM_READ_ENABLE => SDRAM_READ_ENABLE,
+--		SDRAM_WRITE_ENABLE => SDRAM_WRITE_ENABLE,
+--		SDRAM_ADDR => SDRAM_ADDR,
+--		SDRAM_DO => SDRAM_DO,
+--		SDRAM_DI => SDRAM_DI,
+--		SDRAM_32BIT_WRITE_ENABLE => SDRAM_WIDTH_32bit_ACCESS,
+--		SDRAM_16BIT_WRITE_ENABLE => SDRAM_WIDTH_16bit_ACCESS,
+--		SDRAM_8BIT_WRITE_ENABLE => SDRAM_WIDTH_8bit_ACCESS,
+--		SDRAM_REFRESH => SDRAM_REFRESH,
+--
+--		DMA_FETCH => dma_fetch,
+--		DMA_READ_ENABLE => dma_read_enable,
+--		DMA_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
+--		DMA_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
+--		DMA_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
+--		DMA_ADDR => dma_addr_fetch,
+--		DMA_WRITE_DATA => dma_write_data,
+--		MEMORY_READY_DMA => dma_memory_ready,
+--		DMA_MEMORY_DATA => dma_memory_data, 
+--
+--   		RAM_SELECT => ram_select,
+--    		ROM_SELECT => rom_select,
+--		PAL => PAL,
+--		HALT => pause_atari,
+--		THROTTLE_COUNT_6502 => speed_6502
+--	);
+
+sdram_adaptor : entity work.sdram_statemachine
+GENERIC MAP(ADDRESS_WIDTH => 22,
+			AP_BIT => 10,
+			COLUMN_WIDTH => 8,
+			ROW_WIDTH => 12
+			)
+PORT MAP(CLK_SYSTEM => CLK,
+		 CLK_SDRAM => CLK_SDRAM,
+		 RESET_N =>  RESET_N,
+		 READ_EN => SDRAM_READ_ENABLE,
+		 WRITE_EN => SDRAM_WRITE_ENABLE,
+		 REQUEST => SDRAM_REQUEST,
+		 BYTE_ACCESS => SDRAM_WIDTH_8BIT_ACCESS,
+		 WORD_ACCESS => SDRAM_WIDTH_16BIT_ACCESS,
+		 LONGWORD_ACCESS => SDRAM_WIDTH_32BIT_ACCESS,
+		 REFRESH => SDRAM_REFRESH,
+		 ADDRESS_IN => SDRAM_ADDR,
+		 DATA_IN => SDRAM_DI,
+		 SDRAM_DQ => SDRAM_DQ,
+		 COMPLETE => SDRAM_REQUEST_COMPLETE,
+		 SDRAM_BA0 => SDRAM_BA(0),
+		 SDRAM_BA1 => SDRAM_BA(1),
+		 SDRAM_CKE => SDRAM_CKE,
+		 SDRAM_CS_N => SDRAM_nCS,
+		 SDRAM_RAS_N => SDRAM_nRAS,
+		 SDRAM_CAS_N => SDRAM_nCAS,
+		 SDRAM_WE_N => SDRAM_nWE,
+		 SDRAM_ldqm => SDRAM_DQML,
+		 SDRAM_udqm => SDRAM_DQMH,
+		 DATA_OUT => SDRAM_DO,
+		 SDRAM_ADDR => SDRAM_A(11 downto 0),
+		 reset_client_n => SDRAM_RESET_N
+		 );
+		 
+SDRAM_A(12) <= '0';
+--SDRAM_REFRESH <= '0'; -- TODO
+
+-- Until SDRAM enabled... TODO
+--SDRAM_nCS <= '1';
+--SDRAM_DQ <= (others=>'Z');
+
+--SDRAM_CKE <= '1';		 
+LED <= zpu_sio_rxd;
+
+--VGA_HS <= not(VGA_HS_RAW xor VGA_VS_RAW);
+--VGA_VS <= not(VGA_VS_RAW);
+
+	process(clk,RESET_N,SDRAM_RESET_N,reset_atari)
+	begin
+		if ((RESET_N and SDRAM_RESET_N and not(reset_atari))='0') then
+			half_scandouble_enable_reg <= '0';
+		elsif (clk'event and clk='1') then
+			half_scandouble_enable_reg <= half_scandouble_enable_next;
+		end if;
+	end process;
+
+	half_scandouble_enable_next <= not(half_scandouble_enable_reg);
+
+	scandoubler1: entity work.scandoubler
+	GENERIC MAP
+	(
+		video_bits=>6
+	)
+	PORT MAP
+	( 
+		CLK => CLK,
+		RESET_N => RESET_N and SDRAM_RESET_N and not(reset_atari),
+		
+		VGA => vga,
+		COMPOSITE_ON_HSYNC => composite_on_hsync,
+
+		colour_enable => half_scandouble_enable_reg,
+		doubled_enable => '1',
+		scanlines_on => mist_switches(1),
+		
+		-- GTIA interface
+		colour_in => VIDEO_B,
+		vsync_in => VGA_VS_RAW,
+		hsync_in => VGA_HS_RAW,
+		
+		-- TO TV...
+		R => VGA_R,
+		G => VGA_G,
+		B => VGA_B,
+		
+		VSYNC => VGA_VS,
+		HSYNC => VGA_HS
+	);
+
+zpu: entity work.zpucore
+	GENERIC MAP
+	(
+		platform => 1,
+		spi_clock_div => 1 -- 28MHz/2. Max for SD cards is 25MHz...
+	)
+	PORT MAP
+	(
+		-- standard...
+		CLK => CLK,
+		RESET_N => RESET_N and sdram_reset_n,
+
+		-- dma bus master (with many waitstates...)
+		ZPU_ADDR_FETCH => dma_addr_fetch,
+		ZPU_DATA_OUT => dma_write_data,
+		ZPU_FETCH => dma_fetch,
+		ZPU_32BIT_WRITE_ENABLE => dma_32bit_write_enable,
+		ZPU_16BIT_WRITE_ENABLE => dma_16bit_write_enable,
+		ZPU_8BIT_WRITE_ENABLE => dma_8bit_write_enable,
+		ZPU_READ_ENABLE => dma_read_enable,
+		ZPU_MEMORY_READY => dma_memory_ready,
+		ZPU_MEMORY_DATA => dma_memory_data, 
+
+		-- rom bus master
+		-- data on next cycle after addr
+		ZPU_ADDR_ROM => zpu_addr_rom,
+		ZPU_ROM_DATA => zpu_rom_data_mux,
+	
+		ZPU_ROM_WREN => zpu_rom_wren, -- special for mist...
+
+		-- spi master
+		-- not used for mist...
+		ZPU_SD_DAT0 => '0',
+		ZPU_SD_CLK => open,
+		ZPU_SD_CMD => open,
+		ZPU_SD_DAT3 => open,
+
+		-- SIO
+		-- Ditto for speaking to Atari, we have a built in Pokey
+		ZPU_POKEY_ENABLE => zpu_pokey_enable,
+		ZPU_SIO_TXD => zpu_sio_txd,
+		ZPU_SIO_RXD => zpu_sio_rxd,
+		ZPU_SIO_COMMAND => zpu_sio_command,
+
+		-- external control
+		-- switches etc. sector DMA blah blah.
+		ZPU_IN1 => X"00000"&(FKEYS(11) or (mist_buttons(0) and not(joy1_n(4))))&(FKEYS(10) or (mist_buttons(0) and joy1_n(4) and joy_still))&(FKEYS(9) or (mist_buttons(0) and joy1_n(4) and not(joy_still)))&FKEYS(8 downto 0),
+		ZPU_IN2 => X"00000000",
+		ZPU_IN3 => X"00000000",
+		ZPU_IN4 => X"000000"&"0000000"&mist_sector_ready_sync,
+
+		-- ouputs - e.g. Atari system control, halt, throttle, rom select
+		ZPU_OUT1 => zpu_out1,
+		ZPU_OUT2 => zpu_out2,
+		ZPU_OUT3 => zpu_out3,
+		ZPU_OUT4 => zpu_out4
+	);
+
+	mist_sector <= zpu_out4(25 downto 0);
+	mist_sector_request <= zpu_out4(26);
+	mist_sector_write <= zpu_out4(27);
+
+	pause_atari <= zpu_out1(0);
+	reset_atari <= zpu_out1(1);
+	speed_6502 <= zpu_out1(7 downto 2);
+	ram_select <= zpu_out1(10 downto 8);
+	rom_select <= zpu_out1(16 downto 11);
+
+zpu_rom1: entity work.zpu_rom
+	port map(
+	        clock => clk,
+	        address => zpu_addr_rom(13 downto 2),
+	        q => zpu_rom_data
+	);
+
+process(zpu_addr_rom, zpu_rom_data, zpu_sector_data)
+begin
+	zpu_rom_data_mux <= zpu_rom_data;
+	if (zpu_addr_rom(15 downto 14) = "01") then
+		zpu_rom_data_mux <= zpu_sector_data(7 downto 0)&zpu_sector_data(15 downto 8)&zpu_sector_data(23 downto 16)&zpu_sector_data(31 downto 24);
+	end if;
+end process;
+
+enable_179_clock_div_zpu_pokey : entity work.enable_divider
+	generic map (COUNT=>32) -- cycle_length
+	port map(clk=>clk,reset_n=>reset_n,enable_in=>'1',enable_out=>zpu_pokey_enable);
+
+END vhdl;
Index: mist_5200_old_sd_interface/data_io.vhdl
===================================================================
--- mist_5200_old_sd_interface/data_io.vhdl	(nonexistent)
+++ mist_5200_old_sd_interface/data_io.vhdl	(revision 232)
@@ -0,0 +1,236 @@
+LIBRARY ieee;
+USE ieee.std_logic_1164.all; 
+use ieee.numeric_std.all;
+
+LIBRARY work;
+
+ENTITY data_io IS 
+	PORT
+	(
+		CLK : in std_logic;
+		RESET_n : in std_logic;
+		
+		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
+	   SPI_CLK : in std_logic;
+	   SPI_SS_IO : in std_logic;
+	   SPI_MISO: out std_logic;
+	   SPI_MOSI : in std_logic;
+		
+		-- Sector access read_request
+		read_request : in std_logic;
+		write_request : in std_logic;
+		sector : in std_logic_vector(25 downto 0);
+		ready : out std_logic;
+		
+		-- DMA to RAM
+		ADDR: out std_logic_vector(8 downto 0);
+		DATA_OUT : out std_logic_vector(7 downto 0);
+		DATA_IN : in std_logic_vector(7 downto 0);
+		WR_EN : out std_logic
+	 );
+end data_io;
+
+architecture vhdl of data_io is
+
+
+   signal sbuf_next : std_logic_vector(6 downto 0);
+	signal sbuf_reg : std_logic_vector(6 downto 0);
+	
+   signal cmd_next : std_logic_vector(7 downto 0);
+	signal cmd_reg : std_logic_vector(7 downto 0);
+	
+	signal cnt_next : std_logic_vector(15 downto 0);
+	signal cnt_reg : std_logic_vector(15 downto 0);
+
+	signal data_in_next : std_logic_vector(7 downto 0);
+	signal data_in_reg : std_logic_vector(7 downto 0);
+
+	signal data_out_next : std_logic_vector(7 downto 0);
+	signal data_out_reg : std_logic_vector(7 downto 0);
+
+	signal addr_next : std_logic_vector(8 downto 0);
+	signal addr_reg : std_logic_vector(8 downto 0);
+
+	signal wren_next : std_logic;
+	signal wren_reg : std_logic;
+
+	signal ready_next : std_logic;
+	signal ready_reg : std_logic;
+	
+	signal transmit_next : std_logic_vector(7 downto 0);
+	signal transmit_reg : std_logic_vector(7 downto 0);
+	
+	signal sector_next : std_logic_vector(25 downto 0);
+	signal sector_reg : std_logic_vector(25 downto 0);
+	
+	signal read_request_next : std_logic;
+	signal read_request_reg : std_logic;
+	
+	signal write_request_next : std_logic;
+	signal write_request_reg : std_logic;
+
+	signal clk2 : std_logic;
+begin	 
+	clk2 <= clk or spi_ss_io;
+
+	process(clk2,reset_n,spi_ss_io)
+	begin
+		if (spi_ss_io = '1') then
+			cnt_reg <= (others=>'0');
+			cmd_reg <= (others=>'0');
+			wren_reg <= '0';
+		elsif (reset_n = '0') then
+			cnt_reg <= (others=>'0');
+			cmd_reg <= (others=>'0');
+			sbuf_reg <= (others=>'0');
+			
+			addr_reg <= (others => '0');
+			data_in_reg <= (others => '0');
+			data_out_reg <= (others => '0');
+			wren_reg <= '0';			
+			
+			ready_reg <= '0';
+			
+			transmit_reg <= (others=>'0');
+			
+			read_request_reg <= '0';
+			write_request_reg <= '0';
+			sector_reg <=(others=>'0');
+		elsif (clk2'event and clk2='1') then
+			cnt_reg <= cnt_next;
+			cmd_reg <= cmd_next;
+			sbuf_reg <= sbuf_next;			
+			
+			addr_reg <= addr_next;
+			data_in_reg <= data_in_next;
+			data_out_reg <= data_out_next;
+			wren_reg <= wren_next;
+			
+			ready_reg <= ready_next;
+		
+			transmit_reg <= transmit_next;
+
+			read_request_reg <= read_request_next;
+			write_request_reg <= write_request_next;
+			sector_reg <= sector_next;			
+		end if;
+	end process;	
+	
+--	clk_sync : synchronizer
+--	PORT MAP ( CLK => clk, raw => spi_clk, sync=>spi_clk_next);
+--spi_clk_next <= spi_clk;
+
+--	input_sync : synchronizer
+--	PORT MAP ( CLK => clk, raw => spi_mosi, sync=>spi_mosi_next);
+
+--	select_sync : synchronizer
+--	PORT MAP ( CLK => clk, raw => spi_ss_io, sync=>spi_ss_next);
+
+	data_in_next <= data_in;
+
+	process(spi_ss_io,cnt_reg, sbuf_reg, transmit_reg, spi_mosi, addr_reg, cmd_reg, sector_reg, write_request_reg, read_request_reg, ready_reg,read_request,write_request,sector,data_in_reg)
+	begin
+		cnt_next <= cnt_reg;
+		sbuf_next <= sbuf_reg;
+		cmd_next <= cmd_reg;
+		ready_next <= ready_reg and (read_request or write_request); -- stay ready until read_request cleared (received by other end)
+		
+		transmit_next <= transmit_reg;
+		
+		wren_next <= '0';
+		data_out_next <= (others=>'0');		
+		addr_next <= addr_reg;
+		
+		sector_next <= sector_reg;
+		read_request_next <= read_request_reg;		
+		write_request_next <= write_request_reg;		
+		
+--- It polls get_status 10 times a second
+--- it uses SPI_SS2 for this
+--- it sends command code 0x50
+--- reads 4 bytes afterwards
+
+--- it reports whenever the returned value is different then the one from previous get_status
+
+--- if the lowest byte of the status (the last transmitted of the four) is 0xa5:
+--- a sector is read from sd card with the sector no being the upper/first three bytes transmitted
+--- if the sector could be read
+--- SPI_SS2 is activated
+--- command byte 0x51 is sent
+--- all 512 sector bytes are sent
+		
+		--if (spi_clk_reg = '1' and spi_clk_next = '0') then
+		transmit_next(7 downto 1) <= transmit_reg(6 downto 0);
+		transmit_next(0) <= '0';
+
+		cnt_next <= std_logic_vector(unsigned(cnt_reg) + 1);		
+		
+		sbuf_next(6 downto 1) <= sbuf_reg(5 downto 0);
+		sbuf_next(0) <= SPI_MOSI;
+
+		if (cnt_reg = X"0000") then
+			addr_next <= (others=>'0');
+		end if;
+			
+		if (cnt_reg = X"0007") then
+			cmd_next(7 downto 1) <= sbuf_reg;
+			cmd_next(0) <= SPI_MOSI;
+			
+			sector_next <= sector;
+			read_request_next <= read_request;		
+			write_request_next <= write_request;		
+		end if;
+			
+		--end if;
+		
+		case cmd_reg is
+		when X"50" => --get status
+			case cnt_reg is 
+			when X"0008" =>
+				transmit_next <= sector_reg(25 downto 18);
+			when X"0010" =>
+				transmit_next <= sector_reg(17 downto 10);
+			when X"0018" =>
+				transmit_next <= sector_reg(9 downto 2);				
+			when X"0020" =>
+				transmit_next <= sector_reg(1 downto 0)&"1010"&write_request_reg&read_request_reg; --read read_request
+			when others =>
+				-- nothing
+			end case;
+		when X"51" => --sector read from sd, write it...
+			if (cnt_reg = X"0008") then
+				addr_next <= (others=>'1');
+			end if;
+			if (cnt_reg(2 downto 0) = "111") then
+				addr_next <= std_logic_vector(unsigned(addr_reg) + 1);
+				data_out_next(7 downto 1) <= sbuf_reg;
+				data_out_next(0) <= SPI_MOSI;
+				wren_next <= read_request;
+				
+				if (cnt_reg(12) = '1')then
+					ready_next <= '1';
+				end if;
+			end if;
+		when X"52" => -- read from write, write to sd
+			if (cnt_reg(2 downto 0) = "000") then
+				addr_next <= std_logic_vector(unsigned(addr_reg) + 1);
+				transmit_next <= data_in_reg;
+				
+				if (cnt_reg(12) = '1')then
+					ready_next <= '1';
+				end if;
+			end if;
+		when others =>
+			-- nop
+		end case;
+	end process;
+
+	-- outputs
+	addr <= addr_next;
+	data_out <= data_out_next;
+	wr_en <= wren_next;
+	
+	ready <= ready_reg;
+
+	spi_miso <= transmit_next(7);
+end vhdl;
Index: mist_5200_old_sd_interface/zpu_rom.vhdl
===================================================================
--- mist_5200_old_sd_interface/zpu_rom.vhdl	(nonexistent)
+++ mist_5200_old_sd_interface/zpu_rom.vhdl	(revision 232)
@@ -0,0 +1,4130 @@
+
+--
+--ROMsUsingBlockRAMResources.
+--VHDLcodeforaROMwithregisteredoutput(template2)
+--
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.std_logic_unsigned.all;
+
+entity zpu_rom is
+port(
+        clock:in std_logic;
+        address:in std_logic_vector(11 downto 0);
+        q:out std_logic_vector(31 downto 0)
+);
+end zpu_rom;
+
+architecture syn of zpu_rom is
+        type rom_type is array(0 to 4095) of std_logic_vector(31 downto 0);
+        signal ROM:rom_type:=
+(
+	X"0b0b0b89",
+X"ad040b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"0b0b0b0b",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"71fd0608",
+X"72830609",
+X"81058205",
+X"832b2a83",
+X"ffff0652",
+X"04000000",
+X"00000000",
+X"00000000",
+X"71fd0608",
+X"83ffff73",
+X"83060981",
+X"05820583",
+X"2b2b0906",
+X"7383ffff",
+X"0b0b0b0b",
+X"83a70400",
+X"72098105",
+X"72057373",
+X"09060906",
+X"73097306",
+X"070a8106",
+X"53510400",
+X"00000000",
+X"00000000",
+X"72722473",
+X"732e0753",
+X"51040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"71737109",
+X"71068106",
+X"30720a10",
+X"0a720a10",
+X"0a31050a",
+X"81065151",
+X"53510400",
+X"00000000",
+X"72722673",
+X"732e0753",
+X"51040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"0b0b0b88",
+X"bc040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"720a722b",
+X"0a535104",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72729f06",
+X"0981050b",
+X"0b0b889f",
+X"05040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72722aff",
+X"739f062a",
+X"0974090a",
+X"8106ff05",
+X"06075351",
+X"04000000",
+X"00000000",
+X"00000000",
+X"71715351",
+X"020d0406",
+X"73830609",
+X"81058205",
+X"832b0b2b",
+X"0772fc06",
+X"0c515104",
+X"00000000",
+X"72098105",
+X"72050970",
+X"81050906",
+X"0a810653",
+X"51040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72098105",
+X"72050970",
+X"81050906",
+X"0a098106",
+X"53510400",
+X"00000000",
+X"00000000",
+X"00000000",
+X"71098105",
+X"52040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72720981",
+X"05055351",
+X"04000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72097206",
+X"73730906",
+X"07535104",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"71fc0608",
+X"72830609",
+X"81058305",
+X"1010102a",
+X"81ff0652",
+X"04000000",
+X"00000000",
+X"00000000",
+X"71fc0608",
+X"0b0b80dd",
+X"d8738306",
+X"10100508",
+X"060b0b0b",
+X"88a20400",
+X"00000000",
+X"00000000",
+X"0b0b0b88",
+X"ff040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"0b0b0b88",
+X"d8040000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"72097081",
+X"0509060a",
+X"8106ff05",
+X"70547106",
+X"73097274",
+X"05ff0506",
+X"07515151",
+X"04000000",
+X"72097081",
+X"0509060a",
+X"098106ff",
+X"05705471",
+X"06730972",
+X"7405ff05",
+X"06075151",
+X"51040000",
+X"05ff0504",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"810b80e0",
+X"f80c5104",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00007181",
+X"05520400",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000284",
+X"05721010",
+X"05520400",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00007171",
+X"05ff0571",
+X"5351020d",
+X"04000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"10101010",
+X"10101010",
+X"10101010",
+X"10101010",
+X"10101010",
+X"10101010",
+X"10101010",
+X"10101053",
+X"51047381",
+X"ff067383",
+X"06098105",
+X"83051010",
+X"102b0772",
+X"fc060c51",
+X"51043c04",
+X"72728072",
+X"8106ff05",
+X"09720605",
+X"71105272",
+X"0a100a53",
+X"72ed3851",
+X"51535104",
+X"83e08008",
+X"83e08408",
+X"83e08808",
+X"757580d8",
+X"872d5050",
+X"83e08008",
+X"5683e088",
+X"0c83e084",
+X"0c83e080",
+X"0c510483",
+X"e0800883",
+X"e0840883",
+X"e0880875",
+X"7580d69b",
+X"2d505083",
+X"e0800856",
+X"83e0880c",
+X"83e0840c",
+X"83e0800c",
+X"51040000",
+X"800489aa",
+X"0489aa0b",
+X"80cfd504",
+X"f43d0d7e",
+X"8f3dec11",
+X"56565890",
+X"53f01552",
+X"775193ae",
+X"3f83e080",
+X"0880d638",
+X"78902e09",
+X"810680cd",
+X"3802ab05",
+X"3380e180",
+X"0b80e180",
+X"33575856",
+X"8c397476",
+X"2e8a3884",
+X"17703356",
+X"5774f338",
+X"76337057",
+X"5574802e",
+X"ac388217",
+X"22708a2b",
+X"903dec05",
+X"56705556",
+X"5696800a",
+X"52775192",
+X"dd3f83e0",
+X"80088638",
+X"78752e85",
+X"38805685",
+X"39811733",
+X"567583e0",
+X"800c8e3d",
+X"0d04fc3d",
+X"0d767052",
+X"55b3903f",
+X"83e08008",
+X"15ff0554",
+X"73752e8e",
+X"38733353",
+X"72ae2e86",
+X"38ff1454",
+X"ef397752",
+X"811451b2",
+X"a83f83e0",
+X"80083070",
+X"83e08008",
+X"07802583",
+X"e0800c53",
+X"863d0d04",
+X"fc3d0d76",
+X"70525599",
+X"c93f83e0",
+X"80085481",
+X"5383e080",
+X"0880c738",
+X"7451998c",
+X"3f83e080",
+X"080b0b80",
+X"dfb85383",
+X"e0800852",
+X"53ff8f3f",
+X"83e08008",
+X"a5380b0b",
+X"80dfbc52",
+X"7251fefe",
+X"3f83e080",
+X"0894380b",
+X"0b80dfc0",
+X"527251fe",
+X"ed3f83e0",
+X"8008802e",
+X"83388154",
+X"73537283",
+X"e0800c86",
+X"3d0d04fd",
+X"3d0d7570",
+X"525498e2",
+X"3f815383",
+X"e0800898",
+X"38735198",
+X"ab3f83e0",
+X"a0085283",
+X"e0800851",
+X"feb43f83",
+X"e0800853",
+X"7283e080",
+X"0c853d0d",
+X"04e03d0d",
+X"a33d0870",
+X"525e8ed1",
+X"3f83e080",
+X"0833943d",
+X"56547394",
+X"3880e288",
+X"52745184",
+X"c6397d52",
+X"785191d4",
+X"3f84d039",
+X"7d518eb9",
+X"3f83e080",
+X"08527451",
+X"8de93f83",
+X"e0a80852",
+X"933d7052",
+X"5d94c43f",
+X"83e08008",
+X"59800b83",
+X"e0800855",
+X"5b83e080",
+X"087b2e94",
+X"38811b74",
+X"525b97c5",
+X"3f83e080",
+X"085483e0",
+X"8008ee38",
+X"805aff7a",
+X"437a427a",
+X"415f7909",
+X"709f2c7b",
+X"065b547a",
+X"7a248438",
+X"ff1b5af6",
+X"1a700970",
+X"9f2c7206",
+X"7bff125a",
+X"5a525555",
+X"80752595",
+X"38765197",
+X"843f83e0",
+X"800876ff",
+X"18585557",
+X"738024ed",
+X"38747f2e",
+X"8638b8dd",
+X"3f745f78",
+X"ff1b7058",
+X"5d58807a",
+X"25953877",
+X"5196da3f",
+X"83e08008",
+X"76ff1858",
+X"55587380",
+X"24ed3880",
+X"0b83e3a8",
+X"0c800b83",
+X"e3cc0c0b",
+X"0b80dfc4",
+X"518bad3f",
+X"81800b83",
+X"e3cc0c0b",
+X"0b80dfcc",
+X"518b9d3f",
+X"a80b83e3",
+X"a80c7680",
+X"2e80e838",
+X"83e3a808",
+X"77793270",
+X"30707207",
+X"80257087",
+X"2b83e3cc",
+X"0c515678",
+X"53565696",
+X"8d3f83e0",
+X"8008802e",
+X"8a380b0b",
+X"80dfd451",
+X"8ae23f76",
+X"5195cd3f",
+X"83e08008",
+X"520b0b80",
+X"e088518a",
+X"cf3f7651",
+X"95d33f83",
+X"e0800883",
+X"e3a80855",
+X"57757425",
+X"8638a816",
+X"56f73975",
+X"83e3a80c",
+X"86f07624",
+X"ff943887",
+X"980b83e3",
+X"a80c7780",
+X"2eb73877",
+X"5195893f",
+X"83e08008",
+X"78525595",
+X"a93f0b0b",
+X"80dfdc54",
+X"83e08008",
+X"8f388739",
+X"807634fd",
+X"96390b0b",
+X"80dfd854",
+X"74537352",
+X"0b0b80df",
+X"a85189e8",
+X"3f80540b",
+X"0b80dfb0",
+X"5189dd3f",
+X"81145473",
+X"a82e0981",
+X"06ed3886",
+X"8da051b4",
+X"d33f8052",
+X"903d7052",
+X"5480c2e7",
+X"3f835273",
+X"5180c2df",
+X"3f61802e",
+X"80ff387b",
+X"5473ff2e",
+X"96387880",
+X"2e818038",
+X"785194a9",
+X"3f83e080",
+X"08ff1555",
+X"59e73978",
+X"802e80eb",
+X"38785194",
+X"a53f83e0",
+X"8008802e",
+X"fc843878",
+X"5193ed3f",
+X"83e08008",
+X"520b0b80",
+X"dfb451ab",
+X"cb3f83e0",
+X"8008a438",
+X"7c51ad83",
+X"3f83e080",
+X"085574ff",
+X"16565480",
+X"7425fbef",
+X"38741d70",
+X"33555673",
+X"af2efec8",
+X"38e83978",
+X"5193ab3f",
+X"83e08008",
+X"527c51ac",
+X"ba3ffbcf",
+X"397f8829",
+X"6010057a",
+X"0561055a",
+X"fc8039a2",
+X"3d0d0480",
+X"3d0d9080",
+X"f8337081",
+X"ff067084",
+X"2a813270",
+X"81065151",
+X"51517080",
+X"2e8d38a8",
+X"0b9080f8",
+X"34b80b90",
+X"80f83470",
+X"83e0800c",
+X"823d0d04",
+X"803d0d90",
+X"80f83370",
+X"81ff0670",
+X"852a8132",
+X"70810651",
+X"51515170",
+X"802e8d38",
+X"980b9080",
+X"f834b80b",
+X"9080f834",
+X"7083e080",
+X"0c823d0d",
+X"04930b90",
+X"80fc34ff",
+X"0b9080e8",
+X"3404ff3d",
+X"0d028f05",
+X"3352800b",
+X"9080fc34",
+X"8a51b2a8",
+X"3fdf3f80",
+X"f80b9080",
+X"e034800b",
+X"9080c834",
+X"fa125271",
+X"9080c034",
+X"800b9080",
+X"d8347190",
+X"80d03490",
+X"80f85280",
+X"7234b872",
+X"34833d0d",
+X"04803d0d",
+X"028b0533",
+X"51709080",
+X"f434febf",
+X"3f83e080",
+X"08802ef6",
+X"38823d0d",
+X"04803d0d",
+X"8439bba5",
+X"3ffed93f",
+X"83e08008",
+X"802ef338",
+X"9080f433",
+X"7081ff06",
+X"83e0800c",
+X"51823d0d",
+X"04803d0d",
+X"a30b9080",
+X"fc34ff0b",
+X"9080e834",
+X"9080f851",
+X"a87134b8",
+X"7134823d",
+X"0d04803d",
+X"0d9080fc",
+X"337081c0",
+X"06703070",
+X"802583e0",
+X"800c5151",
+X"51823d0d",
+X"04803d0d",
+X"9080f833",
+X"7081ff06",
+X"70832a81",
+X"32708106",
+X"51515151",
+X"70802ee8",
+X"38b00b90",
+X"80f834b8",
+X"0b9080f8",
+X"34823d0d",
+X"04803d0d",
+X"9080ac08",
+X"810683e0",
+X"800c823d",
+X"0d04fd3d",
+X"0d757754",
+X"54807325",
+X"94387370",
+X"81055533",
+X"5280dfe0",
+X"5185a13f",
+X"ff1353e9",
+X"39853d0d",
+X"04f63d0d",
+X"7c7e6062",
+X"5a5d5b56",
+X"80598155",
+X"8539747a",
+X"29557452",
+X"755180c1",
+X"803f83e0",
+X"80087a27",
+X"ed387480",
+X"2e80e038",
+X"74527551",
+X"80c0ea3f",
+X"83e08008",
+X"75537652",
+X"5480c190",
+X"3f83e080",
+X"087a5375",
+X"525680c0",
+X"d03f83e0",
+X"80087930",
+X"707b079f",
+X"2a707780",
+X"24075151",
+X"54557287",
+X"3883e080",
+X"08c23876",
+X"8118b016",
+X"55585889",
+X"74258b38",
+X"b714537a",
+X"853880d7",
+X"14537278",
+X"34811959",
+X"ff9c3980",
+X"77348c3d",
+X"0d04f73d",
+X"0d7b7d7f",
+X"62029005",
+X"bb053357",
+X"59565a5a",
+X"b0587283",
+X"38a05875",
+X"70708105",
+X"52337159",
+X"54559039",
+X"8074258e",
+X"38ff1477",
+X"70810559",
+X"33545472",
+X"ef3873ff",
+X"15555380",
+X"73258938",
+X"77527951",
+X"782def39",
+X"75337557",
+X"5372802e",
+X"90387252",
+X"7951782d",
+X"75708105",
+X"573353ed",
+X"398b3d0d",
+X"04ee3d0d",
+X"64666969",
+X"70708105",
+X"52335b4a",
+X"5c5e5e76",
+X"802e82f9",
+X"3876a52e",
+X"09810682",
+X"e0388070",
+X"41677070",
+X"81055233",
+X"714a5957",
+X"5f76b02e",
+X"0981068c",
+X"38757081",
+X"05573376",
+X"4857815f",
+X"d0175675",
+X"892680da",
+X"3876675c",
+X"59805c93",
+X"39778a24",
+X"80c3387b",
+X"8a29187b",
+X"7081055d",
+X"335a5cd0",
+X"197081ff",
+X"06585889",
+X"7727a438",
+X"ff9f1970",
+X"81ff06ff",
+X"a91b5a51",
+X"56857627",
+X"9238ffbf",
+X"197081ff",
+X"06515675",
+X"85268a38",
+X"c9195877",
+X"8025ffb9",
+X"387a477b",
+X"407881ff",
+X"06577680",
+X"e42e80e5",
+X"387680e4",
+X"24a73876",
+X"80d82e81",
+X"86387680",
+X"d8249038",
+X"76802e81",
+X"cc3876a5",
+X"2e81b638",
+X"81b93976",
+X"80e32e81",
+X"8c3881af",
+X"397680f5",
+X"2e9b3876",
+X"80f5248b",
+X"387680f3",
+X"2e818138",
+X"81993976",
+X"80f82e80",
+X"ca38818f",
+X"39913d70",
+X"55578053",
+X"8a527984",
+X"1b710853",
+X"5b56fbfd",
+X"3f7655ab",
+X"3979841b",
+X"7108943d",
+X"705b5b52",
+X"5b567580",
+X"258c3875",
+X"3056ad78",
+X"340280c1",
+X"05577654",
+X"80538a52",
+X"7551fbd1",
+X"3f77557e",
+X"54b83991",
+X"3d705577",
+X"80d83270",
+X"30708025",
+X"56515856",
+X"90527984",
+X"1b710853",
+X"5b57fbad",
+X"3f7555db",
+X"3979841b",
+X"83123354",
+X"5b569839",
+X"79841b71",
+X"08575b56",
+X"80547f53",
+X"7c527d51",
+X"fc9c3f87",
+X"3976527d",
+X"517c2d66",
+X"70335881",
+X"0547fd83",
+X"39943d0d",
+X"047283e0",
+X"900c7183",
+X"e0940c04",
+X"fb3d0d88",
+X"3d707084",
+X"05520857",
+X"54755383",
+X"e0900852",
+X"83e09408",
+X"51fcc63f",
+X"873d0d04",
+X"ff3d0d73",
+X"70085351",
+X"02930533",
+X"72347008",
+X"8105710c",
+X"833d0d04",
+X"fc3d0d87",
+X"3d881155",
+X"785499d0",
+X"5351fc99",
+X"3f805287",
+X"3d51d13f",
+X"863d0d04",
+X"fd3d0d75",
+X"705254a3",
+X"c23f83e0",
+X"80081453",
+X"72742e92",
+X"38ff1370",
+X"33535371",
+X"af2e0981",
+X"06ee3881",
+X"13537283",
+X"e0800c85",
+X"3d0d04fd",
+X"3d0d7577",
+X"70535454",
+X"c73f83e0",
+X"8008732e",
+X"a13883e0",
+X"80087331",
+X"52ff1252",
+X"71ff2e8f",
+X"38727081",
+X"05543374",
+X"70810556",
+X"34eb39ff",
+X"14548074",
+X"34853d0d",
+X"04803d0d",
+X"7251ff90",
+X"3f823d0d",
+X"047183e0",
+X"800c0480",
+X"3d0d7251",
+X"80713481",
+X"0bbc120c",
+X"800b80c0",
+X"120c823d",
+X"0d04800b",
+X"83e2d408",
+X"248a38b9",
+X"ea3fff0b",
+X"83e2d40c",
+X"800b83e0",
+X"800c04ff",
+X"3d0d7352",
+X"83e0b008",
+X"722e8d38",
+X"d93f7151",
+X"96973f71",
+X"83e0b00c",
+X"833d0d04",
+X"f43d0d7e",
+X"60625c5a",
+X"558154bc",
+X"15088191",
+X"387451cf",
+X"3f795880",
+X"7a2580f7",
+X"3883e384",
+X"0870892a",
+X"5783ff06",
+X"78848072",
+X"31565657",
+X"73782583",
+X"38735575",
+X"83e2d408",
+X"2e8438ff",
+X"893f83e2",
+X"d4088025",
+X"a6387589",
+X"2b5198da",
+X"3f83e384",
+X"088f3dfc",
+X"11555c54",
+X"8152f81b",
+X"5196c43f",
+X"761483e3",
+X"840c7583",
+X"e2d40c74",
+X"53765278",
+X"51b7fd3f",
+X"83e08008",
+X"83e38408",
+X"1683e384",
+X"0c787631",
+X"761b5b59",
+X"56778024",
+X"ff8b3861",
+X"7a710c54",
+X"75547580",
+X"2e833881",
+X"547383e0",
+X"800c8e3d",
+X"0d04fc3d",
+X"0dfe9b3f",
+X"7651feaf",
+X"3f863dfc",
+X"05537852",
+X"775195e7",
+X"3f797571",
+X"0c5483e0",
+X"80085483",
+X"e0800880",
+X"2e833881",
+X"547383e0",
+X"800c863d",
+X"0d04fe3d",
+X"0d7583e2",
+X"d4085353",
+X"80722489",
+X"3871732e",
+X"8438fdd6",
+X"3f7451fd",
+X"ea3f7251",
+X"97ac3f83",
+X"e0800852",
+X"83e08008",
+X"802e8338",
+X"81527183",
+X"e0800c84",
+X"3d0d0480",
+X"3d0d7280",
+X"c0110883",
+X"e0800c51",
+X"823d0d04",
+X"803d0d72",
+X"bc110883",
+X"e0800c51",
+X"823d0d04",
+X"80c40b83",
+X"e0800c04",
+X"fd3d0d75",
+X"77715470",
+X"5355539f",
+X"9a3f82c8",
+X"1308bc15",
+X"0c82c013",
+X"0880c015",
+X"0cfceb3f",
+X"735193a9",
+X"3f7383e0",
+X"b00c83e0",
+X"80085383",
+X"e0800880",
+X"2e833881",
+X"537283e0",
+X"800c853d",
+X"0d04fd3d",
+X"0d757755",
+X"53fcbf3f",
+X"72802ea5",
+X"38bc1308",
+X"5273519e",
+X"a43f83e0",
+X"80088f38",
+X"77527251",
+X"ff9a3f83",
+X"e0800853",
+X"8a3982cc",
+X"130853d8",
+X"39815372",
+X"83e0800c",
+X"853d0d04",
+X"fe3d0dff",
+X"0b83e2d4",
+X"0c7483e0",
+X"b40c7583",
+X"e2d00cb4",
+X"c13f83e0",
+X"800881ff",
+X"06528153",
+X"71993883",
+X"e2ec518e",
+X"933f83e0",
+X"80085283",
+X"e0800880",
+X"2e833872",
+X"52715372",
+X"83e0800c",
+X"843d0d04",
+X"fa3d0d78",
+X"7a82c412",
+X"0882c412",
+X"08707224",
+X"59565657",
+X"5773732e",
+X"09810691",
+X"3880c016",
+X"5280c017",
+X"519c953f",
+X"83e08008",
+X"557483e0",
+X"800c883d",
+X"0d04f63d",
+X"0d7c5b80",
+X"7b715c54",
+X"577a772e",
+X"8c38811a",
+X"82cc1408",
+X"545a72f6",
+X"38805980",
+X"d9397a54",
+X"81578070",
+X"7b7b315a",
+X"5755ff18",
+X"53747325",
+X"80c13882",
+X"cc140852",
+X"7351ff8c",
+X"3f800b83",
+X"e0800825",
+X"a13882cc",
+X"140882cc",
+X"110882cc",
+X"160c7482",
+X"cc120c53",
+X"75802e86",
+X"387282cc",
+X"170c7254",
+X"80577382",
+X"cc150881",
+X"17575556",
+X"ffb83981",
+X"1959800b",
+X"ff1b5454",
+X"78732583",
+X"38815476",
+X"81327075",
+X"06515372",
+X"ff90388c",
+X"3d0d04f7",
+X"3d0d7b7d",
+X"5a5a82d0",
+X"5283e2d0",
+X"0851b489",
+X"3f83e080",
+X"0857f9e2",
+X"3f795283",
+X"e2d85195",
+X"b43f83e0",
+X"80085480",
+X"5383e080",
+X"08732e09",
+X"81068283",
+X"3883e0b4",
+X"080b0b80",
+X"dfb45370",
+X"52569bd3",
+X"3f0b0b80",
+X"dfb45280",
+X"c016519b",
+X"c63f75bc",
+X"170c7382",
+X"c0170c81",
+X"0b82c417",
+X"0c810b82",
+X"c8170c73",
+X"82cc170c",
+X"ff1782d0",
+X"17555781",
+X"913983e0",
+X"c0337082",
+X"2a708106",
+X"51545572",
+X"81803874",
+X"812a8106",
+X"587780f6",
+X"3874842a",
+X"810682c4",
+X"150c83e0",
+X"c0338106",
+X"82c8150c",
+X"79527351",
+X"9aed3f73",
+X"519b843f",
+X"83e08008",
+X"1453af73",
+X"70810555",
+X"3472bc15",
+X"0c83e0c1",
+X"5272519a",
+X"ce3f83e0",
+X"b80882c0",
+X"150c83e0",
+X"ce5280c0",
+X"14519abb",
+X"3f78802e",
+X"8d387351",
+X"782d83e0",
+X"8008802e",
+X"99387782",
+X"cc150c75",
+X"802e8638",
+X"7382cc17",
+X"0c7382d0",
+X"15ff1959",
+X"55567680",
+X"2e9b3883",
+X"e0b85283",
+X"e2d85194",
+X"aa3f83e0",
+X"80088a38",
+X"83e0c133",
+X"5372fed2",
+X"3878802e",
+X"893883e0",
+X"b40851fc",
+X"b93f83e0",
+X"b4085372",
+X"83e0800c",
+X"8b3d0d04",
+X"ff3d0d80",
+X"527351fd",
+X"b63f833d",
+X"0d04f03d",
+X"0d627052",
+X"54f6913f",
+X"83e08008",
+X"7453873d",
+X"70535555",
+X"f6b13ff7",
+X"913f7351",
+X"d33f6353",
+X"745283e0",
+X"800851fa",
+X"b93f923d",
+X"0d047183",
+X"e0800c04",
+X"80c01283",
+X"e0800c04",
+X"803d0d72",
+X"82c01108",
+X"83e0800c",
+X"51823d0d",
+X"04803d0d",
+X"7282cc11",
+X"0883e080",
+X"0c51823d",
+X"0d04803d",
+X"0d7282c4",
+X"110883e0",
+X"800c5182",
+X"3d0d04f9",
+X"3d0d7983",
+X"e0980857",
+X"57817727",
+X"81963876",
+X"88170827",
+X"818e3875",
+X"33557482",
+X"2e893874",
+X"832eb338",
+X"80fe3974",
+X"54761083",
+X"fe065376",
+X"882a8c17",
+X"08055289",
+X"3dfc0551",
+X"aedd3f83",
+X"e0800880",
+X"df38029d",
+X"0533893d",
+X"3371882b",
+X"07565680",
+X"d1398454",
+X"76822b83",
+X"fc065376",
+X"872a8c17",
+X"08055289",
+X"3dfc0551",
+X"aead3f83",
+X"e08008b0",
+X"38029f05",
+X"33028405",
+X"9e053371",
+X"982b7190",
+X"2b07028c",
+X"059d0533",
+X"70882b72",
+X"078d3d33",
+X"7180ffff",
+X"fe800607",
+X"51525357",
+X"58568339",
+X"81557483",
+X"e0800c89",
+X"3d0d04fb",
+X"3d0d83e0",
+X"9808fe19",
+X"881208fe",
+X"05555654",
+X"80567473",
+X"278d3882",
+X"14337571",
+X"29941608",
+X"05575375",
+X"83e0800c",
+X"873d0d04",
+X"fc3d0d76",
+X"52800b83",
+X"e0980870",
+X"33515253",
+X"70832e09",
+X"81069138",
+X"95123394",
+X"13337198",
+X"2b71902b",
+X"07555551",
+X"9b12339a",
+X"13337188",
+X"2b077407",
+X"83e0800c",
+X"55863d0d",
+X"04fc3d0d",
+X"7683e098",
+X"08555580",
+X"75238815",
+X"08537281",
+X"2e883888",
+X"14087326",
+X"85388152",
+X"b2397290",
+X"38733352",
+X"71832e09",
+X"81068538",
+X"90140853",
+X"728c160c",
+X"72802e8d",
+X"387251fe",
+X"d63f83e0",
+X"80085285",
+X"39901408",
+X"52719016",
+X"0c805271",
+X"83e0800c",
+X"863d0d04",
+X"fa3d0d78",
+X"83e09808",
+X"71228105",
+X"7083ffff",
+X"06575457",
+X"5573802e",
+X"88389015",
+X"08537286",
+X"38835280",
+X"e739738f",
+X"06527180",
+X"da388113",
+X"90160c8c",
+X"15085372",
+X"9038830b",
+X"84172257",
+X"52737627",
+X"80c638bf",
+X"39821633",
+X"ff057484",
+X"2a065271",
+X"b2387251",
+X"fcb13f81",
+X"527183e0",
+X"800827a8",
+X"38835283",
+X"e0800888",
+X"1708279c",
+X"3883e080",
+X"088c160c",
+X"83e08008",
+X"51fdbc3f",
+X"83e08008",
+X"90160c73",
+X"75238052",
+X"7183e080",
+X"0c883d0d",
+X"04f23d0d",
+X"60626458",
+X"5e5b7533",
+X"5574a02e",
+X"09810688",
+X"38811670",
+X"4456ef39",
+X"62703356",
+X"5674af2e",
+X"09810684",
+X"38811643",
+X"800b881c",
+X"0c627033",
+X"5155749f",
+X"2691387a",
+X"51fdd23f",
+X"83e08008",
+X"56807d34",
+X"83813993",
+X"3d841c08",
+X"7058595f",
+X"8a55a076",
+X"70810558",
+X"34ff1555",
+X"74ff2e09",
+X"8106ef38",
+X"80705a5c",
+X"887f085f",
+X"5a7b811d",
+X"7081ff06",
+X"60137033",
+X"70af3270",
+X"30a07327",
+X"71802507",
+X"5151525b",
+X"535e5755",
+X"7480e738",
+X"76ae2e09",
+X"81068338",
+X"8155787a",
+X"27750755",
+X"74802e9f",
+X"38798832",
+X"703078ae",
+X"32703070",
+X"73079f2a",
+X"53515751",
+X"5675bb38",
+X"88598b5a",
+X"ffab3976",
+X"982b5574",
+X"80258738",
+X"80dce817",
+X"3357ff9f",
+X"17557499",
+X"268938e0",
+X"177081ff",
+X"06585578",
+X"811a7081",
+X"ff06721b",
+X"535b5755",
+X"767534fe",
+X"f8397b1e",
+X"7f0c8055",
+X"76a02683",
+X"38815574",
+X"8b19347a",
+X"51fc823f",
+X"83e08008",
+X"80f538a0",
+X"547a2270",
+X"852b83e0",
+X"06545590",
+X"1b08527c",
+X"51a8e83f",
+X"83e08008",
+X"5783e080",
+X"08818138",
+X"7c335574",
+X"802e80f4",
+X"388b1d33",
+X"70832a70",
+X"81065156",
+X"5674b438",
+X"8b7d841d",
+X"0883e080",
+X"08595b5b",
+X"58ff1858",
+X"77ff2e9a",
+X"38797081",
+X"055b3379",
+X"7081055b",
+X"33717131",
+X"52565675",
+X"802ee238",
+X"86397580",
+X"2e96387a",
+X"51fbe53f",
+X"ff863983",
+X"e0800856",
+X"83e08008",
+X"b6388339",
+X"7656841b",
+X"088b1133",
+X"515574a7",
+X"388b1d33",
+X"70842a70",
+X"81065156",
+X"56748938",
+X"83569439",
+X"81569039",
+X"7c51fa94",
+X"3f83e080",
+X"08881c0c",
+X"fd813975",
+X"83e0800c",
+X"903d0d04",
+X"f83d0d7a",
+X"7c595782",
+X"5483fe53",
+X"77527651",
+X"a7ad3f83",
+X"5683e080",
+X"0880ec38",
+X"81173377",
+X"3371882b",
+X"07565682",
+X"567482d4",
+X"d52e0981",
+X"0680d438",
+X"7554b653",
+X"77527651",
+X"a7813f83",
+X"e0800898",
+X"38811733",
+X"77337188",
+X"2b0783e0",
+X"80085256",
+X"56748182",
+X"c62eac38",
+X"825480d2",
+X"53775276",
+X"51a6d83f",
+X"83e08008",
+X"98388117",
+X"33773371",
+X"882b0783",
+X"e0800852",
+X"56567481",
+X"82c62e83",
+X"38815675",
+X"83e0800c",
+X"8a3d0d04",
+X"eb3d0d67",
+X"5a800b83",
+X"e0980ca6",
+X"8d3f83e0",
+X"80088106",
+X"55825674",
+X"83ee3874",
+X"75538f3d",
+X"70535759",
+X"feca3f83",
+X"e0800881",
+X"ff065776",
+X"812e0981",
+X"0680d438",
+X"905483be",
+X"53745275",
+X"51a5ec3f",
+X"83e08008",
+X"80c9388f",
+X"3d335574",
+X"802e80c9",
+X"3802bf05",
+X"33028405",
+X"be053371",
+X"982b7190",
+X"2b07028c",
+X"05bd0533",
+X"70882b72",
+X"07953d33",
+X"71077058",
+X"7b575e52",
+X"5e575957",
+X"fdee3f83",
+X"e0800881",
+X"ff065776",
+X"832e0981",
+X"06863881",
+X"5682f139",
+X"76802e86",
+X"38865682",
+X"e739a454",
+X"8d537852",
+X"7551a583",
+X"3f815683",
+X"e0800882",
+X"d33802be",
+X"05330284",
+X"05bd0533",
+X"71882b07",
+X"595d77ab",
+X"380280ce",
+X"05330284",
+X"0580cd05",
+X"3371982b",
+X"71902b07",
+X"973d3370",
+X"882b7207",
+X"02940580",
+X"cb053371",
+X"0754525e",
+X"57595602",
+X"b7053378",
+X"71290288",
+X"05b60533",
+X"028c05b5",
+X"05337188",
+X"2b07701d",
+X"707f8c05",
+X"0c5f5957",
+X"595d8e3d",
+X"33821b34",
+X"02b90533",
+X"903d3371",
+X"882b075a",
+X"5c78841b",
+X"2302bb05",
+X"33028405",
+X"ba053371",
+X"882b0756",
+X"5c74ab38",
+X"0280ca05",
+X"33028405",
+X"80c90533",
+X"71982b71",
+X"902b0796",
+X"3d337088",
+X"2b720702",
+X"940580c7",
+X"05337107",
+X"51525357",
+X"5e5c7476",
+X"31783179",
+X"842a903d",
+X"33547171",
+X"31535656",
+X"a4ef3f83",
+X"e0800882",
+X"0570881c",
+X"0c83e080",
+X"08e08a05",
+X"56567483",
+X"dffe2683",
+X"38825783",
+X"fff67627",
+X"85388357",
+X"89398656",
+X"76802e80",
+X"db38767a",
+X"3476832e",
+X"098106b0",
+X"380280d6",
+X"05330284",
+X"0580d505",
+X"3371982b",
+X"71902b07",
+X"993d3370",
+X"882b7207",
+X"02940580",
+X"d3053371",
+X"077f9005",
+X"0c525e57",
+X"58568639",
+X"771b901b",
+X"0c841a22",
+X"8c1b0819",
+X"71842a05",
+X"941c0c5d",
+X"800b811b",
+X"347983e0",
+X"980c8056",
+X"7583e080",
+X"0c973d0d",
+X"04e93d0d",
+X"83e09808",
+X"56855475",
+X"802e8182",
+X"38800b81",
+X"1734993d",
+X"e011466a",
+X"548a3d70",
+X"5458ec05",
+X"51f6e63f",
+X"83e08008",
+X"5483e080",
+X"0880df38",
+X"893d3354",
+X"73802e91",
+X"3802ab05",
+X"3370842a",
+X"81065155",
+X"74802e86",
+X"38835480",
+X"c1397651",
+X"f48a3f83",
+X"e08008a0",
+X"170c02bf",
+X"05330284",
+X"05be0533",
+X"71982b71",
+X"902b0702",
+X"8c05bd05",
+X"3370882b",
+X"7207953d",
+X"3371079c",
+X"1c0c5278",
+X"981b0c53",
+X"56595781",
+X"0b811734",
+X"74547383",
+X"e0800c99",
+X"3d0d04f5",
+X"3d0d7d7f",
+X"617283e0",
+X"98085a5d",
+X"5d595c80",
+X"7b0c8557",
+X"75802e81",
+X"e0388116",
+X"33810655",
+X"84577480",
+X"2e81d238",
+X"91397481",
+X"17348639",
+X"800b8117",
+X"34815781",
+X"c0399c16",
+X"08981708",
+X"31557478",
+X"27833874",
+X"5877802e",
+X"81a93898",
+X"16087083",
+X"ff065657",
+X"7480cf38",
+X"821633ff",
+X"0577892a",
+X"067081ff",
+X"065a5578",
+X"a0387687",
+X"38a01608",
+X"558d39a4",
+X"160851f0",
+X"ea3f83e0",
+X"80085581",
+X"7527ffa8",
+X"3874a417",
+X"0ca41608",
+X"51f2843f",
+X"83e08008",
+X"5583e080",
+X"08802eff",
+X"893883e0",
+X"800819a8",
+X"170c9816",
+X"0883ff06",
+X"84807131",
+X"51557775",
+X"27833877",
+X"557483ff",
+X"ff065498",
+X"160883ff",
+X"0653a816",
+X"08527957",
+X"7b83387b",
+X"5776519f",
+X"aa3f83e0",
+X"8008fed0",
+X"38981608",
+X"1598170c",
+X"741a7876",
+X"317c0817",
+X"7d0c595a",
+X"fed33980",
+X"577683e0",
+X"800c8d3d",
+X"0d04fa3d",
+X"0d7883e0",
+X"98085556",
+X"85557380",
+X"2e81e138",
+X"81143381",
+X"06538455",
+X"72802e81",
+X"d3389c14",
+X"08537276",
+X"27833872",
+X"56981408",
+X"57800b98",
+X"150c7580",
+X"2e81b738",
+X"82143370",
+X"892b5653",
+X"76802eb5",
+X"387452ff",
+X"16519ff1",
+X"3f83e080",
+X"08ff1876",
+X"54705358",
+X"539fe23f",
+X"83e08008",
+X"73269638",
+X"74307078",
+X"06709817",
+X"0c777131",
+X"a4170852",
+X"58515389",
+X"39a01408",
+X"70a4160c",
+X"53747627",
+X"b9387251",
+X"eed93f83",
+X"e0800853",
+X"810b83e0",
+X"8008278b",
+X"38881408",
+X"83e08008",
+X"26883880",
+X"0b811534",
+X"b03983e0",
+X"8008a415",
+X"0c981408",
+X"1598150c",
+X"75753156",
+X"c4399814",
+X"08167098",
+X"160c7352",
+X"56efc83f",
+X"83e08008",
+X"8c3883e0",
+X"80088115",
+X"34815594",
+X"39821433",
+X"ff057689",
+X"2a0683e0",
+X"800805a8",
+X"150c8055",
+X"7483e080",
+X"0c883d0d",
+X"04ef3d0d",
+X"63568555",
+X"83e09808",
+X"802e80d2",
+X"38933df4",
+X"0584170c",
+X"6453883d",
+X"70537652",
+X"57f1d23f",
+X"83e08008",
+X"5583e080",
+X"08b43888",
+X"3d335473",
+X"802ea138",
+X"02a70533",
+X"70842a70",
+X"81065155",
+X"55835573",
+X"802e9738",
+X"7651eef8",
+X"3f83e080",
+X"0888170c",
+X"7551efa9",
+X"3f83e080",
+X"08557483",
+X"e0800c93",
+X"3d0d04e4",
+X"3d0d6ea1",
+X"3d08405e",
+X"855683e0",
+X"9808802e",
+X"8485389e",
+X"3df40584",
+X"1f0c7e98",
+X"387d51ee",
+X"f83f83e0",
+X"80085683",
+X"ee398141",
+X"81f63983",
+X"4181f139",
+X"933d7f96",
+X"05415980",
+X"7f829505",
+X"5e567560",
+X"81ff0534",
+X"8341901e",
+X"08762e81",
+X"d338a054",
+X"7d227085",
+X"2b83e006",
+X"5458901e",
+X"08527851",
+X"9bb53f83",
+X"e0800841",
+X"83e08008",
+X"ffb83878",
+X"335c7b80",
+X"2effb438",
+X"8b193370",
+X"bf067181",
+X"06524355",
+X"74802e80",
+X"de387b81",
+X"bf065574",
+X"8f2480d3",
+X"389a1933",
+X"557480cb",
+X"38f31d70",
+X"585d8156",
+X"758b2e09",
+X"81068538",
+X"8e568b39",
+X"759a2e09",
+X"81068338",
+X"9c567519",
+X"70708105",
+X"52337133",
+X"811a821a",
+X"5f5b525b",
+X"55748638",
+X"79773485",
+X"3980df77",
+X"34777b57",
+X"577aa02e",
+X"098106c0",
+X"3881567b",
+X"81e53270",
+X"30709f2a",
+X"5151557b",
+X"ae2e9338",
+X"74802e8e",
+X"3861832a",
+X"70810651",
+X"5574802e",
+X"97387d51",
+X"ede23f83",
+X"e0800841",
+X"83e08008",
+X"8738901e",
+X"08feaf38",
+X"80603475",
+X"802e8838",
+X"7c527f51",
+X"83a53f60",
+X"802e8638",
+X"800b901f",
+X"0c605660",
+X"832e8538",
+X"6081d038",
+X"891f5790",
+X"1e08802e",
+X"81a83880",
+X"56751970",
+X"33515574",
+X"a02ea038",
+X"74852e09",
+X"81068438",
+X"81e55574",
+X"77708105",
+X"59348116",
+X"7081ff06",
+X"57558776",
+X"27d73888",
+X"19335574",
+X"a02ea938",
+X"ae777081",
+X"05593488",
+X"56751970",
+X"33515574",
+X"a02e9538",
+X"74777081",
+X"05593481",
+X"167081ff",
+X"0657558a",
+X"7627e238",
+X"8b19337f",
+X"8805349f",
+X"19339e1a",
+X"3371982b",
+X"71902b07",
+X"9d1c3370",
+X"882b7207",
+X"9c1e3371",
+X"07640c52",
+X"991d3398",
+X"1e337188",
+X"2b075351",
+X"53575956",
+X"747f8405",
+X"23971933",
+X"961a3371",
+X"882b0756",
+X"56747f86",
+X"05238077",
+X"347d51eb",
+X"f33f83e0",
+X"80088332",
+X"70307072",
+X"079f2c83",
+X"e0800806",
+X"52565696",
+X"1f335574",
+X"8a38891f",
+X"52961f51",
+X"81b13f75",
+X"83e0800c",
+X"9e3d0d04",
+X"fd3d0d75",
+X"77535473",
+X"33517089",
+X"38713351",
+X"70802ea1",
+X"38733372",
+X"33525372",
+X"71278538",
+X"ff519439",
+X"70732785",
+X"3881518b",
+X"39811481",
+X"135354d3",
+X"39805170",
+X"83e0800c",
+X"853d0d04",
+X"fd3d0d75",
+X"77545472",
+X"337081ff",
+X"06525270",
+X"802ea338",
+X"7181ff06",
+X"8114ffbf",
+X"12535452",
+X"70992689",
+X"38a01270",
+X"81ff0653",
+X"51717470",
+X"81055634",
+X"d2398074",
+X"34853d0d",
+X"04ffbd3d",
+X"0d80c63d",
+X"0852a53d",
+X"705254ff",
+X"b33f80c7",
+X"3d085285",
+X"3d705253",
+X"ffa63f72",
+X"527351fe",
+X"df3f80c5",
+X"3d0d04fe",
+X"3d0d7476",
+X"53537170",
+X"81055333",
+X"51707370",
+X"81055534",
+X"70f03884",
+X"3d0d04fe",
+X"3d0d7452",
+X"80723352",
+X"5370732e",
+X"8d388112",
+X"81147133",
+X"53545270",
+X"f5387283",
+X"e0800c84",
+X"3d0d0471",
+X"83e39c0c",
+X"8880800b",
+X"83e3980c",
+X"8480800b",
+X"83e3a00c",
+X"04f03d0d",
+X"83808056",
+X"83e39c08",
+X"1683e398",
+X"08175654",
+X"74337434",
+X"83e3a008",
+X"16548074",
+X"34811656",
+X"758380a0",
+X"2e098106",
+X"db3883d0",
+X"805683e3",
+X"9c081683",
+X"e3980817",
+X"56547433",
+X"743483e3",
+X"a0081654",
+X"80743481",
+X"16567583",
+X"d0a02e09",
+X"8106db38",
+X"83a88056",
+X"83e39c08",
+X"1683e398",
+X"08175654",
+X"74337434",
+X"83e3a008",
+X"16548074",
+X"34811656",
+X"7583a890",
+X"2e098106",
+X"db388056",
+X"83e39c08",
+X"1683e3a0",
+X"08175555",
+X"73337534",
+X"81165675",
+X"8180802e",
+X"098106e4",
+X"3886fe3f",
+X"893d58a2",
+X"5380dee8",
+X"5277519d",
+X"833f8057",
+X"8c805683",
+X"e3a00816",
+X"77195555",
+X"73337534",
+X"81168118",
+X"585676a2",
+X"2e098106",
+X"e638860b",
+X"87a88334",
+X"800b87a8",
+X"8234800b",
+X"87809a34",
+X"af0b8780",
+X"9634bf0b",
+X"87809734",
+X"800b8780",
+X"98349f0b",
+X"87809934",
+X"800b8780",
+X"9b34f80b",
+X"87a88934",
+X"7687a880",
+X"34820b87",
+X"d08f3482",
+X"0b87a881",
+X"34923d0d",
+X"04fe3d0d",
+X"805383e3",
+X"a0081383",
+X"e39c0814",
+X"52527033",
+X"72348113",
+X"53728180",
+X"802e0981",
+X"06e43883",
+X"80805383",
+X"e3a00813",
+X"83e39c08",
+X"14525270",
+X"33723481",
+X"13537283",
+X"80a02e09",
+X"8106e438",
+X"83d08053",
+X"83e3a008",
+X"1383e39c",
+X"08145252",
+X"70337234",
+X"81135372",
+X"83d0a02e",
+X"098106e4",
+X"3883a880",
+X"5383e3a0",
+X"081383e3",
+X"9c081452",
+X"52703372",
+X"34811353",
+X"7283a890",
+X"2e098106",
+X"e438843d",
+X"0d04803d",
+X"0d908090",
+X"08810683",
+X"e0800c82",
+X"3d0d04ff",
+X"3d0d9080",
+X"90700870",
+X"fe067607",
+X"720c5252",
+X"833d0d04",
+X"803d0d90",
+X"80900870",
+X"812c8106",
+X"83e0800c",
+X"51823d0d",
+X"04ff3d0d",
+X"90809070",
+X"0870fd06",
+X"76100772",
+X"0c525283",
+X"3d0d0480",
+X"3d0d9080",
+X"90087082",
+X"2cbf0683",
+X"e0800c51",
+X"823d0d04",
+X"ff3d0d90",
+X"80907008",
+X"70fe8306",
+X"76822b07",
+X"720c5252",
+X"833d0d04",
+X"803d0d90",
+X"80900870",
+X"882c8706",
+X"83e0800c",
+X"51823d0d",
+X"04ff3d0d",
+X"90809070",
+X"0870f1ff",
+X"0676882b",
+X"07720c52",
+X"52833d0d",
+X"04803d0d",
+X"90809008",
+X"708b2cbf",
+X"0683e080",
+X"0c51823d",
+X"0d04ff3d",
+X"0d908090",
+X"700870f8",
+X"8fff0676",
+X"8b2b0772",
+X"0c525283",
+X"3d0d0480",
+X"3d0d9080",
+X"90087091",
+X"2cbf0683",
+X"e0800c51",
+X"823d0d04",
+X"ff3d0d90",
+X"80907008",
+X"70fc87ff",
+X"ff067691",
+X"2b07720c",
+X"5252833d",
+X"0d04803d",
+X"0d908090",
+X"0870992c",
+X"810683e0",
+X"800c5182",
+X"3d0d04ff",
+X"3d0d9080",
+X"90700870",
+X"ffbf0a06",
+X"76992b07",
+X"720c5252",
+X"833d0d04",
+X"803d0d90",
+X"80800870",
+X"882c8106",
+X"83e0800c",
+X"51823d0d",
+X"04803d0d",
+X"90808008",
+X"70892c81",
+X"0683e080",
+X"0c51823d",
+X"0d04803d",
+X"0d908080",
+X"08708a2c",
+X"810683e0",
+X"800c5182",
+X"3d0d0480",
+X"3d0d9080",
+X"8008708b",
+X"2c810683",
+X"e0800c51",
+X"823d0d04",
+X"fe3d0d74",
+X"81e62987",
+X"2a9080a0",
+X"0c843d0d",
+X"04fe3d0d",
+X"7575ff19",
+X"53535370",
+X"ff2e8d38",
+X"72727081",
+X"055434ff",
+X"1151f039",
+X"843d0d04",
+X"fe3d0d75",
+X"75ff1953",
+X"535370ff",
+X"2e8d3872",
+X"72708405",
+X"540cff11",
+X"51f03984",
+X"3d0d04fe",
+X"3d0d8180",
+X"80538052",
+X"88800a51",
+X"ffb33fa0",
+X"80538052",
+X"82800a51",
+X"c73f843d",
+X"0d04803d",
+X"0d8151fc",
+X"923f7280",
+X"2e903880",
+X"51fe943f",
+X"ce3f80e1",
+X"f43351fe",
+X"8a3f8151",
+X"fca33f80",
+X"51fc9e3f",
+X"8051fbef",
+X"3f823d0d",
+X"04fd3d0d",
+X"75528054",
+X"80ff7225",
+X"8838810b",
+X"ff801353",
+X"54ffbf12",
+X"51709926",
+X"8638e012",
+X"529e39ff",
+X"9f125199",
+X"71279538",
+X"d012e013",
+X"70545451",
+X"89712788",
+X"388f7327",
+X"83388052",
+X"73802e85",
+X"38818012",
+X"527181ff",
+X"0683e080",
+X"0c853d0d",
+X"04803d0d",
+X"84d8c051",
+X"80717081",
+X"05533470",
+X"84e0c02e",
+X"098106f0",
+X"38823d0d",
+X"04fe3d0d",
+X"02970533",
+X"51ff863f",
+X"83e08008",
+X"81ff0683",
+X"e3a80854",
+X"52807324",
+X"9b3883e3",
+X"c8081372",
+X"83e3cc08",
+X"07535371",
+X"733483e3",
+X"a8088105",
+X"83e3a80c",
+X"843d0d04",
+X"fa3d0d82",
+X"800a1b55",
+X"8057883d",
+X"fc055479",
+X"53745278",
+X"51d5df3f",
+X"883d0d04",
+X"fe3d0d83",
+X"e3c00852",
+X"7451dcc2",
+X"3f83e080",
+X"088c3876",
+X"53755283",
+X"e3c00851",
+X"c73f843d",
+X"0d04fe3d",
+X"0d83e3c0",
+X"08537552",
+X"7451d782",
+X"3f83e080",
+X"088d3877",
+X"53765283",
+X"e3c00851",
+X"ffa23f84",
+X"3d0d04fd",
+X"3d0d83e3",
+X"c00851d5",
+X"f63f83e0",
+X"80089080",
+X"2e098106",
+X"ad388054",
+X"83c18080",
+X"5383e080",
+X"085283e3",
+X"c00851fe",
+X"f33f87c1",
+X"80801433",
+X"87c19080",
+X"15348114",
+X"54739080",
+X"2e098106",
+X"e938853d",
+X"0d0480df",
+X"e80b83e0",
+X"800c04f7",
+X"3d0d805a",
+X"80598058",
+X"80705757",
+X"fde73f80",
+X"0b83e3a8",
+X"0c800b83",
+X"e3cc0c80",
+X"dfec51d0",
+X"db3f8180",
+X"0b83e3cc",
+X"0c80dff0",
+X"51d0cd3f",
+X"80d00b83",
+X"e3a80c75",
+X"30707707",
+X"80257087",
+X"2b83e3cc",
+X"0c5154f9",
+X"823f83e0",
+X"80085280",
+X"dff851d0",
+X"a73f80f8",
+X"0b83e3a8",
+X"0c758132",
+X"70307072",
+X"07802570",
+X"872b83e3",
+X"cc0c5155",
+X"55ff833f",
+X"83e08008",
+X"5280e084",
+X"51cffd3f",
+X"81a00b83",
+X"e3a80c75",
+X"82327030",
+X"70720780",
+X"2570872b",
+X"83e3cc0c",
+X"515583e3",
+X"c0085255",
+X"d1973f83",
+X"e0800852",
+X"80e08c51",
+X"cfce3f81",
+X"c80b83e3",
+X"a80c7583",
+X"32703070",
+X"72078025",
+X"70872b83",
+X"e3cc0c51",
+X"5580e094",
+X"5255cfac",
+X"3f81f00b",
+X"83e3a80c",
+X"75843270",
+X"30707207",
+X"80257087",
+X"2b83e3cc",
+X"0c515580",
+X"e0a45255",
+X"cf8a3f82",
+X"980b83e3",
+X"a80c7585",
+X"32703070",
+X"72078025",
+X"70872b83",
+X"e3cc0c51",
+X"5580e0bc",
+X"5255cee8",
+X"3f82c00b",
+X"83e3a80c",
+X"75863270",
+X"30707207",
+X"80257087",
+X"2b83e3cc",
+X"0c515580",
+X"e0d45255",
+X"cec63f86",
+X"8da051f9",
+X"c73f8052",
+X"883d7052",
+X"5487dc3f",
+X"83527351",
+X"87d53f78",
+X"16567580",
+X"25853880",
+X"56903986",
+X"76258538",
+X"86568739",
+X"75862682",
+X"db387584",
+X"2980df8c",
+X"05547308",
+X"04f6d43f",
+X"83e08008",
+X"78565474",
+X"812e0981",
+X"06893883",
+X"e0800810",
+X"54903974",
+X"ff2e0981",
+X"06883883",
+X"e0800881",
+X"2c549074",
+X"25853890",
+X"54883973",
+X"80248338",
+X"81547351",
+X"f6ae3f82",
+X"8f39f6c0",
+X"3f83e080",
+X"08185473",
+X"80258538",
+X"80548839",
+X"87742583",
+X"38875473",
+X"51f6ba3f",
+X"81ee3977",
+X"87387980",
+X"2e81e538",
+X"83e0a408",
+X"83e0a00c",
+X"8bdf0b83",
+X"e0a80c83",
+X"e3c00851",
+X"ffbfe63f",
+X"fbb53f81",
+X"c7397980",
+X"2e81c138",
+X"83e09c08",
+X"83e0a00c",
+X"8bdf0b83",
+X"e0a80c83",
+X"e3bc0851",
+X"ffbfc23f",
+X"75832e09",
+X"81069438",
+X"81808053",
+X"82808052",
+X"83e3bc08",
+X"51fa993f",
+X"81873975",
+X"842e0981",
+X"06af3882",
+X"80805381",
+X"80805283",
+X"e3bc0851",
+X"f9fe3f80",
+X"54848280",
+X"80143384",
+X"81808015",
+X"34811454",
+X"73818080",
+X"2e098106",
+X"e83880d1",
+X"3975852e",
+X"09810680",
+X"c8388054",
+X"81808053",
+X"80c08052",
+X"83e3bc08",
+X"51f9c53f",
+X"82808053",
+X"80c08052",
+X"83e3bc08",
+X"51f9b53f",
+X"84818080",
+X"14338481",
+X"c0801534",
+X"84828080",
+X"14338482",
+X"c0801534",
+X"81145473",
+X"80c0802e",
+X"098106dc",
+X"3881548c",
+X"39798738",
+X"76802efa",
+X"c3388054",
+X"7383e080",
+X"0c8b3d0d",
+X"04ff3d0d",
+X"f5d63f83",
+X"e0800880",
+X"2e863880",
+X"5180dd39",
+X"f5db3f83",
+X"e0800880",
+X"d138f5fb",
+X"3f83e080",
+X"08802eaa",
+X"388151f3",
+X"8a3fefd1",
+X"3f800b83",
+X"e3a80cf9",
+X"f23f83e0",
+X"800852ff",
+X"0b83e3a8",
+X"0cf1d63f",
+X"71a43871",
+X"51f2e83f",
+X"a239f5b2",
+X"3f83e080",
+X"08802e97",
+X"388151f2",
+X"d63fef9d",
+X"3fff0b83",
+X"e3a80cf1",
+X"b03f8151",
+X"f6ac3f83",
+X"3d0d04fc",
+X"3d0d9080",
+X"80528684",
+X"808051cf",
+X"ff3f83e0",
+X"8008b838",
+X"80e1f851",
+X"d4c23f83",
+X"e0800883",
+X"e3c00854",
+X"80e0e053",
+X"83e08008",
+X"5255cf9e",
+X"3f83e080",
+X"088438f8",
+X"aa3f8180",
+X"80548280",
+X"805380e0",
+X"dc527451",
+X"f7f43f81",
+X"51f5d73f",
+X"feb73ffc",
+X"3983e08c",
+X"080283e0",
+X"8c0cfb3d",
+X"0d0280e0",
+X"ec0b83e0",
+X"a40c80e0",
+X"f00b83e0",
+X"9c0c80e0",
+X"f40b83e0",
+X"ac0c83e0",
+X"8c08fc05",
+X"0c800b83",
+X"e3ac0b83",
+X"e08c08f8",
+X"050c83e0",
+X"8c08f405",
+X"0ccded3f",
+X"83e08008",
+X"8605fc06",
+X"83e08c08",
+X"f0050c02",
+X"83e08c08",
+X"f0050831",
+X"0d833d70",
+X"83e08c08",
+X"f8050870",
+X"840583e0",
+X"8c08f805",
+X"0c0c51ca",
+X"b63f83e0",
+X"8c08f405",
+X"08810583",
+X"e08c08f4",
+X"050c83e0",
+X"8c08f405",
+X"08872e09",
+X"8106ffad",
+X"38869480",
+X"8051ed83",
+X"3fff0b83",
+X"e3a80c80",
+X"0b83e3cc",
+X"0c84d8c0",
+X"0b83e3c8",
+X"0c8151f0",
+X"b63f8151",
+X"f0db3f80",
+X"51f0d63f",
+X"8151f0fc",
+X"3f8151f1",
+X"d13f8251",
+X"f19f3f80",
+X"51f1f53f",
+X"8051f29f",
+X"3f80c6c5",
+X"528051c7",
+X"f03ffdc7",
+X"3f83e08c",
+X"08fc0508",
+X"0d800b83",
+X"e0800c87",
+X"3d0d83e0",
+X"8c0c04fd",
+X"3d0d7554",
+X"80740c80",
+X"0b84150c",
+X"800b8815",
+X"0c87d089",
+X"3387d08f",
+X"3370822a",
+X"70810670",
+X"30707207",
+X"7009709f",
+X"2c77069e",
+X"06545151",
+X"55515153",
+X"53807298",
+X"06525370",
+X"882e0981",
+X"06833881",
+X"53709832",
+X"70307080",
+X"25757131",
+X"84180c51",
+X"51518072",
+X"86065253",
+X"70822e09",
+X"81068338",
+X"81537086",
+X"32703070",
+X"80257571",
+X"31770c51",
+X"51517194",
+X"32703070",
+X"80258817",
+X"0c515185",
+X"3d0d04fe",
+X"3d0d7476",
+X"54527151",
+X"feed3f72",
+X"812ea238",
+X"8173268d",
+X"3872822e",
+X"ab387283",
+X"2e9f38e6",
+X"397108e2",
+X"38841208",
+X"dd388812",
+X"08d838a0",
+X"39881208",
+X"812e0981",
+X"06cc3894",
+X"39881208",
+X"812e8d38",
+X"71088938",
+X"84120880",
+X"2effb738",
+X"843d0d04",
+X"ff3d0d73",
+X"527183e3",
+X"d4082ea6",
+X"3871a00a",
+X"0790809c",
+X"0c90808c",
+X"08517080",
+X"2ef73880",
+X"0b90809c",
+X"0c90808c",
+X"085170f9",
+X"387183e3",
+X"d40c833d",
+X"0d04ff0b",
+X"83e3d40c",
+X"8180800b",
+X"83e3d00c",
+X"800b83e0",
+X"800c04fc",
+X"3d0d7602",
+X"8405a205",
+X"22028805",
+X"a605227a",
+X"54555555",
+X"ff9e3f72",
+X"802ea338",
+X"83e3d008",
+X"14527133",
+X"75708105",
+X"57348114",
+X"7083ffff",
+X"06ff1570",
+X"83ffff06",
+X"56525552",
+X"da39800b",
+X"83e0800c",
+X"863d0d04",
+X"f73d0d7b",
+X"7d7f1158",
+X"55598055",
+X"73762eb1",
+X"3883e3d0",
+X"088b3d59",
+X"57741970",
+X"3375fc06",
+X"1970085d",
+X"7683067b",
+X"07535454",
+X"51727134",
+X"79720c81",
+X"14811656",
+X"5473762e",
+X"098106d9",
+X"38800b83",
+X"e0800c8b",
+X"3d0d0480",
+X"3d0d83e3",
+X"d408900a",
+X"0790809c",
+X"0c90808c",
+X"08517080",
+X"2ef73880",
+X"0b90809c",
+X"0c90808c",
+X"085170f9",
+X"38823d0d",
+X"0483e08c",
+X"080283e0",
+X"8c0cfd3d",
+X"0d805383",
+X"e08c088c",
+X"05085283",
+X"e08c0888",
+X"05085183",
+X"d43f83e0",
+X"80087083",
+X"e0800c54",
+X"853d0d83",
+X"e08c0c04",
+X"83e08c08",
+X"0283e08c",
+X"0cfd3d0d",
+X"815383e0",
+X"8c088c05",
+X"085283e0",
+X"8c088805",
+X"085183a1",
+X"3f83e080",
+X"087083e0",
+X"800c5485",
+X"3d0d83e0",
+X"8c0c0483",
+X"e08c0802",
+X"83e08c0c",
+X"f93d0d80",
+X"0b83e08c",
+X"08fc050c",
+X"83e08c08",
+X"88050880",
+X"25b93883",
+X"e08c0888",
+X"05083083",
+X"e08c0888",
+X"050c800b",
+X"83e08c08",
+X"f4050c83",
+X"e08c08fc",
+X"05088a38",
+X"810b83e0",
+X"8c08f405",
+X"0c83e08c",
+X"08f40508",
+X"83e08c08",
+X"fc050c83",
+X"e08c088c",
+X"05088025",
+X"b93883e0",
+X"8c088c05",
+X"083083e0",
+X"8c088c05",
+X"0c800b83",
+X"e08c08f0",
+X"050c83e0",
+X"8c08fc05",
+X"088a3881",
+X"0b83e08c",
+X"08f0050c",
+X"83e08c08",
+X"f0050883",
+X"e08c08fc",
+X"050c8053",
+X"83e08c08",
+X"8c050852",
+X"83e08c08",
+X"88050851",
+X"81df3f83",
+X"e0800870",
+X"83e08c08",
+X"f8050c54",
+X"83e08c08",
+X"fc050880",
+X"2e903883",
+X"e08c08f8",
+X"05083083",
+X"e08c08f8",
+X"050c83e0",
+X"8c08f805",
+X"087083e0",
+X"800c5489",
+X"3d0d83e0",
+X"8c0c0483",
+X"e08c0802",
+X"83e08c0c",
+X"fb3d0d80",
+X"0b83e08c",
+X"08fc050c",
+X"83e08c08",
+X"88050880",
+X"25993883",
+X"e08c0888",
+X"05083083",
+X"e08c0888",
+X"050c810b",
+X"83e08c08",
+X"fc050c83",
+X"e08c088c",
+X"05088025",
+X"903883e0",
+X"8c088c05",
+X"083083e0",
+X"8c088c05",
+X"0c815383",
+X"e08c088c",
+X"05085283",
+X"e08c0888",
+X"050851bd",
+X"3f83e080",
+X"087083e0",
+X"8c08f805",
+X"0c5483e0",
+X"8c08fc05",
+X"08802e90",
+X"3883e08c",
+X"08f80508",
+X"3083e08c",
+X"08f8050c",
+X"83e08c08",
+X"f8050870",
+X"83e0800c",
+X"54873d0d",
+X"83e08c0c",
+X"0483e08c",
+X"080283e0",
+X"8c0cfd3d",
+X"0d810b83",
+X"e08c08fc",
+X"050c800b",
+X"83e08c08",
+X"f8050c83",
+X"e08c088c",
+X"050883e0",
+X"8c088805",
+X"0827b938",
+X"83e08c08",
+X"fc050880",
+X"2eae3880",
+X"0b83e08c",
+X"088c0508",
+X"24a23883",
+X"e08c088c",
+X"05081083",
+X"e08c088c",
+X"050c83e0",
+X"8c08fc05",
+X"081083e0",
+X"8c08fc05",
+X"0cffb839",
+X"83e08c08",
+X"fc050880",
+X"2e80e138",
+X"83e08c08",
+X"8c050883",
+X"e08c0888",
+X"050826ad",
+X"3883e08c",
+X"08880508",
+X"83e08c08",
+X"8c050831",
+X"83e08c08",
+X"88050c83",
+X"e08c08f8",
+X"050883e0",
+X"8c08fc05",
+X"080783e0",
+X"8c08f805",
+X"0c83e08c",
+X"08fc0508",
+X"812a83e0",
+X"8c08fc05",
+X"0c83e08c",
+X"088c0508",
+X"812a83e0",
+X"8c088c05",
+X"0cff9539",
+X"83e08c08",
+X"90050880",
+X"2e933883",
+X"e08c0888",
+X"05087083",
+X"e08c08f4",
+X"050c5191",
+X"3983e08c",
+X"08f80508",
+X"7083e08c",
+X"08f4050c",
+X"5183e08c",
+X"08f40508",
+X"83e0800c",
+X"853d0d83",
+X"e08c0c04",
+X"83e08c08",
+X"0283e08c",
+X"0cff3d0d",
+X"800b83e0",
+X"8c08fc05",
+X"0c83e08c",
+X"08880508",
+X"8106ff11",
+X"70097083",
+X"e08c088c",
+X"05080683",
+X"e08c08fc",
+X"05081183",
+X"e08c08fc",
+X"050c83e0",
+X"8c088805",
+X"08812a83",
+X"e08c0888",
+X"050c83e0",
+X"8c088c05",
+X"081083e0",
+X"8c088c05",
+X"0c515151",
+X"5183e08c",
+X"08880508",
+X"802e8438",
+X"ffab3983",
+X"e08c08fc",
+X"05087083",
+X"e0800c51",
+X"833d0d83",
+X"e08c0c04",
+X"fc3d0d76",
+X"70797b55",
+X"5555558f",
+X"72278c38",
+X"72750783",
+X"06517080",
+X"2ea938ff",
+X"125271ff",
+X"2e983872",
+X"70810554",
+X"33747081",
+X"055634ff",
+X"125271ff",
+X"2e098106",
+X"ea387483",
+X"e0800c86",
+X"3d0d0474",
+X"51727084",
+X"05540871",
+X"70840553",
+X"0c727084",
+X"05540871",
+X"70840553",
+X"0c727084",
+X"05540871",
+X"70840553",
+X"0c727084",
+X"05540871",
+X"70840553",
+X"0cf01252",
+X"718f26c9",
+X"38837227",
+X"95387270",
+X"84055408",
+X"71708405",
+X"530cfc12",
+X"52718326",
+X"ed387054",
+X"ff813900",
+X"00ffffff",
+X"ff00ffff",
+X"ffff00ff",
+X"ffffff00",
+X"809a9041",
+X"8e418f80",
+X"45454549",
+X"49498e8f",
+X"9092924f",
+X"994f5555",
+X"59999a9b",
+X"9c9d9e9f",
+X"41494f55",
+X"a5a5a6a7",
+X"a8a9aaab",
+X"ac21aeaf",
+X"b0b1b2b3",
+X"b4b5b6b7",
+X"b8b9babb",
+X"bcbdbebf",
+X"c0c1c2c3",
+X"c4c5c6c7",
+X"c8c9cacb",
+X"cccdcecf",
+X"d0d1d2d3",
+X"d4d5d6d7",
+X"d8d9dadb",
+X"dcdddedf",
+X"e0e1e2e3",
+X"e4e5e6e7",
+X"e8e9eaeb",
+X"ecedeeef",
+X"f0f1f2f3",
+X"f4f5f6f7",
+X"f8f9fafb",
+X"fcfdfeff",
+X"70704740",
+X"2c704268",
+X"2c020202",
+X"02020202",
+X"02020202",
+X"02020202",
+X"02020202",
+X"02020241",
+X"00060000",
+X"000025a9",
+X"000025ea",
+X"0000260b",
+X"00002632",
+X"00002632",
+X"00002632",
+X"000026f5",
+X"25732025",
+X"73000000",
+X"20000000",
+X"2e2e0000",
+X"41545200",
+X"58464400",
+X"58455800",
+X"43686f6f",
+X"73652000",
+X"66696c65",
+X"00000000",
+X"4449523a",
+X"00000000",
+X"44495200",
+X"25303278",
+X"00000000",
+X"31364b00",
+X"53650000",
+X"7474696e",
+X"67730000",
+X"54757262",
+X"6f3a2564",
+X"78000000",
+X"52616d3a",
+X"25730000",
+X"526f6d3a",
+X"25730000",
+X"43617274",
+X"72696467",
+X"65203332",
+X"6b000000",
+X"43617274",
+X"72696467",
+X"65203136",
+X"6b206f6e",
+X"65206368",
+X"69700000",
+X"43617274",
+X"72696467",
+X"65203136",
+X"6b207477",
+X"6f206368",
+X"69700000",
+X"45786974",
+X"00000000",
+X"61636964",
+X"35323030",
+X"2e726f6d",
+X"00000000",
+X"524f4d00",
+X"42494e00",
+X"43415200",
+X"00000000",
+X"00000000",
+X"01010008",
+X"02210010",
+X"080d0040",
+X"090a0040",
+X"0a090040",
+X"0b080040",
+X"0c300020",
+X"0d310040",
+X"0e320080",
+X"0f040010",
+X"110c0080",
+X"17330100",
+X"18340200",
+X"1a280010",
+X"1b290020",
+X"1c2a0040",
+X"1d2b0080",
+X"1e2c0100",
+X"1f2d0200",
+X"21380020",
+X"22390040",
+X"233a0080",
+X"243b0100",
+X"253c0200",
+X"28230010",
+X"29020080",
+X"2a030400",
+X"38240200",
+X"00000000",
+X"00000000",
+X"2f617461",
+X"72693830",
+X"302f726f",
+X"6d000000",
+X"2f617461",
+X"72693830",
+X"302f7573",
+X"65720000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000",
+X"00000000"
+
+);
+        signal rdata:std_logic_vector(31 downto 0);
+begin
+        rdata<=ROM(conv_integer(address));
+
+        process(clock)
+        begin
+                if(clock'event and clock='1')then
+                	q<=rdata;
+                end if;
+        end process;
+end syn;
Index: mist_5200_old_sd_interface/build.sh
===================================================================
--- mist_5200_old_sd_interface/build.sh	(nonexistent)
+++ mist_5200_old_sd_interface/build.sh	(revision 232)
@@ -0,0 +1,83 @@
+#!/usr/bin/perl -w
+use strict;
+
+my $wanted_variant = shift @ARGV;
+
+#variants...
+my $NTSC = 0;
+
+my $RGB = 1; # i.e. not scandoubled
+my $VGA = 2;
+
+#Added like this to the generated qsf
+#set_parameter -name TV 1
+
+my %variants = 
+(
+	"NTSC_RGB" =>
+	{
+		"TV" => $NTSC,
+		"SCANDOUBLE" => 0,
+		"VIDEO" => $RGB, 
+		"COMPOSITE_SYNC" => 1
+	},
+	"NTSC_VGA" => 
+	{
+		"TV" => $NTSC,
+		"SCANDOUBLE" => 1,
+		"VIDEO" => $VGA,
+		"COMPOSITE_SYNC" => 0
+	},
+	"NTSC_VGA_CS" => 
+	{
+		"TV" => $NTSC,
+		"SCANDOUBLE" => 1,
+		"VIDEO" => $VGA,
+		"COMPOSITE_SYNC" => 1
+	}
+);
+
+if (not defined $wanted_variant or (not exists $variants{$wanted_variant} and $wanted_variant ne "ALL"))
+{
+	die "Provide variant of ALL or ".join ",",sort keys %variants;
+}
+
+foreach my $variant (sort keys %variants)
+{
+	next if ($wanted_variant ne $variant and $wanted_variant ne "ALL");
+	print "Building $variant\n";
+
+	my $dir = "build_$variant";
+	`rm -rf $dir`;
+	mkdir $dir;
+	`cp atari800core_mist.vhd $dir`;
+	`cp *pll*.* $dir`;
+	`cp *mist_sector*.* $dir`;
+	`cp *.v $dir`;
+	`cp *.vhdl $dir`;
+	`cp zpu_rom.vhdl $dir`;
+	`cp atari800core.sdc $dir`;
+	`mkdir $dir/common`;
+	`mkdir $dir/common/a8core`;
+	`mkdir $dir/common/components`;
+	`mkdir $dir/common/zpu`;
+	`cp ../common/a8core/* ./$dir/common/a8core`;
+	`cp ../common/components/* ./$dir/common/components`;
+	`cp ../common/zpu/* ./$dir/common/zpu`;
+
+	chdir $dir;
+	`../makeqsf ../atari800core.qsf ./common/a8core ./common/components ./common/zpu`;
+
+	foreach my $key (sort keys %{$variants{$variant}})
+	{
+		my $val = $variants{$variant}->{$key};
+		`echo set_parameter -name $key $val >> atari800core.qsf`;
+	}
+
+	`quartus_sh --flow compile atari800core > build.log 2> build.err`;
+
+	`quartus_cpf --convert ../output_file.cof`;
+	
+	chdir "..";
+}
+

Property changes on: mist_5200_old_sd_interface/build.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: mist_5200_old_sd_interface/user_io.v
===================================================================
--- mist_5200_old_sd_interface/user_io.v	(nonexistent)
+++ mist_5200_old_sd_interface/user_io.v	(revision 232)
@@ -0,0 +1,332 @@
+//
+// user_io.v
+//
+// user_io for the MiST board
+// http://code.google.com/p/mist-board/
+//
+// Copyright (c) 2014 Till Harbaum <till@harbaum.org>
+//
+// This source file is free software: you can redistribute it and/or modify
+// it under the terms of the Lesser GNU General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This source file is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
+
+// parameter STRLEN and the actual length of conf_str have to match
+ 
+module user_io #(parameter STRLEN=0) (
+	input [(8*STRLEN)-1:0] conf_str,
+
+	input      		SPI_CLK,
+	input      		SPI_SS_IO,
+	output     		reg SPI_MISO,
+	input      		SPI_MOSI,
+	
+	output reg [5:0] 	joystick_0,
+	output reg [5:0] 	joystick_1,
+	output reg [15:0] joystick_analog_0,
+	output reg [15:0] joystick_analog_1,
+	output [1:0] 		buttons,
+	output [1:0] 		switches,
+
+	output reg [7:0]   status,
+
+	// connection to sd card emulation
+	input [31:0]  sd_lba,
+	input         sd_rd,
+	input         sd_wr,
+	output reg	  sd_ack,
+	input         sd_conf,
+	input         sd_sdhc,
+	output reg [7:0]  sd_dout,
+	output reg	  sd_dout_strobe,
+	input [7:0]   sd_din,
+	output reg 	  sd_din_strobe,
+	
+
+	// ps2 keyboard emulation
+	input 	  		ps2_clk,				// 12-16khz provided by core
+	output	 		ps2_kbd_clk,
+	output reg 		ps2_kbd_data,
+
+	// serial com port 
+	input [7:0]		serial_data,
+	input				serial_strobe
+);
+
+reg [6:0]         sbuf;
+reg [7:0]         cmd;
+reg [2:0] 	      bit_cnt;    // counts bits 0-7 0-7 ...
+reg [7:0]         byte_cnt;   // counts bytes
+reg [5:0]         joystick0;
+reg [5:0]         joystick1;
+reg [3:0] 	      but_sw;
+reg [2:0]         stick_idx;
+
+assign buttons = but_sw[1:0];
+assign switches = but_sw[3:2];
+
+// this variant of user_io is for 8 bit cores (type == a4) only
+wire [7:0] core_type = 8'ha4;
+
+// command byte read by the io controller
+wire [7:0] sd_cmd = { 4'h5, sd_conf, sd_sdhc, sd_wr, sd_rd };
+
+// filter spi clock. the 8 bit gate delay is ~2.5ns in total
+wire [7:0] spi_sck_D = { spi_sck_D[6:0], SPI_CLK } /* synthesis keep */;
+wire spi_sck = (spi_sck && spi_sck_D != 8'h00) || (!spi_sck && spi_sck_D == 8'hff);
+
+// drive MISO only when transmitting core id
+always@(negedge spi_sck or posedge SPI_SS_IO) begin
+	if(SPI_SS_IO == 1) begin
+	   SPI_MISO <= 1'bZ;
+	end else begin
+
+		// first byte returned is always core type, further bytes are 
+		// command dependent
+      if(byte_cnt == 0) begin
+		  SPI_MISO <= core_type[~bit_cnt];
+
+		end else begin
+			// reading serial fifo
+		   if(cmd == 8'h1b) begin
+				// send alternating flag byte and data
+				if(byte_cnt[0]) 	SPI_MISO <= serial_out_status[~bit_cnt];
+				else					SPI_MISO <= serial_out_byte[~bit_cnt];
+			end
+			
+			// reading config string
+		   else if(cmd == 8'h14) begin
+				// returning a byte from string
+				if(byte_cnt < STRLEN + 1)
+					SPI_MISO <= conf_str[{STRLEN - byte_cnt,~bit_cnt}];
+				else
+					SPI_MISO <= 1'b0;
+			end
+			
+			// reading sd card status
+		   else if(cmd == 8'h16) begin
+				if(byte_cnt == 1)
+					SPI_MISO <= sd_cmd[~bit_cnt];
+				else if((byte_cnt >= 2) && (byte_cnt < 6))
+					SPI_MISO <= sd_lba[{5-byte_cnt, ~bit_cnt}];
+				else
+					SPI_MISO <= 1'b0;
+			end
+			
+			// reading sd card write data
+		   else if(cmd == 8'h18)
+				SPI_MISO <= sd_din[~bit_cnt];
+				
+			else
+				SPI_MISO <= 1'b0;
+		end
+   end
+end
+
+// 8 byte fifo to store ps2 bytes
+localparam PS2_FIFO_BITS = 3;
+reg [7:0] ps2_fifo [(2**PS2_FIFO_BITS)-1:0];
+reg [PS2_FIFO_BITS-1:0] ps2_wptr;
+reg [PS2_FIFO_BITS-1:0] ps2_rptr;
+
+// ps2 transmitter state machine
+reg [3:0] ps2_tx_state;
+reg [7:0] ps2_tx_byte;
+reg ps2_parity;
+
+assign ps2_kbd_clk = ps2_clk || (ps2_tx_state == 0);
+
+// ps2 transmitter
+// Takes a byte from the FIFO and sends it in a ps2 compliant serial format.
+reg ps2_r_inc;
+always@(posedge ps2_clk) begin
+	ps2_r_inc <= 1'b0;
+	
+	if(ps2_r_inc)
+		ps2_rptr <= ps2_rptr + 1;
+
+	// transmitter is idle?
+	if(ps2_tx_state == 0) begin
+		// data in fifo present?
+		if(ps2_wptr != ps2_rptr) begin
+			// load tx register from fifo
+			ps2_tx_byte <= ps2_fifo[ps2_rptr];
+			ps2_r_inc <= 1'b1;
+			
+			// reset parity
+			ps2_parity <= 1'b1;
+			
+			// start transmitter
+			ps2_tx_state <= 4'd1;
+
+			// put start bit on data line
+			ps2_kbd_data <= 1'b0;			// start bit is 0
+		end
+	end else begin
+	
+		// transmission of 8 data bits
+		if((ps2_tx_state >= 1)&&(ps2_tx_state < 9)) begin
+			ps2_kbd_data <= ps2_tx_byte[0];			  // data bits
+			ps2_tx_byte[6:0] <= ps2_tx_byte[7:1]; // shift down
+			if(ps2_tx_byte[0]) 
+				ps2_parity <= !ps2_parity;
+		end
+
+		// transmission of parity
+		if(ps2_tx_state == 9)
+			ps2_kbd_data <= ps2_parity;
+			
+		// transmission of stop bit
+		if(ps2_tx_state == 10)
+			ps2_kbd_data <= 1'b1;			// stop bit is 1
+
+		// advance state machine
+		if(ps2_tx_state < 11)
+			ps2_tx_state <= ps2_tx_state + 4'd1;
+		else	
+			ps2_tx_state <= 4'd0;
+	
+	end
+end
+  
+// fifo to receive serial data from core to be forwarded to io controller
+
+// 16 byte fifo to store serial bytes
+localparam SERIAL_OUT_FIFO_BITS = 6;
+reg [7:0] serial_out_fifo [(2**SERIAL_OUT_FIFO_BITS)-1:0];
+reg [SERIAL_OUT_FIFO_BITS-1:0] serial_out_wptr;
+reg [SERIAL_OUT_FIFO_BITS-1:0] serial_out_rptr;
+ 
+wire serial_out_data_available = serial_out_wptr != serial_out_rptr;
+wire [7:0] serial_out_byte = serial_out_fifo[serial_out_rptr] /* synthesis keep */;
+wire [7:0] serial_out_status = { 7'b1000000, serial_out_data_available};
+
+// status[0] is reset signal from io controller and is thus used to flush
+// the fifo
+always @(posedge serial_strobe or posedge status[0]) begin
+	if(status[0] == 1) begin
+		serial_out_wptr <= 0;
+	end else begin 
+		serial_out_fifo[serial_out_wptr] <= serial_data;
+		serial_out_wptr <= serial_out_wptr + 1;
+	end
+end 
+
+always@(negedge spi_sck or posedge status[0]) begin
+	if(status[0] == 1) begin
+		serial_out_rptr <= 0;
+	end else begin
+		if((byte_cnt != 0) && (cmd == 8'h1b)) begin
+			// read last bit -> advance read pointer
+			if((bit_cnt == 7) && !byte_cnt[0] && serial_out_data_available)
+				serial_out_rptr <= serial_out_rptr + 1;
+		end
+	end
+end
+
+// SPI receiver
+always@(posedge spi_sck or posedge SPI_SS_IO) begin
+
+	if(SPI_SS_IO == 1) begin
+	   bit_cnt <= 3'd0;
+	   byte_cnt <= 8'd0;
+		sd_ack <= 1'b0;
+		sd_dout_strobe <= 1'b0;
+		sd_din_strobe <= 1'b0;
+	end else begin
+		sd_dout_strobe <= 1'b0;
+		sd_din_strobe <= 1'b0;
+		
+		sbuf[6:0] <= { sbuf[5:0], SPI_MOSI };
+		bit_cnt <= bit_cnt + 3'd1;
+		if((bit_cnt == 7)&&(byte_cnt != 8'd255)) 
+			byte_cnt <= byte_cnt + 8'd1;
+
+		// finished reading command byte
+      if(bit_cnt == 7) begin
+			if(byte_cnt == 0) begin
+				cmd <= { sbuf, SPI_MOSI};
+			
+				// fetch first byte when sectore FPGA->IO command has been seen
+				if({ sbuf, SPI_MOSI} == 8'h18)
+					sd_din_strobe <= 1'b1;
+					
+				if(({ sbuf, SPI_MOSI} == 8'h17) || ({ sbuf, SPI_MOSI} == 8'h18))
+					sd_ack <= 1'b1;
+					
+			end else begin
+			
+				// buttons and switches
+				if(cmd == 8'h01)
+					but_sw <= { sbuf[2:0], SPI_MOSI }; 
+
+				if(cmd == 8'h02)
+					joystick_0 <= { sbuf[4:0], SPI_MOSI };
+				 
+				if(cmd == 8'h03)
+					joystick_1 <= { sbuf[4:0], SPI_MOSI };
+				 
+				if(cmd == 8'h05) begin
+					// store incoming keyboard bytes in 
+					ps2_fifo[ps2_wptr] <= { sbuf, SPI_MOSI }; 
+					ps2_wptr <= ps2_wptr + 1;
+				end
+				
+				if(cmd == 8'h15)
+					status <= { sbuf[6:0], SPI_MOSI };
+				
+				// send sector IO -> FPGA
+				if(cmd == 8'h17) begin
+					// flag that download begins
+					sd_dout <= { sbuf, SPI_MOSI};
+					sd_dout_strobe <= 1'b1;
+				end
+				
+				// send sector FPGA -> IO
+				if(cmd == 8'h18)
+					sd_din_strobe <= 1'b1;
+				
+				// send SD config IO -> FPGA
+				if(cmd == 8'h19) begin
+					// flag that download begins
+					sd_dout <= { sbuf, SPI_MOSI};
+					// sd card knows data is config if sd_dout_strobe is asserted
+					// with sd_ack still being inactive (low)
+					sd_dout_strobe <= 1'b1;
+				end
+				
+				// joystick analog
+				if(cmd == 8'h1a) begin
+					// first byte is joystick indes
+					if(byte_cnt == 1)
+						stick_idx <= { sbuf[1:0], SPI_MOSI };
+					else if(byte_cnt == 2) begin
+						// second byte is x axis
+						if(stick_idx == 0)
+							joystick_analog_0[15:8] <= { sbuf, SPI_MOSI };
+						else if(stick_idx == 1)
+							joystick_analog_1[15:8] <= { sbuf, SPI_MOSI };
+					end else if(byte_cnt == 3) begin
+						// third byte is y axis
+						if(stick_idx == 0)
+							joystick_analog_0[7:0] <= { sbuf, SPI_MOSI };
+						else if(stick_idx == 1)
+							joystick_analog_1[7:0] <= { sbuf, SPI_MOSI };
+					end
+				end
+
+			end
+		end
+	end
+end
+   
+endmodule
Index: mist_5200_old_sd_interface/makeqsf
===================================================================
--- mist_5200_old_sd_interface/makeqsf	(nonexistent)
+++ mist_5200_old_sd_interface/makeqsf	(revision 232)
@@ -0,0 +1,40 @@
+#!/usr/bin/perl -w
+use strict;
+
+my $qsf_in = shift @ARGV;
+my $qsf_out = $qsf_in;
+$qsf_out =~ s/.*\///;
+
+open (QSF_IN,$qsf_in) or die "Failed to open $qsf_in";
+my @qsf_base = <QSF_IN>;
+close (QSF_IN);
+
+open (QSF_OUT,">$qsf_out") or die "Failed to open $qsf_out";
+print QSF_OUT @qsf_base;
+print QSF_OUT "\n";
+
+foreach (@ARGV)
+{
+	my @vhdl = glob ("$_/*.vhd");
+	push @vhdl, glob ("$_/*.vhdl");
+	my @verilog = glob ("$_/*.v");
+	my @qip = glob ("$_/*.qip");
+
+	foreach (@verilog)
+	{
+		print QSF_OUT "set_global_assignment -name VERILOG_FILE $_\n";
+	}
+
+	foreach (@vhdl)
+	{
+		print QSF_OUT "set_global_assignment -name VHDL_FILE $_\n";
+	}
+
+	foreach (@qip)
+	{
+		print QSF_OUT "set_global_assignment -name QIP_FILE $_\n";
+	}
+}
+
+close (QSF_OUT);
+

Property changes on: mist_5200_old_sd_interface/makeqsf
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: mist_5200_old_sd_interface/atari800core.jdi
===================================================================
--- mist_5200_old_sd_interface/atari800core.jdi	(nonexistent)
+++ mist_5200_old_sd_interface/atari800core.jdi	(revision 232)
@@ -0,0 +1,62 @@
+<sld_project_info>
+  <project>
+    <hash md5_digest_80b="7d0f11bf891bc55d775e"/>
+  </project>
+  <file_info/>
+  <hub_info ir_width="8" node_count="1"/>
+  <node_info>
+    <node hpath="sld_signaltap:auto_signaltap_0" instance_id="0" mfg_id="110" node_id="0" sld_node_info="0x30006E00" version="6">
+      <parameters>
+        <parameter name="lpm_type" type="string" value="sld_signaltap"/>
+        <parameter name="sld_node_info" type="unknown" value="805334528"/>
+        <parameter name="SLD_IP_VERSION" type="dec" value="6"/>
+        <parameter name="SLD_IP_MINOR_VERSION" type="dec" value="0"/>
+        <parameter name="SLD_COMMON_IP_VERSION" type="dec" value="0"/>
+        <parameter name="sld_data_bits" type="unknown" value="119"/>
+        <parameter name="sld_trigger_bits" type="unknown" value="119"/>
+        <parameter name="SLD_NODE_CRC_BITS" type="dec" value="32"/>
+        <parameter name="sld_node_crc_hiword" type="unknown" value="37736"/>
+        <parameter name="sld_node_crc_loword" type="unknown" value="25945"/>
+        <parameter name="SLD_INCREMENTAL_ROUTING" type="dec" value="0"/>
+        <parameter name="sld_sample_depth" type="unknown" value="2048"/>
+        <parameter name="sld_segment_size" type="unknown" value="2048"/>
+        <parameter name="SLD_RAM_BLOCK_TYPE" type="string" value="AUTO"/>
+        <parameter name="sld_state_bits" type="unknown" value="11"/>
+        <parameter name="sld_buffer_full_stop" type="unknown" value="1"/>
+        <parameter name="SLD_MEM_ADDRESS_BITS" type="dec" value="7"/>
+        <parameter name="SLD_DATA_BIT_CNTR_BITS" type="dec" value="4"/>
+        <parameter name="sld_trigger_level" type="unknown" value="1"/>
+        <parameter name="sld_trigger_in_enabled" type="unknown" value="0"/>
+        <parameter name="sld_advanced_trigger_entity" type="unknown" value="basic,1,"/>
+        <parameter name="sld_trigger_level_pipeline" type="unknown" value="1"/>
+        <parameter name="sld_enable_advanced_trigger" type="unknown" value="0"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_1" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_2" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_3" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_4" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_5" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_6" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_7" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_8" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_9" type="string" value="NONE"/>
+        <parameter name="SLD_ADVANCED_TRIGGER_10" type="string" value="NONE"/>
+        <parameter name="sld_inversion_mask_length" type="unknown" value="382"/>
+        <parameter name="sld_inversion_mask" type="unknown" value="0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <parameter name="sld_power_up_trigger" type="unknown" value="0"/>
+        <parameter name="SLD_STATE_FLOW_MGR_ENTITY" type="string" value="state_flow_mgr_entity.vhd"/>
+        <parameter name="sld_state_flow_use_generated" type="unknown" value="0"/>
+        <parameter name="sld_current_resource_width" type="unknown" value="1"/>
+        <parameter name="sld_attribute_mem_mode" type="unknown" value="OFF"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_BITS" type="dec" value="1"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_GAP_RECORD" type="dec" value="0"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_MODE" type="string" value="OFF"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_ENABLE_ADVANCED_CONDITION" type="dec" value="0"/>
+        <parameter name="sld_storage_qualifier_inversion_mask_length" type="unknown" value="0"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_ADVANCED_CONDITION_ENTITY" type="string" value="basic"/>
+        <parameter name="SLD_STORAGE_QUALIFIER_PIPELINE" type="dec" value="0"/>
+      </parameters>
+      <inputs/>
+      <outputs/>
+    </node>
+  </node_info>
+</sld_project_info>
Index: mist_5200_old_sd_interface/atari800core.qpf
===================================================================
--- mist_5200_old_sd_interface/atari800core.qpf	(nonexistent)
+++ mist_5200_old_sd_interface/atari800core.qpf	(revision 232)
@@ -0,0 +1,30 @@
+# -------------------------------------------------------------------------- #
+#
+# Copyright (C) 1991-2012 Altera Corporation
+# Your use of Altera Corporation's design tools, logic functions 
+# and other software and tools, and its AMPP partner logic 
+# functions, and any output files from any of the foregoing 
+# (including device programming or simulation files), and any 
+# associated documentation or information are expressly subject 
+# to the terms and conditions of the Altera Program License 
+# Subscription Agreement, Altera MegaCore Function License 
+# Agreement, or other applicable license agreement, including, 
+# without limitation, that your use is for the sole purpose of 
+# programming logic devices manufactured by Altera and sold by 
+# Altera or its authorized distributors.  Please refer to the 
+# applicable agreement for further details.
+#
+# -------------------------------------------------------------------------- #
+#
+# Quartus II 64-Bit
+# Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Web Edition
+# Date created = 13:58:38  April 11, 2013
+#
+# -------------------------------------------------------------------------- #
+
+QUARTUS_VERSION = "12.1"
+DATE = "13:58:38  April 11, 2013"
+
+# Revisions
+
+PROJECT_REVISION = "atari800core"
Index: mist_5200_old_sd_interface/atari800core.qws
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: mist_5200_old_sd_interface/atari800core.qws
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: mist_5200_old_sd_interface/atari800core.sdc
===================================================================
--- mist_5200_old_sd_interface/atari800core.sdc	(nonexistent)
+++ mist_5200_old_sd_interface/atari800core.sdc	(revision 232)
@@ -0,0 +1,9 @@
+create_clock -period 27MHz [get_ports CLOCK_27[0]]
+derive_pll_clocks
+create_generated_clock -name sdclk_pin -source [get_pins {clock|altpll_component|auto_generated|pll1|clk[2]}] [get_ports {SDRAM_CLK}]
+derive_clock_uncertainty
+set_input_delay -clock sdclk_pin -max 6.4 [get_ports SDRAM_DQ*]
+set_input_delay -clock sdclk_pin -min 3.2 [get_ports SDRAM_DQ*]
+set_output_delay -clock sdclk_pin -max 1.5 [get_ports SDRAM_*]
+set_output_delay -clock sdclk_pin -min -0.8 [get_ports SDRAM_*]
+set_multicycle_path -from [get_clocks {sdclk_pin}] -to [get_clocks {clock|altpll_component|auto_generated|pll1|clk[0]}] -setup -end 2
Index: mist_5200_old_sd_interface/data_io.cmd
===================================================================
--- mist_5200_old_sd_interface/data_io.cmd	(nonexistent)
+++ mist_5200_old_sd_interface/data_io.cmd	(revision 232)
@@ -0,0 +1,6 @@
+#onerror {resume}
+# GAME
+#=====================
+#run 18871970 ns
+#isim force add {/replay_tb/uut/tpp2/cpu/dd_s} 11111111 -radix bin -cancel 250 ns 
+#run 200 ms
Index: mist_5200_old_sd_interface/data_io.wcfg
===================================================================
--- mist_5200_old_sd_interface/data_io.wcfg	(nonexistent)
+++ mist_5200_old_sd_interface/data_io.wcfg	(revision 232)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wave_config>
+   <wave_state>
+   </wave_state>
+   <db_ref_list>
+      <db_ref path="data_io.wdb" id="1" type="auto">
+         <top_modules>
+            <top_module name="data_io_tb" />
+            <top_module name="numeric_std" />
+            <top_module name="std_logic_1164" />
+            <top_module name="std_logic_arith" />
+            <top_module name="std_logic_textio" />
+            <top_module name="std_logic_unsigned" />
+            <top_module name="textio" />
+         </top_modules>
+      </db_ref>
+   </db_ref_list>
+   <WVObjectSize size="19" />
+   <wvobject fp_name="/data_io_tb/reset_n" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">reset_n</obj_property>
+      <obj_property name="ObjectShortName">reset_n</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/request" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">request</obj_property>
+      <obj_property name="ObjectShortName">request</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/write" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">write</obj_property>
+      <obj_property name="ObjectShortName">write</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/ready" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">ready</obj_property>
+      <obj_property name="ObjectShortName">ready</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_miso" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_miso</obj_property>
+      <obj_property name="ObjectShortName">spi_miso</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_mosi" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_mosi</obj_property>
+      <obj_property name="ObjectShortName">spi_mosi</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_clk" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_clk</obj_property>
+      <obj_property name="ObjectShortName">spi_clk</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_tx_data" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_tx_data[7:0]</obj_property>
+      <obj_property name="ObjectShortName">spi_tx_data[7:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_rx_data" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_rx_data[7:0]</obj_property>
+      <obj_property name="ObjectShortName">spi_rx_data[7:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_busy" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_busy</obj_property>
+      <obj_property name="ObjectShortName">spi_busy</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_enable" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_enable</obj_property>
+      <obj_property name="ObjectShortName">spi_enable</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/data_io/cmd_reg" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">cmd_reg[7:0]</obj_property>
+      <obj_property name="ObjectShortName">cmd_reg[7:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/data_io/cnt_reg" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">cnt_reg[15:0]</obj_property>
+      <obj_property name="ObjectShortName">cnt_reg[15:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/data_io/sbuf_reg" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">sbuf_reg[6:0]</obj_property>
+      <obj_property name="ObjectShortName">sbuf_reg[6:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/addr" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">addr[8:0]</obj_property>
+      <obj_property name="ObjectShortName">addr[8:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/data_out" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">data_out[7:0]</obj_property>
+      <obj_property name="ObjectShortName">data_out[7:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/data_in" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">data_in[7:0]</obj_property>
+      <obj_property name="ObjectShortName">data_in[7:0]</obj_property>
+      <obj_property name="Radix">HEXRADIX</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/wr_en" type="logic" db_ref_id="1">
+      <obj_property name="ElementShortName">wr_en</obj_property>
+      <obj_property name="ObjectShortName">wr_en</obj_property>
+   </wvobject>
+   <wvobject fp_name="/data_io_tb/spi_ss_io" type="array" db_ref_id="1">
+      <obj_property name="ElementShortName">spi_ss_io[1:0]</obj_property>
+      <obj_property name="ObjectShortName">spi_ss_io[1:0]</obj_property>
+   </wvobject>
+</wave_config>
Index: mist_5200_old_sd_interface/keyboard.JPG
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: mist_5200_old_sd_interface/keyboard.JPG
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: mist_5200_old_sd_interface/mist_sector_buffer.cmp
===================================================================
--- mist_5200_old_sd_interface/mist_sector_buffer.cmp	(nonexistent)
+++ mist_5200_old_sd_interface/mist_sector_buffer.cmp	(revision 232)
@@ -0,0 +1,30 @@
+--Copyright (C) 1991-2012 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+component mist_sector_buffer
+	PORT
+	(
+		address_a		: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
+		address_b		: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
+		clock_a		: IN STD_LOGIC  := '1';
+		clock_b		: IN STD_LOGIC ;
+		data_a		: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
+		data_b		: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
+		wren_a		: IN STD_LOGIC  := '0';
+		wren_b		: IN STD_LOGIC  := '0';
+		q_a		: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
+		q_b		: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
+	);
+end component;
Index: mist_5200_old_sd_interface/mist_sector_buffer.qip
===================================================================
--- mist_5200_old_sd_interface/mist_sector_buffer.qip	(nonexistent)
+++ mist_5200_old_sd_interface/mist_sector_buffer.qip	(revision 232)
@@ -0,0 +1,4 @@
+set_global_assignment -name IP_TOOL_NAME "RAM: 2-PORT"
+set_global_assignment -name IP_TOOL_VERSION "12.1"
+set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "mist_sector_buffer.vhd"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "mist_sector_buffer.cmp"]
Index: mist_5200_old_sd_interface/mist_sector_buffer.vhd
===================================================================
--- mist_5200_old_sd_interface/mist_sector_buffer.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/mist_sector_buffer.vhd	(revision 232)
@@ -0,0 +1,270 @@
+-- megafunction wizard: %RAM: 2-PORT%
+-- GENERATION: STANDARD
+-- VERSION: WM1.0
+-- MODULE: altsyncram 
+
+-- ============================================================
+-- File Name: mist_sector_buffer.vhd
+-- Megafunction Name(s):
+-- 			altsyncram
+--
+-- Simulation Library Files(s):
+-- 			altera_mf
+-- ============================================================
+-- ************************************************************
+-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
+--
+-- 12.1 Build 243 01/31/2013 SP 1.33 SJ Web Edition
+-- ************************************************************
+
+
+--Copyright (C) 1991-2012 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+LIBRARY ieee;
+USE ieee.std_logic_1164.all;
+
+LIBRARY altera_mf;
+USE altera_mf.all;
+
+ENTITY mist_sector_buffer IS
+	PORT
+	(
+		address_a		: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
+		address_b		: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
+		clock_a		: IN STD_LOGIC  := '1';
+		clock_b		: IN STD_LOGIC ;
+		data_a		: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
+		data_b		: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
+		wren_a		: IN STD_LOGIC  := '0';
+		wren_b		: IN STD_LOGIC  := '0';
+		q_a		: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
+		q_b		: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
+	);
+END mist_sector_buffer;
+
+
+ARCHITECTURE SYN OF mist_sector_buffer IS
+
+	SIGNAL sub_wire0	: STD_LOGIC_VECTOR (7 DOWNTO 0);
+	SIGNAL sub_wire1	: STD_LOGIC_VECTOR (31 DOWNTO 0);
+
+
+
+	COMPONENT altsyncram
+	GENERIC (
+		address_reg_b		: STRING;
+		clock_enable_input_a		: STRING;
+		clock_enable_input_b		: STRING;
+		clock_enable_output_a		: STRING;
+		clock_enable_output_b		: STRING;
+		indata_reg_b		: STRING;
+		intended_device_family		: STRING;
+		lpm_type		: STRING;
+		numwords_a		: NATURAL;
+		numwords_b		: NATURAL;
+		operation_mode		: STRING;
+		outdata_aclr_a		: STRING;
+		outdata_aclr_b		: STRING;
+		outdata_reg_a		: STRING;
+		outdata_reg_b		: STRING;
+		power_up_uninitialized		: STRING;
+		read_during_write_mode_port_a		: STRING;
+		read_during_write_mode_port_b		: STRING;
+		widthad_a		: NATURAL;
+		widthad_b		: NATURAL;
+		width_a		: NATURAL;
+		width_b		: NATURAL;
+		width_byteena_a		: NATURAL;
+		width_byteena_b		: NATURAL;
+		wrcontrol_wraddress_reg_b		: STRING
+	);
+	PORT (
+			clock0	: IN STD_LOGIC ;
+			wren_a	: IN STD_LOGIC ;
+			address_b	: IN STD_LOGIC_VECTOR (6 DOWNTO 0);
+			clock1	: IN STD_LOGIC ;
+			data_b	: IN STD_LOGIC_VECTOR (31 DOWNTO 0);
+			q_a	: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
+			wren_b	: IN STD_LOGIC ;
+			address_a	: IN STD_LOGIC_VECTOR (8 DOWNTO 0);
+			data_a	: IN STD_LOGIC_VECTOR (7 DOWNTO 0);
+			q_b	: OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
+	);
+	END COMPONENT;
+
+BEGIN
+	q_a    <= sub_wire0(7 DOWNTO 0);
+	q_b    <= sub_wire1(31 DOWNTO 0);
+
+	altsyncram_component : altsyncram
+	GENERIC MAP (
+		address_reg_b => "CLOCK1",
+		clock_enable_input_a => "BYPASS",
+		clock_enable_input_b => "BYPASS",
+		clock_enable_output_a => "BYPASS",
+		clock_enable_output_b => "BYPASS",
+		indata_reg_b => "CLOCK1",
+		intended_device_family => "Cyclone III",
+		lpm_type => "altsyncram",
+		numwords_a => 512,
+		numwords_b => 128,
+		operation_mode => "BIDIR_DUAL_PORT",
+		outdata_aclr_a => "NONE",
+		outdata_aclr_b => "NONE",
+		outdata_reg_a => "UNREGISTERED",
+		outdata_reg_b => "UNREGISTERED",
+		power_up_uninitialized => "FALSE",
+		read_during_write_mode_port_a => "NEW_DATA_NO_NBE_READ",
+		read_during_write_mode_port_b => "NEW_DATA_NO_NBE_READ",
+		widthad_a => 9,
+		widthad_b => 7,
+		width_a => 8,
+		width_b => 32,
+		width_byteena_a => 1,
+		width_byteena_b => 1,
+		wrcontrol_wraddress_reg_b => "CLOCK1"
+	)
+	PORT MAP (
+		clock0 => clock_a,
+		wren_a => wren_a,
+		address_b => address_b,
+		clock1 => clock_b,
+		data_b => data_b,
+		wren_b => wren_b,
+		address_a => address_a,
+		data_a => data_a,
+		q_a => sub_wire0,
+		q_b => sub_wire1
+	);
+
+
+
+END SYN;
+
+-- ============================================================
+-- CNX file retrieval info
+-- ============================================================
+-- Retrieval info: PRIVATE: ADDRESSSTALL_A NUMERIC "0"
+-- Retrieval info: PRIVATE: ADDRESSSTALL_B NUMERIC "0"
+-- Retrieval info: PRIVATE: BYTEENA_ACLR_A NUMERIC "0"
+-- Retrieval info: PRIVATE: BYTEENA_ACLR_B NUMERIC "0"
+-- Retrieval info: PRIVATE: BYTE_ENABLE_A NUMERIC "0"
+-- Retrieval info: PRIVATE: BYTE_ENABLE_B NUMERIC "0"
+-- Retrieval info: PRIVATE: BYTE_SIZE NUMERIC "8"
+-- Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
+-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_A NUMERIC "0"
+-- Retrieval info: PRIVATE: CLOCK_ENABLE_INPUT_B NUMERIC "0"
+-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_A NUMERIC "0"
+-- Retrieval info: PRIVATE: CLOCK_ENABLE_OUTPUT_B NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRdata NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRq NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRrdaddress NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRrren NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRwraddress NUMERIC "0"
+-- Retrieval info: PRIVATE: CLRwren NUMERIC "0"
+-- Retrieval info: PRIVATE: Clock NUMERIC "5"
+-- Retrieval info: PRIVATE: Clock_A NUMERIC "0"
+-- Retrieval info: PRIVATE: Clock_B NUMERIC "0"
+-- Retrieval info: PRIVATE: IMPLEMENT_IN_LES NUMERIC "0"
+-- Retrieval info: PRIVATE: INDATA_ACLR_B NUMERIC "0"
+-- Retrieval info: PRIVATE: INDATA_REG_B NUMERIC "1"
+-- Retrieval info: PRIVATE: INIT_FILE_LAYOUT STRING "PORT_A"
+-- Retrieval info: PRIVATE: INIT_TO_SIM_X NUMERIC "0"
+-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: PRIVATE: JTAG_ENABLED NUMERIC "0"
+-- Retrieval info: PRIVATE: JTAG_ID STRING "NONE"
+-- Retrieval info: PRIVATE: MAXIMUM_DEPTH NUMERIC "0"
+-- Retrieval info: PRIVATE: MEMSIZE NUMERIC "4096"
+-- Retrieval info: PRIVATE: MEM_IN_BITS NUMERIC "0"
+-- Retrieval info: PRIVATE: MIFfilename STRING ""
+-- Retrieval info: PRIVATE: OPERATION_MODE NUMERIC "3"
+-- Retrieval info: PRIVATE: OUTDATA_ACLR_B NUMERIC "0"
+-- Retrieval info: PRIVATE: OUTDATA_REG_B NUMERIC "0"
+-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
+-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_MIXED_PORTS NUMERIC "2"
+-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_A NUMERIC "3"
+-- Retrieval info: PRIVATE: READ_DURING_WRITE_MODE_PORT_B NUMERIC "3"
+-- Retrieval info: PRIVATE: REGdata NUMERIC "1"
+-- Retrieval info: PRIVATE: REGq NUMERIC "0"
+-- Retrieval info: PRIVATE: REGrdaddress NUMERIC "0"
+-- Retrieval info: PRIVATE: REGrren NUMERIC "0"
+-- Retrieval info: PRIVATE: REGwraddress NUMERIC "1"
+-- Retrieval info: PRIVATE: REGwren NUMERIC "1"
+-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
+-- Retrieval info: PRIVATE: USE_DIFF_CLKEN NUMERIC "0"
+-- Retrieval info: PRIVATE: UseDPRAM NUMERIC "1"
+-- Retrieval info: PRIVATE: VarWidth NUMERIC "1"
+-- Retrieval info: PRIVATE: WIDTH_READ_A NUMERIC "8"
+-- Retrieval info: PRIVATE: WIDTH_READ_B NUMERIC "32"
+-- Retrieval info: PRIVATE: WIDTH_WRITE_A NUMERIC "8"
+-- Retrieval info: PRIVATE: WIDTH_WRITE_B NUMERIC "32"
+-- Retrieval info: PRIVATE: WRADDR_ACLR_B NUMERIC "0"
+-- Retrieval info: PRIVATE: WRADDR_REG_B NUMERIC "1"
+-- Retrieval info: PRIVATE: WRCTRL_ACLR_B NUMERIC "0"
+-- Retrieval info: PRIVATE: enable NUMERIC "0"
+-- Retrieval info: PRIVATE: rden NUMERIC "0"
+-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
+-- Retrieval info: CONSTANT: ADDRESS_REG_B STRING "CLOCK1"
+-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_A STRING "BYPASS"
+-- Retrieval info: CONSTANT: CLOCK_ENABLE_INPUT_B STRING "BYPASS"
+-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_A STRING "BYPASS"
+-- Retrieval info: CONSTANT: CLOCK_ENABLE_OUTPUT_B STRING "BYPASS"
+-- Retrieval info: CONSTANT: INDATA_REG_B STRING "CLOCK1"
+-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
+-- Retrieval info: CONSTANT: LPM_TYPE STRING "altsyncram"
+-- Retrieval info: CONSTANT: NUMWORDS_A NUMERIC "512"
+-- Retrieval info: CONSTANT: NUMWORDS_B NUMERIC "128"
+-- Retrieval info: CONSTANT: OPERATION_MODE STRING "BIDIR_DUAL_PORT"
+-- Retrieval info: CONSTANT: OUTDATA_ACLR_A STRING "NONE"
+-- Retrieval info: CONSTANT: OUTDATA_ACLR_B STRING "NONE"
+-- Retrieval info: CONSTANT: OUTDATA_REG_A STRING "UNREGISTERED"
+-- Retrieval info: CONSTANT: OUTDATA_REG_B STRING "UNREGISTERED"
+-- Retrieval info: CONSTANT: POWER_UP_UNINITIALIZED STRING "FALSE"
+-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_A STRING "NEW_DATA_NO_NBE_READ"
+-- Retrieval info: CONSTANT: READ_DURING_WRITE_MODE_PORT_B STRING "NEW_DATA_NO_NBE_READ"
+-- Retrieval info: CONSTANT: WIDTHAD_A NUMERIC "9"
+-- Retrieval info: CONSTANT: WIDTHAD_B NUMERIC "7"
+-- Retrieval info: CONSTANT: WIDTH_A NUMERIC "8"
+-- Retrieval info: CONSTANT: WIDTH_B NUMERIC "32"
+-- Retrieval info: CONSTANT: WIDTH_BYTEENA_A NUMERIC "1"
+-- Retrieval info: CONSTANT: WIDTH_BYTEENA_B NUMERIC "1"
+-- Retrieval info: CONSTANT: WRCONTROL_WRADDRESS_REG_B STRING "CLOCK1"
+-- Retrieval info: USED_PORT: address_a 0 0 9 0 INPUT NODEFVAL "address_a[8..0]"
+-- Retrieval info: USED_PORT: address_b 0 0 7 0 INPUT NODEFVAL "address_b[6..0]"
+-- Retrieval info: USED_PORT: clock_a 0 0 0 0 INPUT VCC "clock_a"
+-- Retrieval info: USED_PORT: clock_b 0 0 0 0 INPUT NODEFVAL "clock_b"
+-- Retrieval info: USED_PORT: data_a 0 0 8 0 INPUT NODEFVAL "data_a[7..0]"
+-- Retrieval info: USED_PORT: data_b 0 0 32 0 INPUT NODEFVAL "data_b[31..0]"
+-- Retrieval info: USED_PORT: q_a 0 0 8 0 OUTPUT NODEFVAL "q_a[7..0]"
+-- Retrieval info: USED_PORT: q_b 0 0 32 0 OUTPUT NODEFVAL "q_b[31..0]"
+-- Retrieval info: USED_PORT: wren_a 0 0 0 0 INPUT GND "wren_a"
+-- Retrieval info: USED_PORT: wren_b 0 0 0 0 INPUT GND "wren_b"
+-- Retrieval info: CONNECT: @address_a 0 0 9 0 address_a 0 0 9 0
+-- Retrieval info: CONNECT: @address_b 0 0 7 0 address_b 0 0 7 0
+-- Retrieval info: CONNECT: @clock0 0 0 0 0 clock_a 0 0 0 0
+-- Retrieval info: CONNECT: @clock1 0 0 0 0 clock_b 0 0 0 0
+-- Retrieval info: CONNECT: @data_a 0 0 8 0 data_a 0 0 8 0
+-- Retrieval info: CONNECT: @data_b 0 0 32 0 data_b 0 0 32 0
+-- Retrieval info: CONNECT: @wren_a 0 0 0 0 wren_a 0 0 0 0
+-- Retrieval info: CONNECT: @wren_b 0 0 0 0 wren_b 0 0 0 0
+-- Retrieval info: CONNECT: q_a 0 0 8 0 @q_a 0 0 8 0
+-- Retrieval info: CONNECT: q_b 0 0 32 0 @q_b 0 0 32 0
+-- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.vhd TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.inc FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.cmp TRUE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer.bsf FALSE
+-- Retrieval info: GEN_FILE: TYPE_NORMAL mist_sector_buffer_inst.vhd FALSE
+-- Retrieval info: LIB_FILE: altera_mf
Index: mist_5200_old_sd_interface/output_file.cof
===================================================================
--- mist_5200_old_sd_interface/output_file.cof	(nonexistent)
+++ mist_5200_old_sd_interface/output_file.cof	(revision 232)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
+<cof>
+	<eprom_name>CFI_128Mb</eprom_name>
+	<output_filename>output_files/atari800core.rbf</output_filename>
+	<n_pages>1</n_pages>
+	<width>1</width>
+	<mode>0</mode>
+	<sof_data>
+		<user_name>Page_0</user_name>
+		<page_flags>1</page_flags>
+		<bit0>
+			<sof_filename>output_files/atari800core.sof<compress_bitstream>1</compress_bitstream></sof_filename>
+		</bit0>
+	</sof_data>
+	<version>5</version>
+	<create_cvp_file>0</create_cvp_file>
+	<options>
+	</options>
+</cof>
Index: mist_5200_old_sd_interface/pll_ntsc.cmp
===================================================================
--- mist_5200_old_sd_interface/pll_ntsc.cmp	(nonexistent)
+++ mist_5200_old_sd_interface/pll_ntsc.cmp	(revision 232)
@@ -0,0 +1,26 @@
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+component pll_ntsc
+	PORT
+	(
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		c1		: OUT STD_LOGIC ;
+		c2		: OUT STD_LOGIC ;
+		c3		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+end component;
Index: mist_5200_old_sd_interface/pll_ntsc.qip
===================================================================
--- mist_5200_old_sd_interface/pll_ntsc.qip	(nonexistent)
+++ mist_5200_old_sd_interface/pll_ntsc.qip	(revision 232)
@@ -0,0 +1,5 @@
+set_global_assignment -name IP_TOOL_NAME "ALTPLL"
+set_global_assignment -name IP_TOOL_VERSION "13.0"
+set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_ntsc.vhd"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_ntsc.cmp"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_ntsc.ppf"]
Index: mist_5200_old_sd_interface/pll_pal_post.ppf
===================================================================
--- mist_5200_old_sd_interface/pll_pal_post.ppf	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_post.ppf	(revision 232)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE pinplan>
+<pinplan intended_family="Cyclone III" variation_name="pll_pal_post" megafunction_name="ALTPLL" specifies="all_ports">
+<global>
+<pin name="areset" direction="input" scope="external"  />
+<pin name="inclk0" direction="input" scope="external" source="clock"  />
+<pin name="c0" direction="output" scope="external" source="clock"  />
+<pin name="c1" direction="output" scope="external" source="clock"  />
+<pin name="c2" direction="output" scope="external" source="clock"  />
+<pin name="c3" direction="output" scope="external" source="clock"  />
+<pin name="locked" direction="output" scope="external"  />
+
+</global>
+</pinplan>
Index: mist_5200_old_sd_interface/pll_pal_pre.cmp
===================================================================
--- mist_5200_old_sd_interface/pll_pal_pre.cmp	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_pre.cmp	(revision 232)
@@ -0,0 +1,23 @@
+--Copyright (C) 1991-2013 Altera Corporation
+--Your use of Altera Corporation's design tools, logic functions 
+--and other software and tools, and its AMPP partner logic 
+--functions, and any output files from any of the foregoing 
+--(including device programming or simulation files), and any 
+--associated documentation or information are expressly subject 
+--to the terms and conditions of the Altera Program License 
+--Subscription Agreement, Altera MegaCore Function License 
+--Agreement, or other applicable license agreement, including, 
+--without limitation, that your use is for the sole purpose of 
+--programming logic devices manufactured by Altera and sold by 
+--Altera or its authorized distributors.  Please refer to the 
+--applicable agreement for further details.
+
+
+component pll_pal_pre
+	PORT
+	(
+		inclk0		: IN STD_LOGIC  := '0';
+		c0		: OUT STD_LOGIC ;
+		locked		: OUT STD_LOGIC 
+	);
+end component;
Index: mist_5200_old_sd_interface/pll_pal_pre.qip
===================================================================
--- mist_5200_old_sd_interface/pll_pal_pre.qip	(nonexistent)
+++ mist_5200_old_sd_interface/pll_pal_pre.qip	(revision 232)
@@ -0,0 +1,5 @@
+set_global_assignment -name IP_TOOL_NAME "ALTPLL"
+set_global_assignment -name IP_TOOL_VERSION "13.0"
+set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "pll_pal_pre.vhd"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_pre.cmp"]
+set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "pll_pal_pre.ppf"]
Index: mist_5200_old_sd_interface/tb_data/data_io_tb.vhd
===================================================================
--- mist_5200_old_sd_interface/tb_data/data_io_tb.vhd	(nonexistent)
+++ mist_5200_old_sd_interface/tb_data/data_io_tb.vhd	(revision 232)
@@ -0,0 +1,319 @@
+library ieee;
+  use ieee.std_logic_1164.all;
+  use ieee.std_logic_unsigned.all;
+  use ieee.numeric_std.all;
+  use ieee.std_logic_textio.all;
+
+library std_developerskit ; -- used for to_string
+--  use std_developerskit.std_iopak.all;
+
+entity data_io_tb is
+end;
+
+architecture rtl of data_io_tb is
+
+  constant CLK_A_PERIOD : time := 1 us / (1.79*32);
+
+  signal CLK_A : std_logic;
+
+  signal reset_n : std_logic;
+
+  signal spi_clk : std_logic;
+  signal spi_ss_io : std_logic_vector(1 downto 0);
+  signal spi_miso : std_logic;
+  signal spi_mosi : std_logic;
+
+  signal request : std_logic;
+  signal write : std_logic;
+  signal ready : std_logic;
+  signal sector : std_logic_vector(23 downto 0);
+
+  signal addr : std_logic_vector(8 downto 0);
+  signal data_out : std_logic_vector(7 downto 0);
+  signal data_in : std_logic_vector(7 downto 0);
+  signal wr_en : std_logic;
+
+  signal spi_enable : std_logic;
+  signal spi_tx_data : std_logic_vector(7 downto 0);
+  signal spi_rx_data : std_logic_vector(7 downto 0);
+  signal spi_busy : std_logic;
+
+  signal spi_addr : integer;
+
+begin
+	p_clk_gen_a : process
+	begin
+	clk_a <= '1';
+	wait for CLK_A_PERIOD/2;
+	clk_a <= '0';
+	wait for CLK_A_PERIOD - (CLK_A_PERIOD/2 );
+	end process;
+
+	reset_n <= '0', '1' after 1000ns;
+
+
+	spi_master1 : entity work.spi_master
+		generic map(slaves=>2,d_width=>8)
+		port map (clock=>clk_a,reset_n=>reset_n,enable=>spi_enable,cpol=>'0',cpha=>'0',cont=>'0',clk_div=>4,addr=>spi_addr,
+		          tx_data=>spi_tx_data, miso=>spi_miso,sclk=>spi_clk,ss_n=>spi_ss_io,mosi=>spi_mosi,
+					 rx_data=>spi_rx_data,busy=>spi_busy);
+
+	spi_fake : process
+ 	variable type_conv : std_logic_vector(8 downto 0);
+	begin
+	spi_enable <= '0';
+	spi_addr <= 0;
+	wait for 1500us;
+
+	spi_tx_data <= x"50";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 3 loop
+		spi_tx_data <= x"ff";
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*2;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_addr <= 1;
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+	spi_addr <= 0;
+	wait for 20us;
+
+	spi_tx_data <= x"51";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 511 loop
+		type_conv := std_logic_vector(to_unsigned(i,9));
+		spi_tx_data <= type_conv(7 downto 0);
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*4;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	-- NEXT
+
+	spi_addr <= 1;
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+	spi_addr <= 0;
+	wait for 20us;
+
+	spi_tx_data <= x"50";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 3 loop
+		spi_tx_data <= x"ff";
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*2;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_addr <= 1;
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+	spi_addr <= 0;
+	wait for 20us;
+
+	spi_tx_data <= x"51";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 511 loop
+		type_conv := std_logic_vector(to_unsigned(511-i,9));
+		spi_tx_data <= type_conv(7 downto 0);
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*4;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	-- NEXT - WRITE...
+
+	spi_addr <= 1;
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+	spi_addr <= 0;
+	wait for 20us;
+
+	spi_tx_data <= x"50";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 3 loop
+		spi_tx_data <= x"ff";
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*2;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_addr <= 1;
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+	spi_addr <= 0;
+	wait for 20us;
+
+	spi_tx_data <= x"52";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	for i in 0 to 511 loop
+		spi_tx_data <= x"FF";
+		spi_enable <= '1';
+		wait for CLK_A_PERIOD*4;
+		spi_tx_data <= x"FF";
+		spi_enable <= '0';
+		wait until spi_busy='0';
+	end loop;
+
+	spi_tx_data <= x"ff";
+	spi_enable <= '1';
+	wait for CLK_A_PERIOD*2;
+	spi_tx_data <= x"FF";
+	spi_enable <= '0';
+	wait until spi_busy='0';
+
+	wait for 100ms;
+	
+	end process;
+
+	spi_request : process
+	begin
+	sector <= (others=>'0');
+	request <= '0';
+	write <= '0';
+	wait for 1500us;
+
+	sector <= x"123456";
+	request <= '1';
+	wait until ready = '1';
+	request <= '0';
+	wait for CLK_A_PERIOD*20;
+	wait until ready = '0';
+
+
+	sector <= x"654321";
+	request <= '1';
+	wait until ready = '1';
+	request <= '0';
+	wait for CLK_A_PERIOD*20;
+	wait until ready = '0';
+
+	sector <= x"111111";
+	write <= '1';
+	wait until ready = '1';
+	write <= '0';
+	wait for CLK_A_PERIOD*20;
+	wait until ready = '0';
+
+	wait for 100ms;
+	end process;
+
+	ram : entity work.generic_ram_infer
+	generic map
+	(
+		ADDRESS_WIDTH => 9,
+		SPACE => 512,
+		DATA_WIDTH => 8
+	)
+   PORT map
+   (
+      clock => spi_clk,
+      data => data_out,
+      address => addr,
+      we => wr_en,
+      q => data_in
+   );
+
+	data_io : entity work.data_io
+	PORT MAP
+	(
+		CLK => spi_clk,
+		RESET_n =>reset_n,
+		
+		-- SPI connection - up to upstream to make miso 'Z' on ss_io going high
+	   SPI_CLK => spi_clk,
+	   SPI_SS_IO => spi_ss_io(0),
+	   SPI_MISO => spi_miso,
+	   SPI_MOSI => spi_mosi,
+		
+		-- Sector access request
+		read_request => request,
+		write_request => write,
+		sector => sector,
+		ready => ready,
+		
+		-- DMA to RAM
+		ADDR => addr,
+		DATA_OUT => data_out,
+		DATA_IN => data_in,
+		WR_EN => wr_en
+	 );
+
+end rtl;
+
