Skip to content

Commit

Permalink
fix: bus transciever signals sticking
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTJP committed May 9, 2021
1 parent c6b22ae commit 1c8a271
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class BusTransceiver extends BundledGatePart(GateType.BUS_TRANSCEIVER)

override def getBundledOutput(r:Int):Array[Byte] = if (r == 0) output0 else output2

def calcBundledInput(r:Int):Array[Byte] = raiseSignal(copySignal(getBundledInput(r)), calcBundledOutput(r)) //OR'd w/ output
def calcBundledInput(r:Int):Array[Byte] = raiseSignal(copySignal(getBundledInput(r)), getBundledOutput(r)) //OR'd w/ output

override def gateLogicOnChange():Unit = {
var inputChanged = false
Expand Down

0 comments on commit 1c8a271

Please sign in to comment.