diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-02-07 12:42:23 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-02-07 12:42:23 -0600 |
commit | 10b4b364d9d42bcefda7ff18e1de9152dc6456d1 (patch) | |
tree | 1a1cd1398003b2366dbfd63ff2f16acf0c2e314b /src/mem/ruby/network/orion/Buffer/WordlineUnit.cc | |
parent | 1b4e78840748a913d0e18e14dc08ae9ea0980234 (diff) | |
download | gem5-10b4b364d9d42bcefda7ff18e1de9152dc6456d1.tar.xz |
Orion: Replace printf() with fatal()
The code for Orion 2.0 makes use of printf() at several places where there as
an error in configuration of the model. These have been replaced with fatal().
Diffstat (limited to 'src/mem/ruby/network/orion/Buffer/WordlineUnit.cc')
-rw-r--r-- | src/mem/ruby/network/orion/Buffer/WordlineUnit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/network/orion/Buffer/WordlineUnit.cc b/src/mem/ruby/network/orion/Buffer/WordlineUnit.cc index bc28444e2..3f2cdc34b 100644 --- a/src/mem/ruby/network/orion/Buffer/WordlineUnit.cc +++ b/src/mem/ruby/network/orion/Buffer/WordlineUnit.cc @@ -33,6 +33,7 @@ * 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" @@ -118,7 +119,7 @@ void WordlineUnit::init() m_i_static = 0; break; default: - printf("error\n"); + fatal("Incorrect Wordline model.\n"); } return; } |