[J-Uart]
- fixed generic git-svn-id: http://moon:8086/svn/vhdl/trunk@1360 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -35,6 +35,10 @@ END uart_wb;
|
|||||||
ARCHITECTURE rtl OF uart_wb IS
|
ARCHITECTURE rtl OF uart_wb IS
|
||||||
|
|
||||||
COMPONENT uart
|
COMPONENT uart
|
||||||
|
Generic
|
||||||
|
(
|
||||||
|
fifo_depth_bits : integer
|
||||||
|
);
|
||||||
Port
|
Port
|
||||||
(
|
(
|
||||||
clk : in STD_LOGIC;
|
clk : in STD_LOGIC;
|
||||||
@@ -71,6 +75,10 @@ begin
|
|||||||
ctrl.baudrate <= reg_uart_baud;
|
ctrl.baudrate <= reg_uart_baud;
|
||||||
|
|
||||||
inst_uart : uart
|
inst_uart : uart
|
||||||
|
GENERIC MAP
|
||||||
|
(
|
||||||
|
fifo_depth_bits => fifo_depth_bits
|
||||||
|
)
|
||||||
PORT MAP
|
PORT MAP
|
||||||
(
|
(
|
||||||
clk => CLK_I,
|
clk => CLK_I,
|
||||||
|
|||||||
Reference in New Issue
Block a user