projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4433118
)
writeback: Remove a mux leg on data_in
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 16 Oct 2019 01:05:36 +0000
(12:05 +1100)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 16 Oct 2019 23:04:25 +0000
(10:04 +1100)
Initialize to 0 forces the mux to have an extra leg fed with zeros.
Instead initialize data_in to one of the mux inputs
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
writeback.vhdl
patch
|
blob
|
history
diff --git
a/writeback.vhdl
b/writeback.vhdl
index 042ad599eacd755c34dff44af53722cc4df63f6a..ab7b6c71f8c3b6d17dfa7702e7f2cf1c9883b5e8 100644
(file)
--- a/
writeback.vhdl
+++ b/
writeback.vhdl
@@
-95,7
+95,7
@@
begin
partial_write <= '0';
sign_extend <= '0';
second_word <= '0';
- data_in <=
(others => '0')
;
+ data_in <=
e_in.write_data
;
if e_in.write_enable = '1' then
w_out.write_reg <= e_in.write_reg;