From a8c4927fed2c193c1e6bfb8f4b3f6498e58807cb Mon Sep 17 00:00:00 2001 From: mole99 Date: Sat, 13 Apr 2024 17:13:23 +0200 Subject: [PATCH] Remove pll --- fpga/rtl/pll40m.v | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 fpga/rtl/pll40m.v diff --git a/fpga/rtl/pll40m.v b/fpga/rtl/pll40m.v deleted file mode 100644 index 12d4c6b..0000000 --- a/fpga/rtl/pll40m.v +++ /dev/null @@ -1,46 +0,0 @@ -// diamond 3.7 accepts this PLL -// diamond 3.8-3.9 is untested -// diamond 3.10 or higher is likely to abort with error about unable to use feedback signal -// cause of this could be from wrong CPHASE/FPHASE parameters -module pll40m -( - input clkin, // 25 MHz, 0 deg - output clkout0, // 40 MHz, 0 deg - output locked -); -(* FREQUENCY_PIN_CLKI="25" *) -(* FREQUENCY_PIN_CLKOP="40" *) -(* ICP_CURRENT="12" *) (* LPF_RESISTOR="8" *) (* MFG_ENABLE_FILTEROPAMP="1" *) (* MFG_GMCREF_SEL="2" *) -EHXPLLL #( - .PLLRST_ENA("DISABLED"), - .INTFB_WAKE("DISABLED"), - .STDBY_ENABLE("DISABLED"), - .DPHASE_SOURCE("DISABLED"), - .OUTDIVIDER_MUXA("DIVA"), - .OUTDIVIDER_MUXB("DIVB"), - .OUTDIVIDER_MUXC("DIVC"), - .OUTDIVIDER_MUXD("DIVD"), - .CLKI_DIV(5), - .CLKOP_ENABLE("ENABLED"), - .CLKOP_DIV(15), - .CLKOP_CPHASE(7), - .CLKOP_FPHASE(0), - .FEEDBK_PATH("CLKOP"), - .CLKFB_DIV(8) - ) pll_i ( - .RST(1'b0), - .STDBY(1'b0), - .CLKI(clkin), - .CLKOP(clkout0), - .CLKFB(clkout0), - .CLKINTFB(), - .PHASESEL0(1'b0), - .PHASESEL1(1'b0), - .PHASEDIR(1'b1), - .PHASESTEP(1'b1), - .PHASELOADREG(1'b1), - .PLLWAKESYNC(1'b0), - .ENCLKOP(1'b0), - .LOCK(locked) - ); -endmodule