Types and four-state modelling

Learning objectives
  • Explain the engineering decision behind Types and four-state modelling
  • Apply the Wave 1 model
  • Identify unsupported implementation or sign-off claims
Conceptual with a reproducible educational model

Icarus and Verilator differ in four-state coverage; synthesis ultimately implements two-state hardware.

1 Objective 2 Learn 3 Example 4 Practice 5 Verify 6 Continue
How to study this lessonUnderstand the idea first. Use the example to see the behaviour, practise where provided, then make sure you can explain the result before continuing.

Why this matters

Choose two-state types only when X/Z information cannot represent a real design or verification condition.

Engineering method

  1. Freeze the requirement, units, legal operating range and observable evidence.
  2. Build the smallest model that exposes the decision behind Types and four-state modelling.
  3. Exercise nominal, boundary and deliberately invalid cases.
  4. Record tool versions, assumptions, results and remaining uncertainty.

Guided practice

Trace 0, 1, X and Z through equality, case equality, reduction and conditional expressions; explain where optimism or pessimism can hide a reset bug.

Wave 1 laboratory connection

Use Parameterized component library for the reproducible Digital exercise. Keep source, command, raw result and a short interpretation together; a screenshot alone is not sufficient evidence.

Open-source limitation

Icarus and Verilator differ in four-state coverage; synthesis ultimately implements two-state hardware.

Review questions

  • Which requirement does the result demonstrate?
  • What failure could still escape this model?
  • Which evidence would be required before an assessed or tapeout claim?

Completion evidence

Submit the completed practice notes, the checker PASS/FAIL output, the exact source revision and a limitation statement in your Git repository.

Engineering practice

Types and four-state modelling review exercise

  1. Understand the task
  2. Run or reason
  3. Check the result
  4. Explain why

Trace 0, 1, X and Z through equality, case equality, reduction and conditional expressions; explain where optimism or pessimism can hide a reset bug.

Record assumptions, command, output, interpretation and limitation.

Practice work is non-certified and is not stored by ASIC Campus.