summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-12-03 20:29:31 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2018-12-03 20:29:31 +0000
commit3997e718d97253c4d89bbc65623b34bba50ec44c (patch)
tree0aded6da4aaabed8403e9e2d806925ebf2747801
parent3ee45753a6954d7ae237979f95c065844f4cf2e6 (diff)
New upstream version 0.1+20180909git840bdfd
-rw-r--r--src/pcf.cc2
-rw-r--r--src/place.cc5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/pcf.cc b/src/pcf.cc
index e173117..902a12d 100644
--- a/src/pcf.cc
+++ b/src/pcf.cc
@@ -311,7 +311,7 @@ ConstraintsPlacer::place()
if (inst->get_param("IO_STANDARD").as_string() == "SB_LVDS_INPUT")
{
- if (b != 3)
+ if (b != 3 && ds.chipdb->device != "5k")
fatal(fmt("pcf error: LVDS port `" << p.first << "' not in bank 3\n"));
if (loc.pos() != 0)
fatal(fmt("pcf error: LVDS port `" << p.first << "' not a DPxxB input\n"));
diff --git a/src/place.cc b/src/place.cc
index 4c13db0..b908107 100644
--- a/src/place.cc
+++ b/src/place.cc
@@ -597,7 +597,7 @@ Placer::valid(int t)
Instance *inst0 = gates[g0];
if (inst0->get_param("IO_STANDARD").as_string() == "SB_LVDS_INPUT")
{
- if (b != 3)
+ if (b != 3 && chipdb->device != "5k")
return false;
if (g1)
return false;
@@ -2096,7 +2096,8 @@ Placer::configure()
{
Location partner_loc(loc.tile(), !loc.pos());
const Location &partner_ieren_loc = chipdb->ieren.at(partner_loc);
- configure_io(partner_ieren_loc, enable_input, enable_output, pullup, weak_pullup, pullup_strength);
+ // Set enable_output here to true to disable padeb to match icecu
+ configure_io(partner_ieren_loc, enable_input, true, pullup, weak_pullup, pullup_strength);
}
}