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:
parent
84cdfa55fc
commit
8689f5d339
3 changed files with 9 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue