- spi_master_wb: route through generics

git-svn-id: http://moon:8086/svn/vhdl/trunk@1289 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-06-04 20:27:50 +00:00
parent 53b731a4eb
commit 8eb6b3ff9e
2 changed files with 19 additions and 12 deletions
+8 -1
View File
@@ -6,6 +6,11 @@ LIBRARY WORK;
USE WORK.spi_types.all;
ENTITY spi_master_wb IS
Generic
(
CAT_FIFO_DEPTH : natural := 4;
DATA_FIFO_DEPTH : natural := 16
);
Port
(
CLK_I : in STD_LOGIC;
@@ -55,7 +60,9 @@ begin
inst_spi_master : entity work.spi_master
GENERIC MAP
(
word_width => 32
WORD_WIDTH => 32,
CAT_FIFO_DEPTH => CAT_FIFO_DEPTH,
DATA_FIFO_DEPTH => DATA_FIFO_DEPTH
)
PORT MAP
(