diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-12-03 20:29:31 +0000 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-12-03 20:29:31 +0000 |
commit | 3997e718d97253c4d89bbc65623b34bba50ec44c (patch) | |
tree | 0aded6da4aaabed8403e9e2d806925ebf2747801 | |
parent | 3ee45753a6954d7ae237979f95c065844f4cf2e6 (diff) |
New upstream version 0.1+20180909git840bdfd
-rw-r--r-- | src/pcf.cc | 2 | ||||
-rw-r--r-- | src/place.cc | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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); } } |