









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










architecture behave_signal of signal_example is
signal temp : std_logic;
begin
process (a) begin temp <= '1'; for i in 0 to 7 loop temp <= temp xor a(i); end loop; y <= temp; end process;
end behave_signal;
architecture behave_variable of variable_example is
begin
process (a) variable temp: std_logic; begin temp := '0'; for i in 0 to 7 loop temp := temp xor a(i); end loop; y <= temp; end process;
end behave_variable;
Constant constant_name : type_name [:value];