Configuring the Lattice ECP5 PLL

The Lattice ECP5 is a capable little FPGA, and has good support for open-source synthesis through the Yosys EDA toolchain. However, information on the details of configuring the FPGA&rsquo;s builtin PLL clocks is a little thin on the ground. I&rsquo;m going to try and help a little bit with that here. The ECP5 chip contains a handful of PLL modules. Each one takes a clock signal in, and can derive…