RemoteVariable Bug with two 8-byte variables on the same 32-bit word boundary

XMLWordPrintable

    • Type: Bug
    • Resolution: resolved
    • Priority: Major
    • Component/s: None
    • None

      Using the rogue at prelease:

      (rogue_pre-release) ruckman@rdsrv307:~/projects/sparkPix-S/software$ python scripts/devGui --dev sim
      Rogue/pyrogue version v4.10.15-270-gfeef5de2. https://github.com/slaclab/rogue
      

      Here's the FW:

            axiSlaveRegisterR(axilEp, x"7FC", 0, toSlv(DATA_WIDTH_G, 8));
            axiSlaveRegisterR(axilEp, x"7FC", 8, toSlv(NUM_LANE_G, 8));
      

      Here's the SW:

              self.add(pr.RemoteVariable(
                  name         = 'DATA_WIDTH_G',
                  offset       = 0x7FC,
                  bitSize      = 8,
                  bitOffset    = 0,
                  mode         = 'RO',
                  disp         = '{:d}',
              ))
      
              self.add(pr.RemoteVariable(
                  name         = 'NUM_LANE_G',
                  offset       = 0x7FC,
                  bitSize      = 8,
                  bitOffset    = 8,
                  mode         = 'RO',
                  disp         = '{:d}',
              ))
      

      I have confirmed that the issue goes away if I revert to an arbitary older release of rogue:

      (rogue_pre-release) ruckman@rdsrv307:~/projects/sparkPix-S/software$ conda deactivate
      ruckman@rdsrv307:~/projects/sparkPix-S/software$ conda activate rogue_4.10.16
      (rogue_4.10.16) ruckman@rdsrv307:~/projects/sparkPix-S/software$ python scripts/devGui --dev sim
      Rogue/pyrogue version v4.10.16. https://github.com/slaclab/rogue
      start: Started zmqServer on port 9099
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ruckman'
      Setting timeout to 1000 msecs, waitRetry = 1
      Connected to Root at localhost:9099
      Running GUI. Close window, hit cntrl-c or send SIGTERM to 2152342 to exit.
      

              Assignee:
              Ryan Herbst
              Reporter:
              Larry Ruckman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: