aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch_place.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-14 21:52:01 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-14 21:52:01 +0200
commit355d33632cdbc1808e2d33ef89ed92052f9bb2ea (patch)
tree5de6a6f32f64569d1749618bb3b8d73f786bc8a3 /ice40/arch_place.cc
parent66ea22bb5cf6d1f75d65ec8c48fa962b70f4b5ee (diff)
downloadnextpnr-355d33632cdbc1808e2d33ef89ed92052f9bb2ea.tar.gz
nextpnr-355d33632cdbc1808e2d33ef89ed92052f9bb2ea.tar.bz2
nextpnr-355d33632cdbc1808e2d33ef89ed92052f9bb2ea.zip
ice40: Another arch_place fix
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch_place.cc')
-rw-r--r--ice40/arch_place.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc
index 206811e6..c02add1c 100644
--- a/ice40/arch_place.cc
+++ b/ice40/arch_place.cc
@@ -57,7 +57,7 @@ static bool logicCellsCompatible(const std::vector<const CellInfo *> &cells)
return false;
if (clk != get_net_or_nullptr(cell, "CLK"))
return false;
- if (sr != get_net_or_nullptr(cell, "CEN"))
+ if (sr != get_net_or_nullptr(cell, "SR"))
return false;
if (dffs_neg != bool(std::stoi(cell->params.at("NEG_CLK"))))
return false;