Difficulty: Easy
Correct Answer: scalars.
Explanation:
Introduction / Context:
When writing HDL, we routinely use constants to describe fixed values: numbers, bit strings, characters, or booleans. These constants are called literals and they are essential for parameters, initial conditions, masks, and testbench stimuli.
Given Data / Assumptions:
Concept / Approach:
In programming-language terminology, a literal is a constant value written directly in the source code. In digital design, these are often scalar constants (single numeric or boolean values) or vector constants (bit strings). Among the provided options, 'scalars' most closely aligns with the core notion of a literal as a constant value, rather than a system or encoding standard.
Step-by-Step Solution:
Verification / Alternative check:
Check HDL manuals: sections on 'literals' describe numeric literals, bit-string literals, character literals, and boolean literals—each is a direct, constant value used in expressions.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing 'literal' (a constant value) with 'type' (e.g., std_logic_vector) or 'encoding system' (binary/hex/BCD). Literals instantiate values within those types/systems.
Final Answer:
scalars.
Discussion & Comments