diff options
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C b/src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C index e88b9b413..39ef0439e 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/rosetta_map/rosetta_map.C @@ -383,4 +383,21 @@ const rosetta_map::PhyMap rosettaTraits<fapi2::TARGET_TYPE_MCA, ACTN>::C4_TO_PHY } }; +// Map from MC index to PHY pin. Not a PhyMap because it's the same for every port +const std::vector<std::pair<uint64_t, uint64_t>> rosettaTraits<fapi2::TARGET_TYPE_MCA, DQ>::MC_TO_PHY = +{ + {0, 0}, {0, 1}, {0, 2}, {0, 3}, {0, 4}, {0, 5}, {0, 6}, {0, 7}, {0, 8}, {0, 9}, {0, 10}, {0, 11}, {0, 12}, {0, 13}, {0, 14}, {0, 15}, + {1, 0}, {1, 1}, {1, 2}, {1, 3}, {1, 4}, {1, 5}, {1, 6}, {1, 7}, {1, 8}, {1, 9}, {1, 10}, {1, 11}, {1, 12}, {1, 13}, {1, 14}, {1, 15}, + {2, 0}, {2, 1}, {2, 2}, {2, 3}, {2, 4}, {2, 5}, {2, 6}, {2, 7}, {2, 8}, {2, 9}, {2, 10}, {2, 11}, {2, 12}, {2, 13}, {2, 14}, {2, 15}, + {3, 0}, {3, 1}, {3, 2}, {3, 3}, {3, 4}, {3, 5}, {3, 6}, {3, 7}, {3, 8}, {3, 9}, {3, 10}, {3, 11}, {3, 12}, {3, 13}, {3, 14}, {3, 15}, + {4, 0}, {4, 1}, {4, 2}, {4, 3}, {4, 4}, {4, 5}, {4, 6}, {4, 7}, +}; + +// Map from MC index to PHY pin. Not a PhyMap because it's the same for every port +const std::vector<std::pair<uint64_t, uint64_t>> rosettaTraits<fapi2::TARGET_TYPE_MCA, DQS>::MC_TO_PHY = +{ + {0, 16}, {0, 20}, {1, 16}, {1, 20}, {2, 16}, {2, 20}, {3, 16}, {3, 20}, {4, 16}, {0, 18}, {0, 22}, {1, 18}, {1, 22}, {2, 18}, {2, 22}, {3, 18}, + {3, 22}, {4, 18}, +}; + } // ns mss |