Add PC Incrementer - 62 tensors, 256/256 tests pass
Browse files- neural_computer.safetensors +2 -2
- tensors.txt +63 -1
- todo.md +1 -1
neural_computer.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66c5573e13ed7339e77897da494a847a31d1244dcb883cbc1d82980d20cdccf9
|
| 3 |
+
size 674476
|
tensors.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Tensor Manifest
|
| 2 |
-
# Total:
|
| 3 |
|
| 4 |
alu.alu8bit.add.bias: shape=[1], values=[0.0]
|
| 5 |
alu.alu8bit.add.weight: shape=[16], values=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
|
|
@@ -5615,6 +5615,68 @@ control.nop.flag_v.bias: shape=[1], values=[-0.5]
|
|
| 5615 |
control.nop.flag_v.weight: shape=[1], values=[1.0]
|
| 5616 |
control.nop.flag_z.bias: shape=[1], values=[-0.5]
|
| 5617 |
control.nop.flag_z.weight: shape=[1], values=[1.0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5618 |
control.pop.load: shape=[1], values=[1.0]
|
| 5619 |
control.pop.sp_inc: shape=[1], values=[1.0]
|
| 5620 |
control.push.sp_dec: shape=[1], values=[1.0]
|
|
|
|
| 1 |
# Tensor Manifest
|
| 2 |
+
# Total: 6090 tensors
|
| 3 |
|
| 4 |
alu.alu8bit.add.bias: shape=[1], values=[0.0]
|
| 5 |
alu.alu8bit.add.weight: shape=[16], values=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
|
|
|
|
| 5615 |
control.nop.flag_v.weight: shape=[1], values=[1.0]
|
| 5616 |
control.nop.flag_z.bias: shape=[1], values=[-0.5]
|
| 5617 |
control.nop.flag_z.weight: shape=[1], values=[1.0]
|
| 5618 |
+
control.pc_inc.and1.bias: shape=[1], values=[-2.0]
|
| 5619 |
+
control.pc_inc.and1.weight: shape=[2], values=[1.0, 1.0]
|
| 5620 |
+
control.pc_inc.and2.bias: shape=[1], values=[-2.0]
|
| 5621 |
+
control.pc_inc.and2.weight: shape=[2], values=[1.0, 1.0]
|
| 5622 |
+
control.pc_inc.and3.bias: shape=[1], values=[-2.0]
|
| 5623 |
+
control.pc_inc.and3.weight: shape=[2], values=[1.0, 1.0]
|
| 5624 |
+
control.pc_inc.and4.bias: shape=[1], values=[-2.0]
|
| 5625 |
+
control.pc_inc.and4.weight: shape=[2], values=[1.0, 1.0]
|
| 5626 |
+
control.pc_inc.and5.bias: shape=[1], values=[-2.0]
|
| 5627 |
+
control.pc_inc.and5.weight: shape=[2], values=[1.0, 1.0]
|
| 5628 |
+
control.pc_inc.and6.bias: shape=[1], values=[-2.0]
|
| 5629 |
+
control.pc_inc.and6.weight: shape=[2], values=[1.0, 1.0]
|
| 5630 |
+
control.pc_inc.and7.bias: shape=[1], values=[-2.0]
|
| 5631 |
+
control.pc_inc.and7.weight: shape=[2], values=[1.0, 1.0]
|
| 5632 |
+
control.pc_inc.carry0.bias: shape=[1], values=[-0.5]
|
| 5633 |
+
control.pc_inc.carry0.weight: shape=[1], values=[1.0]
|
| 5634 |
+
control.pc_inc.overflow.bias: shape=[1], values=[-0.5]
|
| 5635 |
+
control.pc_inc.overflow.weight: shape=[1], values=[1.0]
|
| 5636 |
+
control.pc_inc.sum0.bias: shape=[1], values=[0.0]
|
| 5637 |
+
control.pc_inc.sum0.weight: shape=[1], values=[-1.0]
|
| 5638 |
+
control.pc_inc.xor1.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5639 |
+
control.pc_inc.xor1.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5640 |
+
control.pc_inc.xor1.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5641 |
+
control.pc_inc.xor1.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5642 |
+
control.pc_inc.xor1.layer2.bias: shape=[1], values=[-2.0]
|
| 5643 |
+
control.pc_inc.xor1.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5644 |
+
control.pc_inc.xor2.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5645 |
+
control.pc_inc.xor2.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5646 |
+
control.pc_inc.xor2.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5647 |
+
control.pc_inc.xor2.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5648 |
+
control.pc_inc.xor2.layer2.bias: shape=[1], values=[-2.0]
|
| 5649 |
+
control.pc_inc.xor2.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5650 |
+
control.pc_inc.xor3.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5651 |
+
control.pc_inc.xor3.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5652 |
+
control.pc_inc.xor3.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5653 |
+
control.pc_inc.xor3.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5654 |
+
control.pc_inc.xor3.layer2.bias: shape=[1], values=[-2.0]
|
| 5655 |
+
control.pc_inc.xor3.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5656 |
+
control.pc_inc.xor4.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5657 |
+
control.pc_inc.xor4.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5658 |
+
control.pc_inc.xor4.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5659 |
+
control.pc_inc.xor4.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5660 |
+
control.pc_inc.xor4.layer2.bias: shape=[1], values=[-2.0]
|
| 5661 |
+
control.pc_inc.xor4.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5662 |
+
control.pc_inc.xor5.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5663 |
+
control.pc_inc.xor5.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5664 |
+
control.pc_inc.xor5.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5665 |
+
control.pc_inc.xor5.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5666 |
+
control.pc_inc.xor5.layer2.bias: shape=[1], values=[-2.0]
|
| 5667 |
+
control.pc_inc.xor5.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5668 |
+
control.pc_inc.xor6.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5669 |
+
control.pc_inc.xor6.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5670 |
+
control.pc_inc.xor6.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5671 |
+
control.pc_inc.xor6.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5672 |
+
control.pc_inc.xor6.layer2.bias: shape=[1], values=[-2.0]
|
| 5673 |
+
control.pc_inc.xor6.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5674 |
+
control.pc_inc.xor7.layer1.nand.bias: shape=[1], values=[1.0]
|
| 5675 |
+
control.pc_inc.xor7.layer1.nand.weight: shape=[2], values=[-1.0, -1.0]
|
| 5676 |
+
control.pc_inc.xor7.layer1.or.bias: shape=[1], values=[-1.0]
|
| 5677 |
+
control.pc_inc.xor7.layer1.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5678 |
+
control.pc_inc.xor7.layer2.bias: shape=[1], values=[-2.0]
|
| 5679 |
+
control.pc_inc.xor7.layer2.weight: shape=[2], values=[1.0, 1.0]
|
| 5680 |
control.pop.load: shape=[1], values=[1.0]
|
| 5681 |
control.pop.sp_inc: shape=[1], values=[1.0]
|
| 5682 |
control.push.sp_dec: shape=[1], values=[1.0]
|
todo.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
| SUB | Subtraction circuit | DONE - 162 tensors, 65536/65536 tests pass |
|
| 8 |
| DIV | Division circuit | DONE - 1984 tensors, 65280/65280 tests pass |
|
| 9 |
| NEG | Two's complement negate | DONE - 76 tensors, 256/256 tests pass |
|
| 10 |
-
| Program Counter | PC
|
| 11 |
| PC Load | Load PC from jump target | Missing |
|
| 12 |
| Register File MUX | Select 1-of-4 GPRs | DONE - 84 tensors, 1036/1036 tests pass |
|
| 13 |
| Register Write Enable | Write back to register | Missing |
|
|
|
|
| 7 |
| SUB | Subtraction circuit | DONE - 162 tensors, 65536/65536 tests pass |
|
| 8 |
| DIV | Division circuit | DONE - 1984 tensors, 65280/65280 tests pass |
|
| 9 |
| NEG | Two's complement negate | DONE - 76 tensors, 256/256 tests pass |
|
| 10 |
+
| Program Counter | PC incrementer | DONE - 62 tensors, 256/256 tests pass |
|
| 11 |
| PC Load | Load PC from jump target | Missing |
|
| 12 |
| Register File MUX | Select 1-of-4 GPRs | DONE - 84 tensors, 1036/1036 tests pass |
|
| 13 |
| Register Write Enable | Write back to register | Missing |
|