dfflegalize: make it explicit in the documentation, that the pass operates on FFs and LATCHes

This commit is contained in:
Iztok Jeras 2026-06-22 02:44:46 +02:00
parent fdea4e3722
commit 109f442379
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ enum FfInit {
};
struct DffLegalizePass : public Pass {
DffLegalizePass() : Pass("dfflegalize", "convert FFs to types supported by the target") { }
DffLegalizePass() : Pass("dfflegalize", "convert FFs and LATCHes to types supported by the target") { }
void help() override
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
@ -1071,7 +1071,7 @@ struct DffLegalizePass : public Pass {
void execute(std::vector<std::string> args, RTLIL::Design *design) override
{
log_header(design, "Executing DFFLEGALIZE pass (convert FFs to types supported by the target).\n");
log_header(design, "Executing DFFLEGALIZE pass (convert FFs and LATCHes to types supported by the target).\n");
for (int i = 0; i < NUM_FFTYPES; i++) {
for (int j = 0; j < NUM_NEG; j++)