projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49a5a9
)
writeback: Eliminate inferred latch
author
Paul Mackerras
<paulus@ozlabs.org>
Tue, 15 Oct 2019 20:56:15 +0000
(07:56 +1100)
committer
Paul Mackerras
<paulus@ozlabs.org>
Tue, 15 Oct 2019 20:56:15 +0000
(07:56 +1100)
This initializes data_in to all zeroes so that it doesn't become a
set of 64 inferred latches.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
writeback.vhdl
patch
|
blob
|
history
diff --git
a/writeback.vhdl
b/writeback.vhdl
index 1879a5e44f0c2304211346e7557eaf728b154bb1..042ad599eacd755c34dff44af53722cc4df63f6a 100644
(file)
--- a/
writeback.vhdl
+++ b/
writeback.vhdl
@@
-95,6
+95,7
@@
begin
partial_write <= '0';
sign_extend <= '0';
second_word <= '0';
+ data_in <= (others => '0');
if e_in.write_enable = '1' then
w_out.write_reg <= e_in.write_reg;