FIX: fixed wrong instantiation of SimpleFiFo

This commit is contained in:
Dominik Meyer 2014-02-08 21:42:33 +01:00
parent 8748f946ab
commit 5cbcbdd04f
2 changed files with 12 additions and 8 deletions

View File

@ -64,8 +64,6 @@ architecture arch of ReceiverAndFifo is
); );
port ( port (
icReset : in std_logic;
icWriteClk : in std_logic; icWriteClk : in std_logic;
icWe : in std_logic; icWe : in std_logic;
@ -79,7 +77,10 @@ architecture arch of ReceiverAndFifo is
ocFull : out std_logic; ocFull : out std_logic;
ocAempty : out std_logic; ocAempty : out std_logic;
ocAfull : out std_logic ocAfull : out std_logic;
icClkEnable : in std_logic; --! active high clock enable signal
icReset : in std_logic --! active high reset, values in RAM are not overwritten, just FIFO
); );
end component; end component;
@ -120,7 +121,8 @@ begin
ocFull => scRcvrFull, ocFull => scRcvrFull,
ocAempty => scRcvrAEmpty, ocAempty => scRcvrAEmpty,
ocAfull => scRcvrAFull ocAfull => scRcvrAFull,
icClkEnable => ieClkEn
); );
ocREmpty <= scRcvrEmpty; ocREmpty <= scRcvrEmpty;

View File

@ -68,8 +68,6 @@ architecture arch of SenderAndFifo is
); );
port ( port (
icReset : in std_logic;
icWriteClk : in std_logic; icWriteClk : in std_logic;
icWe : in std_logic; icWe : in std_logic;
@ -83,7 +81,9 @@ architecture arch of SenderAndFifo is
ocFull : out std_logic; ocFull : out std_logic;
ocAempty : out std_logic; ocAempty : out std_logic;
ocAfull : out std_logic ocAfull : out std_logic;
icClkEnable : in std_logic; --! active high clock enable signal
icReset : in std_logic
); );
end component; end component;
@ -129,7 +129,9 @@ begin
ocFull => scSenderFull, ocFull => scSenderFull,
ocAempty => scSenderAEmpty, ocAempty => scSenderAEmpty,
ocAfull => scSenderAFull ocAfull => scSenderAFull,
icClkEnable => ieClkEn
); );
sdFifoDataIn <= idDataSend & idParity; sdFifoDataIn <= idDataSend & idParity;