slmnemo
|
33c78e2404
|
Fixed wally-periph, regression is now working
|
2022-06-23 13:08:15 -07:00 |
|
slmnemo
|
80a57d0469
|
Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main
|
2022-06-21 02:16:26 -07:00 |
|
slmnemo
|
b2cea45de0
|
Added rudimentary GPIO test according to testplans in chapter 15
|
2022-06-21 02:16:21 -07:00 |
|
Katherine Parry
|
03d823f5d7
|
added fld in rv32 - needs testing
|
2022-06-20 22:53:13 +00:00 |
|
DTowersM
|
b586e3af37
|
added some comments to help debuggers in the future
|
2022-06-10 01:44:52 +00:00 |
|
DTowersM
|
4e5d7ec3d6
|
changed DCACHE_LINELENINBITS and ICACHE_LINELENINBITS to 512, had to modigy the wfi test to increase timee before interupt to mantain compatability
|
2022-06-10 00:37:53 +00:00 |
|
Kip Macsai-Goren
|
c210fb6b93
|
Added missing DEADBEEFs to this test as well
|
2022-05-12 22:31:26 +00:00 |
|
Kip Macsai-Goren
|
553e7bfeb9
|
Fixed priv test reference outputs to have the right number of "DEADBEEF"s (1024)
|
2022-05-12 22:30:14 +00:00 |
|
David Harris
|
73a84f28b9
|
Moved some privileged tests to be simulated.
|
2022-05-12 04:45:41 +00:00 |
|
David Harris
|
c100c9893b
|
wally32priv and wally64priv now passing WALLY-status-tw. Fixed privileged.sv to produce the correct EPC on timeouts
|
2022-05-05 14:37:21 +00:00 |
|
Kip Macsai-Goren
|
8f748c4014
|
clarified some trap causing functions to use zzero register rather than li [reg] 0x0. Also updated signatures' tvals
|
2022-05-04 23:01:23 +00:00 |
|
Kip Macsai-Goren
|
88173b8bb3
|
added explicit clears to mstatus.mie
|
2022-05-04 23:00:17 +00:00 |
|
Kip Macsai-Goren
|
6a182efe0f
|
Updated test libraries to reflect variable name changes
|
2022-05-04 21:39:36 +00:00 |
|
Kip Macsai-Goren
|
6a372b1a1d
|
renamed test_loop_setup to run_test_loop
|
2022-05-04 21:39:09 +00:00 |
|
Kip Macsai-Goren
|
393edc9fd8
|
renamed debug to extended signature
|
2022-05-04 21:38:37 +00:00 |
|
Kip Macsai-Goren
|
0f70e48b6b
|
updated makefrag and tests.vh to reflect removed tests, new names
|
2022-05-04 21:20:25 +00:00 |
|
Kip Macsai-Goren
|
923cbc59a3
|
removed fp-diabled test and leftover mimpid test
|
2022-05-04 21:20:25 +00:00 |
|
Kip Macsai-Goren
|
3cab9f0234
|
removed instruction misaligned tests from trap tests, signatures
|
2022-05-04 21:20:25 +00:00 |
|
Kip Macsai-Goren
|
8c96672080
|
renamed all tests to have lower-case titles except for WALLY
|
2022-05-04 21:20:25 +00:00 |
|
Kip Macsai-Goren
|
208827502e
|
general test cleanup of comments and old files
|
2022-04-29 19:55:29 +00:00 |
|
Kip Macsai-Goren
|
7148429f4a
|
re-renamed status-mie-s to status-sie
|
2022-04-29 19:55:13 +00:00 |
|
Kip Macsai-Goren
|
e557e420b6
|
added missing SIE test
|
2022-04-29 19:54:29 +00:00 |
|
Kip Macsai-Goren
|
f50aa61994
|
renamed registers in test library to RISC-V ABI name rater than x2, etc..
|
2022-04-29 18:52:42 +00:00 |
|
Kip Macsai-Goren
|
5df381e26f
|
renamed PIE-stack tests to status-mie for clarity
|
2022-04-29 18:30:39 +00:00 |
|
Kip Macsai-Goren
|
c3ffcd0e95
|
removed old unused tests from wally arch tests
|
2022-04-28 18:14:08 +00:00 |
|
Kip Macsai-Goren
|
562296c677
|
added missing output for sret
|
2022-04-28 18:14:08 +00:00 |
|
Kip Macsai-Goren
|
0e5cc40360
|
added 32 bit versions of new tests. all but timeout wait pass regression
|
2022-04-28 18:14:07 +00:00 |
|
Kip Macsai-Goren
|
c4eb59c67c
|
added missing output on final test terminating ecall
|
2022-04-25 19:18:38 +00:00 |
|
Kip Macsai-Goren
|
7e6fefb2d9
|
split status.fp tests into fp enabled/disabled
|
2022-04-25 19:16:15 +00:00 |
|
Kip Macsai-Goren
|
63f3e16789
|
added WFI and mstatus fp, tw bit tests
|
2022-04-25 18:21:56 +00:00 |
|
Kip Macsai-Goren
|
7ca56fc033
|
added floating point instructions to privileged tests
|
2022-04-25 17:47:10 +00:00 |
|
Kip Macsai-Goren
|
5cf75debea
|
comment cleanup
|
2022-04-25 17:47:10 +00:00 |
|
Kip Macsai-Goren
|
b277d3cf19
|
Removed test cases irrelevant to this implementation, added explanatory comments.
|
2022-04-22 23:06:52 +00:00 |
|
Kip Macsai-Goren
|
3e62a8f974
|
Added testing for every bit field in MIE, rather than just one
|
2022-04-22 23:05:54 +00:00 |
|
Kip Macsai-Goren
|
2cc6d3ddb4
|
fixed timeouts on GPIO test by enabling pins as inputs as well as outputs.
|
2022-04-22 22:46:11 +00:00 |
|
Kip Macsai-Goren
|
b5b171372d
|
added 32 bit tests to makefrag
|
2022-04-20 17:33:56 +00:00 |
|
Kip Macsai-Goren
|
43378ada56
|
updated 32 bit test lib to mirror 64 bit one in interrupt handling, trap stacks
|
2022-04-20 17:33:40 +00:00 |
|
Kip Macsai-Goren
|
e28c4ac680
|
Added 32 bit privilege tests that work but for one bug
|
2022-04-20 17:32:29 +00:00 |
|
Kip Macsai-Goren
|
7a660a58b6
|
Updated 32 bit PMA tests to reflect new clint rules
|
2022-04-20 17:31:08 +00:00 |
|
Kip Macsai-Goren
|
c59c5fd13d
|
added some explanatory comments
|
2022-04-20 06:48:01 +00:00 |
|
Kip Macsai-Goren
|
72129d98d9
|
Added interrupt time loop support, fixed external interrupts, fixed delegated ecallhandler
|
2022-04-20 06:48:01 +00:00 |
|
Kip Macsai-Goren
|
510021af65
|
added working general trap tests to regression
|
2022-04-20 06:48:01 +00:00 |
|
Kip Macsai-Goren
|
64698aa806
|
Added working trap test to regression, fixed hanfling of some interrupts
|
2022-04-18 07:22:16 +00:00 |
|
Kip Macsai-Goren
|
7a99066427
|
removed broken test from makefrag
|
2022-04-17 21:25:56 +00:00 |
|
Kip Macsai-Goren
|
1f9c987efe
|
added new tests to makefrag and tests.vh
|
2022-04-17 21:00:36 +00:00 |
|
Kip Macsai-Goren
|
62ac6f0dbe
|
added more comprehensive vectoring, interrupt causing and handing
|
2022-04-17 20:57:12 +00:00 |
|
Kip Macsai-Goren
|
7ea77d1038
|
Added the rest of the tests lited in Chapter 5 test plan
|
2022-04-17 20:57:12 +00:00 |
|
Ross Thompson
|
57358c884e
|
commented out wally-scratch test as it hangs during compile.
|
2022-04-16 15:09:17 -05:00 |
|
Kip Macsai-Goren
|
618e677406
|
Updated trap handler to check interrupt vectoring before handling them and to use the mscratch instead of sp for a stack.
|
2022-04-06 07:13:51 +00:00 |
|
Kip Macsai-Goren
|
4a2aacadaa
|
Updated PMA tests to comply with all width writes and reads to CLINT
|
2022-04-06 07:13:51 +00:00 |
|
Kip Macsai-Goren
|
c40ddc4afb
|
small bug fixes to 64 bit library
|
2022-04-02 19:17:34 +00:00 |
|
Kip Macsai-Goren
|
64afc99a02
|
added unfinished tests to 32 bit library
|
2022-04-02 19:15:07 +00:00 |
|
Kip Macsai-Goren
|
39c1fdb024
|
updated 32 bit tests to be in line with 64 bit test library
|
2022-04-02 19:14:12 +00:00 |
|
Kip Macsai-Goren
|
f7bbae8746
|
removed compressed instructions from privileged tests
|
2022-04-02 19:12:44 +00:00 |
|
bbracker
|
cbff9a7755
|
expand WALLY-PERIPH test to use SEIP on PLIC context 1
|
2022-03-31 18:02:06 -07:00 |
|
Kip Macsai-Goren
|
8cde06b886
|
added basic trap tests that do not pass regression yet. updated signature adresses
|
2022-03-25 22:57:41 +00:00 |
|
Kip Macsai-Goren
|
6ac9a626e2
|
added preliminary files for trap/priv tests. These DO NOT pass make yet because if interrrupt handling problems
|
2022-03-11 20:00:54 +00:00 |
|
Kip Macsai-Goren
|
c9110ebb40
|
removed compressed instructions from gcc make for privilege tests
|
2022-03-11 19:09:40 +00:00 |
|
Kip Macsai-Goren
|
cc07a3f31f
|
Added interrupt support (not exiting correctly yet), macros for causing traps.
|
2022-03-11 19:09:16 +00:00 |
|
bbracker
|
e28ca531e0
|
fix peripheral test and add it to regression
|
2022-03-02 23:44:39 +00:00 |
|
bbracker
|
e994f70dab
|
change main.config so that buildroot expects linux.config and busybox.config to be at $RISCV/buildroot
|
2022-03-02 17:46:33 +00:00 |
|
bbracker
|
4f22a55dd4
|
add LRSC test and add wally64a to regression
|
2022-03-02 07:09:37 +00:00 |
|
bbracker
|
e1bea211a7
|
fix AMO test
|
2022-03-02 05:41:20 +00:00 |
|
David Harris
|
91a593c020
|
Fixed march compiling privileged tests to support AMO tests.
|
2022-03-01 18:02:45 +00:00 |
|
bbracker
|
4bee3bcf27
|
tentatively add WALLY-AMO test to arch test infrastructure
|
2022-03-01 00:40:11 +00:00 |
|
bbracker
|
d620fb4442
|
deprecate imperas64p tests and move them over to the privilege configuration of wally-riscv-arch-test
|
2022-03-01 00:37:46 +00:00 |
|
Kip Macsai-Goren
|
f54ed94dbc
|
Changed PMA tests to only allow native length accesses to CLINT
|
2022-02-28 19:22:44 +00:00 |
|
Kip Macsai-Goren
|
7be3cef076
|
added snippet to ignore comments in .diff files as well
|
2022-02-27 23:29:46 +00:00 |
|
Kip Macsai-Goren
|
6ed010adda
|
added minor sections to MMU tests that had been missing, global bits still need to be checked
|
2022-02-27 23:28:44 +00:00 |
|
Kip Macsai-Goren
|
aaa880a2f0
|
allowed for vectored and unvectored interrupts in trap handlers
|
2022-02-25 23:57:45 +00:00 |
|
Kip Macsai-Goren
|
d90dcae1ac
|
added support for trap handlers in in multiple pivilege modes
|
2022-02-25 23:57:45 +00:00 |
|
bbracker
|
a6047697c3
|
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
|
2022-02-22 04:27:50 +00:00 |
|
bbracker
|
6caa97bb26
|
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 |
|
Kip Macsai-Goren
|
6a569683a7
|
removed macro-only file. no longer used
|
2022-02-21 07:15:00 +00:00 |
|
Kip Macsai-Goren
|
1f516bb346
|
made sure program isn't passing the testwith a false posistive
|
2022-02-21 07:14:42 +00:00 |
|
Kip Macsai-Goren
|
d1578d8356
|
added scratch register tests for 64 and 32 bits
|
2022-02-21 07:03:12 +00:00 |
|
Kip Macsai-Goren
|
c3523dfa15
|
Added misa test for both 32 and 64 bits
|
2022-02-18 19:41:50 +00:00 |
|
Kip Macsai-Goren
|
53f392a62f
|
light cleanup
|
2022-02-15 20:19:14 +00:00 |
|
Kip Macsai-Goren
|
225b38e793
|
added high bit registers to CSR permission tests
|
2022-02-15 20:19:14 +00:00 |
|
Kip Macsai-Goren
|
6c1383e2a0
|
added CSR permission and minfor to 32 bit tests
|
2022-02-15 20:19:14 +00:00 |
|
Kip Macsai-Goren
|
5df0a9531f
|
merged test macros in with 32 bit tests
|
2022-02-15 20:19:14 +00:00 |
|
Kip Macsai-Goren
|
9266bc382e
|
light cleanup for privileged tests
|
2022-02-15 17:06:16 +00:00 |
|
Kip Macsai-Goren
|
856ef6b85a
|
updated tests to use the combined library
|
2022-02-15 17:06:16 +00:00 |
|
Kip Macsai-Goren
|
9a05ee3308
|
Began to merge test-lib and test-macros into one file
|
2022-02-15 17:06:16 +00:00 |
|
Kip Macsai-Goren
|
b90477495c
|
updated verify to only use comments with "#"
|
2022-02-15 17:06:16 +00:00 |
|
David Harris
|
9ad3f26365
|
Restored E tests to makefrag
|
2022-02-08 16:41:11 +00:00 |
|
bbracker
|
3263f5da77
|
trim away unneeded linker and header files intended for non-spike machines from wally-riscv-arch-test
|
2022-02-07 23:59:47 +00:00 |
|
David Harris
|
d0c40cca7a
|
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
|
2022-02-07 14:43:31 +00:00 |
|
Kip Macsai-Goren
|
2ef5f2612f
|
fixed verify step to work correctly with comments. clarified copy references without simulating
|
2022-02-06 19:48:23 +00:00 |
|
Kip Macsai-Goren
|
38b75e85a0
|
added new tests to make and testbench
|
2022-02-06 19:47:22 +00:00 |
|
Kip Macsai-Goren
|
5377dde581
|
clarified csr write test
|
2022-02-06 19:46:29 +00:00 |
|
Kip Macsai-Goren
|
6e3bec9aa5
|
added CSR permission tests
|
2022-02-06 19:45:58 +00:00 |
|
Kip Macsai-Goren
|
04197273f6
|
light cleanup
|
2022-02-06 02:05:59 +00:00 |
|
Kip Macsai-Goren
|
c5b6f49b2f
|
added comments to existing MMU tests
|
2022-02-06 02:05:59 +00:00 |
|
Kip Macsai-Goren
|
52008b122a
|
added commenting in reference outputs that aren't simulated in spike
|
2022-02-06 02:05:59 +00:00 |
|
Kip Macsai-Goren
|
69e79ccdf3
|
Allowed commenting in signature files
|
2022-02-06 02:05:59 +00:00 |
|
David Harris
|
0feb624bab
|
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
|
186267e35a
|
Remove rv32e tests from rv32i_m Makefrag so that make XLEN=32 works
|
2022-02-05 21:34:50 +00:00 |
|
David Harris
|
16b5fee795
|
RV32e tests
|
2022-02-04 14:30:36 +00:00 |
|
David Harris
|
3cc20bdd0d
|
Added E tests to repo
|
2022-02-03 23:42:31 +00:00 |
|
David Harris
|
e490705865
|
E tests
|
2022-02-03 22:55:55 +00:00 |
|
David Harris
|
761dae72fe
|
Config file & wally-riscv-arch-test cleanup
|
2022-02-02 16:35:52 +00:00 |
|
Kip Macsai-Goren
|
97f5878ec4
|
Renamed test library
|
2022-01-31 20:11:21 +00:00 |
|
Kip Macsai-Goren
|
4d8ca0d031
|
updated minfo test to account for no mconfigptr
|
2022-01-31 20:11:21 +00:00 |
|
Kip Macsai-Goren
|
63f4baf357
|
fixed CSR read-only test to have correct output
|
2022-01-31 20:11:21 +00:00 |
|
Kip Macsai-Goren
|
1077cf08b0
|
added machine info test that uses new test library
|
2022-01-31 05:54:43 +00:00 |
|
Kip Macsai-Goren
|
5386f1b4fa
|
tentatively remade test lib to use macros for more flexibility
|
2022-01-31 05:54:43 +00:00 |
|
Kip Macsai-Goren
|
01d6c3a4b9
|
converted library to header file for RISCV test compliance
|
2022-01-31 05:54:43 +00:00 |
|
Kip Macsai-Goren
|
e3ea593ed8
|
updated tests to use test title instead of number encoding
|
2022-01-31 05:54:42 +00:00 |
|
David Harris
|
975c0e72c8
|
Set up rv32emc config
|
2022-01-27 14:37:58 +00:00 |
|
Ross Thompson
|
aa474ad588
|
Added generated source code for the wally riscv arch tests rv32i_m and rv64i_m.
|
2022-01-27 08:11:46 -06:00 |
|
David Harris
|
0023c4cb57
|
Adjusted test cases for new GPIO base address
|
2022-01-26 19:15:48 +00:00 |
|
David Harris
|
c60bb68bff
|
Testgen working for Lab 2
|
2022-01-26 18:01:51 +00:00 |
|
Kip Macsai-Goren
|
c99456d5e7
|
Fixed PMA regions, Added passing PMA tests to regression
|
2022-01-10 22:08:26 +00:00 |
|
Kip Macsai-Goren
|
53f3a6dbab
|
comment cleanup
|
2022-01-09 18:16:42 +00:00 |
|
Kip Macsai-Goren
|
9412a5ff2d
|
updated PMA tests, everything passes except successful writes to protected regions.
|
2022-01-09 18:16:00 +00:00 |
|
Kip Macsai-Goren
|
a22dc4d163
|
changed test case types to lookup table instead of beq's
|
2022-01-09 16:56:37 +00:00 |
|
David Harris
|
eff9cec415
|
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
|
2022-01-06 18:10:32 +00:00 |
|
David Harris
|
aca26de498
|
FPU debug and configurable logic cleanup
|
2022-01-06 18:10:25 +00:00 |
|
Kip Macsai-Goren
|
c949764a44
|
fixed 32 vs 64 bit copying error
|
2022-01-05 23:14:12 +00:00 |
|
Kip Macsai-Goren
|
bd977efc7b
|
updated pma tests for simpler test lib
|
2022-01-05 22:10:12 +00:00 |
|
Kip Macsai-Goren
|
8a8f903342
|
updated tests to make correctly with output verification
|
2022-01-05 21:43:15 +00:00 |
|
Kip Macsai-Goren
|
706c95a383
|
allowed option for tests to make without spike simulation. added postverify back in for outputs
|
2022-01-05 21:17:54 +00:00 |
|
Kip Macsai-Goren
|
1db58744b0
|
updated pma tests to match simpler test library. They don't pass regression yet
|
2022-01-05 21:13:40 +00:00 |
|
Kip Macsai-Goren
|
46b0cb810d
|
fixed arch tests to pass make, added 32 bit tests, addded all make-passing tests to tests.vh.
|
2022-01-04 21:30:38 +00:00 |
|
David Harris
|
77c00e996b
|
Started adding asynchronous TIMECLK for CLINT
|
2022-01-02 21:18:16 +00:00 |
|
David Harris
|
e084c8868f
|
Added wally-riscv-arch-test MMU tests and removed imperas MMU tests from regresssion
|
2021-12-30 17:22:18 +00:00 |
|
David Harris
|
da402f93cc
|
Fixed page table entreis so WALLY-MMU-SV32, SV39, SV48 now run
|
2021-12-30 16:46:19 +00:00 |
|
David Harris
|
c3bfa53db0
|
Added partially working MMU tests
|
2021-12-29 03:14:16 +00:00 |
|
David Harris
|
69243f41ad
|
Fixed imperas C tests
|
2021-12-26 04:45:06 +00:00 |
|
David Harris
|
db268471b6
|
added some missing files
|
2021-11-01 13:36:07 -07:00 |
|
David Harris
|
910957704b
|
Add3d wally32i test
|
2021-11-01 13:17:49 -07:00 |
|
David Harris
|
4b57af9cff
|
PIPELINE test running
|
2021-11-01 12:44:35 -07:00 |
|
David Harris
|
c306884e2c
|
Adding custom Wally test infrastructure
|
2021-11-01 08:48:46 -07:00 |
|
David Harris
|
717f9d48e9
|
tesgen cleanup, added riscv-arch-test D tests
|
2021-10-29 22:31:48 -07:00 |
|
David Harris
|
ca700610f8
|
removed referenc outputs
|
2021-10-26 08:51:49 -07:00 |
|
David Harris
|
7732d38c36
|
lint cleaning and moved files into subdirectories
|
2021-10-23 08:53:32 -07:00 |
|