The Class DESabstractMain holds common functionality for DESunorderedSerial and DESunordered. More...
#include <DESabstractMain.h>
Public Types | |
typedef SimObject::Graph | Graph |
typedef SimObject::GNode | GNode |
Public Member Functions | |
void | run (int argc, const char *argv[]) |
Run the simulation. | |
void | verify (const SimInit &simInit) |
Verify the output by comparing the final values of the outputs of the circuit from simulation against the values precomputed in the netlist file. | |
Protected Member Functions | |
virtual bool | isSerial () const =0 |
return true in serial versions and false in Galois versions | |
virtual void | runLoop (const SimInit &simInit)=0 |
Run loop. | |
std::string | getVersion () const |
Gets the version. | |
Protected Attributes | |
Graph | graph |
The graph. |
The Class DESabstractMain holds common functionality for DESunorderedSerial and DESunordered.
std::string DESabstractMain::getVersion | ( | ) | const [inline, protected] |
Gets the version.
virtual bool DESabstractMain::isSerial | ( | ) | const [protected, pure virtual] |
return true in serial versions and false in Galois versions
Implemented in DESunordered, and DESunorderedSerial.
void DESabstractMain::run | ( | int | argc, | |
const char * | argv[] | |||
) | [inline] |
Run the simulation.
argc | ||
argv |
virtual void DESabstractMain::runLoop | ( | const SimInit & | simInit | ) | [protected, pure virtual] |
void DESabstractMain::verify | ( | const SimInit & | simInit | ) | [inline] |
Verify the output by comparing the final values of the outputs of the circuit from simulation against the values precomputed in the netlist file.
Graph DESabstractMain::graph [protected] |
The graph.