Рет қаралды 14,977
Learn what concurrent statements are in VHDL, and how they compare to processes using sensitivity lists and Wait statements.
Concurrent statements are signal assignments within the architecture, but outside of a process.
When you create a signal assignment, you are implicitly creating a kind of process. Therefore, concurrent statements are sometimes referred to as "concurrent processes". By definition, a concurrent signal assignment is equivalent to a regular process with the same signal assignment and a Wait On statement at the end of it.
For example, the concurrent statement:
signal1 <= signal2;
is equivalent to this process using a Wait On statement:
process is
begin
signal1 <= signal2;
wait on signal2;
end process;
which is equivalent to this process using a sensitivity list:
process(signal2) is
begin
signal1 <= signal2;
end process;
There are more options to concurrent statements than what is presented in this video, but that's advanced VHDL stuff, so we will ignore that for now.