The source code for the driver is included with the Vitis Unified Software Platform installation, as well as being available in the Xilinx Github repository.
Driver Name | Path in vitis | Path in Git Hub |
---|---|---|
wdtps | <Vitis Install Directory>/data/embedded/XilinxProcessorIPLib/drivers/wdtps | https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/wdtps |
Note: To view the sources for a particular release, use the rel-version tag in github. For example, for the 2020.1 release, the proper version of the code is: https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/wdtps |
The driver source code is organized into different folders. The table below shows the wdtps driver source organization.
Directory | Description |
---|---|
src | Driver source files |
examples | Example applications that show how to use the driver features |
doc | Provides the API and data structure details |
data | Driver .tcl and .mdd file |
For a full list of features supported by this IP, please refer Chapter 14: Timers and clocks in Zynqmp Trm
The Axi watchdog timer Standalone driver supports the below things.
All Controller Features supported.
Examples Path:
https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/wdtps/examples
Test name | Example source | Description |
---|---|---|
basic test | xwdtps_selftest_example.c | This example does a minimal test on the System Watchdog Timer device. |
Polled | xwdtps_polled_example.c | This example tests the functioning of the System WatchDog Timer driver in the polled mode |
Interrupt | xwdtps_intr_example.c | This example tests the functioning of the System WatchDog Timer driver in the Interrupt mode |
WDT SelfTest Example Test Successfully ran WDT SelfTest Example Test |
WDT Polled Mode Example Test Successfully ran WDT Polled Mode Example Test |
WDT Interrupt Example Test Successfully ran WDT Interrupt Example Test |
NA
https://github.com/Xilinx/embeddedsw/blob/xlnx_rel_v2021.1/doc/ChangeLog#L363
https://github.com/Xilinx/embeddedsw/blob/release-2020.2/doc/ChangeLog#L248
https://github.com/Xilinx/embeddedsw/blob/release-2020.1/doc/ChangeLog#L560
https://github.com/Xilinx/embeddedsw/blob/release-2019.2/doc/ChangeLog#L101
None
https://github.com/Xilinx/embeddedsw/blob/release-2018.3/doc/ChangeLog#L430