So I created a shared variable in a purely non-synthesizeable code.
When compiling ModelSim generates a warning:
(vcom-1236) Shared variables must be of a protected type.
Why is it a warning and not an error if the shared variable must be "protected"?
What does protected even mean in this case i.e protected from what?
The shared variable is just a std_logic
.