David Harris
|
74b242ce5c
|
Partial implementation of fcvtmod.w.d; flags disagree in one case where Sail might be wrong, and result 134 is wrong because of overflow
|
2024-01-17 12:25:06 -08:00 |
|
David Harris
|
4cfc86140c
|
Zfa fmvh complete and passing tests:
|
2024-01-17 06:18:00 -08:00 |
|
David Harris
|
07e7e02241
|
Coded Zfa fmvp but no tests exist
|
2024-01-16 21:26:42 -08:00 |
|
David Harris
|
8654375f26
|
Zfa fminm/fmaxm/fltq/fleq implemented and tested
|
2024-01-16 20:03:54 -08:00 |
|
David Harris
|
9d57002c07
|
Zfa fli support working for F and D (add fli.sv module)
|
2024-01-16 17:27:59 -08:00 |
|
David Harris
|
0588d611ea
|
Zfa fli support working for F and D
|
2024-01-16 17:27:40 -08:00 |
|
David Harris
|
846a0c4d50
|
Check fma operations don't support H precision
|
2024-01-16 11:12:06 -08:00 |
|
David Harris
|
1a77c08f6e
|
Fixed issues 575 and 477 about FPU tests failing when Zfh = 1.
|
2024-01-16 10:46:44 -08:00 |
|
David Harris
|
dcd40c6be7
|
Fixed spelling of output
|
2024-01-16 10:27:31 -08:00 |
|
David Harris
|
abecc98563
|
Fixed spelling of precision
|
2024-01-16 10:26:00 -08:00 |
|
David Harris
|
0235970313
|
Optimized away unused support for fmv with quads
|
2024-01-15 13:40:12 -08:00 |
|
David Harris
|
da4eca4854
|
Tested Zfh support using unreleased version of risch-arch-test Zfh tests. Fixed two bugs in fmv to/from int.
|
2024-01-15 13:24:57 -08:00 |
|
David Harris
|
9e78a7e290
|
Incorporated jstine fixes of FPU special case and testbench for conversion
|
2024-01-15 07:25:08 -08:00 |
|
David Harris
|
fd181169fe
|
Corrected spelling of negative
|
2024-01-15 07:15:23 -08:00 |
|
James E. Stine
|
b14cd67bef
|
Values for IEEE 754 vs. RISC-V Table 11.4 in the RISC-V Unprivileged ISA
|
2024-01-14 22:08:42 -06:00 |
|
David Harris
|
6226c3db96
|
Revert "Fixes for Issue #541"
|
2024-01-12 07:50:13 -08:00 |
|
James E. Stine
|
e707eeb7c8
|
THis includes fix for special case when conversion from fp to int/long. The previous src did not test both the flags and result and so missed this subtle bug when an Invalid happens for this type of conversion. These results are indications of undefined behavior for these operations. All fp operations now passs when this update is fixed. Much of the information why these outputs should occur is somewhat alluded to by Pascal Cuoq originally from INSA in Lyon here: https://frama-c.com/2013/10/09/Overflow-float-integer.html
|
2024-01-12 00:37:50 -06:00 |
|
David Harris
|
d3ce683e06
|
Removed other unused signals from Verilog
|
2023-11-20 23:37:56 -08:00 |
|
David Harris
|
121f685fa2
|
Removed assign statement inside always block
|
2023-11-13 07:23:15 -08:00 |
|
David Harris
|
c44ae93e22
|
DivStickyM no longer mysteriously needs to be gated with SqrtM after divder improvemenst
|
2023-11-12 20:23:27 -08:00 |
|
David Harris
|
065f3f3f6d
|
DivStickyM no longer mysteriously needs to be gated with SqrtM after divder improvemenst
|
2023-11-12 20:23:14 -08:00 |
|
David Harris
|
571c7d3be4
|
Divider cleanup
|
2023-11-12 19:41:12 -08:00 |
|
David Harris
|
f437336540
|
Explained sqrt preshifting
|
2023-11-12 10:05:54 -08:00 |
|
David Harris
|
7c50b2c571
|
Renamed qsel to uslc and simplified radix2 uslc
|
2023-11-12 06:36:57 -08:00 |
|
David Harris
|
002034845a
|
fdivsqrt comment improvements
|
2023-11-12 06:15:47 -08:00 |
|
David Harris
|
6ac83c776e
|
Cleaned up number of bits in fdivsqrt
|
2023-11-11 15:50:06 -08:00 |
|
David Harris
|
2bf5143163
|
Bug fixes related to size of fpdivsqrt bit count and number of cycles
|
2023-11-11 05:58:53 -08:00 |
|
David Harris
|
3cae2385ab
|
Simplified out LOGRK parameter
|
2023-11-10 18:19:41 -08:00 |
|
David Harris
|
7d0d9dcebe
|
divider cleanup
|
2023-11-10 18:01:13 -08:00 |
|
David Harris
|
03864642a7
|
fdivsqrt cleanup
|
2023-11-10 16:42:32 -08:00 |
|
David Harris
|
3108b58290
|
Simplified integer postnormalization shift
|
2023-11-10 14:55:36 -08:00 |
|
David Harris
|
b315ead575
|
Simplified IntDivNormShift
|
2023-11-10 14:28:57 -08:00 |
|
David Harris
|
2903791820
|
Simplified cycle count logic
|
2023-11-10 14:00:27 -08:00 |
|
David Harris
|
8f87860146
|
Reduced duplicated logic in fdivsqrtcycles
|
2023-11-10 11:25:54 -08:00 |
|
David Harris
|
255873a50c
|
Divsqrt cleanup: change Q to U, commenting code
|
2023-11-10 11:21:02 -08:00 |
|
David Harris
|
953c53d065
|
fdivsqrt parameter cleanup
|
2023-11-10 09:11:15 -08:00 |
|
David Harris
|
4c106215f4
|
Started cleaning up shifting leading 1 in fdivsqrt
|
2023-11-10 08:46:55 -08:00 |
|
David Harris
|
637cc3b78a
|
Reparitioned sign logic in fdivsqrt to match paper
|
2023-11-06 14:11:42 -08:00 |
|
David Harris
|
1f2899de14
|
Modified rams to take USE_SRAM rather than P to facilitate synthesis
|
2023-11-03 05:44:13 -07:00 |
|
David Harris
|
1a6e57f8c0
|
Renamed wally-config to config in many comments
|
2023-10-16 13:49:09 -07:00 |
|
Ross Thompson
|
faaf43fa10
|
Merge pull request #372 from davidharrishmc/dev
PLIC part select warnings fixed
|
2023-07-31 11:28:28 -04:00 |
|
David Harris
|
6ff2b0cc2c
|
Merge pull request #373 from harshinisrinath1001/main
Improved testing of pmd in priv, fixed bugs, and attempted to reset menvcfg and fixed spacing in fpu/fma and fpu/postprocessing
|
2023-07-30 22:46:44 -07:00 |
|
Harshini Srinath
|
7ed4cf97ed
|
Fixed formatting
|
2023-07-30 18:36:25 -07:00 |
|
Harshini Srinath
|
603ed2160e
|
Fixed formatting
|
2023-07-30 18:30:23 -07:00 |
|
Harshini Srinath
|
acbbe7941a
|
Fixed formatting
|
2023-07-30 18:27:22 -07:00 |
|
Harshini Srinath
|
e4de9ae87c
|
Fixed formatting
|
2023-07-30 18:18:24 -07:00 |
|
Harshini Srinath
|
4c1a07eb9c
|
Fixed formatting
|
2023-07-30 18:06:25 -07:00 |
|
Harshini Srinath
|
1badc8a8c5
|
Fixed formatting
|
2023-07-30 18:00:39 -07:00 |
|
Harshini Srinath
|
41555b149e
|
Fixed formatting
|
2023-07-30 17:54:47 -07:00 |
|
Harshini Srinath
|
8e97224cd7
|
Fixed formatting
|
2023-07-30 17:46:23 -07:00 |
|
Harshini Srinath
|
469b03577d
|
Fixed formatting
|
2023-07-30 17:39:37 -07:00 |
|
Harshini Srinath
|
141384f60f
|
Fixed formatting
|
2023-07-30 17:38:22 -07:00 |
|
Harshini Srinath
|
bbbd5f6b2d
|
Fixed spacing
|
2023-07-30 17:32:46 -07:00 |
|
Harshini Srinath
|
d7b2d84124
|
Fixed spacing
|
2023-07-30 17:22:40 -07:00 |
|
Harshini Srinath
|
b129068a92
|
Fixed spacing
|
2023-07-30 17:21:52 -07:00 |
|
Harshini Srinath
|
49823ccd45
|
Fixed spacing
|
2023-07-30 17:21:22 -07:00 |
|
Harshini Srinath
|
36108e4b52
|
Fixed spacing
|
2023-07-30 17:18:25 -07:00 |
|
Harshini Srinath
|
d88b2fd9c1
|
Fixed spacing
|
2023-07-30 16:59:27 -07:00 |
|
Harshini Srinath
|
d69d0ececc
|
Fixed spacing
|
2023-07-30 16:57:57 -07:00 |
|
David Harris
|
d58ece3d44
|
renamed test-shared.vh to config-shared.vh
|
2023-07-30 05:22:39 -07:00 |
|
David Harris
|
ca62487e4c
|
Formatting cleanup
|
2023-07-25 05:11:38 -07:00 |
|
Ross Thompson
|
27f6f00402
|
Changes for xcelium.
|
2023-07-07 18:22:28 -05:00 |
|
David Harris
|
269bb688ea
|
Fixed comment typo
|
2023-07-04 11:34:58 -07:00 |
|
David Harris
|
410ef01627
|
fixed spacing in fdivsqrt
|
2023-07-04 11:27:36 -07:00 |
|
David Harris
|
d930be332e
|
Improved instruction decoding for illegal floating-point loads/stores and fences
|
2023-07-01 22:48:04 -07:00 |
|
David Harris
|
3ca271b6a7
|
Added input gating on FPU
|
2023-06-15 12:38:33 -07:00 |
|
Ross Thompson
|
7031a7b1ea
|
Merge pull request #327 from harshinisrinath1001/main
Fixed the spacing in the fpu module
|
2023-06-12 11:53:52 -04:00 |
|
Harshini Srinath
|
61b85d1c7f
|
Update unpackinput.sv
Program clean up
|
2023-06-11 17:09:11 -07:00 |
|
Harshini Srinath
|
37ad074c4d
|
Update fctrl.sv
Program clean up
|
2023-06-11 17:03:29 -07:00 |
|
Harshini Srinath
|
ac17b93a84
|
Update fcmp.sv
Program clean up
|
2023-06-11 16:54:52 -07:00 |
|
Harshini Srinath
|
c19ba6c3f4
|
Update fsgninj.sv
Program clean up
|
2023-06-11 16:52:00 -07:00 |
|
Harshini Srinath
|
cf39819bac
|
Update fregfile.sv
Program clean up
|
2023-06-11 16:49:20 -07:00 |
|
Harshini Srinath
|
a98096aa7d
|
Update fpu.sv
Program clean up
|
2023-06-11 16:43:31 -07:00 |
|
Harshini Srinath
|
4c4e6ca520
|
Update fhazard.sv
Program clean up
|
2023-06-11 16:06:44 -07:00 |
|
Harshini Srinath
|
610ac81a71
|
Update fcvt.sv
Program clean up
|
2023-06-11 16:05:14 -07:00 |
|
Harshini Srinath
|
e469e4fd20
|
Update fcvt.sv
Program clean up
|
2023-06-11 15:59:20 -07:00 |
|
David Harris
|
29b48334d8
|
Fixed lint errors, presumably detected by latest version of verilator
|
2023-06-11 06:48:42 -07:00 |
|
Harshini Srinath
|
aead7cbe49
|
Update fctrl.sv
Program clean up
|
2023-06-10 19:38:50 -07:00 |
|
Harshini Srinath
|
04a744c249
|
Update fcmp.sv
Program clean up
|
2023-06-10 19:35:58 -07:00 |
|
Harshini Srinath
|
ffada57ea2
|
Update fcmp.sv
Program clean up
|
2023-06-10 19:34:58 -07:00 |
|
Harshini Srinath
|
ec188987b8
|
Update fclassify.sv
Program clean up
|
2023-06-10 19:30:18 -07:00 |
|
James Stine
|
3bd5bbce48
|
Update some spacing to make it look better
|
2023-06-05 11:03:06 -05:00 |
|
Ross Thompson
|
1315a0bf4a
|
Got the branch predictor parameterized using Lim's method. Also had to add a global enum included in both cvw.sv and the configs which defines the branch predictor types. This should be synthesizable, but I'll need to double check.
|
2023-05-26 16:00:14 -05:00 |
|
Ross Thompson
|
f1b8689955
|
Finished fpu parameterization using Lim's method.
|
2023-05-26 14:40:06 -05:00 |
|
Ross Thompson
|
29e0357f21
|
fdiv is now parameterized using Lim's method.
|
2023-05-26 14:25:14 -05:00 |
|
Ross Thompson
|
81491e85e5
|
Parameterized fpu's unpack and fma using Lim's method.
|
2023-05-26 14:12:25 -05:00 |
|
Ross Thompson
|
b517a96261
|
Update top level parameterized. Simulation slowed down to 4.5 minutes.
|
2023-05-26 12:13:11 -05:00 |
|
David Harris
|
90b2a4882f
|
Fixed redundant check of SupportedFmt on fmv that caused coverage problem on fctrl
|
2023-04-29 05:58:40 -07:00 |
|
Sydeny
|
5bcd57dab9
|
Addressing Redundant logic around BadNanBox, fpu coverage from 96.61% to 96.77%
|
2023-04-26 14:35:43 -07:00 |
|
David Harris
|
3b299fb77a
|
Removed unproven fdivsqrt exclusion
|
2023-04-22 15:27:05 -07:00 |
|
David Harris
|
086556310c
|
Attempted to cause interrupt during fdivsqrt. Fixed enabling fpu in fpu.S. Fdivsqrt exclusions for coverage.
|
2023-04-22 12:22:45 -07:00 |
|
David Harris
|
8a59a4ce94
|
fdivsqrt cleanup
|
2023-04-20 17:35:01 -07:00 |
|
David Harris
|
86107e6136
|
continued cleanup
|
2023-04-20 16:48:23 -07:00 |
|
David Harris
|
33c0f64457
|
Reordered fdivsqrtpreproc to follow logic
|
2023-04-20 16:38:47 -07:00 |
|
David Harris
|
2c47268f50
|
Started fdivsqrtpreproc flow organization
|
2023-04-20 16:25:19 -07:00 |
|
David Harris
|
f2ae770e17
|
Fmv h/q comments in controller
|
2023-04-20 16:24:58 -07:00 |
|
David Harris
|
b9d641f13a
|
Merge pull request #256 from cturek/main
Simplifying fds to follow diagram
|
2023-04-20 16:07:22 -07:00 |
|
Sydeny
|
a132ffa7f7
|
removed comments for fixed bugs in fpu, increased coverage: fpu from 93.51% to 93.62%, ifu from 78.56% to 78.75%, lsu from 88.96% to 88.98%
|
2023-04-19 13:30:12 -07:00 |
|
Cedar Turek
|
49356aa4ca
|
created fdivsqrtcycles, moved cycles calculation from FSM to preproc
|
2023-04-18 16:14:45 -07:00 |
|
Cedar Turek
|
b1dd1a627f
|
gave integer bits to D instead of adding manually everywhere
|
2023-04-18 15:41:04 -07:00 |
|
Cedar Turek
|
914baf6bb1
|
moved D flop to preproc
|
2023-04-18 15:14:17 -07:00 |
|
Sydeny
|
ee5deb10a7
|
Merge branch 'main' of https://github.com/openhwgroup/cvw into main
|
2023-04-17 13:51:16 -07:00 |
|
David Harris
|
a413b5c6ca
|
Merge pull request #251 from masonadams25/main
Removed redundent expression to increase coverage
|
2023-04-17 12:37:27 -07:00 |
|
Mason Adams
|
56575cb45e
|
Removed redundent expression to increase coverage
|
2023-04-17 14:13:26 -05:00 |
|
David Harris
|
64fe318cb0
|
merged coverage exclusions
|
2023-04-17 10:17:48 -07:00 |
|
Sydeny
|
0dc50536ef
|
trimming comments on fctrl bug fixes
|
2023-04-15 00:48:32 -07:00 |
|
Limnanthes Serafini
|
b3976daccd
|
More cleanup
|
2023-04-13 21:34:50 -07:00 |
|
Limnanthes Serafini
|
b80a540c73
|
More cleanup
|
2023-04-13 21:02:30 -07:00 |
|
Limnanthes Serafini
|
53847269da
|
More changes
|
2023-04-13 21:02:15 -07:00 |
|
David Harris
|
48de682ea8
|
Merged coverage-exclusions
|
2023-04-13 18:15:23 -07:00 |
|
David Harris
|
5066cd99ab
|
Merge pull request #237 from SydRiley/main
fctrl coverage at 100% after removing redundancies from conditionals
|
2023-04-13 17:10:46 -07:00 |
|
Limnanthes Serafini
|
95586abe09
|
Merge branch 'cachesim' of https://github.com/AlecVercruysse/cvw into cachesim
|
2023-04-13 16:54:16 -07:00 |
|
Limnanthes Serafini
|
034c289a36
|
Misc typo and indent fixing.
|
2023-04-13 16:54:15 -07:00 |
|
David Harris
|
11434f05e2
|
Starting fdivsqrt cleanup
|
2023-04-13 16:53:33 -07:00 |
|
Sydeny
|
2b8891cefd
|
Updating changes to fctrl.sv to reach 100% coverage. Excluding un-used sources of instructions for the ifu.
|
2023-04-13 16:27:53 -07:00 |
|
Sydeny
|
f9566299a0
|
fctrl coverage at 100% after removing redundancies from conditional statements
|
2023-04-12 13:07:30 -07:00 |
|
David Harris
|
6b05a71152
|
Removed unnecessary start term from initialization muxes to simplify and improve coverage
|
2023-04-12 03:34:01 -07:00 |
|
David Harris
|
463a1e2b33
|
Fixed fdivsqrt to avoid going from done to busy without going through idle first
|
2023-04-12 02:48:40 -07:00 |
|
David Harris
|
19c39628fa
|
Division cleanup
|
2023-04-06 21:42:34 -07:00 |
|
David Harris
|
6db65f30b1
|
Simplified integer division preprocessing in fdivsqrt
|
2023-04-06 16:43:28 -07:00 |
|
Marcus Mellor
|
fd08ff2e60
|
Merge branch 'main' of https://github.com/openhwgroup/cvw
|
2023-03-31 10:29:10 -05:00 |
|
Marcus Mellor
|
09b2cd304f
|
Address comments in openhwgroup/cvw#180
|
2023-03-31 09:51:33 -05:00 |
|
Marcus Mellor
|
3afd963a9e
|
Disable coverage for branches tested in fpu.s
|
2023-03-30 19:44:55 -05:00 |
|
David Harris
|
f34218666a
|
fctrl updated and buildroot working again
|
2023-03-30 13:17:15 -07:00 |
|
David Harris
|
9129c3ac22
|
fctrl continued cleanup
|
2023-03-30 13:07:39 -07:00 |
|
David Harris
|
01c5d58a64
|
fctrl continued cleanup
|
2023-03-30 13:05:56 -07:00 |
|
David Harris
|
b2a102ce79
|
Started to clean up fctrl
|
2023-03-30 12:57:14 -07:00 |
|
David Harris
|
f2c24b869d
|
Simplified fctrl
|
2023-03-28 21:13:48 -07:00 |
|
David Harris
|
64bf9510ad
|
Added support (untested) for half and quad conversions
|
2023-03-28 10:53:06 -07:00 |
|
David Harris
|
36a0d35ae5
|
fixed fp->fp conversions
|
2023-03-28 10:35:41 -07:00 |
|
David Harris
|
4e50cc3379
|
support more fp -> fp conversions
|
2023-03-28 10:28:01 -07:00 |
|
David Harris
|
074fd1d9c3
|
Fixed fmv decoder
|
2023-03-28 10:21:33 -07:00 |
|
Ross Thompson
|
46b1bca4fc
|
Fixed all tap/space issue in RTL.
|
2023-03-24 17:32:25 -05:00 |
|
David Harris
|
cb261731f2
|
FPU detect illegal instructions
|
2023-03-24 08:12:32 -07:00 |
|
David Harris
|
c8ea5afe25
|
Removed unnecessary XZero from fdivsqrt
|
2023-03-23 17:25:59 -07:00 |
|
David Harris
|
77ba71be71
|
editorconfig to specify tabs/spaces. Fixed some tabs. Turn off coverage to speed up simulation
|
2023-03-07 06:31:40 -08:00 |
|
David Harris
|
316b8b2250
|
Refactored Floating point division special case detection to avoid spurious trigger on Y for sqrt)
|
2023-03-02 20:00:47 -08:00 |
|
David Harris
|
b59df0fca7
|
Fixed Issue #65 fmv sign selection. Sign needs to come from most significant bit of raw X source without doing NaN Box fixes first.
|
2023-02-21 09:57:57 -08:00 |
|
David Harris
|
a445e53e8d
|
Fixed Issue #106: fld rasies load access fault instead of illegal instruction. The IEU controller had considered all fp loads and stores to be legal regardless of whether the FPU is enabled or the type is supported. Merged illegal instruction detection from both units into the Decode stage, saving two bits of pipeline register as well.
|
2023-02-21 09:32:17 -08:00 |
|
David Harris
|
8db49c83c4
|
Disabled W64M register for RV32
|
2023-02-19 07:03:31 -08:00 |
|
David Harris
|
1af99c7aee
|
Removed unused weq0M register fron fdivsqrtpostproc
|
2023-02-18 05:57:39 -08:00 |
|
David Harris
|
adc22235be
|
Fixed issue #57 of sign selection for improperly NaN-boxed number
|
2023-02-18 05:34:40 -08:00 |
|
David Harris
|
7923d32c3a
|
Fixed unpacking of illegal NaN box. Fixed issue #56 of sign injection NaN
|
2023-02-18 05:25:38 -08:00 |
|
David Harris
|
63a6567ed3
|
Created PostBox signal to NaN-box malformed NaNs of excess length. Fixes Issue #55
|
2023-02-17 20:51:43 -08:00 |
|
David Harris
|
43668a3fc5
|
Developing debug test
|
2023-02-04 08:31:47 -08:00 |
|
David Harris
|
e831baf335
|
Improved illegal NaN-box detection and formatted fsgninj
|
2023-02-04 03:42:20 -08:00 |
|
David Harris
|
78eb90715c
|
Removed pipelined level of hierarchy
|
2023-02-02 14:14:11 -08:00 |
|