aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2023-01-20 09:04:41 +0100
committergatecat <gatecat@ds0.me>2023-01-20 09:04:41 +0100
commit7845b665125074d6cc9d7b71d1d69f8c261c1d50 (patch)
tree32792ec9c0ea391c0084a8968d2853151a1a4113 /ecp5
parent06eaffc57cdd9f4083a4ed2bab435771a8121ad0 (diff)
downloadnextpnr-7845b665125074d6cc9d7b71d1d69f8c261c1d50.tar.gz
nextpnr-7845b665125074d6cc9d7b71d1d69f8c261c1d50.tar.bz2
nextpnr-7845b665125074d6cc9d7b71d1d69f8c261c1d50.zip
Add missing <set> includes
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.h5
-rw-r--r--ecp5/config.cc2
2 files changed, 4 insertions, 3 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index 40b931d6..56ba3e7b 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -1087,10 +1087,9 @@ struct Arch : BaseArch<ArchRanges>
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_cell(CellInfo* ci, const std::array<IdString, 4> &ports,
- std::array<NetInfo*, 4> &assigned_nets);
+ void remap_dsp_cell(CellInfo *ci, const std::array<IdString, 4> &ports, std::array<NetInfo *, 4> &assigned_nets);
};
NEXTPNR_NAMESPACE_END
diff --git a/ecp5/config.cc b/ecp5/config.cc
index e44326be..ea9ece0d 100644
--- a/ecp5/config.cc
+++ b/ecp5/config.cc
@@ -20,7 +20,9 @@
#include "config.h"
#include <boost/range/adaptor/reversed.hpp>
#include <iomanip>
+#include <set>
#include "log.h"
+
NEXTPNR_NAMESPACE_BEGIN
#define fmt(x) (static_cast<const std::ostringstream &>(std::ostringstream() << x).str())