Commit 8fa0e453 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrsw_pstats: fix reading irq_mem when more than 32 counters per port is used

parent a9125c98
......@@ -421,7 +421,7 @@ begin
when READ_LS =>
rd_en <= '1';
IRQ_we <= '0';
IRQ_adr <= std_logic_vector(IRQ_port_adr);
IRQ_adr <= std_logic_vector(IRQ_port_adr+1);
if(rd_irq = '0') then
IRQ_cyc <= '0';
rd_state <= WRITE_LS;
......
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