Add LOG_LENGTH to top-generic.vhdl
authorAnton Blanchard <anton@linux.ibm.com>
Tue, 8 Dec 2020 08:18:34 +0000 (19:18 +1100)
committerAnton Blanchard <anton@ozlabs.org>
Tue, 8 Dec 2020 08:18:34 +0000 (19:18 +1100)
The other top level files allow LOG_LENGTH to be configured.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
fpga/top-generic.vhdl

index 2ad0dd37fe79ee53d29e8006aebfab8b0413485a..d5219ff3118238754add1469d886977afaa1355b 100644 (file)
@@ -12,6 +12,7 @@ entity toplevel is
        CLK_INPUT     : positive := 100000000;
        CLK_FREQUENCY : positive := 100000000;
         HAS_FPU       : boolean  := true;
+        LOG_LENGTH    : natural := 512;
        DISABLE_FLATTEN_CORE : boolean := false;
         UART_IS_16550 : boolean  := true
        );
@@ -70,6 +71,7 @@ begin
            SIM           => false,
            CLK_FREQ      => CLK_FREQUENCY,
             HAS_FPU       => HAS_FPU,
+            LOG_LENGTH    => LOG_LENGTH,
            DISABLE_FLATTEN_CORE => DISABLE_FLATTEN_CORE,
             UART0_IS_16550     => UART_IS_16550
            )