James Stine
8bb08fefe7
add three programs to APT to make sure they are there for new installs
2024-06-28 12:16:08 -05:00
David Harris
4a3532bf5a
VCS lockstep progress
2024-06-28 07:19:03 -07:00
David Harris
29c94e8abb
Regression fully running with Verilator, which is now the default and much faster than the others
2024-06-28 06:17:40 -07:00
David Harris
31b54fb247
Progress on VCS lockstep
2024-06-27 11:16:17 -07:00
Jordan Carlin
e7d4a2ee81
Trim down no priv regression tests
2024-06-27 07:01:55 -07:00
Jordan Carlin
47e67e99ff
Add no priv mode tests to regression
2024-06-26 22:00:29 -07:00
Jordan Carlin
0da6e35988
Fix derivgen.pl to find exact keys
2024-06-26 07:45:04 -07:00
Jordan Carlin
6e3c464c9a
Update red hat packages
2024-06-22 17:46:29 -07:00
Jordan Carlin
5003cd56a8
Fix environment variables
2024-06-22 16:05:20 -07:00
Jordan Carlin
0e22c99467
Initial attempt at unified script
2024-06-22 13:07:34 -07:00
Jordan Carlin
2e55213286
Update install script comments and clean up packages.
2024-06-22 12:37:30 -07:00
Jordan Carlin
ad18734125
Update ubuntu toolchain install to match new red hat form in preparation for merging of scripts.
2024-06-22 12:37:25 -07:00
Jordan Carlin
9fc9e3c23d
red hat install script syntax updates and allow for overriding of $RISCV directory
2024-06-22 12:37:20 -07:00
Jordan Carlin
55225f0d00
Red Hat family distro detection improvements
2024-06-22 12:37:15 -07:00
Jordan Carlin
2f7205b278
code style fixes
2024-06-22 12:36:56 -07:00
Jordan Carlin
b646dca8f6
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
bcc01b78d6
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
f682a71e24
Update to use EPEL package repo for ccache and gperftools
2024-06-22 12:32:57 -07:00
Jordan Carlin
2f55ac1cc7
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
c568bdcfa3
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
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