Commit Graph

7262 Commits

Author SHA1 Message Date
Ross Thompson
8cc6657644 Changed SDC outputs to ensure they are aligned to the falling edge of the divided down clock rather than the processor clock. 2023-10-10 17:46:12 -05:00
David Harris
2f6e39defc
Merge pull request #424 from ross144/main
Fixed issue #412 The root cause was DTLB miss leads to page fault exception with concurrent I$ miss.  The HPTW hits all entries in the D$ and quickly faults.  However the I$ is still waiting on the main memory. The trap then interrupts the atomimicity of the bus fetch and breaks the next several instructions.
2023-10-10 07:09:15 -07:00
Ross Thompson
9e149b77f7 Merge branch 'main' of github.com:ross144/cvw 2023-10-09 16:08:07 -05:00
Ross Thompson
4a61d1b4f1 Fixed issue #412
The root cause was DTLB miss leads to page fault exception with concurrent I$ miss.  The HPTW hits all entries in the D$ and quickly faults.  However the I$ is still waiting on the main memory.
The trap then interrupts the atomimicity of the bus fetch and breaks the next several instructions.

The simplest solution is to use CommittedF to delay Exceptions like with Interrupts.  Note this cannot happen with CommittedM.  If the ITLB misses and the D$ also need to fetch a from the bus an ITLB page fault exception will not trigger the trap until a few stages later.
2023-10-09 16:03:37 -05:00
Rose Thompson
c6ecc15d51
Merge pull request #422 from eroom1966/main
Update to IDV
2023-10-06 07:51:14 -05:00
eroom1966
f5fe29720c add in new .sv file 2023-10-06 13:47:05 +01:00
Lee Moore
cbebf39528
Merge branch 'openhwgroup:main' into main 2023-10-06 11:46:45 +01:00
David Harris
ec2d83d884
Merge pull request #421 from ross144/main
Oups. When fixing the linux-imperasdv testbench I accidentally introduced a bug to the tracer.
2023-10-05 11:31:50 -07:00
Ross Thompson
2df8cc8ac0 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-10-05 13:00:59 -05:00
Ross Thompson
7b2fff6439 Oups. When fixing the linux-imperasdv testbench I accidentally introduced a bug to the tracer. 2023-10-05 13:00:46 -05:00
David Harris
34ed486e40
Merge pull request #420 from ross144/main
Fixed Imperas Linux testbench
2023-10-05 09:34:04 -07:00
Ross Thompson
608728b3c5 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-10-05 10:39:06 -05:00
Ross Thompson
a36bbe5e9a Fixed imperas linux testbench. 2023-10-04 17:11:47 -05:00
Rose Thompson
84c70b1440
Merge pull request #419 from davidharrishmc/dev
Zcb extension
2023-10-04 15:39:38 -05:00
David Harris
d80cb36778 Added ZCA/ZCF/ZCD/ZCB support. Doesn't break regression, but not tested. Need to get tests for Zcb. Draft tests are in riscv-arch-test but not yet committed there 2023-10-04 12:28:12 -07:00
David Harris
42157eaf94 UpdateDA cleanup: don't assert UpdateDA when there is no SVADU 2023-10-04 09:57:13 -07:00
Rose Thompson
0622428a6c
Merge pull request #418 from davidharrishmc/dev
Added MENVCFG.HADE bit and updated SVADU to depend on this bit
2023-10-04 11:56:44 -05:00
David Harris
df7f2679d7 Added MENVCFG.HADE bit and updated SVADU to depend on this bit 2023-10-04 09:34:28 -07:00
David Harris
0d0d5d8af0
Merge pull request #415 from ross144/main
added new branch predictor post processing script and updated buildroot config script to support c++
2023-10-03 20:25:56 -07:00
Ross Thompson
0ff34c0d06 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-10-03 17:43:29 -05:00
Ross Thompson
5085fef3ca Somehow the arty A7 was missing the update for the console baud rate setting. 2023-10-03 17:37:13 -05:00
Rose Thompson
93b12ff942
Merge pull request #417 from VictorClements/main
Update Top Level Makefile
2023-10-03 09:36:48 -05:00
Rose Thompson
b0ce2cac1c
Merge pull request #416 from stineje/main
Update to Wally for test float fixes and other ancillary quality improvements
2023-10-03 09:36:17 -05:00
VictorClements
e77e4d74e9
Update Makefile
"make riscof" and "make testfloat" were run in backward order, leading to some of the make issues when a user is setting up for the very first time.
2023-10-03 07:32:45 -07:00
James E. Stine
0e5b8b9179 Update TeX docs divsqrt examples by removing ancillary files (apologies for previously pushing) 2023-10-03 09:25:26 -05:00
James E. Stine
d7e9823251 Fix testfloat testbench to work properly with parameters 2023-10-03 08:11:45 -05:00
James E. Stine
e964b2717a Add TeX files used for examples in textbook on divsqrt 2023-10-03 08:03:54 -05:00
James E. Stine
077ab4838e Modify Makefile + software example for SP/DP/QP 2023-10-03 08:02:39 -05:00
James E. Stine
9cb0fd7882 Update install script for working SAIL checkout (current version) 2023-10-03 08:00:00 -05:00
Ross Thompson
293fa17eee Renamed parseTest.py to parseHPMC.py 2023-09-27 13:57:40 -05:00
Ross Thompson
9ae6261e5c Completed branch predictor benchmarking. 2023-09-27 13:56:51 -05:00
Ross Thompson
1a003019d6 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
9ec2bfd052 Fixed sutble RAS bug when the stack size was not a power of 2. 2023-09-27 12:00:47 -05:00
Ross Thompson
de7c0ff786 add c++ support to buildroot's config file.
this is needed for running tensorflow's benchmark.
2023-09-25 18:16:58 -05:00
Rose Thompson
5de6b466b7
Merge pull request #414 from JacobPease/main
Fixed Linux Makefile find errors
2023-09-25 18:13:37 -05:00
Jacob Pease
93d905a7d2 Merge branch 'main' of github.com:openhwgroup/cvw 2023-09-25 18:07:00 -05:00
Jacob Pease
fd080320cd Fixed error with finding vmlinux and busybox directories too early. 2023-09-25 18:04:51 -05:00
Ross Thompson
9e093a0e0e Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-09-25 16:18:46 -05:00
Rose Thompson
3e888f240a
Merge pull request #413 from JacobPease/main
Linux Makefile changes
2023-09-25 16:18:00 -05:00
Jacob Pease
4f5f055f25 Merge branch 'main' of github.com:openhwgroup/cvw 2023-09-25 16:11:49 -05:00
Ross Thompson
469b096bd6 Finally have this script generating beautiful bar plots of branch predictor misrates. 2023-09-25 12:45:09 -05:00
Ross Thompson
ff46fa7d60 Now produces beautiful graphs. 2023-09-25 10:09:33 -05:00
Ross Thompson
95cd882089 Major improvement to the bar graph generation. 2023-09-25 09:55:38 -05:00
David Harris
d651d1aa59
Merge pull request #410 from ross144/main
Many quality of life improvements
2023-09-23 01:22:16 -07:00
Ross Thompson
633bfd4633 Temporarily commit replacement parseTest.py for parseHPMC.py. 2023-09-22 16:00:32 -05:00
eroom1966
50e360bc30 bring upto date with latest IDV 2023-09-21 11:29:31 +01:00
Ross Thompson
337deb1eca 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
Ross Thompson
61d54b1135 Fixes the bpred-sim.py to support command line parameterization of the branch predictor while using the new parameterization. This is definitely a hack, but I don't see a better way. 2023-09-15 14:05:26 -05:00
Ross Thompson
a910425adf Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-09-14 10:16:54 -05:00
Jacob Pease
96d3600ae3 Merge branch 'main' of github.com:openhwgroup/cvw 2023-09-09 09:45:43 -05:00