Changeset 11485 for firmware/FTM/ethernet
- Timestamp:
- 07/20/11 14:54:17 (14 years ago)
- Location:
- firmware/FTM/ethernet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified firmware/FTM/ethernet/ethernet_modul_beha.vhd ¶
r10441 r11485 2 2 -- 3 3 -- Created: 4 -- by - kai. users (tpkw.local.priv)5 -- at - 1 1:20:56 04/20/114 -- by - kai.UNKNOWN (E5PCXX) 5 -- at - 13:50:41 30.06.2011 6 6 -- 7 7 -- Generated by Mentor Graphics' HDL Designer(TM) 2009.1 (Build 12) … … 10 10 USE ieee.std_logic_1164.all; 11 11 USE ieee.std_logic_arith.all; 12 13 12 library ftm_definitions; 14 13 USE ftm_definitions.ftm_array_types.all; … … 118 117 current_cc_state : IN std_logic_vector (15 DOWNTO 0); 119 118 start_run_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0'); 120 start_run_num_events : OUT std_logic_vector (31 DOWNTO 0) := (others => '0') 119 start_run_num_events : OUT std_logic_vector (31 DOWNTO 0) := (others => '0'); 120 new_config_ftu : OUT std_logic := '0'; 121 new_config_ftu_ack : IN std_logic; 122 new_config_ftu_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 121 123 ); 122 124 … … 459 461 crate_reset : OUT std_logic := '0'; 460 462 crate_reset_ack : IN std_logic ; 461 crate_reset_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 463 crate_reset_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0'); 464 new_config_ftu : OUT std_logic := '0'; 465 new_config_ftu_ack : IN std_logic ; 466 new_config_ftu_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 462 467 ); 463 468 END COMPONENT; … … 717 722 crate_reset => crate_reset, 718 723 crate_reset_ack => crate_reset_ack, 719 crate_reset_param => crate_reset_param 724 crate_reset_param => crate_reset_param, 725 new_config_ftu => new_config_ftu, 726 new_config_ftu_ack => new_config_ftu_ack, 727 new_config_ftu_param => new_config_ftu_param 720 728 ); 721 729 -
TabularUnified firmware/FTM/ethernet/w5300_modul.vhd ¶
r10803 r11485 23 23 USE IEEE.STD_LOGIC_ARITH.all; 24 24 USE IEEE.STD_LOGIC_UNSIGNED.all; 25 26 25 library ftm_definitions; 27 26 USE ftm_definitions.ftm_array_types.all; … … 108 107 crate_reset : OUT std_logic := '0'; 109 108 crate_reset_ack : IN std_logic; 110 crate_reset_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 109 crate_reset_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0'); 110 new_config_ftu : OUT std_logic := '0'; 111 new_config_ftu_ack : IN std_logic; 112 new_config_ftu_param : OUT std_logic_vector (15 DOWNTO 0) := (others => '0') 113 111 114 ); 115 112 116 END w5300_modul ; 113 117 … … 327 331 ftu_error_send_ack <= '1'; 328 332 ftu_error_send_ready <= '1'; 333 -- 334 start_run <= '0'; 335 stop_run <= '0'; 336 crate_reset <= '0'; 337 new_config_ftu <= '0'; 329 338 -- set internal signals 330 339 new_config_flag <= '0'; … … 769 778 crate_reset <= '1'; 770 779 crate_reset_param <= cmd_array (2); 780 -- led_int <= cmd_array (2) (7 downto 0); 771 781 if (crate_reset_ack = '1') then 772 782 crate_reset <= '0'; … … 776 786 end if; 777 787 788 when CMD_CONFIG_FTU => 789 new_config_ftu <= '1'; 790 new_config_ftu_param <= cmd_array (2); 791 -- led_int <= cmd_array (2) (7 downto 0); 792 if (new_config_ftu_ack = '1') then 793 new_config_ftu <= '0'; 794 state_read_data <= RD_5; 795 else 796 state_init <= MAIN; 797 end if; 798 778 799 when CMD_WRITE => 779 800 case cmd_array (2) is … … 897 918 next_packet_data_cnt <= 0; 898 919 wait_for_data_flag <= '0'; 920 next_state_read_data <= RD_CMD; 899 921 new_config_flag <= '1'; 900 next_state_read_data <= RD_CMD;901 922 end if; 902 923
Note:
See TracChangeset
for help on using the changeset viewer.