Line 77... |
Line 77... |
------------------------------------------------------------------
|
------------------------------------------------------------------
|
constant C_NR_BITS_TOTAL : integer := 1536;
|
constant C_NR_BITS_TOTAL : integer := 1536;
|
constant C_NR_STAGES_TOTAL : integer := 96;
|
constant C_NR_STAGES_TOTAL : integer := 96;
|
constant C_NR_STAGES_LOW : integer := 32;
|
constant C_NR_STAGES_LOW : integer := 32;
|
constant C_SPLIT_PIPELINE : boolean := true;
|
constant C_SPLIT_PIPELINE : boolean := true;
|
constant C_FIFO_DEPTH : integer := 32; -- set to (maximum exponent width)/16
|
constant C_FIFO_AW : integer := 7; -- set to log2( (maximum exponent width)/16 )
|
constant C_MEM_STYLE : string := "generic"; -- xil_prim, generic, asym are valid options
|
constant C_MEM_STYLE : string := "xil_prim"; -- xil_prim, generic, asym are valid options
|
constant C_FPGA_MAN : string := "xilinx"; -- xilinx, altera are valid options
|
constant C_FPGA_MAN : string := "xilinx"; -- xilinx, altera are valid options
|
constant C_BASEADDR : std_logic_vector(0 to 31) := x"A0000000";
|
constant C_BASEADDR : std_logic_vector(0 to 31) := x"A0000000";
|
constant C_HIGHADDR : std_logic_vector(0 to 31) := x"A0007FFF";
|
constant C_HIGHADDR : std_logic_vector(0 to 31) := x"A0007FFF";
|
|
|
-- extra calculated constants
|
-- extra calculated constants
|
Line 819... |
Line 819... |
generic map(
|
generic map(
|
C_NR_BITS_TOTAL => C_NR_BITS_TOTAL,
|
C_NR_BITS_TOTAL => C_NR_BITS_TOTAL,
|
C_NR_STAGES_TOTAL => C_NR_STAGES_TOTAL,
|
C_NR_STAGES_TOTAL => C_NR_STAGES_TOTAL,
|
C_NR_STAGES_LOW => C_NR_STAGES_LOW,
|
C_NR_STAGES_LOW => C_NR_STAGES_LOW,
|
C_SPLIT_PIPELINE => C_SPLIT_PIPELINE,
|
C_SPLIT_PIPELINE => C_SPLIT_PIPELINE,
|
C_FIFO_DEPTH => C_FIFO_DEPTH,
|
C_FIFO_AW => C_FIFO_AW,
|
C_MEM_STYLE => C_MEM_STYLE, -- xil_prim, generic, asym are valid options
|
C_MEM_STYLE => C_MEM_STYLE, -- xil_prim, generic, asym are valid options
|
C_FPGA_MAN => C_FPGA_MAN, -- xilinx, altera are valid options
|
C_FPGA_MAN => C_FPGA_MAN, -- xilinx, altera are valid options
|
C_BASEADDR => C_BASEADDR,
|
C_BASEADDR => C_BASEADDR,
|
C_HIGHADDR => C_HIGHADDR
|
C_HIGHADDR => C_HIGHADDR
|
)
|
)
|
port map(
|
port map(
|
--USER ports
|
--USER ports
|
calc_time => calc_time,
|
calc_time => calc_time,
|
IntrEvent => IntrEvent,
|
IntrEvent => IntrEvent,
|
|
core_clk => core_clk,
|
-------------------------
|
-------------------------
|
-- AXI4lite interface
|
-- AXI4lite interface
|
-------------------------
|
-------------------------
|
--- Global signals
|
--- Global signals
|
S_AXI_ACLK => S_AXI_ACLK,
|
S_AXI_ACLK => S_AXI_ACLK,
|