David Harris
6ee8036ae7
plic-s debug
2022-08-03 12:33:09 +00:00
Ross Thompson
acd920ae2f
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-08-01 22:09:11 -05:00
David Harris
e3b970d3ff
Partitioned fma into separate files
2022-08-01 18:07:38 +00:00
Ross Thompson
01359dbc4b
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-07-31 12:48:51 -05:00
David Harris
449c80b5f7
More work toward riscof tests
2022-07-26 06:19:13 -07:00
David Harris
55ab81e37b
More riscof makefile tuning
2022-07-25 21:15:56 +00:00
David Harris
6b172723bd
Cleaning up Makefiles for riscof to run each set of tests individually and eliminate warnings
2022-07-25 20:50:38 +00:00
Ross Thompson
334008630f
Overlapped read fetch line end with eviction write line start. I'm a bit concerned this is not well tested.
2022-07-24 01:20:29 -05:00
Ross Thompson
856ac24686
Removed replay from the config files.
2022-07-24 00:34:11 -05:00
Ross Thompson
e12e6c3acd
Added more i-cache signals to wave file.
2022-07-24 00:24:13 -05:00
Ross Thompson
70032bf8f4
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-07-23 08:41:59 -05:00
Ross Thompson
0f586c9ed3
Possible improvement to cache which removes the cpu_busy states.
2022-07-22 23:20:37 -05:00
Daniel Torres
b726b05d61
fixed wally rv32e tests, updated regression makefile to new testflow
2022-07-22 17:09:46 -07:00
Katherine Parry
ee7932c804
divider sizes reworked to match book
2022-07-22 22:02:04 +00:00
Katherine Parry
270216dd02
radix-4 division integrated into srt - not tested
2022-07-21 19:38:06 +00:00
Ross Thompson
6c8ac7851e
Reverted to fetched the demand cache line first then doing the eviction. This is important because of an optimization in the replacement policy. The replacement policy updates the LRU 1 cycle late and reads the LRU 1 cycle late for critical path timing. This means doing the eviction first requires an initial 1 cycle delay but this delay has to be applied to all misses because we don't know if an eviction is required. Since reading the demand line first is logically ok so long as it is not written to the sram until after the eviction.
2022-07-19 22:42:25 -05:00
Ross Thompson
ffda64587c
Merged together the cache speed updates with the cache sram changes. The fstore2 changes still need to be added.
2022-07-18 23:37:18 -05:00
Katherine Parry
e599f82b29
moved Ss to execute stage
2022-07-18 20:48:56 +00:00
Katherine Parry
921debf930
removed underflow from inexactct calculation
2022-07-18 17:51:18 +00:00
Katherine Parry
e251022269
merged floating-point radix-2 divider with radix-4
2022-07-15 20:16:59 +00:00
Katherine Parry
b069cfbec2
fixed error in divsqrt
2022-07-14 18:16:00 +00:00
Katherine Parry
e05b2a07d2
removed warnings and took a mux out of the critical path
2022-07-12 18:32:17 -07:00
Katherine Parry
2ada8a8bc1
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally
2022-07-12 22:37:20 +00:00
Katherine Parry
b728e5054d
variable interations implemented in radix-4 divider
2022-07-11 18:30:21 -07:00
Katherine Parry
cd53ae67d9
moved fpu ieu write data mux to lsu
2022-07-08 23:56:57 +00:00
Katherine Parry
41c16be012
srt divider merged into fpu
2022-07-07 16:01:33 -07:00
slmnemo
c5fd98ba99
sim-buildroot-batch now runs wally-pipelined-batch
...
with option buildroot buildroot-no-trace to boot linux from step 0
2022-07-06 18:06:43 -07:00
David Harris
2b3038edf8
Added check to halt testbench on failing to find file
2022-07-05 02:28:59 +00:00
slmnemo
11956d0661
./regression-wally -buildroot or ./regression-wally -all now builds Linux from instruction 0 instead of trying to reach instruction 246000000
2022-06-29 13:40:11 -07:00
Katherine Parry
f25bb4a384
radix-4 early termination working for special cases - not working completely
2022-06-27 20:43:55 +00:00
Katherine Parry
c1b4e7fd2c
modified result select to account for x/inf
2022-06-24 21:23:15 +00:00
Katherine Parry
97ded2cdd9
div debug - accounted for 1 bit normalization in exponent calculation
2022-06-23 22:59:43 +00:00
Katherine Parry
5133b08161
generate qsel4 in verilog
2022-06-23 21:38:04 +00:00
slmnemo
a77fb485db
Added wally32periph to regression
2022-06-23 14:37:18 -07:00
Katherine Parry
4a6dee5926
Testfloat running division - not passing
2022-06-23 00:07:34 +00:00
slmnemo
10b6ff39a8
changed order of makefiles and fixed warnings when running makes
2022-06-21 16:10:18 -07:00
slmnemo
d291387b81
added individual makes for arch and wally tests as well as memfiles to Makefile. run using make archtests/wallytests/memfiles
2022-06-21 15:54:24 -07:00
Katherine Parry
c41391e228
removed rv64fp from lint
2022-06-21 15:48:47 -07:00
Daniel Torres
cf56a0d76a
fixed issue where the unused spike elf files were being used to find objdump files that didn't exist causing makefile-memfile to fail prematurely
2022-06-21 15:39:04 -07:00
Daniel Torres
3a5c02b44a
arch bug fixes and testbench changes
2022-06-17 15:07:16 -07:00
DTowersM
919c1818a8
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2022-06-13 23:34:35 +00:00
Katherine Parry
31fd8772cf
postprocessing unit created and passing all tests
2022-06-13 22:47:51 +00:00
DTowersM
4bbe5eeecd
simplified coremark
2022-06-10 19:15:17 +00:00
slmnemo
ec7cdee0f3
Merge branch 'main' into cacheburstmode
2022-06-09 17:51:03 -07:00
David Harris
dd4fa7c682
qslc_r4a2 generator
2022-06-09 17:26:47 +00:00
slmnemo
e17ee3073e
Fixed ifu displaying LSU bus state in wave.do
2022-06-08 15:30:32 -07:00
slmnemo
284e0395a0
Merge branch 'main' into cacheburstmode
2022-06-08 02:21:33 +00:00
Katherine Parry
8fa0fc4229
fma synth warnings and errors removed
2022-06-06 16:06:04 +00:00
Katherine Parry
fd980fe9d6
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2022-06-03 15:34:27 +00:00
Katherine Parry
6b39b8c702
fixed compilation errors
2022-06-03 15:34:17 +00:00
slmnemo
9d1dfbdb50
Changed NO_SPOOFING from 0 to 1 in buildroot-no-trace to better facilitate wally booting linux without following QEMU's trace
2022-06-03 04:55:14 -07:00
David Harris
c74fec7fa6
renamed sim-fp to sim-testfloat
2022-06-02 15:05:29 -07:00
Katherine Parry
03280c0f9c
added createallvectors
2022-06-02 21:56:05 +00:00
slmnemo
c8515001a2
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-06-02 12:54:08 -07:00
Katherine Parry
9a09ee3a35
fpu paramaterized - except fdivsqrt
2022-06-02 19:50:28 +00:00
slmnemo
88454aa2ab
Revert "parametrized linux testbench's DEBUG_TRACE and added parameters to relevant calls of the linux testbench in wally-pipelined.do"
...
This reverts commit 89c7438424
.
2022-06-02 12:45:21 -07:00
slmnemo
65b8d0c32a
Revert "Added parameter to keep tracking on for buildroot and buildroot-checkpoint in regression.py"
...
This reverts commit e33ca59d46
.
2022-06-02 12:41:01 -07:00
slmnemo
0d650b2880
Revert "Added parameters for DEBUG_TRACE to buildroot, buildroot-checkpoint, and buildroot-notrace"
...
This reverts commit e4024eb503
.
2022-06-02 12:40:46 -07:00
slmnemo
65961223f8
Updated Linux testbench to use new force/unforce method for Branch predictor init and removed related .txt files
2022-06-02 02:51:51 +00:00
DTowersM
8903af3764
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2022-05-31 20:13:41 +00:00
DTowersM
0de54a01bf
removed delapidated signals SIE_REGW SIP_REGW TimerIntM SwIntM
2022-05-31 20:10:56 +00:00
Katherine Parry
4ed7933aa3
added unpackinput.sv
2022-05-31 16:18:50 +00:00
slmnemo
4a8d0be32c
Reverted commit 60e3d7d81b
2022-05-28 04:00:01 -07:00
slmnemo
f18989e801
Revert Commit 6c61840045
2022-05-28 03:35:17 -07:00
slmnemo
60e3d7d81b
Changed NO_IE_MTIME_CHECKPOINT so it uses the new parameter name
2022-05-28 03:16:55 -07:00
slmnemo
6c61840045
Deparametrized Linux testbench and removed mentions of parameters in wally-pipelined.do
2022-05-28 03:14:49 -07:00
Katherine Parry
1be91753fe
moved lzc to generic and small optimizations on fcvt
2022-05-27 09:04:02 -07:00
slmnemo
80fc716cd7
Added signal to monitor HBURST and comments for each burst in busdp
2022-05-26 13:35:49 -07:00
slmnemo
a2300f063d
added a todo to riscv-wally so that long buildroot looks for a successful boot rather than a specific instruction
2022-05-25 17:40:57 -07:00
Katherine Parry
f35450207f
single and double conversions pass all tests
2022-05-25 23:02:02 +00:00
slmnemo
0398aa02a0
fixed a comment spelling typo
2022-05-23 19:24:28 -07:00
Katherine Parry
5d34db85b2
Fixed unpacker bug LT EQ LE pass testfloat
2022-05-20 17:19:50 +00:00
slmnemo
11e703c8c0
fixed lint autofailing due to no log being produced in regression-wally
2022-05-19 18:30:59 -07:00
slmnemo
79c28d34dc
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-05-19 17:51:45 -07:00
slmnemo
e4024eb503
Added parameters for DEBUG_TRACE to buildroot, buildroot-checkpoint, and buildroot-notrace
2022-05-19 17:51:26 -07:00
slmnemo
e33ca59d46
Added parameter to keep tracking on for buildroot and buildroot-checkpoint in regression.py
2022-05-19 17:50:48 -07:00
slmnemo
89c7438424
parametrized linux testbench's DEBUG_TRACE and added parameters to relevant calls of the linux testbench in wally-pipelined.do
2022-05-19 16:21:38 -07:00
Katherine Parry
6f2d8c24ad
Bug fixed in unpacker and sub/add/mul tests pass TestFloat
2022-05-19 20:31:23 +00:00
Katherine Parry
738bbf6479
Added fp tests - doesnpass yet
2022-05-19 16:32:30 +00:00
slmnemo
c96f07ad75
added instructions to slack notifier
2022-05-18 16:50:31 -07:00
slmnemo
23d6791b22
simplified make-tests.sh to run the current makefile in regression
2022-05-17 17:29:34 -07:00
slmnemo
1ff47888a7
added wkdir in regression so regression runs out of box (assuming the old version of arch tests)
2022-05-17 20:32:38 +00:00
Kip Macsai-Goren
b155effe66
put privileged tests back into rv32/64gc
2022-05-04 21:20:25 +00:00
David Harris
1166c40059
FPU generates illegal instruction if MSTATUS.FS = 00
2022-05-03 11:56:31 +00:00
David Harris
bcd8728b3e
Switched to behavioral comparator for best PPA
2022-05-03 11:00:39 +00:00
Kip Macsai-Goren
4b00531d77
fixed incorrect configs in regression
2022-04-25 19:28:47 +00:00
Kip Macsai-Goren
74b103fae4
added working tests to test list, updated regression for new configs
2022-04-25 19:18:15 +00:00
David Harris
04b0579b89
Extended sim time to fully boot Linux. Added comments to hazard unit
2022-04-24 13:51:00 +00:00
Ross Thompson
a86274a1e0
Modified wally-pipelined.do for no trace linux sim.
2022-04-21 09:52:33 -05:00
David Harris
6504017044
Run 4M instructions in buildroot test to get through kernel & VirtMem startup
2022-04-18 01:29:38 +00:00
David Harris
6769f0cb43
Added comments in fcvt
2022-04-17 16:53:10 +00:00
Ross Thompson
55c667b60d
Commented output power analysis to speed simulation.
2022-04-16 15:32:59 -05:00
Ross Thompson
56bea58a3c
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-04-10 13:41:27 -05:00
Ross Thompson
fc5eac6820
Modified the linux test bench to take a new parameter which can run simulation from 470M out to login prompt. This shouldn't break the regression test or checkpointing.
2022-04-10 13:27:54 -05:00
bbracker
23406d0926
small signs of life on new interrupt spoofing
2022-04-08 12:32:30 -07:00
David Harris
23da303ad3
Added bootmem source ccode
2022-04-05 23:22:53 +00:00
Ross Thompson
400b5f7632
Fixed the SDC clock divider so it actually can work during reset. This will enable the fpga to operate at a faster clock while the SDC is < 10Mhz.
2022-04-04 09:57:26 -05:00
Ross Thompson
3ebb7f1057
fpga simulation works again.
2022-04-03 17:31:07 -05:00
Kip Macsai-Goren
37c755e6ce
added RV64IA config to have a config without compressed instructions
2022-04-02 18:24:08 +00:00
Ross Thompson
691f1a6b0d
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
2022-04-01 17:18:25 -05:00
Ross Thompson
51dfa16f59
Updated the fpga test bench.
2022-04-01 17:14:47 -05:00
bbracker
9d26bfe71d
expand WALLY-PERIPH test to use SEIP on PLIC context 1
2022-03-31 18:02:06 -07:00
Kip Macsai-Goren
eb337fd3e1
added test config that doesn't use compressed instructions for privileged tests
2022-03-28 19:12:31 +00:00
Skylar Litz
f91fb7a388
add AtemptedInstructionCount signal
2022-03-26 21:28:57 +00:00
Skylar Litz
62a330c290
update to match new filesystem organization
2022-03-26 21:28:32 +00:00
bbracker
d645666fe7
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2022-03-04 00:06:27 +00:00
bbracker
79ff8d3c80
remove imperas32p tests
2022-03-04 00:06:18 +00:00
David Harris
6431ad4a8b
Fixed fma files to stop breaking synthesis. Changed Makefiles to skip Imperas
2022-03-03 15:38:08 +00:00
bbracker
87aad1d953
fix peripheral test and add it to regression
2022-03-02 23:44:39 +00:00
bbracker
e9e827c83e
add CSRs to waveview
2022-03-02 18:31:10 +00:00
bbracker
4fe35aadf2
add rv32a tests to regression
2022-03-02 17:54:55 +00:00
bbracker
b6031bb15f
fix buildroot checkpointing and add it back to regression
2022-03-02 16:00:19 +00:00
bbracker
29179c6787
add LRSC test and add wally64a to regression
2022-03-02 07:09:37 +00:00
bbracker
d2fa5fa645
buildroot graphical sim bugfix
2022-03-01 03:24:23 +00:00
bbracker
a8e8cfb838
switch linux-testbench infrastructure over to new linux testvectors at /opt/riscv
2022-03-01 03:11:43 +00:00
bbracker
d8ddda760b
deprecate imperas64p tests and move them over to the privilege configuration of wally-riscv-arch-test
2022-03-01 00:37:46 +00:00
David Harris
dbd73e8cfd
Moved regression work directories to regression/wkdir to reduce clutter
2022-02-27 17:35:09 +00:00
David Harris
5b15e552c6
Temporarily removed tests/imperas-riscv-tests from Makefile because of license issue
2022-02-27 15:12:10 +00:00
David Harris
ff674b695c
Moved Softfloat / TestFloat
2022-02-26 19:17:32 +00:00
Ross Thompson
834b308ed6
Fixed "bug" with wally-pipelined.do
2022-02-22 22:19:25 -06:00
bbracker
202bd2f8f8
change UART PLIC IRQ mapping from 4 to 10 to match virt model; move WALLY-PERIPH tests to wally arch tests
2022-02-22 03:46:08 +00:00
Ross Thompson
a7b774e453
Accidentally cleared dirty bit when setting access bit in hptw.
2022-02-17 16:20:20 -06:00
Ross Thompson
d152733a17
Rough implementation passing regression test with hptw atomic writes to memory.
2022-02-17 14:46:11 -06:00
Ross Thompson
4cfb601dc8
Fixed a bunch of the virtual memory changes. Now supports atomic update of PTE in memory concurrent with TLB.
2022-02-17 10:04:18 -06:00
Ross Thompson
565ca4e4a3
Broken state. address translation not working after changes to hptw to support atomic updates to PT.
2022-02-16 23:37:36 -06:00
Ross Thompson
460b37b21a
Added additional suppresses to vsim command incase buildroot files are missing.
2022-02-16 17:05:54 -06:00
Skylar Litz
03f23d2aaa
update bugfinder script to new file organization
2022-02-15 22:58:18 +00:00
Ross Thompson
1d7949513d
More cache cleanup.
2022-02-13 15:47:27 -06:00
Ross Thompson
7ffbc6b2ab
Changed names of signals in cache.
2022-02-13 15:06:18 -06:00
Ross Thompson
33beaa4593
Updates to linux wave.
2022-02-11 13:28:18 -06:00
Ross Thompson
d9f77d3659
Updated linux wave.
2022-02-11 13:15:42 -06:00
Ross Thompson
1a1629c62f
linux wave cleanup.
2022-02-11 10:48:45 -06:00
Ross Thompson
6d12010d02
Fixed subtle and infrequenct bug.
...
Loading buildroot at 483M instructions started with a spill + ITLBMiss. The spillsupport logic allowed transition to the second access only after the bus/cache completed the first operation. However the BusStall was suppressed if ITLBMissF occurs resulting in the spillfsm advancing to the second operation. Now the spill logic also takes in ITLBMissF and prevents the early transition to the second access.
2022-02-11 10:46:06 -06:00
Ross Thompson
9fb612d4ff
Updated wave files to reflect recent changes.
2022-02-10 17:52:19 -06:00
Ross Thompson
4fd0154d03
Added commented out commands to generate saif file from vsim.
2022-02-09 18:40:45 -06:00
David Harris
c61cd55c5c
Merged TIM and regular testbenches. RV32e now working and back in regression.
2022-02-08 12:18:13 +00:00
David Harris
cbef88ec10
Lab 3 file cleanup
2022-02-08 10:26:37 +00:00
David Harris
50b44b4416
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2022-02-07 14:43:31 +00:00
David Harris
9b55848ffc
Added E tests to wally-riscv-arch-test rv32i_m/I and fixed cyclic path in rv32e configuration
2022-02-06 01:22:40 +00:00
bbracker
74ef58e20e
remove rv32e from regression because it is broken; goes with previous commit
2022-02-05 23:05:21 +00:00
David Harris
0f7b8017d1
Modified regression to use proper rv32e test name, but rv32e_wally32e still isn't passing due to loop exceeding iteration limit
2022-02-05 05:35:51 +00:00
David Harris
a9d2386010
Merged buildroot do files into wally-pipelined do files, added work suffixes so buildroot regression won't fail due to file conflicts
2022-02-05 05:28:40 +00:00
David Harris
66b4834ef5
Modified wally-pipelined-batch.do to handle buildroot
2022-02-05 05:07:07 +00:00
David Harris
72bc64ef28
Temporarily changed rv32e config to use TIM, but it still fails. Added rv32e tests.
2022-02-05 04:16:18 +00:00
David Harris
2c67f32b97
RV32e tests
2022-02-04 14:30:36 +00:00
David Harris
ef5af9b5fd
renamed configs
2022-02-03 23:36:41 +00:00
David Harris
a6708ed887
cache cleanup
2022-02-03 15:36:11 +00:00
Ross Thompson
b642a19e12
Merge branch 'makefiles' into main
2022-02-03 08:33:50 -06:00
Ross Thompson
c34907c95b
Completed makefile updates to accelerate the generation of memfiles. There are two makefiles in the
...
regression directory. Makefile calls the submakefiles for generating elf files.
The second makefile-memfiles generates the memfiles, addr, and label files.
2022-02-03 08:32:48 -06:00
Ross Thompson
9336682749
Manged to get all the tests compiled and converted to memfiles using new makefiles.
2022-02-03 00:00:15 -06:00