3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

subcircuit library: implied allExtern for mining

This commit is contained in:
Clifford Wolf 2013-03-02 14:34:00 +01:00
parent 84cdfa55fc
commit 8689f5d339
3 changed files with 9 additions and 7 deletions

View file

@ -1155,7 +1155,6 @@ class SubCircuit::SolverWorker
for (auto &it : graphData)
{
GraphData &haystack = it.second;
assert(haystack.graph.allExtern);
std::vector<std::set<int>> enumerationMatrix;
std::map<std::string, std::set<std::string>> initialMappings;
@ -1176,6 +1175,7 @@ class SubCircuit::SolverWorker
for (int nodeIdx : testSet.nodes)
needle_nodes.push_back(graph.nodes[nodeIdx].nodeId);
needle.graph = Graph(graph, needle_nodes);
needle.graph.markAllExtern();
diCache.add(needle.graph, needle.adjMatrix, graphId, userSolver);
std::vector<Solver::Result> ullmannResults;