Diego Herrera Vicioso
5f9c443781
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
ba08c39eef
Merge pull request #220 from davidharrishmc/dev
...
Obscure coverage fixes
2023-04-08 10:27:31 -05:00
David Harris
1c47221983
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-04-07 21:57:18 -07:00
David Harris
7affe2bdca
Waived coverage on BTB memory with byte write enables tied high
2023-04-07 21:56:49 -07:00
David Harris
2f4074b9c2
Improved RAS predictor coverage by eliminating unreachable StallM term
2023-04-07 21:37:12 -07:00
Ross Thompson
cfab7c8b45
Merge pull request #219 from davidharrishmc/dev
...
Spill logic coverage and fdivsqrt cleanup
2023-04-07 23:30:52 -05:00
David Harris
5cdd3d57c7
Commented WFI non-flush in writeback stage of hazard unit
2023-04-07 21:27:13 -07:00
David Harris
b27199e276
Added vm64check tests to cover IMMU vm64
2023-04-07 21:14:52 -07:00
David Harris
0d2de13990
Fixed csrwrites.S to agree with ImperasDV. Now coverage tests pass iter-elf
2023-04-07 21:11:01 -07:00
David Harris
bf9db11a57
Fixed priv.S to initialize stimecmp and agree with ImperasDV
2023-04-07 20:44:01 -07:00
David Harris
9394389fec
Bug fix: MTIME & MTIMEH registers are unimplemented and should fault when accessed
2023-04-07 20:43:28 -07:00
David Harris
16eca598ba
Fixed WALLY-init-lib to return correctly even from traps from compressed instructions
2023-04-07 20:24:33 -07:00
David Harris
a49f1f785e
Fixed enabling machine timer interrupt
2023-04-06 22:18:33 -07:00
David Harris
8ef9891e46
vm64 tests
2023-04-06 21:42:47 -07:00
David Harris
19c39628fa
Division cleanup
2023-04-06 21:42:34 -07:00
David Harris
6db65f30b1
Simplified integer division preprocessing in fdivsqrt
2023-04-06 16:43:28 -07:00
David Harris
4ce223281a
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-04-06 14:07:59 -07:00
David Harris
7ad05d9a42
Removed redundant stall signal to get spill coverage
2023-04-06 14:07:50 -07:00
David Harris
17f96aa341
Update dvtestplan.md
2023-04-06 09:29:47 -07:00
David Harris
beade59349
Create dvtestplan.md
2023-04-06 09:23:09 -07:00
David Harris
1300d57d33
Merge pull request #214 from eroom1966/main
...
Add in configuration for B extension
2023-04-06 09:08:20 -07:00
Lee Moore
83609218aa
Merge branch 'openhwgroup:main' into main
2023-04-06 16:31:49 +01:00
eroom1966
dc79710724
add support into configuration for Zb(a,b,c,s)
2023-04-06 16:30:14 +01:00
David Harris
1d39c4f823
Merge pull request #213 from eroom1966/main
...
fix break to simulation testbench
2023-04-06 06:54:59 -07:00
eroom1966
47999784d6
fix break to simulation testbench
2023-04-06 14:45:41 +01:00
David Harris
4e3af7bca7
Merge pull request #211 from ross144/main
...
Fixes the issue introduced by the fix for issue 203
2023-04-05 21:50:32 -07:00
Ross Thompson
e531b0103e
Fixed wally64/32priv test hangup.
...
The fix for the issue 203 had a lingering bug which did not suppress a bus access if the hptw short circuits on a pma/p fault.
2023-04-05 23:13:45 -05:00
Ross Thompson
7cdd12a40a
Merge pull request #206 from AlecVercruysse/coverage2
...
i$ coverage improvements
2023-04-05 17:29:35 -05:00
David Harris
02053c5dc6
Merge pull request #210 from SydRiley/main
...
Starting to extend fpu conditional coverage, reformatting ifu test cases.
2023-04-05 14:56:16 -07:00
Alec Vercruysse
ac3569d75c
Update ram1p1rwe (ce & we) coverage exlusion explanation
2023-04-05 14:54:58 -07:00
Sydeny
9e3d78de8b
Starting to extend fpu conditional coverage, reformating ifu test cases
2023-04-05 14:10:15 -07:00
David Harris
32c5a1d83e
Merge pull request #205 from kbox13/my-single-change
...
Increase LSU Coverage
2023-04-05 13:16:04 -07:00
David Harris
1257439cf8
Merge pull request #208 from ross144/main
...
Fixes Issue 203
2023-04-05 13:03:30 -07:00
Ross Thompson
70aa5a5917
Merge pull request #207 from AlecVercruysse/cachesim
...
Cache Simulator
2023-04-05 14:59:52 -05:00
Ross Thompson
da9cf02ba0
Merge branch 'main' of https://github.com/openhwgroup/cvw
2023-04-05 14:55:12 -05:00
Limnanthes Serafini
590f95d353
*.out removal
2023-04-05 12:50:26 -07:00
Limnanthes Serafini
baa537c5d3
*.out removal
2023-04-05 12:50:10 -07:00
Limnanthes Serafini
ecc580a140
*.out removal
2023-04-05 12:49:57 -07:00
Alec Vercruysse
570e86afc3
Make CacheWay flush and dirty logic dependent on !READ_ONLY_CACHE
...
To increase coverage. Read-only caches do not have flushes since
they do not have dirty bits.
2023-04-05 11:48:18 -07:00
Alec Vercruysse
54df581ce6
make Cache Flush Logic dependent on !READ_ONLY_CACHE
...
read-only caches do not have flush logic since they do not have to
deal with dirty bits.
2023-04-05 11:48:18 -07:00
Alec Vercruysse
3419ef3651
remove ClearValid from cache
...
The cachefsm hardwired ClearValid logic to zero.
This signal might've been added to potentially add extra functionality
later. Unless that functionality is added, however, it negatively
impacts coverage. If the goal is to maximize coverage, this signal
should be removed and only added when it becomes necessary.
2023-04-05 11:48:18 -07:00
Alec Vercruysse
81125d3180
change i$ cachetagmem from ram1p1rwbe -> ram1p1rwe
...
the byte write-enables were always tied high, so we can use
RAM without byte-enable to increase coverage.
2023-04-05 11:48:18 -07:00
Alec Vercruysse
782feb6161
turn off ce coverage for ram1p1rwe
...
According to the textbook, the cache memory chip enable,
`CacheEn`, is only lowered by the cachefsm with it is in the ready
state and a pipeline stall is asserted.
For read only caches, cache writes only occur in the state_write_line
state. So there is no way that a write would happen while the chip
enable is low.
Removing the chip-enable check from this memory to increase coverage
would be a bad idea since if anyone else uses this ram, the behaviour
would be differently than expected. Instead, I opted to turn off
coverage for this statement. Since this ram, which does not have a
byte enable, is used exclusively by read-only caches right now, this
should not mistakenly exclude coverage for other cases, such as D$.
2023-04-05 11:48:18 -07:00
Alec Vercruysse
8b6b96012d
add ram1p1rwe for read-only cache ways (remove byte-enable)
...
- increases coverage
2023-04-05 11:48:18 -07:00
Alec Vercruysse
2553321158
fix typo in cachway setValid input comment
2023-04-05 11:48:18 -07:00
Alec Vercruysse
9df246e5de
put cacheLRU coverage explanation on another line
...
the `: explanation` syntax was not working
2023-04-05 11:48:18 -07:00
Alec Vercruysse
af113c7268
Exclude CacheLRU log2 function from coverage
2023-04-05 11:48:18 -07:00
Ross Thompson
394f2d65f2
Progress on bug 203.
2023-04-05 13:20:04 -05:00
Kevin Box
0f13148215
Add sfence.vma
2023-04-05 10:34:30 -07:00
Kevin Box
333bb87b05
Revert "Add sfence.vma and arch64d/f tests to increase coverage in the LSU"
...
This reverts commit 28a9faa265
.
2023-04-05 10:32:25 -07:00