aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/intel_alm/synth_intel_alm.cc
diff options
context:
space:
mode:
authorDan Ravensloft <dan.ravensloft@gmail.com>2020-06-11 22:25:04 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2020-07-05 23:28:59 +0200
commit09ecb9b2cf3ab76841d30712bf70dafc6d47ef67 (patch)
tree11db41357b31c25744d10ef150ce2efda94bd42d /techlibs/intel_alm/synth_intel_alm.cc
parentaf54b8bc6123f6e90a97268624b84ac270dc1879 (diff)
downloadyosys-09ecb9b2cf3ab76841d30712bf70dafc6d47ef67.tar.gz
yosys-09ecb9b2cf3ab76841d30712bf70dafc6d47ef67.tar.bz2
yosys-09ecb9b2cf3ab76841d30712bf70dafc6d47ef67.zip
intel_alm: direct M10K instantiation
Diffstat (limited to 'techlibs/intel_alm/synth_intel_alm.cc')
-rw-r--r--techlibs/intel_alm/synth_intel_alm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/techlibs/intel_alm/synth_intel_alm.cc b/techlibs/intel_alm/synth_intel_alm.cc
index b751e8413..12137cdea 100644
--- a/techlibs/intel_alm/synth_intel_alm.cc
+++ b/techlibs/intel_alm/synth_intel_alm.cc
@@ -235,7 +235,8 @@ struct SynthIntelALMPass : public ScriptPass {
if (!nobram && check_label("map_bram", "(skip if -nobram)")) {
run(stringf("memory_bram -rules +/intel_alm/common/bram_%s.txt", bram_type.c_str()));
- run(stringf("techmap -map +/intel_alm/common/bram_%s_map.v", bram_type.c_str()));
+ if (help_mode || bram_type != "m10k")
+ run(stringf("techmap -map +/intel_alm/common/bram_%s_map.v", bram_type.c_str()));
}
if (!nolutram && check_label("map_lutram", "(skip if -nolutram)")) {