Commit d323d8bd authored by Dimitris Lampridis's avatar Dimitris Lampridis

[hdl] fix swapped GN GPIO IRQ line

parent f3013290
......@@ -278,7 +278,7 @@ begin -- architecture arch
tx_error_i => gn_tx_error_i,
dma_irq_o => open,
irq_p_i => vic_master_irq,
irq_p_o => gn_gpio_b(0),
irq_p_o => gn_gpio_b(1),
dma_reg_clk_i => clk_sys,
dma_reg_adr_i => (others => '0'),
dma_reg_dat_i => (others => '0'),
......@@ -305,6 +305,9 @@ begin -- architecture arch
dma_err_i => '0',
dma_rty_i => '0');
-- drive unused GN GPIO output
gn_gpio_b(0) <= '0';
-- "translating" word addressing of Gennum module into byte addressing
cnx_master_out(c_MASTER_PCIE).adr(1 downto 0) <= (others => '0');
cnx_master_out(c_MASTER_PCIE).adr(18 downto 2) <= gn_wbadr(16 downto 0);
......@@ -315,6 +318,7 @@ begin -- architecture arch
-- synthesis translate_off
cnx_master_out(c_MASTER_PCIE) <= sim_wb_i;
sim_wb_o <= cnx_master_in(c_MASTER_PCIE);
gn_gpio_b <= (others => '0');
-- synthesis translate_on
end generate gen_without_pcie_core;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment