Commit Graph

487 Commits

Author SHA1 Message Date
Jordan Carlin
f68cb47a55
Use arithmetic comparisons where possible 2024-07-20 00:45:10 -07:00
Jordan Carlin
302c23dc42 Fix git_check function repo variable 2024-07-20 00:24:26 -07:00
Jordan Carlin
c3614aa189
Fix git_check function repo variable 2024-07-20 00:24:26 -07:00
Jordan Carlin
0f695bac45 Use apt-get to avoid warning about unstable apt interface 2024-07-19 11:09:27 -07:00
Jordan Carlin
a8848f02e8
Use apt-get to avoid warning about unstable apt interface 2024-07-19 11:09:27 -07:00
Jordan Carlin
36579d5aec Fix git_check return values 2024-07-19 11:09:27 -07:00
Jordan Carlin
f346a99907
Fix git_check return values 2024-07-19 11:09:27 -07:00
Jordan Carlin
af796116c9 Refactor git repo checks to use a function 2024-07-19 11:09:27 -07:00
Jordan Carlin
6e4d6b7c07
Refactor git repo checks to use a function 2024-07-19 11:09:27 -07:00
Jordan Carlin
85a84dcbed Update setup scripts to be more verbose about errors 2024-07-19 10:14:19 -07:00
Jordan Carlin
954247af92
Update setup scripts to be more verbose about errors 2024-07-19 10:14:19 -07:00
Jordan Carlin
6e5554f429 Add additional packages 2024-07-19 10:14:19 -07:00
Jordan Carlin
e30691d5e2
Add additional packages 2024-07-19 10:14:19 -07:00
Jordan Carlin
5661dc4a03 Merge branch 'main' of https://github.com/openhwgroup/cvw into installation 2024-07-18 21:36:00 -07:00
Jordan Carlin
8853fd52bc
Merge branch 'main' of https://github.com/openhwgroup/cvw into installation 2024-07-18 21:36:00 -07:00
David Harris
464b6ff72f Converted regression-wally to use argparse 2024-07-17 06:04:21 -07:00
David Harris
4d36072f09 Converted regression-wally to use argparse 2024-07-17 06:04:21 -07:00
David Harris
8f83ff1a94 Fixed slli.uw bug reported by Lee Moore 16 July 2024 2024-07-16 09:28:05 -07:00
David Harris
25f271064f Fixed slli.uw bug reported by Lee Moore 16 July 2024 2024-07-16 09:28:05 -07:00
David Harris
2c487935e6 Attempt at functional coverage; breaks code and functional coverage 2024-07-15 14:20:48 -07:00
David Harris
ac05fa5553 Attempt at functional coverage; breaks code and functional coverage 2024-07-15 14:20:48 -07:00
David Harris
04cd2c8ea4 Renamed --coverage to --ccov and moved UCDB files to questa/ucdb 2024-07-15 05:32:16 -07:00
David Harris
467436e30c Renamed --coverage to --ccov and moved UCDB files to questa/ucdb 2024-07-15 05:32:16 -07:00
David Harris
affe15191e Fixed wsim running iterelf tests/coverage 2024-07-15 03:44:14 -07:00
David Harris
1b5e63ebe2 Fixed elf handling 2024-07-14 09:49:15 -07:00
David Harris
779458f14a Waive CBO failures in iterelf because ImperasDV does not handle them properly yet 2024-07-13 22:08:57 -07:00
David Harris
904a081218 allow wsim to take .elf in testsuite argument; print error if ELF not found 2024-07-13 21:59:26 -07:00
Jordan Carlin
43b9e2ca92 Refactor section headers 2024-07-08 07:21:08 -07:00
Jordan Carlin
bea95c7d54
Refactor section headers 2024-07-08 07:21:08 -07:00
Jordan Carlin
ae1829f23a Cleanup 2024-07-08 06:50:29 -07:00
Jordan Carlin
70a65e2d6b
Cleanup 2024-07-08 06:50:29 -07:00
Jordan Carlin
2528830e98 Merge remote-tracking branch 'upstream/main' into installation
Fix derivgen.pl shebang conflict
2024-07-08 06:46:41 -07:00
Jordan Carlin
09a061b580
Merge remote-tracking branch 'upstream/main' into installation
Fix derivgen.pl shebang conflict
2024-07-08 06:46:41 -07:00
David Harris
bcbe9eec81 Added lockstep simulations for coverage, wally-riscv-arch-test, buildroot boot to nightly / buildroot regression 2024-07-05 22:13:34 -07:00
Jordan Carlin
f0268a011a Add comments to site-setup for new gcc 2024-07-04 13:44:50 -07:00
Jordan Carlin
47501b9ef4
Add comments to site-setup for new gcc 2024-07-04 13:44:50 -07:00
David Harris
604f9d3a45 Fixed imperas.ic prefix for vcs 2024-07-04 12:31:00 -07:00
David Harris
873bd61296 Fixed perl path in derivgen 2024-07-04 12:30:11 -07:00
Jordan Carlin
83449c16ab Fix perl shebang lines 2024-07-04 01:48:20 -07:00
Jordan Carlin
a7b78e6773
Fix perl shebang lines 2024-07-04 01:48:20 -07:00
Jordan Carlin
838e44a53f Merge branch 'main' of https://github.com/openhwgroup/cvw into installation 2024-07-03 23:44:25 -07:00
Jordan Carlin
0459c68615
Merge branch 'main' of https://github.com/openhwgroup/cvw into installation 2024-07-03 23:44:25 -07:00
Jordan Carlin
9f52f7712a Update installation script comments 2024-07-03 23:42:31 -07:00
Jordan Carlin
c7d556a7ed
Update installation script comments 2024-07-03 23:42:31 -07:00
Jordan Carlin
6f71f30a42 Add error messages 2024-07-03 22:26:10 -07:00
Jordan Carlin
090a4f9544
Add error messages 2024-07-03 22:26:10 -07:00
Jordan Carlin
65b3a97379 Speed up qemu clone with multiple submodules in parallel 2024-07-03 22:14:17 -07:00
Jordan Carlin
eaac8e9b6a
Speed up qemu clone with multiple submodules in parallel 2024-07-03 22:14:17 -07:00
Jordan Carlin
e5c82e7465 Additional shebang updates 2024-07-03 21:34:48 -07:00
Jordan Carlin
a30d4b29df
Additional shebang updates 2024-07-03 21:34:48 -07:00
Jordan Carlin
e6e070f4e4 Update python shebangs to use /usr/bin/env python3 so virtual environment can be used (also aids in general portability) 2024-07-03 20:42:55 -07:00
Jordan Carlin
7419689359
Update python shebangs to use /usr/bin/env python3 so virtual environment can be used (also aids in general portability) 2024-07-03 20:42:55 -07:00
David Harris
9b120bb3aa fix timeout in iterelf 2024-07-03 16:34:14 -07:00
David Harris
4528b4ee2a Fix wsim to use absolute path for ELF 2024-07-03 15:10:02 -07:00
David Harris
f7797d6092 First version of iterelf running; removed directory support from wsim 2024-07-03 14:54:46 -07:00
David Harris
af4403342f renamed run_vcs.py to run_vcs, added instr/data in ebu 2024-07-03 08:02:38 -07:00
Jordan Carlin
feb6e2a8ef Update sourcing of secondary scripts to work when called from any directory 2024-07-02 22:17:43 -07:00
Jordan Carlin
b6ad0571ac
Update sourcing of secondary scripts to work when called from any directory 2024-07-02 22:17:43 -07:00
Jordan Carlin
045bdddfde Merge branch 'dev' into installation 2024-07-02 21:55:21 -07:00
Jordan Carlin
2a78a65f69
Merge branch 'dev' into installation 2024-07-02 21:55:21 -07:00
Jordan Carlin
6f1d1f1536 Source package install script so variables are shared 2024-07-02 21:51:43 -07:00
Jordan Carlin
bd4f3e89fa
Source package install script so variables are shared 2024-07-02 21:51:43 -07:00
Jordan Carlin
06ce25ef09 Move package installation and distro check to separate files 2024-07-02 21:25:52 -07:00
Jordan Carlin
459b659c50
Move package installation and distro check to separate files 2024-07-02 21:25:52 -07:00
David Harris
aff0ad9c02 Progress on VCS; run_vcs rewritten in Python to ease passing parameters 2024-07-02 14:23:34 -07:00
David Harris
a0729d074b regression --nightly --buildroot runs buildroot boot in Verilator all the way to login prompt and checks success 2024-07-02 14:20:40 -07:00
Jordan Carlin
2b4f12916e
Merge pull request #858 from davidharrishmc/dev
Regression Improvements
2024-07-01 20:04:31 -07:00
Jordan Carlin
56c1ad6d87 Cleanup root detection logic 2024-06-30 16:31:40 -07:00
Jordan Carlin
bd6fa79a18
Cleanup root detection logic 2024-06-30 16:31:40 -07:00
Jordan Carlin
9fb9002365 Improve print messages 2024-06-30 15:48:28 -07:00
Jordan Carlin
53bda7fe40
Improve print messages 2024-06-30 15:48:28 -07:00
Jordan Carlin
a13f18fa4d Cleanup 2024-06-29 13:49:05 -07:00
Jordan Carlin
24de9e3cab
Cleanup 2024-06-29 13:49:05 -07:00
Jordan Carlin
7d0a21693c Fix regression from Ubuntu 20.04 support 2024-06-29 13:38:34 -07:00
Jordan Carlin
4144f3f3c2
Fix regression from Ubuntu 20.04 support 2024-06-29 13:38:34 -07:00
Jordan Carlin
c8a110d523 Add support for AlmaLinux 8 and 9 (testing) 2024-06-29 12:37:58 -07:00
Jordan Carlin
c47411b4e3
Add support for AlmaLinux 8 and 9 (testing) 2024-06-29 12:37:58 -07:00
Jordan Carlin
1fa9509994 Use gcc 10 for Ubuntu 20.04 for Verilator 2024-06-29 10:45:42 -07:00
Jordan Carlin
b8adac9beb
Use gcc 10 for Ubuntu 20.04 for Verilator 2024-06-29 10:45:42 -07:00
David Harris
68a105d5d8 Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-06-29 05:35:46 -07:00
Jordan Carlin
ce6f7780bc Additional Ubuntu 20.04 updates 2024-06-29 01:32:33 -07:00
Jordan Carlin
c503260b2f
Additional Ubuntu 20.04 updates 2024-06-29 01:32:33 -07:00
Jordan Carlin
891ff61582 Initial Ubuntu 20.04 support 2024-06-29 01:23:38 -07:00
Jordan Carlin
b3f04857d4
Initial Ubuntu 20.04 support 2024-06-29 01:23:38 -07:00
Jordan Carlin
96b69cdb22 whitespace cleanup 2024-06-29 01:06:59 -07:00
Jordan Carlin
6c81fd7759
whitespace cleanup 2024-06-29 01:06:59 -07:00
Jordan Carlin
1d4845a8bb Fix ubuntu libncurses to avoid redirect on Ubuntu 24 2024-06-28 23:36:47 -07:00
Jordan Carlin
3d8e850505
Fix ubuntu libncurses to avoid redirect on Ubuntu 24 2024-06-28 23:36:47 -07:00
Jordan Carlin
254f6fa499 Install working on Rocky 8 + 9 and Ubuntu 22 + 24 2024-06-28 23:25:44 -07:00
Jordan Carlin
0298ee479e
Install working on Rocky 8 + 9 and Ubuntu 22 + 24 2024-06-28 23:25:44 -07:00
Jordan Carlin
a656e05e34 Fix libboost 2024-06-28 21:53:55 -07:00
Jordan Carlin
48e2293fa9
Fix libboost 2024-06-28 21:53:55 -07:00
Jordan Carlin
54e859afce red hat gcc-toolset-13 not compatible with csh 2024-06-28 20:25:11 -07:00
Jordan Carlin
fbb39efc4d
red hat gcc-toolset-13 not compatible with csh 2024-06-28 20:25:11 -07:00
Jordan Carlin
917cf54b02 Rename unified install script 2024-06-28 16:26:39 -07:00
Jordan Carlin
d876b76911
Rename unified install script 2024-06-28 16:26:39 -07:00
Jordan Carlin
d43d4ed9bf Remove individual install scripts 2024-06-28 16:26:39 -07:00
Jordan Carlin
7a13c58407
Remove individual install scripts 2024-06-28 16:26:39 -07:00
Jordan Carlin
7cc709401e Add ncurses back for buildroot 2024-06-28 16:26:39 -07:00
Jordan Carlin
419917517f
Add ncurses back for buildroot 2024-06-28 16:26:39 -07:00
Jordan Carlin
a0aed23208 Update cshell setup scripts 2024-06-28 15:26:57 -07:00
Jordan Carlin
beae450347
Update cshell setup scripts 2024-06-28 15:26:57 -07:00
Jordan Carlin
f7c688c44f Update setup scripts and automatically copy site-setup to $RISCV 2024-06-28 15:02:16 -07:00
Jordan Carlin
d6644a743c
Update setup scripts and automatically copy site-setup to $RISCV 2024-06-28 15:02:16 -07:00
Jordan Carlin
4a28310c0e Merge branch 'dev' into installation 2024-06-28 13:39:44 -07:00
Jordan Carlin
6b6ff23c72
Merge branch 'dev' into installation 2024-06-28 13:39:44 -07:00
Jordan Carlin
d07d5be271 Correct detection of remote changes 2024-06-28 13:24:19 -07:00
Jordan Carlin
0c93e17fc2
Correct detection of remote changes 2024-06-28 13:24:19 -07:00
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
2134a3cafb
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
ba25bf8c16
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
f1b2e6a8de
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
d785189942
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
2862b89714
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
206f52a371
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
009672092a
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
57f042c6b6
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
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
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
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
f682a71e24 Update to use EPEL package repo for ccache and gperftools 2024-06-22 12:32:57 -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
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
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
c568bdcfa3 initial version of red hat install toolchain 2024-06-20 20:47:18 -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