aboutsummaryrefslogtreecommitdiffstats
path: root/cyclonev/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cyclonev/archdefs.h')
-rw-r--r--cyclonev/archdefs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cyclonev/archdefs.h b/cyclonev/archdefs.h
index c522a83f..de04b4c7 100644
--- a/cyclonev/archdefs.h
+++ b/cyclonev/archdefs.h
@@ -52,6 +52,9 @@ struct DelayInfo
struct BelId
{
+ BelId() = default;
+ BelId(CycloneV::pos_t _pos, uint16_t _z) : pos{_pos}, z{_z} {}
+
// pos_t is used for X/Y, nextpnr-cyclonev uses its own Z coordinate system.
CycloneV::pos_t pos = 0;
uint16_t z = 0;
@@ -106,8 +109,6 @@ struct DecalId
struct ArchNetInfo
{
- bool is_global = false;
- bool is_reset = false, is_enable = false;
};
struct ArchCellInfo