diff options
| author | Evan Lojewski <github@meklort.com> | 2019-05-02 19:59:19 -0600 |
|---|---|---|
| committer | Evan Lojewski <github@meklort.com> | 2019-05-02 19:59:19 -0600 |
| commit | 86106d98887a390f3a0dd54edf167cb5da1c2436 (patch) | |
| tree | 95ef7dfb0615a611e6ee8a3b37b8bdb5195a86d2 /simulator/include | |
| parent | d34ace3709b06d55510c7b4481f9e055ff6610e3 (diff) | |
| download | bcm5719-ortega-86106d98887a390f3a0dd54edf167cb5da1c2436.tar.gz bcm5719-ortega-86106d98887a390f3a0dd54edf167cb5da1c2436.zip | |
Begin moving APE tx code from the host to the APE.
Diffstat (limited to 'simulator/include')
| -rw-r--r-- | simulator/include/CXXRegister.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/simulator/include/CXXRegister.h b/simulator/include/CXXRegister.h index d565d4d..3e40e3e 100644 --- a/simulator/include/CXXRegister.h +++ b/simulator/include/CXXRegister.h @@ -148,6 +148,13 @@ protected: void doRelatedWritesBase(CXXRegisterBase* source) { + if(source->mMask != this->mMask) + { + // read latest value as we are only modifying some bits. + doReadCallbacks(); + setRawValue(getTempValue()); + } + // Update base temp value with latest write. unsigned int base = getRawValue(); base &= ~(source->mMask); |

