Will it be the same if I will use "procedure". Or should i shift down to component instance?
Before I believe that semantics of sequential operators the same as in "process". Perhaps i misunderstand "using function to generate schematic".
I belive that fucntion do computation and generate some combinatorial schematic, why it can not manage with synchronous?
function isRegZero(reg : unsigned) return std_logic is
variable temp : std_logic;
begin
temp := '1';
for i in reg'range loop
temp := temp and (not reg(i));
end loop;
return temp;
end isRegZero;
with this function we get simple and-gate in schematic rather than big comparator