Changeset 10151
- Timestamp:
- 02/10/11 14:52:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FTM/ftm_definitions.vhd
r10127 r10151 26 26 -- use IEEE.NUMERIC_STD.ALL; 27 27 28 -- package ftm_array_types is 29 -- end ftm_array_types; 28 package ftm_array_types is 29 30 -- data arrays for a single FTU 31 type FTU_enable_array_type is array (0 to 3) of std_logic_vector(15 downto 0); 32 type FTU_dac_array_type is array (0 to 4) of std_logic_vector(15 downto 0); 33 type FTU_rate_array_type is array (0 to 4) of std_logic_vector(31 downto 0); 34 type active_FTU_array_type is array (0 to 3) of std_logic_vector(15 downto 0); 35 36 end ftm_array_types; 30 37 31 38 … … 38 45 package ftm_constants is 39 46 47 constant NO_OF_CRATES : integer := 4; 48 constant NO_OF_FTUS_PER_CRATE : integer := 10; 49 constant NO_OF_FTU_ENABLE_REG : integer := 4; 50 constant NO_OF_FTU_DAC_REG : integer := 5; 51 40 52 --internal FPGA clock frequencies 41 53 constant INT_CLK_FREQUENCY_1 : integer := 50000000; -- 50MHz … … 59 71 constant DNA_FOR_SIM : bit_vector := X"01710000E0000501"; 60 72 73 --RAM address offsets and widths 74 constant STATIC_RAM_ACT_FTU_OFFSET : integer := 16#1B0#; 75 constant STATIC_RAM_CFG_FTU_OFFSET : integer := 16#020#; 76 constant STATIC_RAM_ADDR_WIDTH : integer := 12; 77 61 78 end ftm_constants;
Note:
See TracChangeset
for help on using the changeset viewer.