1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-03-10 04:24:30 +00:00

soc: Fix -Whide warning

soc.vhdl:847:9⚠️ declaration of "uart1" hides if generate statement [-Whide]
        uart1: uart_top
        ^

Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Joel Stanley
2022-08-08 20:24:54 +09:30
parent c6ca844c88
commit dc6a4b1406

View File

@@ -841,7 +841,7 @@ begin
--
-- Always 16550 if it exists
--
uart1: if HAS_UART1 generate
uart1_16550: if HAS_UART1 generate
signal irq_l : std_ulogic;
begin
uart1: uart_top