[an error occurred while processing this directive]
|
buffering : process ( SCK )
variable bit_in_byte : integer range 0 to 7;
begin
if CS = '1' then
if (SCK'event and SCK = '1') then
SPI_buf(bit_in_byte) <= SIMO;
bit_in_byte := bit_in_byte + 1;
PA <= SPI_buf;
end if;
end if;
end process buffering;
E-mail: info@telesys.ru