projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sdram dual axi4 configs
[pinmux.git]
/
src
/
bsv
/
peripheral_gen
/
sdram.py
diff --git
a/src/bsv/peripheral_gen/sdram.py
b/src/bsv/peripheral_gen/sdram.py
index 76d5481f07540eefa892617671c4096d9d6944b8..7002d6a4b73a8f257c8071ba318578cc0431cff5 100644
(file)
--- a/
src/bsv/peripheral_gen/sdram.py
+++ b/
src/bsv/peripheral_gen/sdram.py
@@
-7,7
+7,8
@@
class sdram(PBase):
return "import sdr_top::*;"
def num_axi_regs32(self):
return "import sdr_top::*;"
def num_axi_regs32(self):
- return 0x400000 # defines an entire memory range
+ return [0x400000, # defines an entire memory range (hack...)
+ 12] # defines the number of configuration regs
def extfastifinstance(self, name, count):
return "// TODO" + self._extifinstance(name, count, "_out", "", True,
def extfastifinstance(self, name, count):
return "// TODO" + self._extifinstance(name, count, "_out", "", True,