Skip to content

flows/vpr: fix 'ftdo' typo to 'fdto'#519

Open
ThVerg wants to merge 1 commit into
olofk:mainfrom
ThVerg:fix-flows-vpr-ftdo-typo
Open

flows/vpr: fix 'ftdo' typo to 'fdto'#519
ThVerg wants to merge 1 commit into
olofk:mainfrom
ThVerg:fix-flows-vpr-ftdo-typo

Conversation

@ThVerg
Copy link
Copy Markdown

@ThVerg ThVerg commented May 11, 2026

The ftdo key in flows/vpr.py's yosys flow node is silently dropped because Edaflow only recognises fdto (flow-defined tool options). As a result yosys is never told to emit BLIF output for the VPR flow.

One-character fix.

The 'ftdo' key was silently ignored by Edaflow because it only recognises
'fdto' (flow-defined tool options), so yosys was never told to emit BLIF
output for the VPR flow.
ThVerg added a commit to ThVerg/edalize that referenced this pull request May 12, 2026
Codex pointed out that FlowGraph.fromdict(d: dict[str, Any]) was loose
enough to let the 'ftdo' misspelling in flows/vpr.py slip past static
checks. Add a FlowNodeSpec TypedDict modelling the {deps, fdto, tool}
keys and narrow:

* FlowGraph.fromdict signature
* the _flow class attribute on apicula / icestorm / trellis
* the local flow dict in apicula, generic, gls, icestorm, trellis,
  vivado, vpr

Apply the 'ftdo' -> 'fdto' fix in flows/vpr.py to match the standalone
upstream PR olofk#519 so this branch type-checks; will rebase cleanly once
the upstream PR lands.

mypy: 0 errors
pytest: 474 passing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant