dramsim2_wrapper.cc (10066:06a33d872798) | dramsim2_wrapper.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 34 unchanged lines hidden (view full) --- 43 * When building the debug binary, we need to undo the command-line 44 * definition of DEBUG not to clash with DRAMSim2 print macros that 45 * are included for no obvious reason. 46 */ 47#ifdef DEBUG 48#undef DEBUG 49#endif 50 | 1/* 2 * Copyright (c) 2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 34 unchanged lines hidden (view full) --- 43 * When building the debug binary, we need to undo the command-line 44 * definition of DEBUG not to clash with DRAMSim2 print macros that 45 * are included for no obvious reason. 46 */ 47#ifdef DEBUG 48#undef DEBUG 49#endif 50 |
51#include "mem/dramsim2_wrapper.hh" 52 |
|
51#include <fstream> 52 53#include "DRAMSim2/MultiChannelMemorySystem.h" 54#include "base/compiler.hh" 55#include "base/misc.hh" | 53#include <fstream> 54 55#include "DRAMSim2/MultiChannelMemorySystem.h" 56#include "base/compiler.hh" 57#include "base/misc.hh" |
56#include "mem/dramsim2_wrapper.hh" | |
57 58/** 59 * DRAMSim2 requires SHOW_SIM_OUTPUT to be defined (declared extern in 60 * the DRAMSim2 print macros), otherwise we get linking errors due to 61 * undefined references 62 */ 63int SHOW_SIM_OUTPUT = 0; 64 --- 135 unchanged lines hidden --- | 58 59/** 60 * DRAMSim2 requires SHOW_SIM_OUTPUT to be defined (declared extern in 61 * the DRAMSim2 print macros), otherwise we get linking errors due to 62 * undefined references 63 */ 64int SHOW_SIM_OUTPUT = 0; 65 --- 135 unchanged lines hidden --- |