|
|
@ -291,7 +291,7 @@ class LogicSim(SimOps): |
|
|
|
# logic.bp_or(outputs[0], self.tmp[0], inputs[2]) |
|
|
|
# logic.bp_or(outputs[0], self.tmp[0], inputs[2]) |
|
|
|
# logic.bp_not(outputs[0], outputs[0]) |
|
|
|
# logic.bp_not(outputs[0], outputs[0]) |
|
|
|
|
|
|
|
|
|
|
|
@numba.njit() |
|
|
|
@numba.njit |
|
|
|
def _prop_cpu(ops, vat, c): |
|
|
|
def _prop_cpu(ops, vat, c): |
|
|
|
for op, o0, i0, i1, i2, i3 in ops: |
|
|
|
for op, o0, i0, i1, i2, i3 in ops: |
|
|
|
o0, i0, i1, i2, i3 = [vat[x,0] for x in (o0, i0, i1, i2, i3)] |
|
|
|
o0, i0, i1, i2, i3 = [vat[x,0] for x in (o0, i0, i1, i2, i3)] |
|
|
|