constant INIT_ADDRESS : std_logic_vector := x"F30a";
constant BROADCAST_SPECIAL_ADDR : std_logic_vector := x"4b";
---ADC sampling frequency: 40 or 80 MHz supported
+--ADC sampling frequency: 40, 64 or 80 MHz supported
--note that not all READOUT_MODEs will lead to timing-error free designs
--the READOUT_MODE_PSA mode is usually only working with 40MHz
--the READOUT_MODE_CFD mode is more robust against clock domain crossing issues
- constant ADC_SAMPLING_RATE : integer := 80;
+ constant ADC_SAMPLING_RATE : integer := 64;
--These are currently used for the included features table only
constant ADC_BASELINE_LOGIC : integer := c_YES;
);
end generate;
+ gen_64MHz : if ADC_SAMPLING_RATE = 64 generate
+ THE_ADC_REF : entity work.pll_in200_out64
+ port map(
+ CLK => CLK_ADCRAW,
+ CLKOP => clk_adc,
+ LOCK => open
+ );
+ THE_ADC_PLL_0 : entity work.pll_adc10bit_64
+
+ port map(
+ CLK => CLK_ADCRAW,
+ CLKOP => clk_adcfast_i,
+ LOCK => open
+ );
+ end generate;
+
restart_i <= RESTART_IN when rising_edge(clk_data);
gen_7 : if NUM_DEVICES = 7 generate
add_file -vhdl -lib "work" "../base/cores/pll_in200_out100.vhd"
add_file -vhdl -lib "work" "../base/cores/pll_in200_out40.vhd"
+add_file -vhdl -lib "work" "../base/cores/pll_in200_out64.vhd"
add_file -vhdl -lib "work" "../base/cores/pll_in200_out80.vhd"
add_file -vhdl -lib "work" "../base/cores/pll_adc10bit.vhd"
+add_file -vhdl -lib "work" "../base/cores/pll_adc10bit_64.vhd"
add_file -vhdl -lib "work" "../base/cores/pll_adc10bit_80.vhd"
add_file -vhdl -lib "work" "../base/cores/dqsinput_7x5.vhd"
add_file -vhdl -lib "work" "../base/cores/dqsinput_5x5.vhd"