Documentation Home Page MMC Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Introduction

This block packs data according to the timing and data format of protocol. For each fiber optic channel one TXInterface block should be placed in the model. 

Mask and Parameters

NameDescription
Counter WidthNumber of bits for the internal counter representing number of data in one packet.
Sample PeriodFPGA clock cycle.


Inputs, Outputs 

Inputs

NameDescriptionNumber Format
EnableEnable signal from fiber optic channel driver block. Boolean
TX_READYSignal showing fiber optic channel is ready to send data. This signal is sent by fiber optic channel driver block.Boolean
SendPeriodSending interval between packets in terms of number of FPFA clock cycle.UFIX16_0
NbrDataNumber of data in one packet.UFIX9_0
Din

Data being sent in packet.

Note: Din reads i-th data if TX_DATA_INDEX is i at the pervious clock cycle. 

UFIX32_0

Outputs

NameDescriptionNumber Format
TX

Data packet being sent. This output includes the following signals:

vld: valid bit

data: data being sent

eof: end of frame signal.

vld: boolean

data: Ufix32_0

eof: boolean

TX_DATA_INDEX

Counter signal counting from 0 to NbrData (input of block) every sending period when both Enable=1 and TX_READY=1.

Note 1: TX_DATA_INDEX increase from 0 to NbrData. 

Note 2: There is one FPGA clock cycle delay between TX_DATA_INDEX and Din, meaning i-th data sent to Din when TX_DATA_INDEX is i at the pervious clock cycle. 

UFIX9_0


Description

In normal condition, both Enable and TX_READY received from SFP driver should be "1". Also, if packets are sent from internal of the model, both of these signals should be kept "1" to mimic SFP signals in normal condition.  For each SFP channel one TXInterface block should be placed in the model. In this block, the data packet being sent should be in Ufix32_0 format. 



  • No labels