When to change data on the input of a memory working on the rising edge?
I have a basic memory (as shown in the code below) working on the rising edge. When should I change the data on the input (and read data on output)? On the rising or falling edge?