diff options
Diffstat (limited to 'spdif.vhd')
-rw-r--r-- | spdif.vhd | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -9,6 +9,8 @@ entity spdif is spdif_in : in std_logic; n_rst_in : in std_logic; + led_r : out std_logic; + led_g : out std_logic; n_leds : out std_logic_vector(2 downto 0); n_mute_out : out std_logic; n_stby_out : out std_logic; @@ -118,9 +120,9 @@ begin -- mute => mute3 -- ); - mute1 <= '1'; - mute3 <= '1'; - mute <= mute1 and mute2 and mute3; + mute1 <= '1'; + mute3 <= '1'; + mute <= mute1 and mute2 and mute3; n_mute_out <= not mute; n_stby_out <= not mute; @@ -129,6 +131,9 @@ begin n_leds(1) <= mute2; n_leds(2) <= mute3; + led_r <= mute; + led_g <= not mute; + end rtl; |