Guest
Hi all,
I am not getting clue, how to do this:
I want to make contents of an array to be zero when RESET signal is
high.
I have been doing this in std_logic_vector but dont know how to do in
array !
-------------------------------------------------------------
type resultArray is array (0 to 62) of integer range 511 downto -511;
architecutre....
signal resultMult : resultArray;
begin
shift_reg : process (clock)
begin
if RESET='1' then --asynchronous RESET active High
-- resultMult <= (others => '0'); --THis dont work
---I want to make resultmult=0 at RESET
elsif (clock'event and clock='1') then
.......................
end process
end architecture
I am not getting clue, how to do this:
I want to make contents of an array to be zero when RESET signal is
high.
I have been doing this in std_logic_vector but dont know how to do in
array !
-------------------------------------------------------------
type resultArray is array (0 to 62) of integer range 511 downto -511;
architecutre....
signal resultMult : resultArray;
begin
shift_reg : process (clock)
begin
if RESET='1' then --asynchronous RESET active High
-- resultMult <= (others => '0'); --THis dont work
---I want to make resultmult=0 at RESET
elsif (clock'event and clock='1') then
.......................
end process
end architecture