Fixed Top dma issues in flash model
merged
Merge pull request #4 from m-liu/master

flash top fixes