Skip to content
Snippets Groups Projects
Commit f8289ae0 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use RESIZE_DP_BSN(init_bsn) to avoid slv to int conversion warnings on...

Use RESIZE_DP_BSN(init_bsn) to avoid slv to int conversion warnings on undefined MSbits > g_bsn_w, to prepare for using c_dp_sosi_rst with dont care info and data fields.
parent 4784881f
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ ARCHITECTURE rtl OF dp_bsn_source IS
SIGNAL block_cnt : STD_LOGIC_VECTOR(g_bsn_w-1 DOWNTO 0);
SIGNAL nxt_block_cnt : STD_LOGIC_VECTOR(g_bsn_w-1 DOWNTO 0);
SIGNAL i_src_out : t_dp_sosi;
SIGNAL i_src_out : t_dp_sosi := c_dp_sosi_init;
SIGNAL nxt_src_out : t_dp_sosi;
SIGNAL nxt_dp_on_status : STD_LOGIC;
......@@ -141,7 +141,7 @@ BEGIN
WHEN s_dp_off =>
nxt_dp_on_status <= '0';
nxt_block_cnt <= (OTHERS=>'0');
nxt_src_out.bsn(g_bsn_w-1 DOWNTO 0) <= init_bsn;
nxt_src_out.bsn <= RESIZE_DP_BSN(init_bsn);
IF dp_on = '1' THEN
IF dp_on_pps = '1' THEN
IF pps = '1' THEN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment