-- 2) it can also by synthesized and run on an UniBoard BN to serve as source
-- to validate BN-BN link on hardware. If the BN-BN link does not work
-- then the RSP - BN link is unlikely to work either, so trying the BN-BN
-- link forms a useful intermediate development step.
LIBRARYIEEE,common_lib,dp_lib,diag_lib;
USEIEEE.STD_LOGIC_1164.ALL;
USEcommon_lib.common_pkg.ALL;
USEdp_lib.dp_stream_pkg.ALL;
USEdiag_lib.diag_pkg.ALL;
USEwork.rsp_terminal_pkg.ALL;
ENTITYrsp_terminal_txIS
GENERIC(
g_sim:BOOLEAN;
g_nof_lanes:NATURAL:=c_rsp_terminal_nof_lanes;
g_bg_use_subband_dat_hex:BOOLEAN:=FALSE-- when true use alternative (instead of counter data) subband HEX files
);
PORT(
mm_rst:INSTD_LOGIC;
mm_clk:INSTD_LOGIC;
dp_rst:INSTD_LOGIC;
dp_clk:INSTD_LOGIC;
gp_out:OUTSTD_LOGIC_VECTOR(c_rsp_terminal_nof_frame_types*g_nof_lanes+g_nof_lanes*c_rsp_terminal_nof_frame_types-1DOWNTO0);-- General purpose outputs for FIFO full monitoring
g_fifo_rl=>c_scheduler_fifo_rl,-- for all input use 0 for look ahead FIFO, 1 for normal FIFO
g_fifo_size=>(c_rsp_terminal_subband_scheduler_size,c_rsp_terminal_crosslet_scheduler_size,c_rsp_terminal_beamlet_scheduler_size),-- must match g_nof_input-1:0
g_fifo_fill=>(c_rsp_terminal_subband_scheduler_fill,c_rsp_terminal_crosslet_scheduler_fill,c_rsp_terminal_beamlet_scheduler_fill)-- must match g_nof_input-1:0