projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f33e4fe
)
revert changes in wishbone_bram_wrapper.vhdl
author
Tobias Platen
<tplaten@posteo.de>
Tue, 12 Apr 2022 18:48:39 +0000
(20:48 +0200)
committer
Tobias Platen
<tplaten@posteo.de>
Tue, 12 Apr 2022 18:48:39 +0000
(20:48 +0200)
wishbone_bram_wrapper.vhdl
patch
|
blob
|
history
diff --git
a/wishbone_bram_wrapper.vhdl
b/wishbone_bram_wrapper.vhdl
index fcf528b47a44cf6bb5a04746bbdbab5cb093fdfa..ced043147b9d447e7f11185357579e332f038ca9 100644
(file)
--- a/
wishbone_bram_wrapper.vhdl
+++ b/
wishbone_bram_wrapper.vhdl
@@
-76,7
+76,8
@@
begin
bram_re <= ram_re;
-- Wishbone interface
- ram_addr <= wishbone_in.adr(ram_addr_bits + 2 downto 3);
+ ram_addr <= wishbone_in.adr(ram_addr_bits - 1 downto 0);
+ -- not that a wishbone compliant version of libre-soc is needed
ram_we <= wishbone_in.stb and wishbone_in.cyc and wishbone_in.we;
ram_re <= wishbone_in.stb and wishbone_in.cyc and not wishbone_in.we;
wishbone_out.stall <= '0';