mirror of https://github.com/YosysHQ/yosys.git
There is no practical benefit from using `const memory` for ROMs; it uses an std::vector internally, which prevents contemporary compilers from constant-propagating ROM contents. (It is not clear whether they are permitted to do so.) However, there is a major benefit from using non-const `memory` for ROMs, which is the ability to dynamically fill the ROM for each individual simulation. |
||
---|---|---|
.. | ||
Makefile.inc | ||
cxxrtl.cc | ||
cxxrtl.h |