Line 1... |
Line 1... |
-- $Id: serport.vhd 314 2010-07-09 17:38:41Z mueller $
|
-- $Id: serport.vhd 348 2010-12-26 15:23:44Z mueller $
|
--
|
--
|
-- Copyright 2007-2010 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2007-2010 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
Line 14... |
Line 14... |
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Package Name: serport
|
-- Package Name: serport
|
-- Description: serial port interface components
|
-- Description: serial port interface components
|
--
|
--
|
-- Dependencies: -
|
-- Dependencies: -
|
-- Tool versions: xst 8.1, 8.2, 9.1, 9.2, 11.4; ghdl 0.18-0.26
|
-- Tool versions: xst 8.1, 8.2, 9.1, 9.2, 11.4, 12.1; ghdl 0.18-0.29
|
|
--
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
|
-- 2010-12-26 348 1.2.1 add ABCLKDIV to serport_uart_rxtx_ab
|
-- 2010-04-10 276 1.2 add clock divider constant defs
|
-- 2010-04-10 276 1.2 add clock divider constant defs
|
-- 2007-10-22 88 1.1 renames (in prev revs); remove std_logic_unsigned
|
-- 2007-10-22 88 1.1 renames (in prev revs); remove std_logic_unsigned
|
-- 2007-06-03 45 1.0 Initial version
|
-- 2007-06-03 45 1.0 Initial version
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
|
|
Line 110... |
Line 112... |
TXSD : out slbit; -- transmit serial data (uart view)
|
TXSD : out slbit; -- transmit serial data (uart view)
|
TXDATA : in slv8; -- transmit data in
|
TXDATA : in slv8; -- transmit data in
|
TXENA : in slbit; -- transmit data enable
|
TXENA : in slbit; -- transmit data enable
|
TXBUSY : out slbit; -- transmit busy
|
TXBUSY : out slbit; -- transmit busy
|
ABACT : out slbit; -- autobaud active; if 1 clkdiv invalid
|
ABACT : out slbit; -- autobaud active; if 1 clkdiv invalid
|
ABDONE : out slbit -- autobaud resync done
|
ABDONE : out slbit; -- autobaud resync done
|
|
ABCLKDIV : out slv(CDWIDTH-1 downto 0) -- autobaud clock divider setting
|
);
|
);
|
end component;
|
end component;
|
|
|
component serport_uart_autobaud is -- serial port uart: autobauder
|
component serport_uart_autobaud is -- serial port uart: autobauder
|
generic (
|
generic (
|