mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 06:22:48 -04:00
better ordering of input bus in generated circuits
This commit is contained in:
parent
df554b1d97
commit
9b4a9eedef
@ -359,7 +359,7 @@ public class CircuitBuilder implements BuilderInterface<CircuitBuilder> {
|
||||
String oName = name.getIdentifier();
|
||||
if (oName.endsWith("n")) {
|
||||
oName = oName.substring(0, oName.length() - 1);
|
||||
if (oName.endsWith("_")) oName = oName.substring(0, oName.length() - 1);
|
||||
if (oName.endsWith("_") || oName.endsWith("^")) oName = oName.substring(0, oName.length() - 1);
|
||||
}
|
||||
if (!combinatorialOutputs.contains(oName)) {
|
||||
VisualElement t = new VisualElement(Tunnel.DESCRIPTION.getName()).setShapeFactory(shapeFactory);
|
||||
|
Loading…
x
Reference in New Issue
Block a user