aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-05-01 16:26:43 -0700
committerEddie Hung <eddie@fpgeh.com>2019-05-01 16:26:43 -0700
commitf86d153cef724af9d30e4139783a7e14d7ba0a19 (patch)
tree1c2cd09407cbeef2f68c19f9bcfb95566355fa01 /passes/cmds
parentacafcdc94dc148b2bf9c8faef173e5b2b54e1ac5 (diff)
parent7a0af004a0a4dc3831997f0845d40fc3ea514281 (diff)
downloadyosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.tar.gz
yosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.tar.bz2
yosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.zip
Merge branch 'master' of github.com:YosysHQ/yosys
Diffstat (limited to 'passes/cmds')
-rw-r--r--passes/cmds/qwp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/qwp.cc b/passes/cmds/qwp.cc
index 1c64a7b77..adbe89e31 100644
--- a/passes/cmds/qwp.cc
+++ b/passes/cmds/qwp.cc
@@ -291,7 +291,7 @@ struct QwpWorker
// gaussian elimination
for (int i = 0; i < N; i++)
{
- if (config.verbose && ((i+1) % (N/15)) == 0)
+ if (config.verbose && N > 15 && ((i+1) % (N/15)) == 0)
log("> Solved %d%%: %d/%d\n", (100*(i+1))/N, i+1, N);
// find best row