mirror of https://github.com/YosysHQ/yosys.git
synth_quiclogic: Fix conditioning of bram passes
This commit is contained in:
parent
6672b6c1b3
commit
e19833f8c7
|
@ -245,17 +245,16 @@ struct SynthQuickLogicPass : public ScriptPass {
|
|||
run("opt_clean");
|
||||
}
|
||||
|
||||
if (check_label("map_bram", "(for qlf_k6n10f, skip if -no_bram)")) {
|
||||
if(family == "qlf_k6n10f" || help_mode)
|
||||
if (check_label("map_bram", "(for qlf_k6n10f, skip if -no_bram)")
|
||||
&& (family == "qlf_k6n10f" || help_mode)) {
|
||||
run("memory_libmap -lib " + lib_path + family + "/libmap_brams.txt");
|
||||
run("ql_bram_merge");
|
||||
run("techmap -map " + lib_path + family + "/libmap_brams_map.v");
|
||||
run("techmap -autoproc -map " + lib_path + family + "/brams_map.v");
|
||||
|
||||
if (bramTypes || help_mode) {
|
||||
if (bramTypes || help_mode)
|
||||
run("ql_bram_types", "(if -bramtypes)");
|
||||
}
|
||||
}
|
||||
|
||||
if (check_label("map_ffram")) {
|
||||
run("opt -fast -mux_undef -undriven -fine");
|
||||
|
|
Loading…
Reference in New Issue