Ross Thompson
6f3b8680d5
Imperas found a bug with the Fence.I instruction.
...
If a fence.i directly followed a store miss, the d$ would release Stall during the cache line write.
Then transition to ReadHold. This cause the d$ flush to go high while in ReadHold. The solution is
to ensure the cache continues to assert Stall while in WriteLine state.
There was a second issue also. The D$ flush asserted FlushD which flushed the I$ invalidate.
Finally the third issue was CacheEn from the FSM needs to be asserted on an InvalidateCache.
2023-01-20 09:41:18 -06:00
eroom1966
43d5769bd9
update
2023-01-19 13:29:46 +00:00
eroom1966
8dea3491a3
Partial fix for misaligned LD/ST
2023-01-18 17:11:39 +00:00
eroom1966
0ccab9accc
changes made with Ross
2023-01-18 16:46:48 +00:00
eroom1966
247879e7c7
add im flags for compressed disass
2023-01-18 13:37:28 +00:00
eroom1966
52ebac59b8
remove volatile for FFLAGS and FCSR
2023-01-18 13:33:57 +00:00
eroom1966
68af12ece1
refer to correct path
2023-01-18 13:26:07 +00:00
Ross Thompson
374f95ebf3
Fixed the rvvi CSR write enable not synchronized with a valid instruction in the Writeback stage.
2023-01-17 18:24:46 -06:00
eroom1966
cf3223df22
refactor all rvvi into single initial block
2023-01-17 13:01:01 +00:00
eroom1966
2ead2cdaf4
Code refactor and addition of rvvi interface
2023-01-17 12:47:38 +00:00
Ross Thompson
1680f89ef3
Found a potential issue with mstatush when XLEN = 64.
2023-01-16 13:57:28 -06:00
Ross Thompson
7984194c2a
Fixed issue with rvvi tracer so it reports call csr changes, not just instrutions which write the CSRs.
2023-01-16 13:35:06 -06:00
Ross Thompson
53c8042276
Signal renames for ras.
2023-01-13 15:56:10 -06:00
Ross Thompson
8e3e8591a6
Removed 1 bit from instruction classification.
2023-01-13 15:19:53 -06:00
Ross Thompson
37481fce77
More branch predictor cleanup.
...
Found small bug. The decode stage was using the predicted instruction class rather than the decoded instruction class.
2023-01-13 12:57:18 -06:00
Ross Thompson
b26cec1ef4
Possible optimization of gshare.
...
I don't believe the Writeback stage ghr is needed.
2023-01-13 12:39:29 -06:00
Ross Thompson
f7dacb59f9
Possible minor enhancement to gshare.
2023-01-13 12:32:39 -06:00
Ross Thompson
14ecaabbf6
Nearly complete RVVI tracer.
...
Missing PMP registers and performance counters other than MCYCLE and MINSTRET.
2023-01-12 18:43:39 -06:00
Ross Thompson
59b135d895
Added supervisor mode registers to tracer.
2023-01-12 17:04:41 -06:00
Ross Thompson
6500321aaf
Added M CSRs to the CSRArray.
2023-01-12 16:51:51 -06:00
Ross Thompson
8981739310
added machine csr to logger.
2023-01-12 16:35:19 -06:00
Ross Thompson
f3443e2eca
Added support to print the gprs.
2023-01-12 16:09:30 -06:00
Ross Thompson
0ea0e7a9e1
rvvi trace is coming alone nicely.
2023-01-12 14:46:31 -06:00
Ross Thompson
9a180f88f7
Completely stripped down imperas simulation.
...
run with
vsim -c -do "do wally-pipelined-imperas.do rv64gc"
2023-01-12 12:48:38 -06:00
Ross Thompson
5112ffcbc9
Stripped out all signature checking.
...
Removed multiple tests loop.
Only runs 1 test now.
2023-01-12 12:45:44 -06:00
Ross Thompson
8ee80c5d54
Created separate imperas testbench.
...
Resolved logger issue with the duplicated instructions after commit.
2023-01-12 12:07:07 -06:00
Ross Thompson
f59e1d03fc
Added instruction logger.
2023-01-12 10:09:34 -06:00
Ross Thompson
3a41854f2b
Completed review of LSU.
2023-01-11 19:06:03 -06:00
Ross Thompson
f15de26f5c
Merge branch 'main' of github.com:davidharrishmc/riscv-wally
2023-01-11 18:52:49 -06:00
Ross Thompson
2f3bf9eaf5
Improved LSU formating.
2023-01-11 18:52:46 -06:00
sarah-harris
3b363f5f9d
privilege unit -> privileged unit in ifu.sv
...
privilege unit -> privileged unit in ifu.sv
2023-01-11 16:33:08 -08:00
Ross Thompson
0362e88098
Merge branch 'main' of github.com:davidharrishmc/riscv-wally
2023-01-11 17:26:11 -06:00
sarah-harris
829ab2c9aa
Added Sarah.Harris@unlv.edu to alu.sv
...
Added Sarah.Harris@unlv.edu to alu.sv
2023-01-11 15:20:41 -08:00
Ross Thompson
a42d436962
Merge branch 'main' of github.com:davidharrishmc/riscv-wally
2023-01-11 17:15:49 -06:00
David Harris
7d93659f6b
changed name to CORE-V-WALLY
2023-01-11 15:15:08 -08:00
Ross Thompson
a024dbccd6
Updated header for LSU.
2023-01-11 17:15:07 -06:00
David Harris
8f4b33c900
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2023-01-11 15:13:58 -08:00
Ross Thompson
96c61bd2ca
Merge branch 'main' of github.com:davidharrishmc/riscv-wally
2023-01-11 17:09:23 -06:00
Katherine Parry
6f75bda815
fixed typo bug in fpu
2023-01-11 17:07:02 -06:00
Ross Thompson
5f31c681ff
Updated branch predictor.
2023-01-11 17:00:45 -06:00
David Harris
b911056e66
Changed Wally to CORE-V Wally
2023-01-11 14:03:44 -08:00
David Harris
5a565ebeb5
FPU cleanup
2023-01-11 12:27:00 -08:00
David Harris
68347d3558
fpu cleanup
2023-01-11 12:18:06 -08:00
David Harris
19f0eb2aa1
Rename FP and FPU to F in signal names
2023-01-11 11:46:36 -08:00
David Harris
41076d4639
FPU comments
2023-01-11 11:31:28 -08:00
David Harris
e6f110b953
Replaced MDUE with IntDivE in FDIVSQRT
2023-01-11 11:06:37 -08:00
David Harris
3a29e74647
Switched to XZeroE from NumerZeroE in square root preprocessor
2023-01-10 12:37:49 -08:00
David Harris
e92cffbb5e
Changed MIT license to Solderpad License
2023-01-10 11:35:20 -08:00
David Harris
ddb65ff85f
Division constant cleanup
2023-01-10 11:14:59 -08:00
David Harris
080e8884db
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2023-01-09 13:04:37 -08:00