Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Logic Synthesis Glossary
  • Logic Synthesis Cheatsheet
  • Synthesis Foundations14
  • Logic Optimisation and Mapping20
  • Constraints and Timing15
  • Sequential, FSM and Memory19
  • Datapath Synthesis14
  • Area, Power and Test14
  • Verification, ECO and Handoff15
  • Flows and Debugging15
  • Interview and Judgment11
    • Synthesis Interview Questions
      • Flow and Inference Questions
      • Optimization and Mapping Questions
      • Timing and Constraint Questions
      • Sequential and Datapath Questions
      • Power and Test Questions
      • Verification and ECO Questions
    • Synthesis Design Scenarios
Loading lesson

‹Synthesis Interview Questions
  1. Topics
  2. Logic Synthesis
  3. Interview and Judgment
  4. Synthesis Interview Questions
  5. Flow and Inference Questions

Part 9 · Interview and Judgment · Intermediate

Flow and Inference Questions

Flow and inference interview questions: elaboration, resource inference, and latch traps.

On this page

    Elaboration and inference

    A synthesis tool elaborates the RTL into a generic network first. It then simplifies that network and maps it onto library cells.

    Inference is the first step deciding hardware: flops, latches, muxes, adders, or memories. Each row below is one question with its precise answer.

    Question

    Precise answer

    Follow-up probe

    Common wrong answer

    What does a synthesis tool do between RTL and gates?

    Elaboration builds the hierarchy, generic optimization simplifies the logic, and mapping covers it with library cells.

    Where does a flip-flop appear in that chain?

    It translates each RTL line into one gate.

    What RTL pattern infers a latch, and why?

    A combinational block that leaves an output unassigned on some path must keep the old value, which is storage: a latch.

    Show the two one-line fixes.

    Any block without a clock infers a latch.

    Small register file: flops or a memory macro?

    Small arrays map to flops while large ones map to memory macros past a size threshold that varies by tool and library.

    What decides the threshold?

    Any array becomes a memory macro.

    Inference traps

    The classic trap is an incomplete branch in combinational logic. A second trap is an array whose size sits near the flop-to-memory boundary.

    A third trap is an asynchronous control that was drawn as synchronous. Naming the inferred hardware is the whole answer.

    Common pitfall

    Reading elaboration warnings as noise. An inferred latch or an undriven pin warning names hardware the RTL did not intend.

    How to structure an answer

    Name the inferred hardware, then the rule behind it, then the number. Close with what would change the answer.

    Interview

    Likely probes: latch conditions and flop-versus-memory boundaries.

    • A latch needs an unassigned path in combinational logic, not merely a missing clock.

    • Flop-versus-memory depends on array size, and the boundary varies by tool and library.

    • The two latch fixes are a default assignment and full branch coverage.

    Check yourself A case statement covers three of four select values with no default. What is inferred?

    A latch. The missing case must hold the old value, so the tool infers storage.

    Check yourself An 8-entry table of 32-bit words: flops or memory?

    Usually flops at that size, but the boundary varies. Confirm against the target flow rather than guessing.

    Related topics

    • Optimization and mapping

    • Synthesizable RTL and inference

    • Latch inference

    Previous

    129 / 139

    Next: Optimization and Mapping Questions

    Up next

    Up nextOptimization and Mapping Questions

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Timing and Constraint Questions
    • Sequential and Datapath Questions
    • Power and Test Questions