Changeset 10803 for firmware/FTM/ethernet
- Timestamp:
- 05/24/11 18:08:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FTM/ethernet/w5300_modul.vhd
r10740 r10803 18 18 -- 19 19 ---------------------------------------------------------------------------------- 20 20 21 LIBRARY IEEE; 21 22 USE IEEE.STD_LOGIC_1164.all; … … 109 110 crate_reset_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 110 111 ); 111 112 112 END w5300_modul ; 113 113 … … 606 606 if (dd_write_general_ready = '1') then 607 607 data_package_type <= FTM_PACKAGE_TYPE_DD; 608 data_package_length <= DD_BLOCK_SIZE + 1; -- +1 := package end608 data_package_length <= X"0" & (DD_BLOCK_SIZE + 1); -- +1 := package end 609 609 read_addr_state <= READ_FROM_DD_ADDR; 610 610 local_sd_addr <= X"000"; -- start at address 0x000 … … 640 640 next_state <= SEND_FTU_ERROR; 641 641 data_package_type <= FTM_PACKAGE_TYPE_FTU_ERR; 642 data_package_length <= FTU_ERROR_LENGTH + 1; -- +1 := package end642 data_package_length <= X"0" & (FTU_ERROR_LENGTH + 1); -- +1 := package end 643 643 read_addr_state <= READ_FTU_ERROR; 644 644 local_sd_addr <= X"000"; … … 851 851 state_read_data <= RD_5; 852 852 data_package_type <= FTM_PACKAGE_TYPE_FTU_LIST; 853 data_package_length <= FL_BLOCK_SIZE + 1; -- +1 := package end853 data_package_length <= X"0" & (FL_BLOCK_SIZE + 1); -- +1 := package end 854 854 read_addr_state <= READ_FROM_FL_ADDR; 855 855 local_sd_addr <= X"000"; --start at address 0x000 … … 863 863 when RD_READ_SD_BLOCK => 864 864 data_package_type <= FTM_PACKAGE_TYPE_SD; 865 data_package_length <= SD_BLOCK_SIZE + 1; -- +1 := package end865 data_package_length <= X"0" & (SD_BLOCK_SIZE + 1); -- +1 := package end 866 866 state_read_data <= RD_5; 867 867 read_addr_state <= READ_FROM_SD_ADDR; … … 875 875 when RD_READ_SD_ADDR => 876 876 data_package_type <= FTM_PACKAGE_TYPE_SD_WORD; 877 data_package_length <= SD_SINGLE_WORD_SIZE + 1; -- +1 := package end877 data_package_length <= X"0" & (SD_SINGLE_WORD_SIZE + 1); -- +1 := package end 878 878 state_read_data <= RD_5; 879 879 read_addr_state <= READ_FROM_SD_ADDR;
Note:
See TracChangeset
for help on using the changeset viewer.