Commit Graph

364 Commits

Author SHA1 Message Date
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
ae1829f23a 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
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
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
838e44a53f 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
6f71f30a42 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
e5c82e7465 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
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
045bdddfde 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
06ce25ef09 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
9fb9002365 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
7d0a21693c 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
1fa9509994 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
891ff61582 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
1d4845a8bb 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
a656e05e34 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
917cf54b02 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
7cc709401e 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
f7c688c44f 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
d07d5be271 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
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