From bdf60c13043cfa34520e383ab106beba1904daa1 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 13 Jun 2015 10:28:23 +0000 Subject: [PATCH] - fixed - reduced cache size in TB git-svn-id: http://moon:8086/svn/vhdl/trunk@1300 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/spi/src/spi_master_wb.vhd | 2 +- lib/spi/src/tb_spi_flash_wb.vhd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spi/src/spi_master_wb.vhd b/lib/spi/src/spi_master_wb.vhd index 5675481..29e2f0b 100644 --- a/lib/spi/src/spi_master_wb.vhd +++ b/lib/spi/src/spi_master_wb.vhd @@ -140,7 +140,7 @@ registers_read: when "0000" => DAT_O(2 downto 0) <= mst_dout_vld & mst_din_rdy & mst_cmd_rdy; - DAT_O(15 downto 8) <= spi_hold & mst_status.rx_valid & mst_status.read_fifo_empty & mst_status.read_fifo_full & mst_status.write_fifo_empty & mst_status.write_fifo_full & mst_status.cmd_fifo_empty & mst_status.cmd_fifo_full; + DAT_O(15 downto 8) <= spi_hold & mst_status.xfer_busy & mst_status.read_fifo_empty & mst_status.read_fifo_full & mst_status.write_fifo_empty & mst_status.write_fifo_full & mst_status.cmd_fifo_empty & mst_status.cmd_fifo_full; when "0001" => DAT_O <= mst_cmd.xfer_size; diff --git a/lib/spi/src/tb_spi_flash_wb.vhd b/lib/spi/src/tb_spi_flash_wb.vhd index 763faa6..6e80830 100644 --- a/lib/spi/src/tb_spi_flash_wb.vhd +++ b/lib/spi/src/tb_spi_flash_wb.vhd @@ -67,7 +67,7 @@ uut : entity work.spi_flash_wb GENERIC MAP ( FLASH_ADDR_BITS => 24, - CACHE_ADDR_BITS => 9 + CACHE_ADDR_BITS => 6 ) PORT MAP (