projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Equivalent inner components now exchangeable. Fixed in/output pin order.
[Mograsim.git]
/
net.mograsim.logic.ui
/
src
/
net
/
mograsim
/
logic
/
ui
/
model
/
components
/
SimpleRectangularSubmodelComponent.java
diff --git
a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/SimpleRectangularSubmodelComponent.java
b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/SimpleRectangularSubmodelComponent.java
index
17fa8ab
..
59d800a
100644
(file)
--- a/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/SimpleRectangularSubmodelComponent.java
+++ b/
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/components/SimpleRectangularSubmodelComponent.java
@@
-128,8
+128,8
@@
public class SimpleRectangularSubmodelComponent extends SubmodelComponent
ret.type = SimpleRectangularSubmodelComponent.class.getSimpleName();
Map<String, Object> m = new TreeMap<>();
m.put(kLabel, label);
ret.type = SimpleRectangularSubmodelComponent.class.getSimpleName();
Map<String, Object> m = new TreeMap<>();
m.put(kLabel, label);
- m.put(kInCount, inputPinNames.
size
());
- m.put(kOutCount, outputPinNames.
size
());
+ m.put(kInCount, inputPinNames.
toArray
());
+ m.put(kOutCount, outputPinNames.
toArray
());
m.put(kLogicWidth, logicWidth);
ret.specialized = m;
return ret;
m.put(kLogicWidth, logicWidth);
ret.specialized = m;
return ret;