sebas
Junior Member level 2
Hi,
In my code I have a register that is written with data read from SPI (register is 32bit and loaded after all the 32 bits have been read from SPI in a temp register). On the other side the register is read by the wishbone interface. My question is: do I have to worry that the data can be metastable at the time of the read, because its just being written? Should I use something like read on posedege, write on negedge? If not why? The register, I guess, would be implemented as a set of flipflops so the new data would be loaded in parallel....
Thanks
In my code I have a register that is written with data read from SPI (register is 32bit and loaded after all the 32 bits have been read from SPI in a temp register). On the other side the register is read by the wishbone interface. My question is: do I have to worry that the data can be metastable at the time of the read, because its just being written? Should I use something like read on posedege, write on negedge? If not why? The register, I guess, would be implemented as a set of flipflops so the new data would be loaded in parallel....
Thanks