Skip to content
Snippets Groups Projects
Commit edfdaed2 authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

made the red/green frontpanel leds working by using python script.

Connected signal pout_debug_wave. Controlling leds by MM address
PIO_DEBUG_WAVE
parent f0431048
Branches
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ BEGIN ...@@ -95,6 +95,7 @@ BEGIN
u_revision : ENTITY unb1_test_lib.unb1_test u_revision : ENTITY unb1_test_lib.unb1_test
GENERIC MAP ( GENERIC MAP (
g_design_name => g_design_name, g_design_name => g_design_name,
g_design_note => g_design_note,
g_sim => g_sim, g_sim => g_sim,
g_sim_unb_nr => g_sim_unb_nr, g_sim_unb_nr => g_sim_unb_nr,
g_sim_node_nr => g_sim_node_nr, g_sim_node_nr => g_sim_node_nr,
......
...@@ -63,6 +63,7 @@ ENTITY mmm_unb1_test IS ...@@ -63,6 +63,7 @@ ENTITY mmm_unb1_test IS
pout_wdi : OUT STD_LOGIC; pout_wdi : OUT STD_LOGIC;
pout_debug_wave : OUT STD_LOGIC_VECTOR(c_word_w-1 DOWNTO 0);
-- Manual WDI override -- Manual WDI override
reg_wdi_mosi : OUT t_mem_mosi; reg_wdi_mosi : OUT t_mem_mosi;
...@@ -449,7 +450,7 @@ BEGIN ...@@ -449,7 +450,7 @@ BEGIN
coe_writedata_export_from_the_reg_remu => reg_remu_mosi.wrdata(c_word_w-1 DOWNTO 0), coe_writedata_export_from_the_reg_remu => reg_remu_mosi.wrdata(c_word_w-1 DOWNTO 0),
-- the_pio_debug_wave -- the_pio_debug_wave
out_port_from_the_pio_debug_wave => OPEN, out_port_from_the_pio_debug_wave => pout_debug_wave,
-- the_pio_pps -- the_pio_pps
coe_clk_export_from_the_pio_pps => OPEN, coe_clk_export_from_the_pio_pps => OPEN,
......
...@@ -216,6 +216,7 @@ ARCHITECTURE str OF unb1_test IS ...@@ -216,6 +216,7 @@ ARCHITECTURE str OF unb1_test IS
-- PIOs -- PIOs
SIGNAL pout_wdi : STD_LOGIC; SIGNAL pout_wdi : STD_LOGIC;
SIGNAL pout_debug_wave : STD_LOGIC_VECTOR(c_word_w-1 DOWNTO 0);
-- WDI override -- WDI override
SIGNAL reg_wdi_mosi : t_mem_mosi; SIGNAL reg_wdi_mosi : t_mem_mosi;
...@@ -378,6 +379,8 @@ BEGIN ...@@ -378,6 +379,8 @@ BEGIN
dp_clk_in => dp_clk, dp_clk_in => dp_clk,
-- PIOs -- PIOs
pout_debug_wave => pout_debug_wave,
-- Toggle WDI -- Toggle WDI
pout_wdi => pout_wdi, pout_wdi => pout_wdi,
...@@ -485,6 +488,7 @@ BEGIN ...@@ -485,6 +488,7 @@ BEGIN
-- PIOs -- PIOs
pout_wdi => pout_wdi, pout_wdi => pout_wdi,
pout_debug_wave => pout_debug_wave,
-- Manual WDI override -- Manual WDI override
reg_wdi_mosi => reg_wdi_mosi, reg_wdi_mosi => reg_wdi_mosi,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment