3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 10:55:51 +00:00

create duplicate IOFFs if multiple output ports are connected to the same register

This commit is contained in:
N. Engelhardt 2025-01-31 11:28:57 +01:00
parent 25b400982b
commit 303a386ecc
3 changed files with 93 additions and 15 deletions

View file

@ -334,9 +334,10 @@ struct SynthQuickLogicPass : public ScriptPass {
run("opt_lut");
}
if (check_label("iomap", "(for qlf_k6n10f)") && (family == "qlf_k6n10f" || help_mode)) {
if (check_label("iomap", "(for qlf_k6n10f, skip if -noioff)") && (family == "qlf_k6n10f" || help_mode)) {
if (ioff || help_mode) {
run("ql_ioff", "(unless -noioff)");
run("ql_ioff");
run("opt_clean");
}
}