aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/efinix/synth_efinix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/efinix/synth_efinix.cc')
-rw-r--r--techlibs/efinix/synth_efinix.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/techlibs/efinix/synth_efinix.cc b/techlibs/efinix/synth_efinix.cc
index 3f17bafa3..000a17310 100644
--- a/techlibs/efinix/synth_efinix.cc
+++ b/techlibs/efinix/synth_efinix.cc
@@ -150,6 +150,13 @@ struct SynthEfinixPass : public ScriptPass
run("synth -run coarse");
}
+ if (check_label("map_bram", "(skip if -nobram)"))
+ {
+ run("memory_bram -rules +/efinix/bram.txt");
+ run("techmap -map +/efinix/brams_map.v");
+ run("efinix_determine_init");
+ }
+
if (check_label("fine"))
{
run("opt -fast -mux_undef -undriven -fine");