diff --git a/src/Modules/UART/ReceiverAndFifo.vhd b/src/Modules/UART/ReceiverAndFifo.vhd index 527e787..1cc692d 100644 --- a/src/Modules/UART/ReceiverAndFifo.vhd +++ b/src/Modules/UART/ReceiverAndFifo.vhd @@ -64,8 +64,6 @@ architecture arch of ReceiverAndFifo is ); port ( - icReset : in std_logic; - icWriteClk : in std_logic; icWe : in std_logic; @@ -79,7 +77,10 @@ architecture arch of ReceiverAndFifo is ocFull : 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; @@ -120,7 +121,8 @@ begin ocFull => scRcvrFull, ocAempty => scRcvrAEmpty, - ocAfull => scRcvrAFull + ocAfull => scRcvrAFull, + icClkEnable => ieClkEn ); ocREmpty <= scRcvrEmpty; diff --git a/src/Modules/UART/SenderAndFifo.vhd b/src/Modules/UART/SenderAndFifo.vhd index 7d53785..58404ca 100644 --- a/src/Modules/UART/SenderAndFifo.vhd +++ b/src/Modules/UART/SenderAndFifo.vhd @@ -68,8 +68,6 @@ architecture arch of SenderAndFifo is ); port ( - icReset : in std_logic; - icWriteClk : in std_logic; icWe : in std_logic; @@ -83,7 +81,9 @@ architecture arch of SenderAndFifo is ocFull : 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; @@ -129,7 +129,9 @@ begin ocFull => scSenderFull, ocAempty => scSenderAEmpty, - ocAfull => scSenderAFull + ocAfull => scSenderAFull, + + icClkEnable => ieClkEn ); sdFifoDataIn <= idDataSend & idParity;