ecp5: Add 'fake' DCU parameters
authorDavid Shah <dave@ds0.me>
Fri, 9 Nov 2018 18:25:42 +0000 (18:25 +0000)
committerDavid Shah <dave@ds0.me>
Fri, 9 Nov 2018 18:25:42 +0000 (18:25 +0000)
Signed-off-by: David Shah <dave@ds0.me>
techlibs/ecp5/cells_bb.v

index 2585c14a9ca341d5633f4decb4dcad446b84d134..057f9d737bdf87bc94974b6fdac43c65ed6d38cc 100644 (file)
@@ -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 *)