There is a 20 bit counter,with two inputs ,on the rising edge of one input the counter must increment and on the rising edge of the other input the counter must decrement. this is for a 1MB FIFO buffer using single port external SRAM,I'm using Xilinx ISE tool.according to the xilinx tool you cannot have two (rising_edge()) statements in a single process.
How do you code it?