litex-buildenv icon indicating copy to clipboard operation
litex-buildenv copied to clipboard

Modernize the PLL generation inside CRG files

Open mithro opened this issue 5 years ago • 2 comments

LiteX has gained the ability to easily create PLL objects. See https://github.com/timvideos/litex-buildenv/blob/master/targets/arty/crg.py for example.

Convert all the PLL generation in crg.py files to use this new method.

mithro avatar Apr 06 '20 15:04 mithro

Just for info, all up to date designs are using this on Xilinx 7-series/Ultrascale(+) and Lattice iCE40/ECP5. The PLL object is also available on Spartan6 but has only been tested with simple clocking (ie for SDRAM, it still needs to be adapted for the Pipistrello for example: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/pipistrello.py, it's not done mostly because i was not having the hardware). The Altera ALTPLL object is not yet done but i was planning to work on that soon.

GitHub
LiteX boards files. Contribute to litex-hub/litex-boards development by creating an account on GitHub.

enjoy-digital avatar Apr 06 '20 17:04 enjoy-digital

We now also have PLL objects for Altera/Intel chip and this has been integrated in LiteX-Boards, for example: https://github.com/litex-hub/litex-boards/commit/1fac6077fb9ebfb3c016e744b6e9279d799fceb5.

enjoy-digital avatar Apr 08 '20 10:04 enjoy-digital