diff options
author | whitequark <whitequark@whitequark.org> | 2020-01-01 09:48:39 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-04-03 05:51:40 +0000 |
commit | ebee746ad21b9f1fe37f50908bdc5d219880e6bb (patch) | |
tree | f18a6d151d8d09b335a98ad3d723dd158f4692cc /techlibs/ice40 | |
parent | e0def9e4d93bc99a65c3c918b53fee17fbe3a2ba (diff) | |
download | yosys-ebee746ad21b9f1fe37f50908bdc5d219880e6bb.tar.gz yosys-ebee746ad21b9f1fe37f50908bdc5d219880e6bb.tar.bz2 yosys-ebee746ad21b9f1fe37f50908bdc5d219880e6bb.zip |
ice40: do not map FFRAM if explicitly requested otherwise.
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index fdb203dcb..22cac7d7d 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -304,7 +304,9 @@ struct SynthIce40Pass : 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"); } |