projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39dc8c
)
soc_core: fix integrated_sram_size argument type
author
Mateusz Holenko
<mholenko@antmicro.com>
Tue, 21 Jan 2020 15:36:45 +0000
(16:36 +0100)
committer
Mateusz Holenko
<mholenko@antmicro.com>
Thu, 23 Jan 2020 12:45:16 +0000
(13:45 +0100)
Right now it's kept as a string and crashes
when trying to do math operations on it.
litex/soc/integration/soc_core.py
patch
|
blob
|
history
diff --git
a/litex/soc/integration/soc_core.py
b/litex/soc/integration/soc_core.py
index 05e60bf1467b1563683a94d3f8c47d80bfe21019..b8ee639d60f4dbf60aff5f274b33c62981234f58 100644
(file)
--- a/
litex/soc/integration/soc_core.py
+++ b/
litex/soc/integration/soc_core.py
@@
-612,7
+612,7
@@
def soc_core_args(parser):
parser.add_argument("--integrated-rom-file", default=None, type=str,
help="integrated (BIOS) ROM binary file (default=32KB)")
# SRAM parameters
- parser.add_argument("--integrated_sram_size", default=0x1000,
+ parser.add_argument("--integrated_sram_size", default=0x1000,
type=int,
help="size/enable the integrated SRAM (default=4KB)")
# MAIN_RAM parameters
parser.add_argument("--integrated-main-ram-size", default=None, type=int,