Entity: ClinkUart

Diagram

time TPD_G boolean UART_READY_EN_G AxiStreamConfigType UART_AXIS_CONFIG_G sl intClk sl intRst slv(23 downto 0) baud slv(15 downto 0) throttle sl uartClk sl uartRst AxiStreamMasterType sUartMaster AxiStreamSlaveType mUartSlave sl rxIn AxiStreamSlaveType sUartSlave AxiStreamCtrlType sUartCtrl AxiStreamMasterType mUartMaster sl txOut

Description


Company : SLAC National Accelerator Laboratory

Description:

This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to

the terms contained in the LICENSE.txt file.

Generics

Generic name Type Value Description
TPD_G time 1 ns
UART_READY_EN_G boolean true
UART_AXIS_CONFIG_G AxiStreamConfigType

Ports

Port name Direction Type Description
intClk in sl Clock and reset, 200Mhz
intRst in sl
baud in slv(23 downto 0) Baud rate (units of bps)
throttle in slv(15 downto 0) TX Throttle (units of us)
uartClk in sl Data In/Out
uartRst in sl
sUartMaster in AxiStreamMasterType
sUartSlave out AxiStreamSlaveType
sUartCtrl out AxiStreamCtrlType
mUartMaster out AxiStreamMasterType
mUartSlave in AxiStreamSlaveType
rxIn in sl Serial data
txOut out sl

Signals

Name Type Description
r RegType
rin Regtype
rdData slv(7 downto 0)
rdValid sl
txMasters AxiStreamMasterArray(1 downto 0)
txSlaves AxiStreamSlaveArray(1 downto 0)
rxMaster AxiStreamMasterType

Constants

Name Type Value Description
INT_FREQ_C integer 200000000
INT_CONFIG_C AxiStreamConfigType ssiAxiStreamConfig(dataBytes => 4,
tDestBits => 0)
REG_INIT_C RegType ( count => 0,
baudClkEn => '0')

Types

Name Type Description
RegType

Processes

Description
[in]

Instantiations

Description

Transmit FIFO

Description

UART transmitter

Description

[out]

UART Receiver

Description

Receive FIFO