DESabstractMain Class Reference

The Class DESabstractMain holds common functionality for DESunorderedSerial and DESunordered. More...

#include <DESabstractMain.h>

Inheritance diagram for DESabstractMain:
DESunordered DESunorderedSerial

List of all members.

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.

Detailed Description

The Class DESabstractMain holds common functionality for DESunorderedSerial and DESunordered.


Member Typedef Documentation


Member Function Documentation

std::string DESabstractMain::getVersion (  )  const [inline, protected]

Gets the version.

Returns:
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.

Parameters:
argc 
argv 
virtual void DESabstractMain::runLoop ( const SimInit simInit  )  [protected, pure virtual]

Run loop.

Exceptions:
Exception the exception

Implemented in DESunordered, and DESunorderedSerial.

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.


Member Data Documentation

The graph.


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:27 2011 for Galois by  doxygen 1.6.3