34 lines
548 B
C++
34 lines
548 B
C++
/*
|
|
* Configuration.h
|
|
*
|
|
* Created on: Mar 6, 2014
|
|
* Author: jonny
|
|
*/
|
|
|
|
#ifndef CONFIGURATION_H_
|
|
#define CONFIGURATION_H_
|
|
|
|
#include <systemc.h>
|
|
#include "TimingConfiguration.h"
|
|
|
|
namespace core{
|
|
|
|
struct Configuration
|
|
{
|
|
Configuration(): numberOfBanks(8), burstlength(2), Timings(numberOfBanks), RefreshBankwise(false),
|
|
nActivate(2)
|
|
{}
|
|
unsigned int numberOfBanks;
|
|
unsigned int burstlength;
|
|
TimingConfiguration Timings;
|
|
|
|
bool RefreshBankwise;
|
|
unsigned int nActivate;
|
|
|
|
};
|
|
|
|
} /* namespace controller */
|
|
|
|
|
|
#endif /* CONFIGURATION_H_ */
|