X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Fcomponents%2FBitDisplay.java;fp=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Fcomponents%2FBitDisplay.java;h=d8691f3bfcae9b7a096e386a58eb7db53483f399;hb=6c67a9ff8361cd9fc082f40e2676f2c8b5911fe4;hp=f34c9239f1c89e7cbdabe45977152d6d29d75d0e;hpb=6d944b4deae46eef98beabdea0dab90c455e14a8;p=Mograsim.git diff --git a/era.mi/src/era/mi/logic/components/BitDisplay.java b/era.mi/src/era/mi/logic/components/BitDisplay.java index f34c9239..d8691f3b 100644 --- a/era.mi/src/era/mi/logic/components/BitDisplay.java +++ b/era.mi/src/era/mi/logic/components/BitDisplay.java @@ -2,6 +2,7 @@ package era.mi.logic.components; import java.util.List; +import era.mi.logic.timeline.Timeline; import era.mi.logic.types.Bit; import era.mi.logic.types.BitVector; import era.mi.logic.wires.Wire.ReadEnd; @@ -12,9 +13,9 @@ public class BitDisplay extends BasicComponent private final ReadEnd in; private BitVector displayedValue; - public BitDisplay(ReadEnd in) + public BitDisplay(Timeline timeline, ReadEnd in) { - super(1); + super(timeline, 1); this.in = in; in.addObserver(this); compute();