diff options
author | fborisovskii <55748210+fborisovskii@users.noreply.github.com> | 2019-09-27 19:48:49 +0300 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2019-09-27 09:48:49 -0700 |
commit | 9443c1dbac0301faf3a47c5e6914cc7dcb34983e (patch) | |
tree | d2cbb1112384eb150e0fcbc5739bf290d12b1816 /riscv/riscv.ac | |
parent | a515af6d3bb5146a0a68cf88adf032fe78ba4ead (diff) | |
download | spike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.zip spike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.tar.gz spike-9443c1dbac0301faf3a47c5e6914cc7dcb34983e.tar.bz2 |
Fixed match trigger MATCH_NAPOT case. (#335)
Mask calculation was not in consistency with debug spec.
Watch debug spec. 5.2.7 match field overview and
debug spec. B.9 fourth example.
Mask should not cover LSB zero bit.
Also there is a way to make it simplier:
reg_t mask = ~(((~state.tdata2[i]) - 1) ^ ~state.tdata2[i]);
Diffstat (limited to 'riscv/riscv.ac')
0 files changed, 0 insertions, 0 deletions