Commit b2861817 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

led_i2c_err_o is now set high on both I2C address error and WDTO error

parent 223396a3
...@@ -121,7 +121,7 @@ entity conv_common_gw is ...@@ -121,7 +121,7 @@ entity conv_common_gw is
-- I2C LED signals -- conect to a bicolor LED of choice -- I2C LED signals -- conect to a bicolor LED of choice
-- led_i2c_o pulses four times on I2C transfer -- led_i2c_o pulses four times on I2C transfer
-- led_i2c_err_o reflects the state of SR.I2C_ERR bit in conv_regs -- led_i2c_err_o is high when either SR.I2C_ERR = '1' or SR.I2C_WDTO = '1'
led_i2c_o : out std_logic; led_i2c_o : out std_logic;
led_i2c_err_o : out std_logic; led_i2c_err_o : out std_logic;
...@@ -577,7 +577,7 @@ begin ...@@ -577,7 +577,7 @@ begin
end process p_i2c_err_led; end process p_i2c_err_led;
-- Set the I2C err signal for the LED -- Set the I2C err signal for the LED
led_i2c_err_o <= i2c_err_bit; led_i2c_err_o <= i2c_err_bit or i2c_wdto_bit;
--============================================================================ --============================================================================
-- Instantiation and connection of the main Wishbone crossbar -- Instantiation and connection of the main Wishbone crossbar
......
...@@ -111,7 +111,7 @@ package conv_common_gw_pkg is ...@@ -111,7 +111,7 @@ package conv_common_gw_pkg is
-- I2C LED signals -- conect to a bicolor LED of choice -- I2C LED signals -- conect to a bicolor LED of choice
-- led_i2c_o pulses four times on I2C transfer -- led_i2c_o pulses four times on I2C transfer
-- led_i2c_err_o reflects the state of SR.I2C_ERR bit in conv_regs -- led_i2c_err_o is high when either SR.I2C_ERR = '1' or SR.I2C_WDTO = '1'
led_i2c_o : out std_logic; led_i2c_o : out std_logic;
led_i2c_err_o : out std_logic; led_i2c_err_o : out std_logic;
......
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