Commit Graph

337 Commits

Author SHA1 Message Date
Rose Thompson
fc0fa69f89
Merge pull request #826 from davidharrishmc/dev
Fixed testcount to not make spurious warnings about src
2024-06-05 21:13:49 -05:00
David Harris
1af670d5be Fixed testcount to not make spurious warnings about src 2024-06-05 13:42:29 -07:00
David Harris
5d8c060e4f Fixed testcount to not make spurious warnings about src 2024-06-05 13:41:20 -07:00
Rose Thompson
2382677f8f Got the directory mode wsim working! 2024-06-01 10:56:37 -05:00
Rose Thompson
a78093274c Simplified wsim so it automatically figures out if the second parameter is a testsuite or an elf file. 2024-06-01 09:56:50 -05:00
Rose Thompson
f4626d5b06 Fixed bug so that wsim can start logging after a given number of instructions. 2024-05-29 14:50:09 -05:00
Rose Thompson
0c5b70c40a It's a bit hacky. But I've got functional coverage working with our wally.do script and testbench.sv. 2024-05-28 13:54:48 -05:00
Rose Thompson
48fd365b9d Still don't understand why wally.do can't load testbench.sv with functional coverage. But wally-imperas-cov.do can load testbench.sv with functional coverage. 2024-05-28 13:00:17 -05:00
Rose Thompson
4a1e856b18 Almost working functional coverage in wally.do
riscvISACOV is now loading, but for some reason I still cannot get it to record anything.
Instead it is just logging the instructions.
2024-05-27 18:15:12 -05:00
Rose Thompson
26c6eec832 Getting closer to functional coverage integration. 2024-05-27 13:20:18 -05:00
Rose Thompson
153e66c4bb
Merge pull request #810 from davidharrishmc/dev
Zk simplification
2024-05-25 11:52:56 -05:00
Jordan Carlin
a1e22adc1e
Delete deriv directory in derivgen.pl before remaking derived configs 2024-05-23 14:01:13 -07:00
David Harris
af75140bbc Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-05-21 00:50:15 -07:00
Rose Thompson
e008999030 wsim now supports lockstep and single elf
example
wsim rv64gc ../../tests/riscof/work/riscv-arch-test/rv64i_m/I/src/add-01.S/ref/ref.elf  --elf --lockstep
2024-05-17 17:10:15 -05:00
Rose Thompson
3fdfa0f705 wsim now simulates a single elffile. 2024-05-16 15:14:49 -05:00
David Harris
3a62c297f1 Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-05-14 18:46:30 -07:00
Rose Thompson
970af9551c Fixed bug with gui mode testbench_fp
removed old wally-linux-imperas.do
2024-05-14 13:41:20 -05:00
David Harris
1c20bb9313 Added riscv-isac for test vector generation 2024-05-14 11:32:21 -07:00
Rose Thompson
4cc8859612 Updated wsim to use --coverage rather than -coverage. 2024-05-14 13:31:34 -05:00
David Harris
009d251433 Fixed cvtint bug by adding 2 bits to convert width; initial implementation of fround passes basic regression but fails some nightly regression cases 2024-05-11 22:32:51 -07:00
Rose Thompson
ceb31fec68 Merge branch 'main' of https://github.com/openhwgroup/cvw 2024-05-10 08:54:23 -05:00
Rose Thompson
b027fa44ef Merge branch 'main' of https://github.com/openhwgroup/cvw 2024-05-10 08:53:00 -05:00
Rose Thompson
93ea5b0c1e Fixed wavefile to have function logger. 2024-05-10 08:50:42 -05:00
David Harris
66b33c09be Added Zaamo and Zalrsc support to testbench and regression 2024-05-10 05:41:00 -07:00
David Harris
61e559606e Fixed wsim to be able to invoke TestFloat with Verilator. However, TestFloat produces incorrect results with Verilator 2024-05-09 18:56:59 -07:00
David Harris
a89e064d1d Run both Questa and VCS during nightly regression 2024-05-09 08:20:44 -07:00
David Harris
3c86d3d8e0 Run testfloat during nightly regression 2024-05-08 08:08:58 -07:00
Divya2030
a3f1a274d2 VCS Simulation Passed 2024-05-07 10:41:02 -07:00
David Harris
852b18b3fb Added missing pyyaml needed for riscdv 2024-05-04 02:43:30 -07:00
David Harris
dd602cae83 Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-05-03 12:44:32 -07:00
David Harris
2ad2fa2bd6 Added -H to pip3 installation to install in system home directory so all users can see package 2024-05-03 10:56:13 -07:00
Divya2030
48ad4d6001 pmp coverage 2024-05-02 11:52:54 -07:00
Divya2030
3853f94337 Revert "initial commit pmp basic coverage working"
This reverts commit 7ca1c976c0.
2024-05-02 11:23:59 -07:00
Divya2030
694c69c651
Merge branch 'openhwgroup:main' into main 2024-05-02 10:34:15 -07:00
Divya2030
7ca1c976c0 initial commit pmp basic coverage working 2024-05-02 10:33:29 -07:00
Kaitlin Lucio
e2f35aed55
Merge branch 'openhwgroup:main' into linux_nightly 2024-05-01 14:55:31 -07:00
Rose Thompson
b483415a49
Merge pull request #761 from davidharrishmc/dev
added fcvtmod test, cleanup
2024-05-01 08:53:07 -05:00
slmnemo
9526be0db0 Changed --send_email option in nightly_build to work on a comma-separated string instead of a hard-coded list. Added archival of repositories until next run is complete. 2024-04-30 11:32:15 -07:00
David Harris
2da615b34c Added arch32zfad to regression now that it is running 2024-04-30 08:56:55 -07:00
Rose Thompson
d196f8f8af
Merge pull request #760 from davidharrishmc/dev
Synthesis and VCS fixes
2024-04-29 13:16:38 -05:00
David Harris
7695ad4755 More fround stub code to keep VCS happy 2024-04-28 22:21:51 -07:00
Rose Thompson
004ae83c1d
Merge pull request #759 from davidharrishmc/dev
Fixed synthesis to run with derived configurations
2024-04-28 01:28:33 -05:00
David Harris
45b82cd5c2 Removed no-timing from lint-wally because there are no longer delay statements in the code 2024-04-27 17:12:58 -07:00
Kaitlin Lucio
2d869fd601
Added deletion of cvw folder after running back to script. 2024-04-27 13:22:35 -07:00
slmnemo
60aa1868e5 Added full Linux boot without Imperas to nightly_build. Fixed nightly_build to use new regression script. Made Linux build locally for nightly regression. cvw in nightly regression folder is now deleted after testing to conserve space 2024-04-27 08:34:52 -07:00
slmnemo
70ef250184 Removed extraneous buildroot variable from regression 2024-04-27 08:33:34 -07:00
David Harris
d11de0f28a Added nobpred case to nightly regression 2024-04-24 08:46:06 -07:00
David Harris
e52409e916 Hard-coded NUM_THREADS in tool-chain-install to make it easier to paste code 2024-04-24 08:45:07 -07:00
David Harris
2dd54b3612 adding ssmtp for nightly regression emails 2024-04-23 10:18:28 -07:00
David Harris
2f5680b7a6 Silencing new version of Verilator in lint 2024-04-23 10:18:00 -07:00
David Harris
f9eec8c43f Merged wsim changes 2024-04-22 13:11:35 -07:00
Kunlin Han
9be0303493 Add support for dumping vcd. 2024-04-22 13:03:51 -07:00
David Harris
bd1afa53f8 simulation cleanup 2024-04-22 12:28:16 -07:00
David Harris
03f49dea3f regression printing improvements 2024-04-21 19:45:09 -07:00
David Harris
1759c920bb improved regression comments 2024-04-21 08:38:59 -07:00
David Harris
00a1c0fc57 Fixed WALLY/RISCV paths in testbench/rom1p1r; search log files for warnings and errors 2024-04-21 00:02:15 -07:00
David Harris
a1876b1e7c script cleanup 2024-04-20 17:22:31 -07:00
David Harris
571b67f565 Merging PR738 2024-04-20 17:15:17 -07:00
slmnemo
770d918268 Split buildroot and buildrootboot into separate tests to prevent squashing. Removed extraneous comments. 2024-04-20 16:39:05 -07:00
slmnemo
04ac4007ec Updated tuple to name logfile to grepfile to better reflect purpose in regression. Added -a to grep so it works iwth binary files 2024-04-20 16:08:08 -07:00
David Harris
f639cf4d47 wsim invokes vcs 2024-04-20 14:23:21 -07:00
David Harris
3cb5cd0cb1 simulator cleanup 2024-04-20 14:12:55 -07:00
slmnemo
2b0cf90a99 Merged with merge conflict 2024-04-17 10:47:28 -07:00
slmnemo
d39f1ebefc Less hacky implementation of simulation log and searched log 2024-04-17 10:41:12 -07:00
slmnemo
b5ef66dc3c Less hacky implementation of the same method as before 2024-04-17 10:26:30 -07:00
David Harris
9a29668d1e
Merge pull request #737 from ross144/main
Fixed code coverage for regression-wally
2024-04-17 08:37:15 -06:00
David Harris
db330b35b2 Removed unnecessary muxes from shiftcorrection; changed flag to --nightly in lint-wally 2024-04-16 20:57:49 -07:00
slmnemo
48a2028891 Added --buildroot option to run a full Linux boot and search 'buildroot_uart.out' for login prompt 2024-04-16 17:27:25 -07:00
Rose Thompson
dd3460c1a9 Fixed makefile and regression-wally so that code coverage now works. 2024-04-16 15:44:42 -05:00
Rose Thompson
21a9ff248a Fixed regression-wally so it actually produces covereage reports. 2024-04-16 15:37:04 -05:00
David Harris
135e2753ac Fixed Sail compilation 2024-04-16 10:32:43 -07:00
Kunlin Han
e25177cf4c Add verilator support for wsim. 2024-04-11 20:02:20 -07:00
Jordan Carlin
e0312bd3af
Update tool-chain-install to only build Sail c emulator
Wally only uses the c emulator, so there is no reason to have it build the other models (like ocaml).
When only the c emulator is used it is also able to only build the differences since the last build.
2024-04-08 08:13:07 -07:00
David Harris
60e70c1986 Fixed testbench-fp replication length for regression-wally --testfloat. Changed regression-wally to expect -- in named arguments. 2024-04-08 05:57:18 -07:00
David Harris
fec160d6f9 Updated coremark to use wsim 2024-04-06 21:38:44 -07:00
David Harris
fb130edbf1 Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-04-06 16:17:47 -07:00
David Harris
fe9b6129b8 Starting to add more testfloat 2024-04-06 16:17:42 -07:00
Rose Thompson
d0d1166e3f Got the separation of the -G and +variable arguments in the questa do file.
regression still runs.
2024-04-06 18:04:48 -05:00
Rose Thompson
41845ec17e Fixed issues around missing directories. 2024-04-06 16:29:58 -05:00
David Harris
6b844a2e6e Added GUI support and removed unused wave files 2024-04-06 13:43:06 -07:00
David Harris
d3d39d39d0 Buildroot regression passing 2024-04-06 11:50:25 -07:00
David Harris
3c855e3e90 Passing arguments to buildroot, not yet checking result correctly 2024-04-06 11:42:41 -07:00
David Harris
b3f007ec7f Working on buildroot in regression 2024-04-06 11:11:22 -07:00
David Harris
ac9a21873d Pass TEST to testbench with +TEST=<name> rather than -G TEST=<name> so that we don't have to recompile for every new test 2024-04-06 10:34:21 -07:00
David Harris
347df26713 Fixed regression running; buildroot pending 2024-04-06 09:46:56 -07:00
David Harris
9ee7544d3c TestFloat running; normal testbench broken 2024-04-06 09:28:07 -07:00
David Harris
4b19f6d542 testfloat running through wsim; moved lint, regression, wsim to bin directory so we don't need ./ 2024-04-06 08:22:39 -07:00
Ross Thompson
06094bfe44 Updated CModelBranchAcurracy.sh to include local history. However the results are not correct. 2024-03-29 14:31:15 -05:00
Ross Thompson
33a26fb78c Updates to branch predictor collection. 2024-03-29 13:52:28 -05:00
Ross Thompson
129949b849 Modified parseHPMC.py to support local history and selecting between x-axis as bits or entries. 2024-03-29 13:01:40 -05:00
David Harris
5e53aa4de7 Updated tool chain installation instructions and added a script for docker installation 2024-03-24 15:19:36 -07:00
Rose Thompson
e97c2cbd83
Merge pull request #676 from davidharrishmc/dev
Incorporated Zfa and Zfh tests into wally-riscv-arch-test, mcmodel example code, minor cleanup
2024-03-20 09:45:39 -05:00
Thomas Kidd
4797e89783 modified wrapper script to get rid of storing logs that dont really fail anymore 2024-03-17 18:58:25 -05:00
Thomas Kidd
628d5b3349 changed setup_host.sh to setup.sh 2024-03-16 20:15:59 -05:00
Thomas Kidd
9cf4be19ce created class Path variables to make changing directories easier 2024-03-16 15:22:31 -05:00
Thomas Kidd
777a40e7db updated file structure. Default is: ~/nightly/<date>/cvw 2024-03-16 11:26:46 -05:00
Thomas Kidd
5ab8131df6 reorganized logger module, passed logger to testing class, and started using Path python class 2024-03-15 21:56:57 -05:00
Thomas Kidd
a166928d98 gave default values for argparser 2024-03-15 15:10:49 -05:00
David Harris
48799aa87c Added Zfh and Zfa tests to wally-riscv-arch-test until they are accepted in riscv-arch-test repo 2024-03-14 10:49:36 -07:00
Thomas Kidd
7ed2d0c13d typo fix for displaying commands in email 2024-03-13 22:40:00 -05:00
Thomas Kidd
90026a5da1 showing commands used for executing each specific test 2024-03-13 22:13:20 -05:00
Thomas Kidd
e568f93187 typo fixes 2024-03-13 13:56:05 -05:00
Thomas Kidd
7f65718297 fixed documentation typo 2024-03-09 20:18:55 -06:00
Thomas Kidd
c8df291d48 updated nightly runs with try statement in email sending 2024-03-09 19:34:16 -06:00
Thomas Kidd
0caed8f8c6 undo changing TIMEOUT duration for regression-wally 2024-03-09 19:23:24 -06:00
Thomas Kidd
0e3341c1dc added argstrings to make it a better CLI tool 2024-03-09 16:27:35 -06:00
Thomas Kidd
4addee0fc0 updated nightly runs with try statement in email sending 2024-03-09 14:21:04 -06:00
Thomas Kidd
baa29ea50c
Merge branch 'openhwgroup:main' into main 2024-03-05 14:28:05 -06:00
Thomas Kidd
9ccc93ff0e over rides TIMEOUT on -nightly tag for regression since buildroot is not working 2024-03-04 18:21:03 -06:00
David Harris
90e89ced1d Fixes for synthesis. HPTW change will break x detection 2024-02-26 04:20:08 -08:00
Thomas Kidd
4c84b9d819 updated nightly build, but ran into buildroot errors 2024-02-23 14:54:03 -06:00
Thomas Kidd
d010cdc8bf Replacing nightly_build folder with nightly_build.py and bash wrapper script 2024-02-12 18:25:47 -06:00
Thomas Kidd
190ef91751 Replacing nightly_build folder with nightly_build.py and bash wrapper script 2024-02-12 18:21:04 -06:00
David Harris
dfee790ad7 Fixed derivative generation when derivs don't already exist. Fixed lint to print success when no failures. Added Zfh fma tests. Some fp tests not running yet. 2024-02-06 12:35:56 -08:00
David Harris
b70eb80f8e simplified derivative generation 2024-02-04 19:29:53 -08:00
Thomas Kidd
4adc38deb5
Adding nightly regression into the bin directory (#607)
* updated install tool chain file to use verilator v5.016

* updated gitignore file

* adding nightly tests

* reverted the verilator checkout to checkout master

* Revert "reverted the verilator checkout to checkout master"

This reverts commit 942a2804c3.

* Revert "updated gitignore file"

This reverts commit 981c3ccf6b.

* Revert "updated install tool chain file to use verilator v5.016"

This reverts commit 3168859268.

* Revert "updated gitignore file"

This reverts commit 981c3ccf6b.
2024-02-01 10:44:36 -06:00
David Harris
32c102d89a All deriv tests generated, use sim/make deriv 2024-01-29 14:34:42 -08:00
David Harris
d52d2d7983 Initial derivgen working 2024-01-29 11:22:34 -08:00
David Harris
fb35a865ef Progress on derivgen 2024-01-29 10:14:54 -08:00
David Harris
45e2317636 Added Wally github address to header comments 2024-01-29 05:38:11 -08:00
David Harris
a9acb5f269 Added comments with a way to build Sail on RedHat 2024-01-12 18:13:11 -08:00
David Harris
67124b0c7f Fixed typo in declaration in tlbcontrol; escape quoted argument to Verilator; added ulimit to setup so Verilator stack is large enough 2024-01-06 07:11:25 -08:00
David Harris
17cbdb53df Progress on Verilator simulation. Full adder compiles and runs. Wally builds. 2023-12-31 09:53:13 -08:00
David Harris
86279ca68d Removed old comment from wally-tool-chain-install 2023-12-25 05:58:55 -08:00
David Harris
d130a78616 Updated to current version of toolchain and prepare to be able to compile Zcb and Zicboz when supported 2023-12-20 16:29:03 -08:00
David Harris
f238927013 Updated to latest Sail to support new features 2023-12-19 13:25:10 -08:00
James E. Stine
01a246422f Update bug in wally-tool-chain-install.sh script due to misspelling for an environmental variable. In addition, zlibc was removed due to deprecation 2023-12-15 17:04:37 -06:00
Rose Thompson
7b0e29c9f7 Fixed subtle bug in branch prediction post processing script. 2023-11-26 23:13:14 -06:00
Rose Thompson
3dfca61c3f Changes to support concurrent simulation of all the branch predictor sweeps. 2023-11-26 22:19:34 -06:00
Rose Thompson
e747f97dce Fixed repeatability issues with the branch predictor simulator results generation.
I reran using a clean clone of the repo so this should be working now.
2023-11-26 17:30:11 -06:00
David Harris
822197857a Updated buildroot scripts 2023-11-21 19:36:24 -08:00
Rose Thompson
d95d7130a3 Fixed bugs in paraseHPMC.py 2023-11-17 12:05:22 -06:00
Rose Thompson
0b49c736b9 Removed the size opt tests from the branch predictor analysis. 2023-11-15 22:35:33 -06:00
Rose Thompson
21b2a71bd6 Updates to btb logger processing. 2023-11-15 16:53:44 -06:00
Rose Thompson
c4f4e0fbc0 Added btb reference data. 2023-11-15 16:39:35 -06:00
Rose Thompson
9a90c15f37 Extended SeparateBranch to support both just branches and all control flow instructions. 2023-11-15 16:36:49 -06:00
Rose Thompson
2aecf688f9 Addeed script to sweep sim_bp for btb. 2023-10-23 15:29:50 -05:00
David Harris
348e74b8be Updated wrapper generation to be automatic without specifying WRAPPER=1; instead looks for cvw_t in the file. Also starting to add OSU 130 nm synthesis. 2023-10-19 10:44:03 -07:00
Ross Thompson
d23eda1305 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-10-03 17:43:29 -05:00
James E. Stine
1852304a2a Update install script for working SAIL checkout (current version) 2023-10-03 08:00:00 -05:00
Ross Thompson
77c591621c Renamed parseTest.py to parseHPMC.py 2023-09-27 13:57:40 -05:00
Ross Thompson
3bbcfade93 Completed branch predictor benchmarking. 2023-09-27 13:56:51 -05:00
Ross Thompson
f863cbf366 Actually fixed non-power of 2 issue with RAS.
Added RAS swapping to branch predictor scripts and configurations.
2023-09-27 12:25:05 -05:00
Ross Thompson
6b22138bf6 Finally have this script generating beautiful bar plots of branch predictor misrates. 2023-09-25 12:45:09 -05:00
Ross Thompson
81dd6517f1 Now produces beautiful graphs. 2023-09-25 10:09:33 -05:00
Ross Thompson
1cb278913a Major improvement to the bar graph generation. 2023-09-25 09:55:38 -05:00
Ross Thompson
1fdfa024fc Temporarily commit replacement parseTest.py for parseHPMC.py. 2023-09-22 16:00:32 -05:00
Ross Thompson
60ddbe31f8 Updated the branch predictor simulator's parseHPMC.py results.
In a future commit I will update the branch predictor simulator with the fix for the gshare and then update the commit pointing their repo.
2023-09-18 16:59:20 -05:00
David Harris
6a0d818d74 Other Wally cleanup 2023-06-09 09:37:09 -07:00
Ross Thompson
664231c0da Merge branch 'localhistory'
Repair to wave file.
Created implementations of local history. Part of my Ph.D. research.
2023-05-22 10:13:31 -05:00