A
Ajay Kumar Mishra
Guest
Dear everybody,
I have got a query regarding treatment of variable during synthsis of
behavioural code. In the given example, would the presence of
redundant variable assignment "dummy:=temp" have any impact on the
synthesis of the code. Also, is there any directives to follow for
variables while coding. How is it treated by synthesiser.
for example:
process (.., input_sig, output_sig)
variable temp: std_logic;
variable dummy: std_logic;
begin
temp:= input_sig;
dummy:= temp;
output_sig:=dummy;
.....
end process;
thanks,
Ajay
I have got a query regarding treatment of variable during synthsis of
behavioural code. In the given example, would the presence of
redundant variable assignment "dummy:=temp" have any impact on the
synthesis of the code. Also, is there any directives to follow for
variables while coding. How is it treated by synthesiser.
for example:
process (.., input_sig, output_sig)
variable temp: std_logic;
variable dummy: std_logic;
begin
temp:= input_sig;
dummy:= temp;
output_sig:=dummy;
.....
end process;
thanks,
Ajay