Computing and Information Technology

Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) Practice Exam, Flashcards & Questions

Master foundational to advanced Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) with 78 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

48 Total Questions 12 MCQs 18 Calculations 6 Formulas 12 Flashcards
Free Interactive Preview

Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 48 items is available in the offline app.

Question 1 of 4 Clock Domain Crossing Handshaking and Gray Code Counters

Why must read and write pointers in an asynchronous dual-clock FIFO be converted into Gray code before being synchronized across the clock domain crossing (CDC) boundary?

A Gray code guarantees that exactly one bit changes per increment, eliminating multi-bit race condition skew
B Gray code reduces the binary counter frequency to match the slower clock domain
C Gray code automatically performs parity checking without dedicated parity generators
D Gray code permits 2-wire serial transmission across long PCB board traces
Accepted Answer: Option A (Gray code guarantees that exactly one bit changes per increment, eliminating multi-bit race condition skew)

Rationale: In binary counters, incrementing (e.g. 0111 to 1000) toggles multiple bits simultaneously. Due to path skew, receiving flip-flops may sample intermediate values (e.g. 0000 or 1111), corrupting pointer comparisons. Gray code guarantees only 1 bit transitions per count.

Question 2 of 4 Combinational Glitches and Hazard-Free Logic Minimization

In combinational logic synthesis, what formal technique eliminates static-1 logic hazards across adjacent prime implicants on a Karnaugh map?

A Adding a redundant consensus product term bridging the adjacent 1-cells across the variable boundary
B Inserting an active high-pass RC filter at the output of the final sum-of-products gate
C Inverting the clock polarity of all downstream registers
D Mapping the circuit exclusively into XOR-AND trees
Accepted Answer: Option A (Adding a redundant consensus product term bridging the adjacent 1-cells across the variable boundary)

Rationale: A static-1 hazard occurs when an input transition moves between adjacent product terms. If the falling term turns off faster than the rising term turns on, the output momentarily drops to 0. Adding the consensus term (overlapping both) keeps the output high during the transition.

Question 3 of 4 Metastability and Two-Flip-Flop Synchronizer MTBF

How does a standard two-flip-flop synchronizer resolve asynchronous input signal transitions to prevent downstream logic failures?

A Provides an entire clock period for the first flip-flop's metastable output to decay toward a valid logic level
B Inverts the phase of the asynchronous signal using an active RC integrator
C Locks the frequency of the receiving clock to the incoming data transitions
D Buffers the asynchronous signal through a Schmitt trigger to eliminate setup time constraints
Accepted Answer: Option A (Provides an entire clock period for the first flip-flop's metastable output to decay toward a valid logic level)

Rationale: When an asynchronous signal violates setup/hold times of flip-flop 1, it may enter a metastable state. The two-flop synchronizer allocates a full clock cycle (minus setup and propagation delays) for the voltage to resolve exponentially to 0 or 1 before flip-flop 2 samples it.

Question 4 of 4 Blocking versus Non-Blocking Assignments in Verilog RTL

Why must non-blocking assignments (<=) be used exclusively when describing edge-triggered sequential logic inside always @(posedge clk) blocks in Verilog?

A Evaluates all right-hand expressions concurrently before updating left-hand registers, correctly modeling physical parallel flip-flops without race conditions
B Eliminates setup time constraints by converting synchronous flip-flops into asynchronous latches
C Enables the synthesis compiler to infer dual-port static RAM blocks rather than discrete gates
D Forces the simulator to execute sequential blocks in zero simulation time steps
Accepted Answer: Option A (Evaluates all right-hand expressions concurrently before updating left-hand registers, correctly modeling physical parallel flip-flops without race conditions)

Rationale: Non-blocking assignments evaluate RHS values during the active region and schedule LHS updates for the Non-Blocking Assignment (NBA) region. This models physical flip-flops that sample simultaneously on clock edges, avoiding simulation race conditions.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Clock Domain Crossing Handshaking and Gray Code Counters
Binary to Gray code conversion XORs the binary integer with {{c1::the integer shifted right by 1}}.
Formula Gray = Bin ^ (Bin >> 1) converts standard binary integers to reflective Gray code.
Card 2 • Combinational Glitches and Hazard-Free Logic Minimization
The redundant consensus product term bridging product terms AB and not-A C is {{c1::BC}}.
By the consensus theorem, AB + ~A C + BC = AB + ~A C, where BC bridges the transition.

Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) Curriculum Modules & Topics Covered

Modules
RTL Synthesis and Verilog ModelingMetastability and Asynchronous Boundaries
Core Exam Topics
  • Blocking versus Non-Blocking Assignments in Verilog RTL
  • Moore versus Mealy Finite State Machine Encoding
  • Logic Synthesis Technology Mapping and Area Optimization
  • Metastability and Two-Flip-Flop Synchronizer MTBF
  • Clock Domain Crossing Handshaking and Gray Code Counters
  • Combinational Glitches and Hazard-Free Logic Minimization
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in RTL Synthesis and Verilog Modeling.
  • Develop core conceptual recall and analytical problem-solving in Metastability and Asynchronous Boundaries.

Free Downloadable Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 48 items
Complete Course Pack
ZIP • 48 items
Elements (Standard)
ZIP • 48 items
Active Recall Flashcards
ZIP • 48 items
Formula Codex
ZIP • 48 items
Problem Solving (Mastery)
ZIP • 48 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 48 Verified Items

Unlock All 48 Digital Logic Synthesis & Hardware Description Languages: Verilog FSMs & Register-Transfer Level (RTL) Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)