g_bg_file_index_arr:t_nat_natural_arr:=array_init(0,128,1);-- default use the instance index as file index 0, 1, 2, 3, 4 ...
g_bg_file_name_prefix:STRING:="data/bf_in_data";-- Path to the hex files that contain the initial data for the memories. The sequence number and ".hex" are added within the entity.
wr_fifo_usedw:OUTSTD_LOGIC_VECTOR(ceil_log2(g_io_wr_fifo_depth*(func_tech_ddr_ctlr_data_w(g_io_tech_ddr)/g_io_wr_data_w))-1DOWNTO0);-- for monitoring purposes
CONSTANTc_io_wr_fifo_depth:NATURAL:=(g_dp_fifo_depth*g_dp_data_w)/func_tech_ddr_ctlr_data_w(g_io_tech_ddr);-- >=16 , defined at DDR side of the FIFO
CONSTANTc_io_rd_fifo_depth:NATURAL:=(g_dp_fifo_depth*g_dp_data_w)/func_tech_ddr_ctlr_data_w(g_io_tech_ddr);-- >=16 AND >g_tech_ddr.maxburstsize, defined at DDR side of the FIFO, default 256 because 32b*256 fits in 1 M9K
CONSTANTc_io_rd_fifo_af_margin:NATURAL:=4+1*64;-- < c_io_rd_fifo_depth and sufficient to fit one or more rd burst accesses of g_io_tech_ddr.maxburstsize each