* Kambiz Samadi (Orion 2.0, UC San Diego)
*/
+#include "base/misc.hh"
#include "mem/ruby/network/orion/Buffer/BitlineUnit.hh"
#include "mem/ruby/network/orion/Buffer/SRAM.hh"
#include "mem/ruby/network/orion/TechParameter.hh"
//FIXME - no static power?
break;
default:
- printf("error\n");
+ fatal("Error in BITLINE model.\n");
}
return;
}
* Kambiz Samadi (Orion 2.0, UC San Diego)
*/
+#include "base/misc.hh"
#include "mem/ruby/network/orion/Buffer/OutdrvUnit.hh"
#include "mem/ruby/network/orion/TechParameter.hh"
#include "mem/ruby/network/orion/Buffer/SRAM.hh"
m_e_chg_data = 0;
break;
default:
- printf("error\n");
+ fatal("Incorrect OUTDRIVE model.\n");
}
m_i_static = calc_i_static();
* Kambiz Samadi (Orion 2.0, UC San Diego)
*/
+#include "base/misc.hh"
#include "mem/ruby/network/orion/Buffer/PrechargeUnit.hh"
#include "mem/ruby/network/orion/TechParameter.hh"
#include "mem/ruby/network/orion/Buffer/SRAM.hh"
case SINGLE_BITLINE: return 2;
case EQU_BITLINE: return 3;
case SINGLE_OTHER: return 1;
- default: printf("error\n"); return 0;
+ default: fatal("Incorrect Precharge Unit model.\n");
}
}
case SINGLE_BITLINE: return 1;
case EQU_BITLINE: return 2;
case SINGLE_OTHER: return 1;
- default: printf("error\n"); return 0;
+ default: fatal("Incorrect Precharge Unit model.\n");
}
}
#include "mem/ruby/network/orion/Type.hh"
#include "mem/ruby/network/orion/OrionConfig.hh"
#include "mem/ruby/network/orion/TechParameter.hh"
-#include <stdio.h>
class OutdrvUnit;
class AmpUnit;
* Kambiz Samadi (Orion 2.0, UC San Diego)
*/
+#include "base/misc.hh"
#include "mem/ruby/network/orion/Buffer/WordlineUnit.hh"
#include "mem/ruby/network/orion/Buffer/SRAM.hh"
#include "mem/ruby/network/orion/TechParameter.hh"
m_i_static = 0;
break;
default:
- printf("error\n");
+ fatal("Incorrect Wordline model.\n");
}
return;
}