ltcshiftreg : process(spi_clk) is
begin
if spi_clk'event and spi_clk = '1' then
- spi_data_from_chip <= shiftreg(data_length - 1) after 5 ns;
shiftreg <= shiftreg(data_length - 2 downto 0) & spi_data_to_chip;
end if;
end process ltcshiftreg;
+ spi_data_from_chip <= shiftreg(data_length - 1) after 5 ns;
stimulus : process is
begin
start_write <= '1';
wait for clk_period;
start_write <= '0';
- wait for 5 us;
+ wait for 8 us;
spi_data_in <= x"BBBB";
start_write <= '1';
wait for clk_period;