ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
rrr.h
Go to the documentation of this file.
1#pragma once
2
3#include "rrrAndNetwork.h"
4#include "rrrScheduler.h"
5#include "rrrOptimizer.h"
6#include "rrrBddAnalyzer.h"
8#include "rrrAnalyzer.h"
9#include "rrrSatSolver.h"
10#include "rrrSimulator.h"
11#include "rrrPartitioner.h"
13
15
16namespace rrr {
17
18 template <typename Ntk>
19 void Perform(Ntk *pNtk, Parameter const *pPar) {
20 assert(!pPar->fUseBddCspf || !pPar->fUseBddMspf);
21 switch(pPar->nPartitionType) {
22 case 0:
23 if(pPar->fUseBddCspf) {
25 sch.Run();
26 } else if(pPar->fUseBddMspf) {
28 sch.Run();
29 } else {
31 sch.Run();
32 }
33 break;
34 case 1:
35 if(pPar->fUseBddCspf) {
37 sch.Run();
38 } else if(pPar->fUseBddMspf) {
40 sch.Run();
41 } else {
43 sch.Run();
44 }
45 break;
46 default:
47 assert(0);
48 }
49 }
50
51}
52
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
Definition rrr.h:16
void Perform(Ntk *pNtk, Parameter const *pPar)
Definition rrr.h:19
#define assert(ex)
Definition util_old.h:213