Altera_Forum
Honored Contributor
15 years agoCleaning up latch warnings
I am trying to build an SPI interface on a Max II device. I want to latch the shift-register data into my control bits when CS is low, like this:
reg shift = 0;
always @(posedge sclk)
if (...