projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6fd0a
)
Fix a ghdysynth inferred latch error in execute
author
Anton Blanchard
<anton@linux.ibm.com>
Sat, 11 Jan 2020 02:24:14 +0000
(13:24 +1100)
committer
Anton Blanchard
<anton@ozlabs.org>
Sat, 11 Jan 2020 02:24:14 +0000
(13:24 +1100)
It should never happen in practise, but ghdlsynth is complaining about
an inferred latch here. Fix it
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
execute1.vhdl
patch
|
blob
|
history
diff --git
a/execute1.vhdl
b/execute1.vhdl
index 4986c71d13ff5749862e7d499a17a574f697363b..4714ec533127338d9d91987bedc12720b91d3079 100644
(file)
--- a/
execute1.vhdl
+++ b/
execute1.vhdl
@@
-386,6
+386,7
@@
begin
when "1110" => -- CROR
crresult := (e_in.cr(banum) or e_in.cr(bbnum));
when others =>
+ crresult := '0';
report "BAD CR?";
end case;
v.e.write_cr_mask := num_to_fxm((31-btnum) / 4);