Commit Graph

1411 Commits

Author SHA1 Message Date
Rose Thompson
04744032d8 Updated more signal names to match book. 2024-06-02 16:59:11 -05:00
Rose Thompson
b45b7ff7d6 Signal name changes to match book. 2024-06-02 16:32:25 -05:00
Rose Thompson
731e1fe08f Updated spill logic to reflect changes in textbook. 2024-06-02 15:48:42 -05:00
Rose Thompson
84946919a4 Changed name CacheWriteData to WriteData. 2024-05-28 18:00:39 -05:00
Rose Thompson
273b41df99 Changed name of cache parameter NUMLINES to NUMSETS to better match book. 2024-05-28 17:55:43 -05:00
Jordan Carlin
6f7a802b86
Merge branch 'main' of https://github.com/openhwgroup/cvw into fround_fixes 2024-05-26 14:40:26 -07:00
Jordan Carlin
b830d20f2d
Modify Fround Tmask to work for X=1 2024-05-25 12:56:02 -07:00
Jordan Carlin
fb77440a64
Update fpctrl fmt to work for fround instructions 2024-05-24 15:33:45 -07:00
Jordan Carlin
ae29a9b861
Update control bits for froundnx 2024-05-24 15:19:20 -07:00
David Harris
a95977590d AES cleanup 2024-05-24 14:28:30 -07:00
David Harris
b2689b4f01 AES cleanup 2024-05-24 14:13:57 -07:00
David Harris
ec5c67a5c1 AES cleanup 2024-05-24 13:48:53 -07:00
David Harris
e626052ec9 simplified AES32de mixcolumns because input is only one byte 2024-05-23 22:30:25 -07:00
David Harris
b0d1344121 Commented sha instructions 2024-05-23 22:06:37 -07:00
David Harris
ac153bc4ed More simplifying sha512_32 2024-05-23 05:46:56 -07:00
David Harris
d9a1691c83 Simplified sha512_32 2024-05-23 05:39:50 -07:00
David Harris
c160ced2d2 Zk* cleanup 2024-05-22 15:01:20 -07:00
David Harris
3ad815ce34 Reordered Zicond support in ALU 2024-05-22 08:29:08 -07:00
David Harris
a17204b0fe Continued bmu cleanup 2024-05-22 00:48:04 -07:00
David Harris
88eb7bd045 Pulled brev8 out of byteop so redundant byteop logic is not needed in zbkb 2024-05-22 00:22:53 -07:00
Jordan Carlin
1d8ffee20c
Certain Zcb instructions are dependent on other extensions, not the entire extension 2024-05-15 19:16:43 -07:00
Jordan Carlin
3df5a5abdd
Remove additional bitwise operator 2024-05-15 09:29:54 -07:00
Rose Thompson
e295454948
Merge pull request #798 from jordancarlin/newConfig
Update config to derive MISA from macros and update MISA bits based on the spec
2024-05-15 10:28:44 -05:00
Jordan Carlin
291d1e62d5
M implies Zmmul 2024-05-14 19:38:34 -07:00
Jordan Carlin
4a72922087
update config to derive MISA from macros
- Remove C_SUPPORTED and update decompress unit based on Zc* extensions
- Derive A_SUPPORTED from A subextensions
- Derive B_SUPPORTED from B subextensions
- Derive C_SUPPORTED from C subextensions
2024-05-14 06:49:18 -07:00
David Harris
175c18da01 Parameterized FMA. However, some offsets are not parameterized. See PR #793 for list of changes 2024-05-13 15:16:00 -07:00
David Harris
2dfada0687 Started parameterizing FMA 2024-05-13 14:01:36 -07:00
David Harris
c2b9e326ca Fround cleanup 2024-05-13 13:27:29 -07:00
David Harris
e87a269f59 Fix fcvt.lu.s bug and lint issue in packoutput 2024-05-12 11:31:27 -07:00
David Harris
380d88fc68 Merged config-shared after fma fix 2024-05-12 11:10:55 -07: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
Katherine Parry
807ef44772 fixed fma testfloat issue #578 2024-05-10 18:12:11 -07:00
Rose Thompson
b027fa44ef Merge branch 'main' of https://github.com/openhwgroup/cvw 2024-05-10 08:53:00 -05:00
Rose Thompson
10b08f8039 Updated brach predictor names to more logical names and match textbook. 2024-05-10 08:51:12 -05:00
David Harris
77137f0f60 ZAAMO and ZALRSC implemented but not tested 2024-05-07 16:45:49 -07:00
David Harris
fcd75fd6b6 Fixed shiftcorrection typo causing failure on testfloat fcvt tests 2024-05-07 14:27:44 -07:00
David Harris
bdc2ad494f Shared AND gate in ALU for extract / and paths 2024-05-03 09:07:33 -07:00
David Harris
4d5ac3b869 Turned off BMUSubArith for bext/bexti 2024-05-03 08:59:40 -07:00
David Harris
4639e92fda Turned off BMUSubArith for bext/bexti 2024-05-03 08:56:14 -07:00
David Harris
c0afb44ed4 Tied dangling signals to 0 for some configs to make VCS lint happy 2024-04-28 22:50:36 -07:00
David Harris
7695ad4755 More fround stub code to keep VCS happy 2024-04-28 22:21:51 -07:00
David Harris
06e34b7be4 Fixed byte enables for synthesis 2024-04-27 06:25:24 -07:00
David Harris
1274ec55af Resolved merge conflict 2024-04-26 16:15:23 -07:00
David Harris
4faf44c4c6 Named zknde block in bitmanipalu 2024-04-25 17:24:00 -07:00
Rose Thompson
6c0b860742 Fixed the cache miss counter. 2024-04-24 16:14:51 -05:00
David Harris
235a3dcfca ROM preload compatible with Verilator lint, sim, and Design Compiler 2024-04-24 08:44:37 -07:00
David Harris
32b6e6a8ab fround progress 2024-04-24 04:42:47 -07:00
David Harris
6415bfc3c2 Code and testbench cleanup 2024-04-23 10:17:44 -07:00
David Harris
cc236bdb25 Resolved merge conflicts 2024-04-22 12:16:06 -07:00
David Harris
03f49dea3f regression printing improvements 2024-04-21 19:45:09 -07:00
David Harris
3f195884e9 Defined bit sizes more precisely to help VCS lint and conform to coding style 2024-04-21 08:40:11 -07:00
David Harris
be15a11622 Fixed conflicts on getenv 2024-04-21 08:38:13 -07:00
David Harris
0419b5484a parameterized register names in peripherals 2024-04-21 07:43:01 -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
fd6a6b2249 environment variable cleanup 2024-04-20 22:52:08 -07:00
David Harris
f39e240082 Spacing cleanup 2024-04-20 20:53:49 -07:00
David Harris
25a26656b6 Removed unnecessary ZBB from BMU extract mux 2024-04-20 20:53:14 -07:00
David Harris
338f37b570 Moved getenv/getenvval declaration to config-shared so lint and regression both run 2024-04-20 17:19:42 -07:00
David Harris
571b67f565 Merging PR738 2024-04-20 17:15:17 -07:00
slmnemo
f0229e970b Fixed getenvvar verilator bug in rom1p1r, Removed unused system function from testbench. 2024-04-20 17:07:54 -07:00
David Harris
ea344fe2fa Fixed getenvval lint error in rom1p1r 2024-04-20 15:55:52 -07:00
David Harris
a3db61b2b2 Merge branch 'main' of https://github.com/openhwgroup/cvw into dev 2024-04-20 15:41:42 -07:00
David Harris
9ec4c752f1 Fixed bugs in Zcb compressed loads and stores 2024-04-20 13:16:31 -07:00
Kunlin Han
08dd2eac74 Add getenvval for rom. Related to issue #723. 2024-04-17 23:26:09 -07:00
David Harris
3ea16c6057 Removed note about store stall being depricated 2024-04-17 03:34:11 -07: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
39ae26a897 Added documentation for known Verilator hierarchy bug 2024-04-15 15:58:09 -07:00
slmnemo
4b80457f3e Fixed issue with Verilator hierarchical referencing by changing module names, moved run-imperas-linux to correct directory 2024-04-12 21:58:20 -07:00
David Harris
499e4d6a6e Changed 2 to 1 in FmaPreResultSubnorm logic, fixing issue 655 about multiply on f/fh. Not entirely confident this is the right change, but can't find any failures. See https://docs.google.com/document/d/1p7zb4Vvd1LMBLRgEpXjHyp7etCaFaiBVrBZJM8jediE/edit 2024-04-03 17:28:31 -07:00
David Harris
79cccfca82 Progress toward run_vcs 2024-04-03 14:05:07 -07:00
Rose Thompson
4eb522123f Changed D suffix to Delay in ebufsmarb. 2024-03-28 16:24:45 -05:00
Rose Thompson
5b4d3f49b0 Fixed #689 caused by removal of #1 delays. For some reason the #1 were not removed from cacheLRU.sv. 2024-03-26 12:26:03 -05:00
David Harris
fc158689ad Shared amoalu max/min comparator hardware and removed input sign extend muxes 2024-03-24 17:15:46 -07:00
David Harris
f0b29d3083 AMO max/min comparator optimization 2024-03-24 17:05:32 -07:00
David Harris
bae52cf13d
Merge pull request #678 from Karl-Han/latest
[Resolved Conflict] Remove all #delay from non-testbench
2024-03-23 15:18:04 -07:00
Kunlin Han
22b59138f0 Remove all #delay from non-testbench. 2024-03-16 11:20:32 -07:00
David Harris
35f1c1d971 Restructured rconlut for modularity 2024-03-16 07:26:40 -07:00
David Harris
fedd23a3c0 Renamed aes blocks based on size 2024-03-16 07:12:36 -07:00
David Harris
c01e4495b1 AES simplification 2024-03-16 07:00:56 -07:00
Jordan Carlin
cbd61d008f
fix size of CVTLEN to support fcvtmod.w.d; add max macro to config-shared.vh 2024-03-14 14:07:15 -07:00
Kunlin Han
8c67a76912 Remove all #delay from non-testbench. 2024-03-13 10:31:40 -07:00
James Stine
41ab94c9a3 fix elements forgot to delete from zknh32.sv 2024-03-12 11:42:26 -05:00
James Stine
55863bda1b Update K extension in SHA to remove redundant logic and optimize hierarchy to reduce structure/area 2024-03-12 11:10:45 -05:00
David Harris
7132d306b4 Simplified ZKNH64 2024-03-11 09:41:36 -07:00
David Harris
dbfe44a54b Renamed aes and sha directories 2024-03-11 09:06:51 -07:00
David Harris
019458a63d Shared sbox between aes64ks1i and aes64e 2024-03-11 08:58:10 -07:00
David Harris
096f4090ac Final cleanup tonight 2024-03-11 01:40:47 -07:00
David Harris
8af25a45e6 AES32 sharing logic 2024-03-11 01:36:46 -07:00
David Harris
a714904696 Simplifying AES32 logic 2024-03-11 01:25:44 -07:00
David Harris
10d1ff61b6 Merged ZKNDEResult into a single BMU result mux input 2024-03-11 01:18:39 -07:00
David Harris
39c0d0cdda AES64 simplification 2024-03-11 01:15:16 -07:00
David Harris
b7f5ce6ed3 AES64 simplification 2024-03-11 01:12:24 -07:00
David Harris
64d7f778da AES64 simplification 2024-03-11 01:01:20 -07:00
David Harris
7d87c4f6c5 AES64 simplification 2024-03-11 00:53:39 -07:00
David Harris
87ed778763 Starting to merge decrypt and encrypt for AES64 2024-03-11 00:45:38 -07:00
David Harris
ef896797fd Optimized out aes64im hardware; sharing with aes64d 2024-03-11 00:36:10 -07:00
David Harris
5257d3d8fd AES64 cleanup 2024-03-11 00:20:50 -07:00
David Harris
7ee3145fc1 Simplified muxing for AES64 2024-03-11 00:14:38 -07:00
David Harris
d22306ab9f Shared haredware for aes64e 2024-03-11 00:01:46 -07:00
David Harris
b53e873a11 shared hardware for AES 64 decode 2024-03-10 23:51:32 -07:00