projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82eea5
)
fpu: Reduce uninitialised signals
author
Anton Blanchard
<anton@linux.ibm.com>
Tue, 14 Jun 2022 05:14:19 +0000
(15:14 +1000)
committer
Anton Blanchard
<anton@ozlabs.org>
Tue, 14 Jun 2022 05:14:19 +0000
(15:14 +1000)
Reduce uninitialised signals coming out of the FPU.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
fpu.vhdl
patch
|
blob
|
history
diff --git
a/fpu.vhdl
b/fpu.vhdl
index 3552ebd522e452c1a3d3207a86da9e031db14c89..fad09cc1ad6b34cb6985ed4f1f02471d82a473ae 100644
(file)
--- a/
fpu.vhdl
+++ b/
fpu.vhdl
@@
-549,6
+549,10
@@
begin
r.do_intr <= '0';
r.fpscr <= (others => '0');
r.writing_back <= '0';
+ r.dest_fpr <= (others =>'0');
+ r.cr_mask <= (others =>'0');
+ r.cr_result <= (others =>'0');
+ r.instr_tag.valid <= '0';
else
assert not (r.state /= IDLE and e_in.valid = '1') severity failure;
r <= rin;