Commit ea659890 authored by Miguel Jimenez Lopez's avatar Miguel Jimenez Lopez

xwr_dio: Remove inferred latch.

This latch provokes false interrupts in the DIO channel 4 for some bitstreams.
parent ae17ac52
......@@ -3,7 +3,7 @@
-- Project : White Rabbit Network Interface
-------------------------------------------------------------------------------
-- File : xwr_dio.vhd
-- Author : Rafael Rodriguez, Javier Díaz
-- Author : Rafael Rodriguez, Javier Daz
-- Company : Seven Solutions
-- Created : 2012-03-03
-- Last update: 2013-08-07
......@@ -814,7 +814,7 @@ begin
irq_nempty(3) <= not dio_tsf_wr_empty(3);
--disable interrupts when setup in clock mode.
irq_nempty(4) <= not dio_tsf_wr_empty(4) when (dio_iomode_reg(18 downto 16) /= "110");
irq_nempty(4) <= not dio_tsf_wr_empty(4) when (dio_iomode_reg(18 downto 16) /= "110") else '0';
irq_fifos : for i in 0 to 4 generate
process(clk_sys_i)
......
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