function my_func(a : boolean; b: boolean := true) return boolean;
...
signal a : boolean;
...
a <= my_func(true); -- No matches for function
Linting does not recognise functions whose types match when default parameters are used. It's unclear to me whether this is actually part of the VHDL standard, but appears to have widespread support.
function my_func(a : boolean; b: boolean := true) return boolean;
...
signal a : boolean;
...
a <= my_func(true); -- No matches for function
Linting does not recognise functions whose types match when default parameters are used. It's unclear to me whether this is actually part of the VHDL standard, but appears to have widespread support.
An example can be found in this textbook:
https://books.google.com.au/books?id=XbZr8DurZYEC&lpg=PA406&ots=Pc6pDqErqV&dq=default%20function%20parameters%20in%20vhdl&pg=PA406#v=onepage&q&f=false
Linting does not recognise functions whose types match when default parameters are used. It's unclear to me whether this is actually part of the VHDL standard, but appears to have widespread support.
An example can be found in this textbook: https://books.google.com.au/books?id=XbZr8DurZYEC&lpg=PA406&ots=Pc6pDqErqV&dq=default%20function%20parameters%20in%20vhdl&pg=PA406#v=onepage&q&f=false
Fixed. Will be in version 0.5.