- 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:
@@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user