pynq.metadata-clock_dict_view Module

Provides a view onto the Metadata object that displays all configurable clocks in the system. Models a dictionary, where the key is the index for the clock and the values contain:

  • enable : int whether the clock is enabled, 1 when enabled, 0 when disabled.
  • divisor0 : int divisor value for the clock
  • divisor1 : int divisor value for the clock
class pynq.metadata.clock_dict_view.ClockDictView(module: pynqmetadata.models.module.Module)[source]

Bases: object

Provides a view onto the Metadata object that displays all configurable clocks in the system. Models a dictionary, where the key is the index for the clock and the values contain:

  • ‘enable’ : int whether the clock is enabled
  • ‘divisor0’ : int divisor value for the clock
  • ‘divisor1’ : int divisor value for the clock
clock_dict
items()[source]
keys()[source]