3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

intel_alm: direct M10K instantiation

This reverts commit a3a90f6377.
This commit is contained in:
Dan Ravensloft 2020-07-26 19:28:10 +01:00 committed by Marcelina Kościelnicka
parent 62311b7ec0
commit a2fb84fd0c
8 changed files with 133 additions and 39 deletions

View file

@ -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)")) {