6Altera Corporation
Midbus Interface Functional Specification 8
Table 1 shows the Midbus signals for one-, two-, and four-lane data paths.
Multiple Byte
Lanes
In two- and four-lane Midbuses, the txdat and rxdat are divided into
two and four byte lanes, respectively. In a four-lane Midbus, byte lane 3
contains the first byte transmitted or received. This means data is
transmitted from the first bit to the last bit in decreasing order of byte lane
number, and decreasing order of bit number.
The byte enables and control signals, txena, rxena, txval, rxval,
txffp, rxffp, txefp, rxefp, txfoh, rxfoh, txeoh , and rxeoh
correspond to the byte lanes. Therefore, txena[N]/rxena[N] controls
byte lane N. For example: rxena[2] controls rxdat[23:16](byte lane
2) of a 32-bit bus.
This allows non-contiguous data on the bus, i.e. if the rxena[3:0]
pattern is ‘b1011 this indicates the first byte is on rxdat[31:24], the
second byte on rxdat[15:8], and the last byte on rxdat[7:0].
Table 1. Bus Signals
Signal Name Optional Description Width (32-bit
bus)
Width (16-bit
bus)
Width (8-bit
bus)
Direction
txclk No Data clock 111Input to master
and slave
txena No Payload byte request(s) for txdat [3:0] [1:0] 1Master to slave
txval No Frame (payload+overhead) byte enables
for txdat
[3:0] [1:0] 1Master to slave
txdat No Data from slave(s) [31:0] [15:0] [7:0] Slave to master
txffp Yes Transmit fixed frame position [3:0] [1:0] 1Master to slave
txefp Yes Transmit embedded frame position [3:0] [1:0] 1Master to slave
txfoh Yes Transmit fixed overhead [3:0] [1:0] 1Master to slave
txeoh Yes Transmit embedded overhead [3:0] [1:0] 1Master to slave
rxclk No Data clock 111Input to master
and slave
rxena No Payload byte enable(s) for rxdat [3:0] [1:0] 1Master to slave
rxval No Frame (payload+overhead) byte enables
for rxdat
[3:0] [1:0] 1Master to slave
rxdat No Data to slave(s) [31:0] [15:0] [7:0] Master to slave
rxffp Yes Receive fixed frame position [3:0] [1:0] 1Master to slave
rxefp Yes Receive embedded frame position [3:0] [1:0] 1Master to slave
rxfoh Yes Receive fixed overhead [3:0] [1:0] 1Master to slave
rxeoh Yes Receive embedded overhead [3:0] [1:0] 1Master to slave