In reply to UVM_LOVE:
In your dma_adapter you specify in the funtion reg2bus only the WRITE direction. You do not specify what should happen in case of READ, i.e. returns the initial values of the data type.
In reply to UVM_LOVE:
In your dma_adapter you specify in the funtion reg2bus only the WRITE direction. You do not specify what should happen in case of READ, i.e. returns the initial values of the data type.