MulFactory Class Template Reference

List of all members.


Detailed Description

template<int N, int CA_SIZE>
class MulFactory< N, CA_SIZE >

Static-only factory creating evaluators for mul2x3/mul3x3 circuits.

Parameters:
N Count of input/output signals to bind.
CA_SIZE CA's size in one direction.

Definition at line 376 of file CaFactory.cpp.


Public Types

typedef MulGate< N > TGate
typedef MulBinder< N, CA_SIZE >
::tag 
TBinding
typedef MulParams TParams

Static Public Member Functions

static CaEvaluatorcreate ()
 Return newly created instance of CaEvaluator object.

Private Attributes

CT_ASSERT
< TBinding::BOUND_INPUTS==MASK
___COMPILE_TIME_ERROR__INAPPROPRIATE_INPUT_BINDING_FOR_MUX4___
 abort compilation if the input binding is inappropriate
CT_ASSERT
< TBinding::BOUND_OUTPUTS==MASK
___COMPILE_TIME_ERROR__INAPPROPRIATE_OUTPUT_BINDING_FOR_MUX4___
 abort compilation if the output binding is inappropriate

Static Private Attributes

static const size_t MASK = (1 << N) - 1

Member Typedef Documentation

typedef MulGate<N> TGate

Definition at line 389 of file CaFactory.cpp.

typedef MulBinder<N, CA_SIZE>::tag TBinding

Definition at line 390 of file CaFactory.cpp.

typedef MulParams TParams

Definition at line 391 of file CaFactory.cpp.


Member Function Documentation

static CaEvaluator* create (  )  [inline, static]

Return newly created instance of CaEvaluator object.

Definition at line 397 of file CaFactory.cpp.

References PrivateFactory::create().

Here is the call graph for this function:


Member Data Documentation

const size_t MASK = (1 << N) - 1 [static, private]

Definition at line 378 of file CaFactory.cpp.

CT_ASSERT<TBinding::BOUND_INPUTS == MASK> ___COMPILE_TIME_ERROR__INAPPROPRIATE_INPUT_BINDING_FOR_MUX4___ [private]

abort compilation if the input binding is inappropriate

Definition at line 404 of file CaFactory.cpp.

CT_ASSERT<TBinding::BOUND_OUTPUTS == MASK> ___COMPILE_TIME_ERROR__INAPPROPRIATE_OUTPUT_BINDING_FOR_MUX4___ [private]

abort compilation if the output binding is inappropriate

Definition at line 408 of file CaFactory.cpp.


The documentation for this class was generated from the following file:
Generated on Sat May 2 16:39:40 2009 for nucad by  doxygen 1.5.4