Don't increment instret immediately after it is written (#231)
authorAndrew Waterman <aswaterman@gmail.com>
Sat, 18 Aug 2018 01:49:47 +0000 (18:49 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Aug 2018 01:49:47 +0000 (18:49 -0700)
commit8a485de092c1ffc79105db34aca8875203921d63
tree882b1837431d8bfb37d409b980200b9d4072d54e
parentbed0a54fdaedf09a4c6523a2a116b59d021fb12b
Don't increment instret immediately after it is written (#231)

This brings Spike into compliance with this clause in the spec:
https://github.com/riscv/riscv-isa-manual/blob/master/src/csr.tex#L96
riscv/processor.cc