Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /L1TriggerConfig/L1GtConfigProducers/data/VhdlTemplates/Templates/cond1_chip_pkg.vhd is written in an unsupported language. File is not indexed.

0001 $(header)
0002 
0003 LIBRARY ieee;
0004 USE ieee.std_logic_1164.ALL;
0005 PACKAGE cond_chip_pkg IS
0006 
0007 -- ***************************************************
0008 -- HB081107
0009 
0010 -- boolean values are "true" and "false"
0011 
0012 -- default-value for register instantiation
0013 CONSTANT def_val_inst : boolean := true;
0014 
0015 -- read register instantiation
0016 CONSTANT rd_reg_inst : boolean := true;
0017 
0018 -- ***************************************************
0019 
0020 -- values for chip_id and version
0021 
0022 CONSTANT chip_id: STD_LOGIC_VECTOR(31 DOWNTO 0) := X"00017131";
0023 CONSTANT version: STD_LOGIC_VECTOR(31 DOWNTO 0) := X"$(version)";
0024 
0025 -- INCLOCK_PERIOD for PLL (altclklock) of cond1_chip!!!
0026 
0027 CONSTANT INCLOCK_PERIOD: integer := 23255; -- 23255ps = 43MHz !!!!
0028 
0029 -- algo of cond1_chip!!!
0030 
0031 CONSTANT algo_chip_name: integer := 0;
0032 
0033 -- algo-memory 6 x 1024 x 16 bit !!!!
0034 
0035 CONSTANT mif_file : STRING := "algo_1024_16.mif";
0036 CONSTANT mem_addr_cnt_width : integer := 10;
0037 CONSTANT mem_data_width : integer := 16;
0038 CONSTANT mem_width_base : integer := 3;
0039 CONSTANT mem_width : integer := 6;
0040 
0041 -- number of et-bits of calo
0042 
0043 CONSTANT et_bits : integer := 6;
0044 
0045 -- number of particle-conditions
0046 
0047 $(conditions_nr)
0048 
0049 END cond_chip_pkg;