This page gives an overview of sysmonpsv driver which is available as part of the Xilinx Vivado and Vitis distribution.
Source path for the driver:
Driver source code is organized into different folders. Below diagram shows the sysmonpsv driver source organization
The SYSMON block, provides the following features.
Measure and monitor up to 160 voltages across the chip
Automatic alarms based on user defined limits for the on-chip supply voltages and temperature.
Optional interrupt generation.
xsysmonpsv_polled_example.c – This is a polled mode example in which shows the usage of the driver/device in polled mode to check the on-chip temperature and voltages.
xsysmonpsv_intr_example.c – This is an interrupt mode example in which shows the usage of the driver/device in interrupt mode to handle on-chip temperature and voltage alarm interrupts.
Fixed an issue in polled example which made it hang
Updated polled example to display temperature