Commit 4a6778d6 authored by sparsh's avatar sparsh
Browse files

Changing default OptimizationTarget to WriteEDP from Full. More detaild error messages.


Signed-off-by: default avatarsparsh <sparsh0mittal@gmail.com>
parent a5d0153c
......@@ -115,6 +115,7 @@ void InputParameter::ReadInputParameterFromFile(const std::string & inputFile) {
if (!fp) {
cout << inputFile << " cannot be found!\n";
cout<<" This file may be present in \"config\" folder. If so, please run destiny from that folder, otherwise, change the file name to include folder location.\n";
exit(-1);
}
......@@ -694,7 +695,8 @@ void InputParameter::PrintInputParameter() {
// TO-DO: tedious work here!!!
if (optimizationTarget == full_exploration) {
cout << endl << "Full design space exploration ... might take hours" << endl;
cout << endl << "Full design space exploration ... might take hours and will produce a csv" << endl;
cout << "If you are interested in optimizing for a single metric only, please change -OptimizationTarget in *cfg file, for example \n -OptimizationTarget: WriteEDP" << endl;
} else {
cout << endl << "Searching for the best solution that is optimized for ";
switch (optimizationTarget) {
......
......@@ -75,6 +75,7 @@ void MemCell::ReadCellFromFile(const string & inputFile)
if (!fp) {
cout << inputFile << " cannot be found!\n";
cout<<" This file may be present in \"config\" folder. If so, please run destiny from that folder, otherwise, change the file name to include folder location.\n";
exit(-1);
}
......
......@@ -130,6 +130,12 @@ target (can be used to find the best of multiple technology inputs).
-ForceBankA: Same as ForceBank in NVSim, except forcing the number of active Mats is not required.
-ForceMatA: Same as ForceMat in NVSim, except forcing the number of active Subarrays is not required.
Making output concise or detailed:
-PrintLevel: 0 -> does NOT produce CACHE DATA ARRAY DETAILS and CACHE TAG ARRAY DETAILS
Or
-PrintLevel: 1 -> produces CACHE DATA ARRAY DETAILS and CACHE TAG ARRAY DETAILS
For more details on this, see Result.cpp file.
-------------------------------------------------------
### Hacking DESTINY code and possible extensions
......
......@@ -25,7 +25,8 @@
-Temperature (K): 350
//-OptimizationTarget: WriteLatency
-OptimizationTarget: Full
//-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
-BufferDesignOptimization: balanced
......
......@@ -29,7 +29,8 @@
-Temperature (K): 370
-RetentionTime (us): 40
-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
//-OptimizationTarget: Full
-EnablePruning: Yes
-BufferDesignOptimization: latency
......
......@@ -25,7 +25,8 @@
-Temperature (K): 350
//-OptimizationTarget: WriteLatency
-OptimizationTarget: Full
//-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
-BufferDesignOptimization: balanced
......
......@@ -30,7 +30,9 @@
//-OptimizationTarget: Area
//-OptimizationTarget: WriteLatency
-OptimizationTarget: Full
//-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
-EnablePruning: Yes
-BufferDesignOptimization: latency
......
......@@ -27,7 +27,8 @@
-Temperature (K): 350
-EnablePruning: Yes
-OptimizationTarget: Full
//-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
//-OptimizationTarget: Area
-BufferDesignOptimization: latency
......
......@@ -28,7 +28,8 @@
-Temperature (K): 350
-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
//-OptimizationTarget: Full
//-OptimizationTarget: ReadLatency
//-OptimizationTarget: ReadDynamicEnergy
-EnablePruning: Yes
......
......@@ -28,7 +28,8 @@
-Temperature (K): 350
-OptimizationTarget: Full
//-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
//-OptimizationTarget: ReadLatency
//-OptimizationTarget: ReadDynamicEnergy
-EnablePruning: Yes
......
......@@ -27,7 +27,8 @@
-Temperature (K): 350
-EnablePruning: Yes
-OptimizationTarget: Full
-OptimizationTarget: WriteEDP
//-OptimizationTarget: Full
//-OptimizationTarget: WriteLatency
-BufferDesignOptimization: latency
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment