Limnanthes Serafini
e0d27ff5a0
Merge branch 'openhwgroup:main' into cachesim
2023-04-12 01:34:45 -07:00
Alec Vercruysse
d60e3aaf53
only assign ClearDirtyWay for read-write caches
2023-04-12 01:15:35 -07:00
Alec Vercruysse
729f81a0df
refactor cachefsm to get full coverage
...
I had to exclude i$ states in coverage-exclusions-rv64gc.do,
but it's referred to by scope, which should be pretty robust
2023-04-12 01:15:35 -07:00
Alec Vercruysse
1ce2ab5daa
Coverage and readability improvements to LRUUpdate logic
...
The genvar stuff was switched to readable names to make it easier
to understand for the first time. In the LRUUpdate logic for loop,
a special case was added for simpler logic in the case of the root
node, to hit coverage.
2023-04-12 01:15:35 -07:00
Alec Vercruysse
214abc7006
Make AdrSelMux and CacheBusAdrMux mux2 if READ_ONLY_CACHE
...
Some address options are only used in the D$ case.
2023-04-12 01:15:35 -07:00
Alec Vercruysse
6dce58125b
Remove FlushStage Logic from CacheLRU
...
For coverage.
LRUWriteEn is gated by FlushStage in cache.sv,
so removing the signal completely avoids future confusion.
Update cache.sv to reflect cacheLRU edit.
2023-04-12 01:15:35 -07:00
Alec Vercruysse
3fc6bb0c40
Exclude (FlushStage & SetValidWay) condition for RO caches
...
Spent a long time trying to find a way to see if this condition was
possible, only to become relativly convinced that it isn't.
Basically, since RO cache writes only happen after a long period of
stall for the bus access, there's no way a flushD can be active
at the same time as a RO cache write. TrapM causes a FlushD, but
interrupts are gated by the "commited" logic and the exception
pipeline stalls.
I feel like its worth keeping the logic to be safe
so I've chosen to exclude it rather than explicitely remove it.
2023-04-12 01:15:35 -07:00
Ross Thompson
2f6ed64e26
Merge pull request #232 from stineje/main
...
Mod testing for TestFloat
2023-04-11 23:22:59 -05:00
James Stine
5d1ad53bc7
Add feature in testfloat.do to elect wave or nowave
2023-04-11 22:35:04 -05:00
James Stine
f5201da676
Update testbench-fp to run TestFloat for all FP operations
2023-04-11 22:16:20 -05:00
Limnanthes Serafini
11a5b23bb8
Logger significantly improved.
2023-04-11 19:29:51 -07:00
Limnanthes Serafini
fdb81e44c9
Minor logic cleanup (will elaborate in PR)
2023-04-11 19:29:39 -07:00
Limnanthes Serafini
3f7f3d6a42
Wrapper for running CacheSim on the rv64gc suites
2023-04-11 19:29:05 -07:00
Limnanthes Serafini
b6ecd15eff
Cleanup + success message added to CacheSim
2023-04-11 19:28:28 -07:00
David Harris
953518bcba
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-04-11 19:08:09 -07:00
David Harris
32daa34680
Merge pull request #231 from kipmacsaigoren/priv-tests
...
Priv tests Updates for SVADU, and SAIL
2023-04-11 19:07:13 -07:00
Kip Macsai-Goren
9f30414e97
restored original virt mem tests when svadu is not supported
2023-04-11 18:47:08 -07:00
Kip Macsai-Goren
7d9ebf56ed
renamed virt mem tests to include svadu
2023-04-11 18:46:37 -07:00
Kip Macsai-Goren
cf50d04a21
removed unnecessary 'deadbeef's at the end of reference outputs
2023-04-11 18:32:04 -07:00
Kip Macsai-Goren
b839de4451
Modified virt mem tests to do correct r/w when svadu is enabled
2023-04-11 18:08:30 -07:00
Kip Macsai-Goren
599ebc572e
enabled SVADU for rv32/64gc
2023-04-11 17:42:26 -07:00
Kip Macsai-Goren
c179d76542
Removed Trap outputs from writes covered by SVADU
2023-04-11 17:41:57 -07:00
Kip Macsai-Goren
41ef59ddfe
Removed Sail from virt mem tests due to sail not recognizing SVADU
2023-04-11 17:41:31 -07:00
Kip Macsai-Goren
4bf2a7e15b
Added sail simulation to priv tests that support it
2023-04-11 13:26:59 -07:00
David Harris
4797f6ca5e
Merge pull request #230 from ACWright256/main
...
Excluded coverage for misaligned instructions
2023-04-11 05:21:09 -07:00
Alexa Wright
34fd402f23
Excluded coverage for misaligned instructions
2023-04-10 23:18:25 -07:00
Noah Limpert
a7ec77239f
Merge branch 'main' of https://github.com/openhwgroup/cvw into main
2023-04-10 19:01:32 -07:00
David Harris
baef1249e7
Turned on SVADU_SUPPORTED in rv32/64gc wally-config and in imperas.ic. ImperasDV is happy with these privileged tests now
2023-04-10 07:05:06 -07:00
David Harris
a819a24b83
Merge pull request #226 from SydRiley/main
...
Increased coverage for the fpu by adding directed tests to toggle signals
2023-04-09 21:52:11 -07:00
David Harris
df96732683
Merge pull request #223 from ross144/main
...
Solves issue 172
2023-04-09 20:30:26 -07:00
David Harris
2e97aa46db
Merge pull request #224 from kbox13/my-single-change
...
Create new PMP tests
2023-04-09 20:29:03 -07:00
Kevin Box
f74bb8b38e
Create new pmp tests
...
configures all pmpcfg registers in each different address range.
2023-04-09 16:29:57 -07:00
Noah Limpert
06a138e6d9
3rd attempt to resolve conflict in lsu.S file
2023-04-09 15:52:18 -07:00
Sydeny
ff405a49a5
Increasing coverage for the fpu by adding directed tests to toggle signals
2023-04-09 13:33:12 -07:00
Ross Thompson
d67ee33896
Updated wally figure again to increase resolution.
2023-04-09 12:26:15 -05:00
Ross Thompson
f6c84b1e8d
Updated wally top level figure to fix issue 172.
2023-04-09 12:20:43 -05:00
Ross Thompson
132016f131
Merge branch 'main' of https://github.com/openhwgroup/cvw into main
2023-04-09 12:19:44 -05:00
David Harris
11cadb3f8f
Merge pull request #222 from kjprime/main
...
Remove unnecessary check from compressed instruction decode
2023-04-09 04:56:21 -07:00
David Harris
c8cd2ffc77
Merge pull request #221 from dherreravicioso/main
...
Added test coverage for Privilege Unit in CSRs
2023-04-09 04:54:36 -07:00
Kevin Thomas
640310cf94
Merge branch 'main' of https://github.com/openhwgroup/cvw
2023-04-08 22:56:20 -05:00
Diego Herrera Vicioso
76d5c3e500
Added test coverage for floating point registers, some PMP addresses, as well as MTVAL and MCAUSE CSRs.
2023-04-08 16:40:36 -07:00
Ross Thompson
e79119e2fd
Merge pull request #220 from davidharrishmc/dev
...
Obscure coverage fixes
2023-04-08 10:27:31 -05:00
David Harris
d27779f4c0
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-04-07 21:57:18 -07:00
David Harris
4a2f641348
Waived coverage on BTB memory with byte write enables tied high
2023-04-07 21:56:49 -07:00
David Harris
495f2ed274
Improved RAS predictor coverage by eliminating unreachable StallM term
2023-04-07 21:37:12 -07:00
Ross Thompson
a36a8ef6f5
Merge pull request #219 from davidharrishmc/dev
...
Spill logic coverage and fdivsqrt cleanup
2023-04-07 23:30:52 -05:00
David Harris
5119222c2f
Commented WFI non-flush in writeback stage of hazard unit
2023-04-07 21:27:13 -07:00
David Harris
a9b7bd101e
Added vm64check tests to cover IMMU vm64
2023-04-07 21:14:52 -07:00
David Harris
25f394ce97
Fixed csrwrites.S to agree with ImperasDV. Now coverage tests pass iter-elf
2023-04-07 21:11:01 -07:00
David Harris
5c6d9f87a0
Fixed priv.S to initialize stimecmp and agree with ImperasDV
2023-04-07 20:44:01 -07:00