RM0082
DDR memory controller (MPMC)
Doc ID 018672 Rev 1
129/844
Priority relaxing allows low priority commands to be able to move through the Arbiter to the
Memory Controller core. This will ensure that the system can meet maximum latency
requirements.
10.5.8 Port
pairing
The Memory Controller Arbiter embeds a feature which allows adjacent ports to be grouped
together and considered jointly for arbitration. The weighted_round_robin_weight_sharing
parameter controls this function, with one bit per pair of ports in the Memory Controller. Bit 0
handles ports 0 and 1, Bit 1 handles ports 2 and 3 and so on. Where Memory Controller
interfaces to an odd number of ports, the highest numbered port is excluded from the port
pairing system.
Since the ports are grouped together, their relative priorities are not considered separately.
Referring to
, the general formula for port priority allocation is the ratio of that
port's relative priority (ahbX_priorityY_relative_priority) to the sum of all requesting port's
relative priority values. In this case, the relative priority value of only one of the paired ports
is used for the sum calculation. This means that the bandwidth will be divided differently
among the ports.
Let us consider the port pair at the top of the scan order: if one only port is requesting it will
win arbitration. If the both are requesting, port ordering is used to determine which port wins
arbitration.
When the ports are paired, their scan order can never be altered and they will always remain
together in the scan order. Their counters increment together, so when they reach their
relative priority value, the port pair will dynamically be placed at the bottom of the scan order
for that priority group.
In order for port weight sharing to be used, the relative priority parameters for the port pair
must be programmed to the same value and the port order of the paired ports should be
sequential. If either condition is not followed, an error bit will be set to1'b1.
5
Y
Y
Y
P0, P5
P5
0
1
0
0
1
1
P0-P1-P3-P2
P4-P5
6
Y
Y
P0
P0
1
1
0
0
1
0
P0-P1-P3-P2
P4-P5
7
Y
Y
Y
P4
P4
1
1
0
0
2
0
P0-P1-P3-P2
P5-P4
8
Y
Y
Y
Y
P0
2
1
0
0
0
0
P0-P1-P3-P2
P5-P4
9
Y
Y
Y
Y
P1
2
2
0
0
0
0
P0-P1-P3-P2
P5-P4
10
Y
Y
Y
Y
P2
P2
2
2
1
0
0
0
P0-P1-P3-P2
P5-P4
Table 67.
System F operation with priority relaxing (continued)
Cycle
Ports Requesting
Relaxed
Ports
Arbitration
Winner
Next Counter
Next Scan Order
P
0
P
1
P
2
P
3
P
4
P
5
P
0
P
1
P
2
P
3
P
4
P
5