Permalink
Browse files

open eDRAM option

  • Loading branch information...
cxxz committed Jul 31, 2013
1 parent 92ea4e7 commit 1938868f3cce86abdc89949e6e2013b56f998d00
Showing with 5 additions and 5 deletions.
  1. +1 −1 MemCell.cpp
  2. +1 −1 SenseAmp.cpp
  3. +1 −1 SubArray.cpp
  4. +2 −2 main.cpp
View
@@ -334,7 +334,7 @@ void MemCell::ReadCellFromFile(const string & inputFile)
}
if (!strncmp("-DRAMCellCapacitance", line, strlen("-DRAMCellCapacitance"))) {
if (memCellType != DRAM || memCellType != eDRAM)
if (memCellType != DRAM && memCellType != eDRAM)
cout << "Warning: The input of DRAM cell capacitance is ignored because the memory cell is not DRAM." << endl;
else
sscanf(line, "-DRAMCellCapacitance (F): %lf", &capDRAMCell);
View
@@ -58,7 +58,7 @@ void SenseAmp::Initialize(long long _numColumn, bool _currentSense, double _sens
senseVoltage = _senseVoltage;
pitchSenseAmp = _pitchSenseAmp;
if (pitchSenseAmp <= tech->featureSize * 6) {
if (pitchSenseAmp <= tech->featureSize * 2) {
/* too small, cannot do the layout */
invalid = true;
}
View
@@ -81,7 +81,7 @@ void SubArray::Initialize(long long _numRow, long long _numColumn, bool _multipl
}
if (cell->memCellType == DRAM || cell->memCellType == eDRAM) {
if (muxSenseAmp > 0) {
if (muxSenseAmp > 1) {
/* DRAM does not allow muxed bitline because of its destructive readout */
invalid = true;
initialized = true;
View
@@ -480,8 +480,8 @@ void applyConstraint() {
exit(-1);
}
if (cell->memCellType == eDRAM) {
cout << "[ERROR] Embedded DRAM model is still under development" << endl;
exit(-1);
cout << "[Warning] Embedded DRAM model is still under development" << endl;
//exit(-1);
}
if (cell->memCellType == MLCNAND) {
cout << "[ERROR] MLC NAND flash model is still under development" << endl;

0 comments on commit 1938868

Please sign in to comment.