Potential Problems to Avoid (cont. 1)
Avoid using
shared variables
Debugging potential asynchronous errors can be difficult
Concept likely to change in future VHDL standards
Overloaded items cannot be resolved by return type
Example: These overloaded functions cannot be disambiguated:
FUNCTION "-" (a, b: natural) RETURN integer; FUNCTION "-" (a, b: natural) RETURN natural;