simple_simulation.hpp File Reference

Very simple simulation, only efficient for small circuits. More...

Classes

struct  core_gate_simulation
 A gate simulation implementation of gate_simulation_func. More...

Namespaces

namespace  revkit
 

Main namespace.


Typedefs

typedef boost::function
< boost::dynamic_bitset
<> &(const gate
&, boost::dynamic_bitset<> &)> 
gate_simulation_func
 Functor for gate-wise simulation, used as a setting for simple_simulation.
typedef boost::function< void(const
gate &, const
boost::dynamic_bitset<> &)> 
step_result_func
 Functor which is called after a step result is calculated.

Functions

bool simple_simulation (boost::dynamic_bitset<> &output, const gate &g, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a single gate.
bool simple_simulation (boost::dynamic_bitset<> &output, circuit::const_iterator first, circuit::const_iterator last, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a range of gates.
bool simple_simulation (boost::dynamic_bitset<> &output, const circuit &circ, const boost::dynamic_bitset<> &input, properties::ptr settings=properties::ptr(), properties::ptr statistics=properties::ptr())
 Simple Simulation function for a circuit.
simulation_func simple_simulation_func (properties::ptr settings=properties::ptr(new properties()), properties::ptr statistics=properties::ptr(new properties()))
 Functor for the simple_simulation algorithm.

Detailed Description

Very simple simulation, only efficient for small circuits.


Generated on Fri Jul 2 07:50:42 2010 for by doxygen 1.6.3