Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EDA-1876] Pin planner: fixed package pins loading #1236

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PinAssignment/PackagePinsLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void PackagePinsLoader::parseHeader(const QString &header) {
QStringList modesRx{};
QStringList modesTx{};
for (const auto &col : columns) {
if (col.startsWith("Mode_")) {
if (col.startsWith("Mode_", Qt::CaseInsensitive)) {
m_model->insertMode(columns.indexOf(col) - 1, col);
if (col.endsWith("tx", Qt::CaseInsensitive))
modesTx.append(col);
Expand Down
26 changes: 13 additions & 13 deletions src/PinAssignment/PackagePinsModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ enum PinData {
BallId = 2,
InternalPinName = 12,
ModeFirst = 13,
ModeLast = 42,
RefClock = 43,
Bank = 44,
ALT = 45,
DebugMode = 46,
ScanMode = 47,
MbistMode = 48,
Type = 49,
Dir = 50,
Voltage = 51,
PowerPad = 52,
Discription = 53,
Voltage2 = 54,
ModeLast = 46,
RefClock = 57,
Bank = 58,
ALT = 59,
DebugMode = 60,
ScanMode = 61,
MbistMode = 62,
Type = 63,
Dir = 64,
Voltage = 65,
PowerPad = 66,
Discription = 67,
Voltage2 = 68,
};

struct PackagePinData {
Expand Down
Loading