mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-08 18:31:51 +00:00
Before this commit, memory_map (which is always a part of a synth script) would always pick up any $mem cell that was not processed by a preceding pass and lower it down to $dff/$mux cells. This is undesirable for two reasons: * If there is an explicit inference attribute set on a $mem cell, e.g. (* ram_block *), then it is arguably incorrect to map such a memory to $dff/$mux cells. * If memory_map tries to lower a memory that was intended to be mapped to a large BRAM, it often takes extraordinarily long time to finish, produces an extremely large log file, and outputs an unusable design. After this commit, properly invoked memory_map will not map any memory that has an explicit inference attribute specified, solving the first issue, and alleviating the second. The default behavior is not changed. |
||
---|---|---|
.. | ||
Makefile.inc | ||
memory.cc | ||
memory_bram.cc | ||
memory_collect.cc | ||
memory_dff.cc | ||
memory_map.cc | ||
memory_memx.cc | ||
memory_nordff.cc | ||
memory_share.cc | ||
memory_unpack.cc |