diff options
| author | David Shah <davey1576@gmail.com> | 2019-03-21 12:36:11 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-21 12:36:11 +0000 | 
| commit | 0d064c05f91b548638530e6e159ca9f8aa0fa352 (patch) | |
| tree | 98cd8f35fd28dfc7c7dbcd17cb1b439fab892d35 /common | |
| parent | 85bff663932db051a4f7760e9a02bfd20e471108 (diff) | |
| parent | 997a66791e13c8e983fcd01473d51a66cbb971b7 (diff) | |
| download | nextpnr-0d064c05f91b548638530e6e159ca9f8aa0fa352.tar.gz nextpnr-0d064c05f91b548638530e6e159ca9f8aa0fa352.tar.bz2 nextpnr-0d064c05f91b548638530e6e159ca9f8aa0fa352.zip  | |
Merge pull request #252 from YosysHQ/tristate_json
json: Fix inputs directly driving inouts
Diffstat (limited to 'common')
| -rw-r--r-- | common/placer1.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer1.cc b/common/placer1.cc index cec37847..5b72602f 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -230,7 +230,7 @@ class SAPlacer              double upper = 0.6, lower = 0.4; -            if (curr_metric < 0.95 * avg_metric) { +            if (curr_metric < 0.95 * avg_metric && curr_metric > 0) {                  avg_metric = 0.8 * avg_metric + 0.2 * curr_metric;              } else {                  if (Raccept >= 0.8) {  | 
