mirror of https://github.com/YosysHQ/yosys.git
Minor hotfixes (mostly gcc build fixes)
This commit is contained in:
parent
65e5e1658c
commit
45bfe26f5f
|
@ -22,6 +22,8 @@
|
|||
#include <string.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
using RTLIL::id2cstr;
|
||||
|
||||
static std::vector<RTLIL::Selection> work_stack;
|
||||
|
||||
static bool match_ids(RTLIL::IdString id, std::string pattern)
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
|
||||
using RTLIL::id2cstr;
|
||||
|
||||
#undef CLUSTER_CELLS_AND_PORTBOXES
|
||||
|
||||
struct ShowWorker
|
||||
|
|
|
@ -1274,6 +1274,10 @@ class SubCircuit::SolverWorker
|
|||
const std::string &graphId = graph_it.first;
|
||||
const auto &graph = graph_it.second.graph;
|
||||
int node2 = adj_it.first;
|
||||
|
||||
if (node1 == node2)
|
||||
continue;
|
||||
|
||||
NodeSet pair(graphId, node1, node2);
|
||||
|
||||
if (usedPairs.count(pair) > 0)
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
#include <stdio.h>
|
||||
#include <set>
|
||||
|
||||
using RTLIL::id2cstr;
|
||||
|
||||
struct OptMuxtreeWorker
|
||||
{
|
||||
RTLIL::Design *design;
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
#include <stdio.h>
|
||||
#include <set>
|
||||
|
||||
using RTLIL::id2cstr;
|
||||
|
||||
static CellTypes ct;
|
||||
|
||||
static void rmunused_module_cells(RTLIL::Module *module)
|
||||
|
|
Loading…
Reference in New Issue