aboutsummaryrefslogtreecommitdiffstats
path: root/sources/api/platform.h
diff options
context:
space:
mode:
authorAtaberk <olgunataberk@gmail.com>2024-05-02 17:22:05 +0200
committerAtaberk <olgunataberk@gmail.com>2024-05-02 17:22:05 +0200
commit7721980589f4c7fa811689e815a77d63f2556497 (patch)
treeded507bcfb0aeddb7ef647dd3888ef93ff12e630 /sources/api/platform.h
parent82b4ae69fa5fa8728b7aa9a513a9a27fb14a5f78 (diff)
downloaddram-bender-7721980589f4c7fa811689e815a77d63f2556497.tar.gz
Add sources for U50 HBM2
Diffstat (limited to 'sources/api/platform.h')
-rw-r--r--sources/api/platform.h5
1 files changed, 5 insertions, 0 deletions
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;