From 7721980589f4c7fa811689e815a77d63f2556497 Mon Sep 17 00:00:00 2001 From: Ataberk Date: Thu, 2 May 2024 17:22:05 +0200 Subject: Add sources for U50 HBM2 --- sources/api/platform.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sources/api/platform.h') diff --git a/sources/api/platform.h b/sources/api/platform.h index 277dcdf..f79e319 100644 --- a/sources/api/platform.h +++ b/sources/api/platform.h @@ -21,6 +21,7 @@ class SoftMCPlatform{ public: SoftMCPlatform(); SoftMCPlatform(bool); + SoftMCPlatform(int dimm_select); ~SoftMCPlatform(); /** * Initializes the whole platform @@ -60,6 +61,9 @@ class SoftMCPlatform{ */ void set_aref(bool on); + void read_HBM_temperature(); + int return_HBM_temperature(); + /** * Used along with Program::dumpRegisters to read register content */ @@ -67,6 +71,7 @@ class SoftMCPlatform{ private: bool is_dummy; + int dimm_select; BoardInterface *iface; void* instr_buf; -- cgit v1.2.3