From: Tobias Weber Date: Sat, 23 Jun 2018 14:11:58 +0000 (+0200) Subject: correct mistake in test bench. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=35a55d2c3c7e5a0d8e8679471325db581007c0fa;p=trb3.git correct mistake in test bench. --- diff --git a/mupix/Mupix8/tb/LTC1658SPITest.vhd b/mupix/Mupix8/tb/LTC1658SPITest.vhd index feb8703..05587aa 100644 --- a/mupix/Mupix8/tb/LTC1658SPITest.vhd +++ b/mupix/Mupix8/tb/LTC1658SPITest.vhd @@ -73,11 +73,11 @@ begin 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 @@ -86,7 +86,7 @@ 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;