CYNQ  0.3.0
Framework to develop FPGA applications in C++ with the easiness of PYNQ
cynq::UltraScaleClocks Struct Reference

Contains the information about the registers used for the clocks. More...

#include <hardware.hpp>

Collaboration diagram for cynq::UltraScaleClocks:

Data Fields

std::array< bool, max_clocks > pl_active = {false}
 
std::array< bool, max_clocks > pl_valid = {false}
 
std::array< float, max_clocks > src_freq = {0.f}
 
std::array< uint32_t, max_clocks > pl_reg
 
std::array< uint32_t, max_clocks > src_reg
 
std::array< float, 4 > target_clocks_mhz = {-1.f}
 
std::array< float, 4 > current_clocks_mhz = {-1.f}
 

Static Public Attributes

static constexpr int max_clocks = 4
 

Detailed Description

Contains the information about the registers used for the clocks.

Field Documentation

◆ current_clocks_mhz

std::array<float, 4> cynq::UltraScaleClocks::current_clocks_mhz = {-1.f}

Current clocks: used in UltraScale+

◆ pl_active

std::array<bool, max_clocks> cynq::UltraScaleClocks::pl_active = {false}

Verifies if the PL clock is enabled

◆ pl_reg

std::array<uint32_t, max_clocks> cynq::UltraScaleClocks::pl_reg

Contains the information about the queried pl registers

◆ pl_valid

std::array<bool, max_clocks> cynq::UltraScaleClocks::pl_valid = {false}

Verifies if the PL clock is valid

◆ src_freq

std::array<float, max_clocks> cynq::UltraScaleClocks::src_freq = {0.f}

Contains the source clock frequency

◆ src_reg

std::array<uint32_t, max_clocks> cynq::UltraScaleClocks::src_reg

Contains the information about the queried source registers

◆ target_clocks_mhz

std::array<float, 4> cynq::UltraScaleClocks::target_clocks_mhz = {-1.f}

Target clocks: used in UltraScale+


The documentation for this struct was generated from the following file: