We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471b8ac commit 2254e39Copy full SHA for 2254e39
src/com/xilinx/rapidwright/edif/EDIFPort.java
@@ -378,7 +378,7 @@ public int[] getBitBlastedIndices() {
378
if (isBus()) {
379
int lastLeftBracket = getName().lastIndexOf('[');
380
assert(lastLeftBracket != -1);
381
- return getName().contains(":") ?
+ return getName().indexOf(':', lastLeftBracket) != -1 ?
382
EDIFTools.bitBlastBus(getName().substring(lastLeftBracket)) :
383
new int[] { Integer.parseInt(getName().substring(lastLeftBracket, getName().length() - 1)) };
384
}
0 commit comments