pynq.ps Module

The pynq.ps module facilitates management of the Processing System (PS) and PS/PL interface. It provides Register and Clocks classes for setting and getting of ARM Architecture register bits. The Register class is used in the Clocks class for getting the ARM clock frequency, and getting and setting the frequencies Programmable Logic (PL) clocks.

class pynq.ps.Clocks[source]

Bases: object

Class for all the PS and PL clocks exposed to users.

With this class, users can get the CPU clock and all the PL clocks. Users can also set PL clocks to other values using this class.

cpu_mhz

The clock rate of the CPU, measured in MHz.

Type:float
fclk0_mhz

The clock rate of the PL clock 0, measured in MHz.

Type:float
fclk1_mhz

The clock rate of the PL clock 1, measured in MHz.

Type:float
fclk2_mhz

The clock rate of the PL clock 2, measured in MHz.

Type:float
fclk3_mhz

The clock rate of the PL clock 3, measured in MHz.

Type:float