Shared VariablesNon-determinism
The final value of count is unpredictable
ARCHITECTURE non_determinist OF example IS
SHARED VARIABLE count : INTEGER;
Notes:
The syntax of the shared variable is similar to that of the normal variable. However, the keyword SHARED is placed in front of VARIABLE in the declaration