Commit Graph

301 Commits

Author SHA1 Message Date
Jordan Carlin
ca48447ff1
Check if repo cloned but tool not installed (if there was an error and the script is being rerun), and install if so 2024-06-22 12:36:56 -07:00
Jordan Carlin
bfc5440b08
red hat install script checks distro & version to determine what to install. Groundwork laid for ubuntu in same file. 2024-06-22 12:34:09 -07:00
Jordan Carlin
cb6a9787dc
Update to use EPEL package repo for ccache and gperftools 2024-06-22 12:32:57 -07:00
Jordan Carlin
5966df60a9
Update red hat install script to only install each tool if it is the first time or if there are updates 2024-06-22 12:32:57 -07:00
Jordan Carlin
301377262e
initial version of red hat install toolchain 2024-06-20 20:47:18 -07:00
Rose Thompson
e1fc44a5bf
Merge pull request #849 from davidharrishmc/dev
lint cleanup and divider optimization
2024-06-20 09:04:19 -07:00
David Harris
0ab3f28991 Lint cleanup 2024-06-20 00:10:03 -07:00
Ross Thompson
9e93f21990 Updated covergen to not include stores as they are incomplete.
Modified makefile riscv-dv to not simulation only generate tests.
2024-06-19 15:13:49 -07:00
David Harris
301ded05f8 Unused signal cleanup 2024-06-18 08:15:48 -07:00
David Harris
45f505250c Lint cleanup 2024-06-18 06:23:43 -07:00
David Harris
334b616d6f Removed redundant apt-get line 2024-06-14 02:52:27 -07:00
David Harris
fb75fe461c Remove stale questa wkdir before regression 2024-06-14 02:51:55 -07:00
David Harris
29fe5983e2 Fixed testfloat regression and added bitmanip/crypto variants 2024-06-11 12:32:11 -07:00
David Harris
b4bddf13e6 Fixed typo in derivgen 2024-06-10 04:40:01 -07:00
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