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

intel_alm: direct M10K instantiation

This commit is contained in:
Dan Ravensloft 2020-06-11 22:25:04 +01:00 committed by Marcelina Kościelnicka
parent af54b8bc61
commit 09ecb9b2cf
8 changed files with 128 additions and 38 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)")) {