From 701d7cd535631d3469a94d0d3396d90f3e5ec8d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20Ferreira=20Zulian?= Date: Sun, 28 Jun 2015 13:55:01 +0200 Subject: [PATCH 1/2] QTCreator's syntax highlight and auto-complete working properly. --- .../dramSys/src/controller/core/configuration/Configuration.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DRAMSys/dramSys/src/controller/core/configuration/Configuration.h b/DRAMSys/dramSys/src/controller/core/configuration/Configuration.h index 6ec2d8ee..9f882002 100644 --- a/DRAMSys/dramSys/src/controller/core/configuration/Configuration.h +++ b/DRAMSys/dramSys/src/controller/core/configuration/Configuration.h @@ -43,8 +43,10 @@ #include "MemSpec.h" #include "../../../common/Utils.h" +enum class ErrorStorageMode; +DEFINE_ENUM_CLASS_WITH_STRING_CONVERSIONS(ErrorStorageMode, (NoStorage)(Store)(ErrorModel)) + enum class EPowerDownMode{NoPowerDown, Staggered, TimeoutPDN, TimeoutSREF}; -DEFINE_ENUM_CLASS_WITH_STRING_CONVERSIONS(ErrorStorageMode, (NoStorage)(Store)(ErrorModel)); struct Configuration { From c0ded2274f3826f4232dd141f26e5346a9d14a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20Ferreira=20Zulian?= Date: Sun, 28 Jun 2015 15:07:41 +0200 Subject: [PATCH 2/2] Some template arguments removed. BUSWIDTH will be treated separately. --- DRAMSys/dramSys/src/simulation/Dram.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DRAMSys/dramSys/src/simulation/Dram.h b/DRAMSys/dramSys/src/simulation/Dram.h index 0c981fd3..f4f1fe44 100644 --- a/DRAMSys/dramSys/src/simulation/Dram.h +++ b/DRAMSys/dramSys/src/simulation/Dram.h @@ -57,8 +57,7 @@ using namespace std; using namespace tlm; using namespace Data; -template +template struct Dram : sc_module { // TLM Related: