Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
5d8ad084
Commit
5d8ad084
authored
3 years ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Fix ECP5 BRAM packing
parent
36c73dd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
migen/fhdl/specials.py
migen/fhdl/specials.py
+1
-1
No files found.
migen/fhdl/specials.py
View file @
5d8ad084
...
...
@@ -388,7 +388,7 @@ class Memory(Special):
content
=
""
formatter
=
"{:0"
+
str
(
int
(
memory
.
width
/
4
))
+
"X}
\n
"
for
d
in
memory
.
init
:
content
+=
formatter
.
format
(
d
)
content
+=
formatter
.
format
(
d
)
.
zfill
(
int
(
memory
.
width
/
4
))
memory_filename
=
add_data_file
(
gn
(
memory
)
+
".init"
,
content
)
r
+=
"initial begin
\n
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment