[an error occurred while processing this directive]
|
buffering : process ( SCK )
variable bit_in_byte : integer range 0 to 7;
begin
if (rising_edge(SCK)) then
if CS = '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;
и кстати болше 7 тактов SCK моделироваться не будет :)
E-mail: info@telesys.ru