3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-01 17:03:19 +00:00

memory_dff: Add support for no_rw_check attribute.

This commit is contained in:
Marcelina Kościelnicka 2022-06-02 11:47:29 +02:00
parent 01cb02c81d
commit 3a0aa9c663
3 changed files with 14 additions and 0 deletions

View file

@ -443,6 +443,9 @@ void MemMapping::determine_style() {
std::string val_s = val.decode_string();
for (auto &c: val_s)
c = std::tolower(c);
// Handled in memory_dff.
if (val_s == "no_rw_check")
continue;
if (val_s == "auto") {
// Nothing.
} else if (val_s == "logic" || val_s == "registers") {