From fae3e645a25550be1879b9320a82f1abc54a668e Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 9 Nov 2018 18:25:42 +0000 Subject: [PATCH] ecp5: Add 'fake' DCU parameters Signed-off-by: David Shah --- techlibs/ecp5/cells_bb.v | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/techlibs/ecp5/cells_bb.v b/techlibs/ecp5/cells_bb.v index 2585c14a9..057f9d737 100644 --- a/techlibs/ecp5/cells_bb.v +++ b/techlibs/ecp5/cells_bb.v @@ -482,6 +482,17 @@ module DCUA( parameter D_TXPLL_PWDNB = "0b0"; parameter D_TX_VCO_CK_DIV = "0b000"; parameter D_XGE_MODE = "0b0"; + +// These parameters don't do anything but are +// needed for compatability with Diamond + parameter D_TX_MAX_RATE = "2.5"; + parameter D_RX_MAX_RATE = "2.5"; + parameter CH0_TXAMPLITUDE = "0d1300"; + parameter CH1_TXAMPLITUDE = "0d1300"; + parameter CH0_PROTOCOL = "8B10B"; + parameter CH1_PROTOCOL = "8B10B"; + parameter CH0_CDR_MAX_RATE = "2.5"; + parameter CH1_CDR_MAX_RATE = "2.5"; endmodule (* blackbox *) -- 2.30.2