summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/hwpf/fapi2/include/fapi2_target.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/include/fapi2_target.H b/src/import/hwpf/fapi2/include/fapi2_target.H
index f32493769..231e5ad99 100644
--- a/src/import/hwpf/fapi2/include/fapi2_target.H
+++ b/src/import/hwpf/fapi2/include/fapi2_target.H
@@ -308,6 +308,16 @@ class Target
isFunctional(void) const;
///
+ /// @brief Returns the chiplet number associated with the Target
+ /// @return The chiplet number for the Target. 0 is returned if the
+ /// Target does not have a chiplet number (for ex, the PROC_CHIP Target)
+ /// @note For logical targets such as the EX, the chiplet number of
+ /// their immediate parent chiplet is returned
+ ///
+ inline uint8_t
+ getChipletNumber(void) const;
+
+ ///
/// @brief Copy from a Target<O> to a Target<K>
/// @tparam O the target type of the other
///
OpenPOWER on IntegriCloud