Arrays, structures, enums and packages
- Explain the engineering decision behind Arrays, structures, enums and packages
- Apply the Wave 1 model
- Identify unsupported implementation or sign-off claims
Dynamic arrays, queues and associative arrays are verification constructs and are not portable synthesizable storage.
Why this matters
Select packed layout for bit-level interfaces and unpacked layout for collections; make transaction fields and state encodings reviewable.
Engineering method
- Freeze the requirement, units, legal operating range and observable evidence.
- Build the smallest model that exposes the decision behind Arrays, structures, enums and packages.
- Exercise nominal, boundary and deliberately invalid cases.
- Record tool versions, assumptions, results and remaining uncertainty.
Guided practice
Define a package containing an enum and packed transaction struct, then calculate every field position and total width before compiling.
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
Dynamic arrays, queues and associative arrays are verification constructs and are not portable synthesizable storage.
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.
Arrays, structures, enums and packages review exercise
- Understand the task
- Run or reason
- Check the result
- Explain why
Define a package containing an enum and packed transaction struct, then calculate every field position and total width before compiling.
Record assumptions, command, output, interpretation and limitation.
Practice work is non-certified and is not stored by ASIC Campus.