that's ok, cristian. thank you!
and Mike, I've read the uart code.
It seems all procedures(not in testbench vhdl file) have no parameters.
and all variables declared in the process are all visible in the
procedures which are invoked in the process.
but as book wrote, a procedure doesn't return any result, just change
the parameter value which will affect the actual parameters when
invoking. and all variables in a procedure are dynamic, they don't
store values during two calls. or this rule just affect the variables
which are declared in the procedure.
so, as the example uart code wrote, if the variables are declared in
the process which invokes the procedure, then the procedure can use
these variables and pass the changed values to the process?
thank you!