Recall & Review
beginner
What is a signal in VHDL?
A signal represents a wire or connection in hardware. It holds a value that can change over time and updates happen after a process finishes, reflecting hardware behavior.
Click to reveal answer
beginner
How does a variable differ from a signal in VHDL?
A variable stores a value that changes immediately within a process. It is local to the process and updates instantly, unlike signals which update after the process ends.
Click to reveal answer
beginner
What is a constant in VHDL?
A constant is a fixed value that cannot change during simulation or hardware operation. It is used to give names to fixed values for clarity and safety.
Click to reveal answer
intermediate
When do signal values update in VHDL?
Signal values update only after the process finishes executing, reflecting changes in hardware at the end of a simulation cycle.
Click to reveal answer
intermediate
Why use variables inside a process instead of signals?
Variables update immediately and are useful for temporary calculations inside a process without waiting for the process to finish, making designs easier to manage.
Click to reveal answer
In VHDL, which of the following updates its value immediately within a process?
✗ Incorrect
Variables update immediately inside a process, while signals update after the process ends.
Which VHDL object cannot change its value after declaration?
✗ Incorrect
Constants hold fixed values that do not change during simulation.
When do signals update their values in VHDL?
✗ Incorrect
Signals update after the process finishes, reflecting hardware timing.
Which of these is local to a process in VHDL?
✗ Incorrect
Variables are local to the process where they are declared.
Why might you choose a signal over a variable in VHDL?
✗ Incorrect
Signals represent hardware wires and persist beyond process scope.
Explain the differences between signals, variables, and constants in VHDL.
Think about when values change and where each is used.
You got /5 concepts.
Describe a situation where using a variable is better than a signal in VHDL.
Consider timing and scope inside a process.
You got /4 concepts.