pynq.metadata-ip_dict_view Module

Provides a view onto the Metadata object that displays all addressable IP from the Processing System. Models a dictionary, where the key is the IP name, and each entry contains:

  • physical address
  • address range
  • type
  • parameters dictionary
  • register dictionary
  • any associated state

The produced view dictionary has the type:

IP: {str: {‘phys_addr’ : int, ‘addr_range’ : int, ‘type’ : str, ‘parameters’ : dict, ‘registers’: dict, ‘state’ : str}}

class pynq.metadata.ip_dict_view.IpDictView(module: pynqmetadata.models.module.Module, submodule: bool = False)[source]

Bases: pynq.metadata.metadata_view.MetadataView

Provides a view onto the Metadata object that displays all addressable IP from the Processing System. Models a dictionary, where the key is the IP name, and each entry contains:

  • physical address
  • address range
  • type
  • parameters dictionary
  • register dictionary
  • any associated state

The produced view dictionary has the type: IP: {str: {‘phys_addr’ : int, ‘addr_range’ : int, ‘type’ : str,

‘parameters’ : dict, ‘registers’: dict, ‘state’ : str}}
get_ps() → pynqmetadata.models.proc_sys_core.ProcSysCore[source]

Gets a reference to the PS core for this design

view

Returns the dictionary view of the metadata, this should be overloaded in the subclass to actually implement the view