prga.algorithm.interconnect module¶
Algorithms for building interconnects.
-
class
prga.algorithm.interconnect.InterconnectAlgorithms¶ Bases:
objectWrapper class for all interconnect-related algorithms.
-
classmethod
crossbar(N, M, connectivity, *, n_util=None)¶ Generate
(n, m)pairs so that eachmis paired withconnectivityns. The goal is that eachnis paired with about the same number ofms (fairness), while eachmis paired with a different composition ofns (diversity).Parameters: - N (
int) – - M (
int) – - connectivity (
int) –
Keyword Arguments: n_util (
Sequence[int]) – carry-over stateYields: tuple[int,int]- N (
-
classmethod