diff options
author | David Shah <dave@ds0.me> | 2020-01-15 12:59:20 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:27 +0000 |
commit | 46010f33ad1ffa1d1b7f6ec053fcb9c3596e514a (patch) | |
tree | f6358887cc0d3f9f223ee1ff55ba38bfc63cd94c | |
parent | b5d46a0235464dbf27e49f804ef69e7fa434828c (diff) | |
download | nextpnr-46010f33ad1ffa1d1b7f6ec053fcb9c3596e514a.tar.gz nextpnr-46010f33ad1ffa1d1b7f6ec053fcb9c3596e514a.tar.bz2 nextpnr-46010f33ad1ffa1d1b7f6ec053fcb9c3596e514a.zip |
nexus: Globals and naming fixes
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r-- | nexus/arch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nexus/arch.h b/nexus/arch.h index f0f51271..f787c2b3 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -213,7 +213,7 @@ NPNR_PACKED_STRUCT(struct GlobalHrowInfoPOD { uint16_t hrow_col; uint16_t padding; uint32_t num_spine_cols; - RelPtr<uint16_t> spine_cols; + RelPtr<uint32_t> spine_cols; }); NPNR_PACKED_STRUCT(struct GlobalInfoPOD { @@ -799,7 +799,7 @@ struct Arch : BaseCtx { std::string name = "X"; name += std::to_string(bel.tile % chip_info->width); - name += "Y"; + name += "/Y"; name += std::to_string(bel.tile / chip_info->width); name += "/"; name += nameOf(IdString(bel_data(bel).name)); @@ -910,7 +910,7 @@ struct Arch : BaseCtx { std::string name = "X"; name += std::to_string(wire.tile % chip_info->width); - name += "Y"; + name += "/Y"; name += std::to_string(wire.tile / chip_info->width); name += "/"; name += nameOf(IdString(wire_data(wire).name)); |