diff options
-rw-r--r-- | utils/regtools/qeditor/std_analysers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/regtools/qeditor/std_analysers.cpp b/utils/regtools/qeditor/std_analysers.cpp index 5847e39f7d..f278c2a526 100644 --- a/utils/regtools/qeditor/std_analysers.cpp +++ b/utils/regtools/qeditor/std_analysers.cpp @@ -468,7 +468,7 @@ void EmiAnalyser::FillTable() ports.erase(ports.begin() + value / 6); int ord[6][3] = { {0, 1, 2}, {2, 0, 1}, {1, 2, 0}, {2, 1, 0}, {1, 0, 2}, {0, 2, 1} }; for(int i = 0; i < 3; i++) - order += ", " + ports[ord[value][i]]; + order += ", " + ports[ord[value % 6][i]]; AddLine("Port Priority Order", value, "", order); } |