ecp5: Add blackboxes for ancillary DCU cells
authorDavid Shah <dave@ds0.me>
Fri, 9 Nov 2018 15:18:30 +0000 (15:18 +0000)
committerDavid Shah <dave@ds0.me>
Fri, 9 Nov 2018 15:18:30 +0000 (15:18 +0000)
Signed-off-by: David Shah <dave@ds0.me>
techlibs/ecp5/cells_bb.v

index 401b976d8a15c3a5333e16df3ec9d50241b5f003..2585c14a9ca341d5633f4decb4dcad446b84d134 100644 (file)
@@ -483,3 +483,21 @@ module DCUA(
        parameter D_TX_VCO_CK_DIV = "0b000";
        parameter D_XGE_MODE = "0b0";
 endmodule
+
+(* blackbox *)
+module EXTREFB (
+       input  REFCLKP, REFCLKN,
+       output REFCLKO
+);
+       parameter REFCK_PWDNB = "0b0";
+       parameter REFCK_RTERM = "0b0";
+       parameter REFCK_DCBIAS_EN = "0b0";
+endmodule
+
+(* blackbox *)
+module PCSCLKDIV (
+       input CLKI, RST, SEL2, SEL1, SEL0,
+       output CDIV1, CDIVX
+);
+       parameter GSR = "DISABLED";
+endmodule