PYNQ icon indicating copy to clipboard operation
PYNQ copied to clipboard

Incorrect ip_dict when using multibank Alveo memories

Open quetric opened this issue 2 years ago • 2 comments

  • PYNQ version (e.g. v2.6): 2.7.1
  • Board name (e.g. Pynq-Z2): Alveo U280
  • Description:

ip_dict is incorrect when multiple memory banks are attached to one kernel AXIMM interface, e.g. for HBM[0:5] the ip_dict will indicate HBM[5]

quetric avatar Jul 19 '22 09:07 quetric

Hi @quetric,

What would you expect the dict to report?

mariodruiz avatar Jul 19 '22 09:07 mariodruiz

Hi @mariodruiz

The "memory" entry for the AXIMM interface/register should say HBM[0:5] indicating that all banks from 0 to 5 are connected to that interface. I think this is preferable since it corresponds to the vitis configuration setting that was used to make the connection. Alternatively the dictionary entry could have a list of banks e.g. "memory": ["HBM[0]", "HBM[5]" etc]

quetric avatar Jul 19 '22 09:07 quetric