aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-09-29 17:36:08 +0100
committerDavid Shah <davey1576@gmail.com>2018-09-29 17:36:08 +0100
commitc5f9a12bb103626e980bd4b843d270eb3ae64d41 (patch)
treeb52c6573dfae639474997f0a72a05a854e8bb396 /ecp5
parentc2a062d254a749cb194ed7fcd44072b69bc9f2ff (diff)
downloadnextpnr-c5f9a12bb103626e980bd4b843d270eb3ae64d41.tar.gz
nextpnr-c5f9a12bb103626e980bd4b843d270eb3ae64d41.tar.bz2
nextpnr-c5f9a12bb103626e980bd4b843d270eb3ae64d41.zip
ecp5: Global router produces a working bitstream
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc2
-rw-r--r--ecp5/bitstream.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 861aeef2..1479e6ca 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -568,6 +568,8 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, Id
if (port == id_O)
return TMG_STARTPOINT;
return TMG_IGNORE;
+ } else if (cell->type == id_DCCA) {
+ return TMG_IGNORE;
} else {
NPNR_ASSERT_FALSE_STR("no timing data for cell type '" + cell->type.str(this) + "'");
}
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index a1edf9e5..f04b1269 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -294,6 +294,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
if (dir == "INPUT" && !is_differential(ioType_from_str(iotype))) {
cc.tiles[pio_tile].add_enum(pio + ".HYSTERESIS", "ON");
}
+ } else if (ci->type == ctx->id("DCCA")) {
+ // Nothing to do
} else {
NPNR_ASSERT_FALSE("unsupported cell type");
}