Minimal fail-to-pass extraction for AUCOHL/Lighter PR 16, "bug fix in FF Mapping cells". The reduced snapshot models the sky130 `\$dffe` mapping cell. The buggy mapping feeds `EN` directly into the clock-gate cell and ignores `EN_POLARITY`, so an active-low enable does not capture data. The patch adds the polarity-adjusted gate enable used by the real PR. The Verilator testbench drives an active-low enable and checks capture/hold behavior. ## PR Content from GitHub # Pull Request Summary **PR Title:** bug fix in FF Mapping cells **PR Number:** #16 **Status:** Merged (Sep 28, 2023) --- ## PR Description **Signed by:** Youssef Kandil **Contributor:** @dineshannayya **Context:** The clock gating functionality of $SDFFE cells was causing validation failures. The issue stemmed from forced positive signaling of clock and enable signals. **Changes:** The fix implements polarity checking for both "clock" and "enable" signals, adjusting their signs accordingly. This resolves issue #2. **Mentions:** @dineshannayya, @shalan --- ## Linked Issue **Title:** SDFFE mapping crashes validation This PR successfully merged after closing the referenced issue. --- ## Participants - @kanndil (merged the PR) - @dineshannayya (contributor) No formal reviews were recorded, and no labels, assignees, or milestone were set for this pull request.