From: David Shah Date: Fri, 9 Nov 2018 18:25:42 +0000 (+0000) Subject: ecp5: Add 'fake' DCU parameters X-Git-Tag: yosys-0.9~409^2~1^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fae3e645a25550be1879b9320a82f1abc54a668e;p=yosys.git ecp5: Add 'fake' DCU parameters Signed-off-by: David Shah --- 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 *)