From 35a55d2c3c7e5a0d8e8679471325db581007c0fa Mon Sep 17 00:00:00 2001 From: Tobias Weber Date: Sat, 23 Jun 2018 16:11:58 +0200 Subject: [PATCH] correct mistake in test bench. --- mupix/Mupix8/tb/LTC1658SPITest.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.0