From 01f7f75ca350e1d0bd4b376628b71b4f1963d533 Mon Sep 17 00:00:00 2001 From: Javier Valenzuela Date: Thu, 10 Feb 2022 12:16:22 -0600 Subject: [PATCH] fpga: x400: Add DRAM enable macro Original-commit: cdcd39aeb508298e28e8a2a89db5ab9fefd70435 --- top/x400/x4xx_core.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/top/x400/x4xx_core.v b/top/x400/x4xx_core.v index c9ab18e..df60b8a 100644 --- a/top/x400/x4xx_core.v +++ b/top/x400/x4xx_core.v @@ -394,6 +394,10 @@ module x4xx_core #( // DRAM //--------------------------------------------------------------------------- + `ifndef ENABLE_DRAM + `define ENABLE_DRAM 0 + `endif + // Only the 100 and 200 MHz images currently support DRAM due to FPGA // resource limitations. For 200 MHz and below, a 64-bit interface provides // sufficient bandwidth.