Skip to content

Commit c56fd58

Browse files
committed
changed demux behaviour
Unselected outputs are down pulled down.
1 parent 449558b commit c56fd58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/modsim/modules/Demux.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void propagate() {
9696
dataOutputs.get(i).setVal(dataIn.getVal());
9797
controlLEDs.get(i).setEnabled(true);
9898
} else {
99-
dataOutputs.get(i).setVal(new BinData());
99+
dataOutputs.get(i).setVal(new BinData(0));
100100
controlLEDs.get(i).setEnabled(false);
101101
}
102102
}

0 commit comments

Comments
 (0)