zpu_core_small: load
commitc3a6c5f8c614919982ef31c9e8e324525ce105b1
authorAlvaro <alvieboy@alvie.com>
Fri, 22 Oct 2010 16:18:33 +0000 (22 18:18 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 22 Oct 2010 16:18:33 +0000 (22 18:18 +0200)
treeb5a0f117286755fee23bd4483a05be5b807698cd
parent685ce53dfba47bf06a25f2566a157ed5cda8ba1d
zpu_core_small: load

memAAddr is not being initialized during IO read operations
(LOAD). This might cause spurious writes to invalid addresses,
and invalid values to be loaded onto the stack. This patch
explicitly sets memAAddr to correct value (sp).
zpu/hdl/zpu4/core/zpu_core_small.vhd