HDLC Controller Implemented
Lattice Semiconductor in ispMACH 4000 and 5000VG Families
11
Pin Descriptions
Name Type Description
RxClk I
Receive Serial Clock
: This signal provides the clock for the RECEIVE modules and the
RX_DEMUX module in this design.
RxData I
Receive Serial Data
: Serial data is received at this PCM input port.
RxSync I
Receive Serial Sync
: This active high signal provides the synchronization reference for the
receiving PCM frame. It can be a bit asserted simultaneously with the last data bit of the
PCM frame or be a dedicated bit separated from the data bits of the PCM frame.
TxClk I
Transmit Serial Clock
: This signal provides the clock for the TRANSMIT modules and the
Tx_MUX module in this design.
TxData O
Transmit Serial Data
: Serial data is transmitted through this PCM output port.
TxSync I
Transmit Serial Sync
: This activ e high signal pro vides the synchronization reference f or the
transmitting PCM frame. It can be a bit asserted simultaneously with the last data bit of the
PCM frame or be a dedicated bit separated from the data bits of the PCM frame.
RxOutputData[N:0][7:0]
(for multi-channel)
RxOutputData_0(7:0)
(for single-channel)
O
Receiver Data Output
: This is an 8-bit data bus. One for each HDLC channel. The value
present on this bus could be either frame data or frame status depending on the waveforms
of RxDataWrite_n and RxStatusWrite_n.
RxDataWrite_n[N:0]
(for multi-channel)
RxDataWrite_n
(for single-channel)
O
Receive Data Write Enable
: This active low output indicates that the v alue currently present
on bus RxOutputData is the HDLC frame data or FCS.
RxStatusWrite_n[N:0]
(for multi-channel)
RxStatusWrite_n
(for single-channel)
O
Receive Status Write Enable
: This active low output indicates that the value currently
present on bus RxOutputData is the HDLC frame status.
TxInputData[N:0][7:0]
(for multi-channel)
TxInputData_0(7:0)
(for single-channel)
I
Transmitter Data Input
: This is an 8-bit data bus. One for each HDLC channel. The HDLC
frame octets to be transmitted are read into the controller through this bus.
TxRead_n[N:0]
(for multi-channel)
TxRead_n
(for single-channel)
O
Transmit Data Read Enable
: This active low output, one for each HDLC channel, indicates
to the external memory module that the controller is going to read the transmission octet in
through TxInputData at the next TxClk rising edge.
TxStart[N:0]
(for multi-channel)
TsStart
(for single-channel)
I
Transmit Start
: This is an active high input, one for each channel. TxStart indicates to the
controller that the transmission data of the HDLC frame is ready and the transmitting pro-
cess can be started. This signal needs to be asserted f or at least one TxClk clock period and
be negated before the HDLC frame is completely transmitted. Once active, the HDLC trans-
mitter will start asserting TxRead_n to read the octets from the external memory module.
TxAbort[N:0]
(for multi-channel)
TxAbort
(for single-channel)
I
Transmit Frame Abort
: This is an activ e high input, one for each channel. TxAbort indicates
to the controller that the host wants to abort the transmission of the current HDLC frame.
This signal needs to be asserted for at least one TxClk clock period. TxAbort can also be
used for the idle assertion by asserting it for more than 15 TxClk clock periods.
TxEmpty_n[N:0]
(for multi-channel)
TxEmpty_n
(for single channel)
I
Transmit Data Empty
: This is an active low input, one for each channel. TxEmpty_n indi-
cates that the value currently present on the TxInputData bus is the last octet of the HDLC
frame. It will be sampled together with TxInputData.
Reset I
Master Reset
: This active high reset input will reset all internal registers in the design to
their initial state.