diff --git a/src/rogue/interfaces/memory/Variable.cpp b/src/rogue/interfaces/memory/Variable.cpp index 1a40ff295..3bb928625 100644 --- a/src/rogue/interfaces/memory/Variable.cpp +++ b/src/rogue/interfaces/memory/Variable.cpp @@ -487,7 +487,7 @@ void rim::Variable::shiftOffsetDown(uint32_t shift, uint32_t minSize) { } // Compute total bit range of accessed bytes - varBytes_ = highTranByte_[numValues_ - 1]; + varBytes_ = highTranByte_[numValues_ - 1] + 1; staleHighByte_ = highTranByte_[numValues_ - 1]; } diff --git a/tests/test_list_memory.py b/tests/test_list_memory.py index 68baae441..da5cb7aca 100644 --- a/tests/test_list_memory.py +++ b/tests/test_list_memory.py @@ -16,7 +16,7 @@ import numpy as np import random -#rogue.Logging.setLevel(rogue.Logging.Warning) +rogue.Logging.setLevel(rogue.Logging.Debug) #import logging #logger = logging.getLogger('pyrogue') #logger.setLevel(logging.DEBUG)