diff options
author | whitequark <whitequark@whitequark.org> | 2020-01-01 10:11:35 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-04-03 05:51:40 +0000 |
commit | 763401fc827d444bfef5a10ff658a3bf7e89b76c (patch) | |
tree | 17c232976275e4322f9bdda40b8cef36f987dbbe /techlibs | |
parent | ebee746ad21b9f1fe37f50908bdc5d219880e6bb (diff) | |
download | yosys-763401fc827d444bfef5a10ff658a3bf7e89b76c.tar.gz yosys-763401fc827d444bfef5a10ff658a3bf7e89b76c.tar.bz2 yosys-763401fc827d444bfef5a10ff658a3bf7e89b76c.zip |
ecp5: do not map FFRAM if explicitly requested otherwise.
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/ecp5/synth_ecp5.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/ecp5/synth_ecp5.cc b/techlibs/ecp5/synth_ecp5.cc index d47b2bed4..793ea15aa 100644 --- a/techlibs/ecp5/synth_ecp5.cc +++ b/techlibs/ecp5/synth_ecp5.cc @@ -279,7 +279,9 @@ struct SynthEcp5Pass : public ScriptPass if (check_label("map_ffram")) { run("opt -fast -mux_undef -undriven -fine"); - run("memory_map"); + run("memory_map -iattr -attr !ram_block -attr !rom_block -attr logic_block " + "-attr syn_ramstyle=auto -attr syn_ramstyle=registers " + "-attr syn_romstyle=auto -attr syn_romstyle=logic"); run("opt -undriven -fine"); } |