Hi,
I am trying to synthesize hardware which changes one values in a register array at rising and falling edge of the clock. Basically I am trying to synchronize different actions on different edges of the clock and write, for example, signal1 to reg(1)(31 downto 0) and signal2 to reg(2)(31 downto 0). The line with *** gives an error.
if reset='1' then -- initialization of reg
***elsif rising_edge(clock) and (write_flag = '1') then reg(CONV_INTEGER(unsigned(reg_address1)))