yosys-master
|
Public Member Functions | |
SubCircuitSolver () | |
bool | compareAttributes (const std::set< RTLIL::IdString > &attr, const std::map< RTLIL::IdString, RTLIL::Const > &needleAttr, const std::map< RTLIL::IdString, RTLIL::Const > &haystackAttr) |
RTLIL::Const | unified_param (RTLIL::IdString cell_type, RTLIL::IdString param, RTLIL::Const value) |
virtual bool | userCompareNodes (const std::string &, const std::string &, void *needleUserData, const std::string &, const std::string &, void *haystackUserData, const std::map< std::string, std::string > &portMapping) |
void | setVerbose () |
void | addGraph (std::string graphId, const Graph &graph) |
void | addCompatibleTypes (std::string needleTypeId, std::string haystackTypeId) |
void | addCompatibleConstants (int needleConstant, int haystackConstant) |
void | addSwappablePorts (std::string needleTypeId, std::string portId1, std::string portId2, std::string portId3=std::string(), std::string portId4=std::string()) |
void | addSwappablePorts (std::string needleTypeId, std::set< std::string > ports) |
void | addSwappablePortsPermutation (std::string needleTypeId, std::map< std::string, std::string > portMapping) |
void | solve (std::vector< Result > &results, std::string needleGraphId, std::string haystackGraphId, bool allowOverlap=true, int maxSolutions=-1) |
void | solve (std::vector< Result > &results, std::string needleGraphId, std::string haystackGraphId, const std::map< std::string, std::set< std::string >> &initialMapping, bool allowOverlap=true, int maxSolutions=-1) |
void | mine (std::vector< MineResult > &results, int minNodes, int maxNodes, int minMatches, int limitMatchesPerGraph=-1) |
void | clearOverlapHistory () |
void | clearConfig () |
Data Fields | |
bool | ignore_parameters |
std::set< std::pair < RTLIL::IdString, RTLIL::IdString > > | ignored_parameters |
std::set< RTLIL::IdString > | cell_attr |
std::set< RTLIL::IdString > | wire_attr |
Protected Member Functions | |
virtual std::string | userAnnotateEdge (const std::string &graphId, const std::string &fromNodeId, void *fromUserData, const std::string &toNodeId, void *toUserData) |
virtual bool | userCompareEdge (const std::string &needleGraphId, const std::string &needleFromNodeId, void *needleFromUserData, const std::string &needleToNodeId, void *needleToUserData, const std::string &haystackGraphId, const std::string &haystackFromNodeId, void *haystackFromUserData, const std::string &haystackToNodeId, void *haystackToUserData) |
virtual bool | userCheckSolution (const Result &result) |
Definition at line 34 of file extract.cc.
|
inline |
Definition at line 41 of file extract.cc.
|
inherited |
Definition at line 1642 of file subcircuit.cc.
|
inherited |
Definition at line 1637 of file subcircuit.cc.
|
inherited |
Definition at line 1632 of file subcircuit.cc.
|
inherited |
Definition at line 1647 of file subcircuit.cc.
|
inherited |
Definition at line 1658 of file subcircuit.cc.
|
inherited |
Definition at line 1663 of file subcircuit.cc.
|
inherited |
|
inherited |
Definition at line 1685 of file subcircuit.cc.
|
inline |
|
inherited |
Definition at line 1680 of file subcircuit.cc.
|
inherited |
|
inherited |
Definition at line 1668 of file subcircuit.cc.
|
inherited |
Definition at line 1674 of file subcircuit.cc.
|
inline |
Definition at line 55 of file extract.cc.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
inlinevirtual |
Reimplemented from SubCircuit::Solver.
Definition at line 96 of file extract.cc.
std::set<RTLIL::IdString> SubCircuitSolver::cell_attr |
Definition at line 39 of file extract.cc.
bool SubCircuitSolver::ignore_parameters |
Definition at line 37 of file extract.cc.
std::set<std::pair<RTLIL::IdString, RTLIL::IdString> > SubCircuitSolver::ignored_parameters |
Definition at line 38 of file extract.cc.
std::set<RTLIL::IdString> SubCircuitSolver::wire_attr |
Definition at line 39 of file extract.cc.