aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-07-11 10:56:59 +0000
committerwhitequark <whitequark@whitequark.org>2019-07-16 20:41:51 +0000
commitba099bfe9befccc42df99d2930fdbc686152187c (patch)
tree9d06bca8028d5631d39bf841c653f3c7fc818237 /techlibs/ecp5
parent463f7100665b38ca346f3919a65ff7626c24c91c (diff)
downloadyosys-ba099bfe9befccc42df99d2930fdbc686152187c.tar.gz
yosys-ba099bfe9befccc42df99d2930fdbc686152187c.tar.bz2
yosys-ba099bfe9befccc42df99d2930fdbc686152187c.zip
synth_{ice40,ecp5}: more sensible pass label naming.
Diffstat (limited to 'techlibs/ecp5')
-rw-r--r--techlibs/ecp5/synth_ecp5.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/techlibs/ecp5/synth_ecp5.cc b/techlibs/ecp5/synth_ecp5.cc
index 9f409ca51..3d189a9f1 100644
--- a/techlibs/ecp5/synth_ecp5.cc
+++ b/techlibs/ecp5/synth_ecp5.cc
@@ -231,23 +231,27 @@ struct SynthEcp5Pass : public ScriptPass
run("synth -run coarse");
}
- if (!nobram && check_label("bram", "(skip if -nobram)"))
+ if (!nobram && check_label("map_bram", "(skip if -nobram)"))
{
run("memory_bram -rules +/ecp5/bram.txt");
run("techmap -map +/ecp5/brams_map.v");
}
- if (!nodram && check_label("dram", "(skip if -nodram)"))
+ if (!nodram && check_label("map_dram", "(skip if -nodram)"))
{
run("memory_bram -rules +/ecp5/dram.txt");
run("techmap -map +/ecp5/drams_map.v");
}
- if (check_label("fine"))
+ if (check_label("map_ffram"))
{
run("opt -fast -mux_undef -undriven -fine");
run("memory_map");
run("opt -undriven -fine");
+ }
+
+ if (check_label("map_gates"))
+ {
if (noccu2)
run("techmap");
else