pyrogue.Root: asset error if a device is added without a memBase

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Trivial
    • Component/s: None
    • None

      In my root, I added this device:

              self.add(axi.AxiStreamMonAxiL(
                  name        = 'BuffIbMon',
                  offset      = 0x0020_0000,
                  numberLanes = args.numLane,
              ))
      

      I was getting a timeout when I tried to access this device. Waste time until I figured out that I forgot to add the memBase:

              self.add(axi.AxiStreamMonAxiL(
                  name        = 'BuffIbMon',
                  offset      = 0x0020_0000,
                  numberLanes = args.numLane,
                  memBase     = self.memMap, <-- look here
              ))
      

      It would be nice if rogue assert an error if a device is added to Root but no memBase defined

              Assignee:
              Unassigned
              Reporter:
              Larry Ruckman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: