Skip to content

Commit

Permalink
Merge pull request #2083 from Pinata-Consulting/makefile-memory-tweak…
Browse files Browse the repository at this point in the history
…-list-files

makefile: improve memory report of used source files
  • Loading branch information
maliberty authored Jun 23, 2024
2 parents f0caba6 + 072cc6b commit 34ea927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/scripts/mem_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def format_ram_table_from_json(data, max_bits=None):

src_files = set()
for module_name, module_info in json_data["modules"].items():
for cell in module_info["cells"].values():
for cell in list(module_info["cells"].values()) + [module_info]:
if "src" not in cell["attributes"]:
continue
src_file = cell["attributes"]["src"].split(":")[0]
Expand Down

0 comments on commit 34ea927

Please sign in to comment.