summaryrefslogtreecommitdiff
path: root/UNI
diff options
context:
space:
mode:
authorYun-Ze Li <p76091292@gs.ncku.edu.tw>2021-12-23 07:50:01 +0100
committerYun-Ze Li <p76091292@gs.ncku.edu.tw>2021-12-23 07:50:01 +0100
commit196683d2ec21da97764a17b5683539588715d1de (patch)
tree886d7d603a7a9bd6b883ff136daf3f14933d97d0 /UNI
parent0b22a7ec4885131a313e076675603f51c425aebc (diff)
bs_bug_fix: Make MRAM reads 8-byte aligned
Current implementation does not guarantee that `current_mram_block_addr_A` is 8-byte aligned before using it as the start address of `mram_read`s. This commit makes `current_mram_block_addr_A` 8-byte aligned whenever we try to use it for a MRAM read by `current_mram_block_addr_A &= WORD_MASK`, which will clear the unaligned bytes. Signed-off-by: Yun-Ze Li <p76091292@gs.ncku.edu.tw>
Diffstat (limited to 'UNI')
0 files changed, 0 insertions, 0 deletions