Skip to content

Commit

Permalink
Merge pull request #3927 from YosysHQ/verific_memory
Browse files Browse the repository at this point in the history
verific - respect order of read and write for rams
  • Loading branch information
mmicko authored Sep 12, 2023
2 parents ec75b24 + 7b134c2 commit 1b5c7b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2951,6 +2951,9 @@ struct VerificPass : public Pass {
RuntimeFlags::SetVar("db_infer_wide_operators", 1);
RuntimeFlags::SetVar("db_infer_set_reset_registers", 0);

// Properly respect order of read and write for rams
RuntimeFlags::SetVar("db_change_inplace_ram_blocking_write_before_read", 1);

RuntimeFlags::SetVar("veri_extract_dualport_rams", 0);
RuntimeFlags::SetVar("veri_extract_multiport_rams", 1);
RuntimeFlags::SetVar("veri_allow_any_ram_in_loop", 1);
Expand Down

0 comments on commit 1b5c7b8

Please sign in to comment.