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

Debug: for single board application force bck_id = 0 to avoid need to set the bck_id input.

parent c943bb9d
Branches
No related tags found
No related merge requests found
...@@ -220,6 +220,8 @@ END ctrl_unb2_board; ...@@ -220,6 +220,8 @@ END ctrl_unb2_board;
ARCHITECTURE str OF ctrl_unb2_board IS ARCHITECTURE str OF ctrl_unb2_board IS
SIGNAL ID_single_board : STD_LOGIC_VECTOR(g_aux.id_w-1 DOWNTO 0);
-- Clock and reset -- Clock and reset
SIGNAL i_xo_ethclk : STD_LOGIC; SIGNAL i_xo_ethclk : STD_LOGIC;
SIGNAL i_xo_rst : STD_LOGIC; SIGNAL i_xo_rst : STD_LOGIC;
...@@ -394,6 +396,8 @@ BEGIN ...@@ -394,6 +396,8 @@ BEGIN
-- System info -- System info
cs_sim <= is_true(g_sim); cs_sim <= is_true(g_sim);
ID_single_board <= "000000" & ID(1 DOWNTO 0); -- Debug: for single board application force bck_id = 0 to avoid need to set the bck_id input
u_mms_unb2_board_system_info : ENTITY work.mms_unb2_board_system_info u_mms_unb2_board_system_info : ENTITY work.mms_unb2_board_system_info
GENERIC MAP ( GENERIC MAP (
g_sim => g_sim, g_sim => g_sim,
...@@ -409,7 +413,8 @@ BEGIN ...@@ -409,7 +413,8 @@ BEGIN
mm_rst => i_mm_rst, mm_rst => i_mm_rst,
hw_version => VERSION, hw_version => VERSION,
id => ID, --id => ID,
id => ID_single_board,
reg_mosi => reg_unb_system_info_mosi, reg_mosi => reg_unb_system_info_mosi,
reg_miso => reg_unb_system_info_miso, reg_miso => reg_unb_system_info_miso,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment