Quick and Dirty XML - Refactoring necessary
This commit is contained in:
@@ -17,14 +17,17 @@
|
||||
#include <string>
|
||||
#include <systemc.h>
|
||||
#include "TracePlayerListener.h"
|
||||
#include "../common/third_party/tinyxml2.h"
|
||||
|
||||
struct DramSetup
|
||||
{
|
||||
DramSetup():memconfig(""),memspec(""){}
|
||||
DramSetup(std::string memconfig, std::string memspec, std::string addressmapping) : memconfig(memconfig), memspec(memspec), addressmapping(addressmapping) {}
|
||||
std::string memconfig;
|
||||
std::string memspec;
|
||||
std::string addressmapping;
|
||||
DramSetup():memspec(NULL),memconfig(NULL),simconfig(NULL),addressmapping(NULL){}
|
||||
DramSetup(tinyxml2::XMLElement* memspec, tinyxml2::XMLElement* memconfig, tinyxml2::XMLElement* simconfig, tinyxml2::XMLElement* addressmapping)
|
||||
: memspec(memspec), memconfig(memconfig), simconfig(simconfig), addressmapping(addressmapping) {}
|
||||
tinyxml2::XMLElement* memspec;
|
||||
tinyxml2::XMLElement* memconfig;
|
||||
tinyxml2::XMLElement* simconfig;
|
||||
tinyxml2::XMLElement* addressmapping;
|
||||
};
|
||||
|
||||
struct Device
|
||||
|
||||
Reference in New Issue
Block a user