Strange behaviour with 32 bit, splitter and NOT gates
Posted: Wed Oct 01, 2014 9:47 am
Hello.
I'm not sure, whether this is my or the applications fault.
After I have build a 4 Bit-CPU, I would try to build a 32 Bit.
But when I click on this wire at runtime to show his currently data,
I get mostly AssertionFailed-Exception,
sometimes a IndexOutRangeException:
("The index was out of array bounds")
And (my real problem), all more significant bits on the multiplexer left above are not connected because the NOT-Gate on the deeper lying 2-bit-multiplexer do not connect/negate his input. But the sub-multiplexer on the lower significant bits of the 32 Bit-MUX use exactly the same circuits.
I don't know what I should do.
Thank you
I'm not sure, whether this is my or the applications fault.
After I have build a 4 Bit-CPU, I would try to build a 32 Bit.
But when I click on this wire at runtime to show his currently data,
I get mostly AssertionFailed-Exception,
Code: Select all
LogicCircuit.AssertException: AssertionFailed
bei LogicCircuit.CircuitFunction.ToText(IEnumerable`1 probeState, Boolean showFormatPrefix)
bei LogicCircuit.WireDisplayControl.TimerTick(Object sender, EventArgs e)
bei LogicCircuit.WireDisplayControl.Start()
bei LogicCircuit.EditorDiagram.SymbolMouseDown(Symbol symbol, MouseEventArgs e)
bei LogicCircuit.EditorDiagram.DiagramMouseDown(MouseButtonEventArgs e)
bei LogicCircuit.Mainframe.DiagramMouseDown(Object sender, MouseButtonEventArgs e)
Code: Select all
System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
bei LogicCircuit.CircuitFunction.Binary(IEnumerable`1 probeState)
bei LogicCircuit.CircuitFunction.ToText(IEnumerable`1 probeState, Boolean showFormatPrefix)
bei LogicCircuit.WireDisplayControl.TimerTick(Object sender, EventArgs e)
bei LogicCircuit.WireDisplayControl.Start()
bei LogicCircuit.EditorDiagram.SymbolMouseDown(Symbol symbol, MouseEventArgs e)
bei LogicCircuit.EditorDiagram.DiagramMouseDown(MouseButtonEventArgs e)
bei LogicCircuit.Mainframe.DiagramMouseDown(Object sender, MouseButtonEventArgs e)
And (my real problem), all more significant bits on the multiplexer left above are not connected because the NOT-Gate on the deeper lying 2-bit-multiplexer do not connect/negate his input. But the sub-multiplexer on the lower significant bits of the 32 Bit-MUX use exactly the same circuits.
I don't know what I should do.
Thank you