intel: register bram celltypes

This commit is contained in:
Emil J. Tywoniak 2026-04-02 17:01:32 +02:00
parent 0351f852cc
commit 42e01aa1ca
2 changed files with 3 additions and 3 deletions

View File

@ -239,7 +239,7 @@ struct SynthIntelPass : public ScriptPass {
family_opt == "cycloneive" ||
family_opt == "max10" ||
help_mode) {
run("memory_bram -rules +/intel/common/brams_m9k.txt", "(if applicable for family)");
run("memory_bram -rules +/intel/common/brams_m9k.txt -register", "(if applicable for family)");
run("techmap -map +/intel/common/brams_map_m9k.v", "(if applicable for family)");
} else {
log_warning("BRAM mapping is not currently supported for %s.\n", family_opt);

View File

@ -225,12 +225,12 @@ 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));
run(stringf("memory_bram -rules +/intel_alm/common/bram_%s.txt -register", bram_type));
run(stringf("techmap -map +/intel_alm/common/bram_%s_map.v", bram_type));
}
if (!nolutram && check_label("map_lutram", "(skip if -nolutram)")) {
run("memory_bram -rules +/intel_alm/common/lutram_mlab.txt", "(for Cyclone V)");
run("memory_bram -rules +/intel_alm/common/lutram_mlab.txt -register", "(for Cyclone V)");
}
if (check_label("map_ffram")) {