16 lines
467 B
Python
16 lines
467 B
Python
"""NFP-4000 memory constants (capacities + access latencies).
|
|
|
|
Source: Netronome Network Flow Processor 4xxx Family datasheet
|
|
(netronomeNetronomeNetworkFlow2018).
|
|
"""
|
|
from pathlib import Path
|
|
|
|
|
|
def compute(derived: Path) -> tuple[dict[str, str], list[Path]]:
|
|
return {
|
|
"nfp4000/lmem/capacity-kb": "4",
|
|
"nfp4000/lmem/latency-cycles": "1-3",
|
|
"nfp4000/ctm/capacity-kb": "256",
|
|
"nfp4000/ctm/latency-cycles": "50-100",
|
|
}, []
|