Commit Graph

274 Commits

Author SHA1 Message Date
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
David Harris
4b85346f3a Merged install script cleanup 2023-05-14 03:41:35 -07:00
David Harris
f2fc066108 Added CD before compiling SAIL 2023-05-14 03:08:53 -07:00
Ross Thompson
d545a2ec74 Partially working local history repair. 2023-05-11 14:56:26 -05:00
David Harris
98a44fd3bd wally installation improvements: latest main branch of riscv-arch-test, updated install script 2023-05-10 08:23:55 -07:00
David Harris
866942b39a Added packages requested for gcc 2023-05-09 10:30:02 -07:00
Ross Thompson
8b0791b6b5 I think ahead pipelining is working for local history. 2023-05-03 12:52:32 -05:00
Limnanthes Serafini
034c289a36 Misc typo and indent fixing. 2023-04-13 16:54:15 -07:00
Limnanthes Serafini
3f9a22e8d4 Minor comments. 2023-04-12 02:57:42 -07:00
Limnanthes Serafini
095f3d5542 Added performance and distribution to sim and wrapper. Added colors too! 2023-04-12 02:54:05 -07:00
Limnanthes Serafini
926ec56e18 Cleanup + success message added to CacheSim 2023-04-11 19:28:28 -07:00
Limnanthes Serafini
6ad5d81980 Further comments and attribution. 2023-04-05 02:46:31 -07:00
Limnanthes Serafini
49226a1eb2 Commenting, attribution for sim, minor log changes 2023-04-05 02:43:02 -07:00
Limnanthes Serafini
53cff56a97 Changed logging enables, debug mode in sim. 2023-04-04 23:49:35 -07:00
Limnanthes Serafini
6f7620e7c1 CacheSim edits, tests. I/D$ logging, Lim's version 2023-04-04 21:12:35 -07:00
Limnanthes Serafini
d48a6c1190 Moved simulator into bin, added pLRU clearing 2023-04-03 14:10:27 -07:00
David Harris
e69d2e2b96 Tool change docs 2023-03-23 17:24:58 -07:00
David Harris
533972d178 Increased NumThreads to 0 2023-03-23 09:36:50 -07:00
David Harris
67186c4498 install docs 2023-03-23 09:33:56 -07:00
David Harris
3a9b40ff1d installation script update 2023-03-23 09:31:17 -07:00
David Harris
16d9fac004 README updates 2023-03-23 09:05:37 -07:00
David Harris
4d9087bc4b README merge 2023-03-23 08:45:12 -07:00
David Harris
120da12414 README/tool installation merge 2023-03-23 08:42:40 -07:00
James Stine
628759a869 Update more information inside Wally install script 2023-03-23 09:20:35 -05:00
Ross Thompson
0827c57bfd Merge pull request #153 from davidharrishmc/main
Updating install instructions
2023-03-22 23:06:02 -05:00
David Harris
b117640266 Updating install instructions 2023-03-22 16:11:59 -07:00
James Stine
48a73e8ee8 Add correction for regression on Sail due to bug in recent release. This hash is known to work (verified by Stine/Thompson). May remove later if Sail ever gets fixed 2023-03-21 08:36:30 -05:00
Ross Thompson
31e8ae1cd1 Fixed bug in the tool chain install script. 2023-03-20 11:52:10 -05:00
Ross Thompson
a8d6c1cc2f More accurate c model gshare results. 2023-03-13 13:54:04 -05:00
Ross Thompson
2df36f23a7 On our way to finish the C reference data collection. 2023-03-13 13:32:09 -05:00
Ross Thompson
64502fa34c Merge branch 'main' of github.com:ross144/cvw into main 2023-03-13 13:30:49 -05:00
Ross Thompson
d2968376a9 Added reference data. 2023-03-13 13:30:43 -05:00
Ross Thompson
673044f923 Modified branch logger to indicate when the warmup period is done.
The branch-predictor-simulator also changed to support this.
2023-03-13 13:26:27 -05:00
Ross Thompson
be05fd5297 Created script to batch processes all the embench branch outcomes into C model branch prediction rate. 2023-03-12 23:15:44 -05:00
Ross Thompson
d7066f72e9 Renamed script to parse branch.log 2023-03-12 22:40:59 -05:00
Ross Thompson
dea9dd962e Added script to separate branch.log into separate logs for each benchmark. 2023-03-12 17:58:36 -05:00
Ross Thompson
e9fa234410 Partial automation of branch predictor embenching. 2023-03-04 17:10:58 -06:00
Ross Thompson
93f2bacdae Updated parsing script. 2023-03-04 13:45:15 -06:00
Ross Thompson
0ecd1ef681 Setup the testbench to exclude the warmup from performance counter reports. 2023-03-03 13:10:01 -06:00
Ross Thompson
724f2634c5 Fixed bug in performance counter script. 2023-03-02 22:32:13 -06:00
Ross Thompson
1f3639bff6 Added support for branch target buffer stats. 2023-03-02 22:16:30 -06:00
Ross Thompson
cbc5de1ebd Improved branch predictor graph generation. 2023-02-23 20:44:47 -06:00
Ross Thompson
c9609609aa updates to bp result parsing script. 2023-02-22 22:08:00 -06:00
Ross Thompson
ecbfd776d6 Updated branch predictor results processing script. 2023-02-22 16:11:52 -06:00
Ross Thompson
0f98cfe5b4 Simplified branch predictor. 2023-02-19 22:49:48 -06:00
Ross Thompson
eafb406c9e Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-02-10 10:38:39 -06:00
Ross Thompson
a1bdd9daa7 Added new features to branch predictor analysis script. 2023-02-10 09:07:06 -06:00
David Harris
7f062cff8b Removed unnecessary --enable-multilib from gcc build commands because --with-multilib-generator implies it 2023-02-08 13:02:21 -08:00
David Harris
76332cac06 Paths changed in latest GCC 2023-02-07 16:49:50 -08:00
Ross Thompson
a07684914b Updated imperas git repo to use a different hash. 2023-02-06 16:35:03 -06:00
David Harris
be08523ba0 Added license headers 2023-02-04 04:29:27 -08:00
David Harris
4dca69f205 Updated division radix test script with paths, but script is out of date for files it manipulates 2023-02-03 08:36:03 -08:00
Ross Thompson
bfbf534830 Created scripts to install imperas and run a single test using imperas. 2023-01-31 13:51:05 -06:00
Ross Thompson
a9902337cf Merge branch 'main' of https://github.com/openhwgroup/cvw
This merges the branch predictor improvements into the main repo.
2023-01-29 15:24:20 -06:00
Ross Thompson
5fb3a669b1 Updated benchmark parsing script. 2023-01-29 14:17:45 -06:00
David Harris
ff9171aba7 Added libppa.pl to characterize liberty files 2023-01-28 10:22:59 -08:00
Ross Thompson
a03526c1a2 Added github cli (gh) to install script. 2023-01-23 15:17:12 -06:00
David Harris
b6b67516eb Repo cleanup 2023-01-23 10:37:33 -08:00
Ross Thompson
24618f741a Added SPDX header to scripts. 2023-01-22 13:04:31 -06:00
Ross Thompson
f7c89abe06 Added SPDX header to install script. 2023-01-22 12:53:23 -06:00
Ross Thompson
7f09b8cc88 Found minor bug in install script. 2023-01-21 22:14:58 -06:00
Ross Thompson
c1790e67bc Defaults to 1 job compiles. 2023-01-21 22:00:26 -06:00
Ross Thompson
b737c2ab12 Added argument to install script for alternate install directory. 2023-01-21 21:31:47 -06:00
Ross Thompson
528f1a0940 Added check for the odd Ubuntu 22.04 python2/3 issue. 2023-01-21 21:29:37 -06:00
Ross Thompson
b73bf728a5 More improvements to the tool install script. 2023-01-21 21:23:23 -06:00
Ross Thompson
3667222831 Working toolchain install script for ubuntu. 2023-01-21 20:52:58 -06:00
Ross Thompson
8d6a58f2cf fixes to installer script 2023-01-21 18:00:14 -06:00
Ross Thompson
b522bcc081 fixes to install script. 2023-01-21 17:32:44 -06:00
Ross Thompson
8c70705ecf Updates to tool install script 2023-01-21 17:24:21 -06:00
Ross Thompson
4a73f173bb Created a tool chain install script for ubuntu 22.04. 2023-01-21 14:03:30 -06:00
Ross Thompson
5f31c681ff Updated branch predictor. 2023-01-11 17:00:45 -06:00
David Harris
9e67b9475e Remove unused signals 2023-01-07 06:26:29 -08:00
David Harris
cdcee61aac vclean working; started removing unused signals 2023-01-07 05:34:58 -08:00
David Harris
cf103f2588 Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main 2023-01-07 04:49:40 -08:00
David Harris
26001f8c3f Started vclean script to clean Verilog 2023-01-07 04:49:38 -08:00
Ross Thompson
e535ff3e1f Fancy plot for branch predictor. 2023-01-06 18:04:49 -06:00
Ross Thompson
81fe08192e Added python script to post process performance counter metrics. 2023-01-06 15:15:54 -06:00
David Harris
facf439c70 testcount.pl script to count number of tests in each instruction 2022-12-25 22:28:58 -08:00
David Harris
73a84f28b9 Moved some privileged tests to be simulated. 2022-05-12 04:45:41 +00:00
David Harris
f2bda069da Adjusted scripts to use 2022-03-04 05:09:02 +00:00
David Harris
de7b9c127e Added E extension, and downloaded riscv-dv and embench-iot to addins 2022-01-17 14:42:59 +00:00
David Harris
27c1d73cb1 Code cleanup 2022-01-07 04:07:04 +00:00
David Harris
07932ad0aa Replaced exe2memfile with SiFive elf2hex 2022-01-05 22:10:26 +00:00
James E. Stine
962e7dc782 Add script to generate memfile using elf2hex 2022-01-05 10:44:01 -06:00
David Harris
67bbb03897 Fixed exe2memfile.pl bug 2021-12-27 00:44:18 +00:00
David Harris
e97e512da9 Started FIR test code and started incorporating Imperas tests 2021-12-25 22:39:51 +00:00
David Harris
7bdd9b2860 exe2memfile don't print when only 1 file 2021-11-18 20:37:53 -08:00
David Harris
c45f276f86 Moved exe2memfile.pl 2021-11-18 20:32:13 -08:00