Add missing <set> includes

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2023-01-20 09:04:41 +01:00
parent 06eaffc57c
commit 7845b66512
9 changed files with 13 additions and 3 deletions

View File

@ -34,6 +34,8 @@
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <random> #include <random>
#include <set>
#include "command.h" #include "command.h"
#include "design_utils.h" #include "design_utils.h"
#include "json_frontend.h" #include "json_frontend.h"

View File

@ -34,6 +34,7 @@
#include <deque> #include <deque>
#include <fstream> #include <fstream>
#include <queue> #include <queue>
#include <set>
#include "log.h" #include "log.h"
#include "nextpnr.h" #include "nextpnr.h"

View File

@ -1087,10 +1087,9 @@ struct Arch : BaseArch<ArchRanges>
mutable std::vector<TileStatus> tile_status; mutable std::vector<TileStatus> tile_status;
// ------------------------------------------------- // -------------------------------------------------
bool is_dsp_location_valid(CellInfo* cell) const; bool is_dsp_location_valid(CellInfo *cell) const;
void remap_dsp_blocks(); void remap_dsp_blocks();
void remap_dsp_cell(CellInfo* ci, const std::array<IdString, 4> &ports, void remap_dsp_cell(CellInfo *ci, const std::array<IdString, 4> &ports, std::array<NetInfo *, 4> &assigned_nets);
std::array<NetInfo*, 4> &assigned_nets);
}; };
NEXTPNR_NAMESPACE_END NEXTPNR_NAMESPACE_END

View File

@ -20,7 +20,9 @@
#include "config.h" #include "config.h"
#include <boost/range/adaptor/reversed.hpp> #include <boost/range/adaptor/reversed.hpp>
#include <iomanip> #include <iomanip>
#include <set>
#include "log.h" #include "log.h"
NEXTPNR_NAMESPACE_BEGIN NEXTPNR_NAMESPACE_BEGIN
#define fmt(x) (static_cast<const std::ostringstream &>(std::ostringstream() << x).str()) #define fmt(x) (static_cast<const std::ostringstream &>(std::ostringstream() << x).str())

View File

@ -28,6 +28,7 @@
#include <cmath> #include <cmath>
#include <cstring> #include <cstring>
#include <queue> #include <queue>
#include <set>
#include "constraints.impl.h" #include "constraints.impl.h"
#include "fpga_interchange.h" #include "fpga_interchange.h"

View File

@ -22,6 +22,7 @@
#define MACHXO2_ARCH_H #define MACHXO2_ARCH_H
#include <cstdint> #include <cstdint>
#include <set>
#include "base_arch.h" #include "base_arch.h"
#include "nextpnr_namespaces.h" #include "nextpnr_namespaces.h"

View File

@ -21,7 +21,9 @@
#include "config.h" #include "config.h"
#include <boost/range/adaptor/reversed.hpp> #include <boost/range/adaptor/reversed.hpp>
#include <iomanip> #include <iomanip>
#include <set>
#include "log.h" #include "log.h"
NEXTPNR_NAMESPACE_BEGIN NEXTPNR_NAMESPACE_BEGIN
#define fmt(x) (static_cast<const std::ostringstream &>(std::ostringstream() << x).str()) #define fmt(x) (static_cast<const std::ostringstream &>(std::ostringstream() << x).str())

View File

@ -24,6 +24,7 @@
#include <boost/range/adaptor/reversed.hpp> #include <boost/range/adaptor/reversed.hpp>
#include <queue> #include <queue>
#include <set>
NEXTPNR_NAMESPACE_BEGIN NEXTPNR_NAMESPACE_BEGIN
namespace { namespace {

View File

@ -25,6 +25,7 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <queue> #include <queue>
#include <set>
NEXTPNR_NAMESPACE_BEGIN NEXTPNR_NAMESPACE_BEGIN