Add Instruction Decoder - 44 tensors, 16/16 tests pass
Browse files- neural_computer.safetensors +2 -2
- tensors.txt +45 -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:6c5e11ab199ce8548681595ff4a417a6634f62c2189749ef0d6a4cdb4a384a59
|
| 3 |
+
size 683804
|
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]
|
|
@@ -5021,6 +5021,50 @@ control.conditionaljump.bit7.not_sel.bias: shape=[1], values=[0.0]
|
|
| 5021 |
control.conditionaljump.bit7.not_sel.weight: shape=[1], values=[-1.0]
|
| 5022 |
control.conditionaljump.bit7.or.bias: shape=[1], values=[-1.0]
|
| 5023 |
control.conditionaljump.bit7.or.weight: shape=[2], values=[1.0, 1.0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5024 |
control.halt.flag_c.bias: shape=[1], values=[-0.5]
|
| 5025 |
control.halt.flag_c.weight: shape=[1], values=[1.0]
|
| 5026 |
control.halt.flag_n.bias: shape=[1], values=[-0.5]
|
|
|
|
| 1 |
# Tensor Manifest
|
| 2 |
+
# Total: 6184 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]
|
|
|
|
| 5021 |
control.conditionaljump.bit7.not_sel.weight: shape=[1], values=[-1.0]
|
| 5022 |
control.conditionaljump.bit7.or.bias: shape=[1], values=[-1.0]
|
| 5023 |
control.conditionaljump.bit7.or.weight: shape=[2], values=[1.0, 1.0]
|
| 5024 |
+
control.decoder.decode0.bias: shape=[1], values=[-4.0]
|
| 5025 |
+
control.decoder.decode0.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5026 |
+
control.decoder.decode1.bias: shape=[1], values=[-4.0]
|
| 5027 |
+
control.decoder.decode1.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5028 |
+
control.decoder.decode10.bias: shape=[1], values=[-4.0]
|
| 5029 |
+
control.decoder.decode10.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5030 |
+
control.decoder.decode11.bias: shape=[1], values=[-4.0]
|
| 5031 |
+
control.decoder.decode11.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5032 |
+
control.decoder.decode12.bias: shape=[1], values=[-4.0]
|
| 5033 |
+
control.decoder.decode12.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5034 |
+
control.decoder.decode13.bias: shape=[1], values=[-4.0]
|
| 5035 |
+
control.decoder.decode13.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5036 |
+
control.decoder.decode14.bias: shape=[1], values=[-4.0]
|
| 5037 |
+
control.decoder.decode14.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5038 |
+
control.decoder.decode15.bias: shape=[1], values=[-4.0]
|
| 5039 |
+
control.decoder.decode15.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5040 |
+
control.decoder.decode2.bias: shape=[1], values=[-4.0]
|
| 5041 |
+
control.decoder.decode2.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5042 |
+
control.decoder.decode3.bias: shape=[1], values=[-4.0]
|
| 5043 |
+
control.decoder.decode3.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5044 |
+
control.decoder.decode4.bias: shape=[1], values=[-4.0]
|
| 5045 |
+
control.decoder.decode4.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5046 |
+
control.decoder.decode5.bias: shape=[1], values=[-4.0]
|
| 5047 |
+
control.decoder.decode5.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5048 |
+
control.decoder.decode6.bias: shape=[1], values=[-4.0]
|
| 5049 |
+
control.decoder.decode6.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5050 |
+
control.decoder.decode7.bias: shape=[1], values=[-4.0]
|
| 5051 |
+
control.decoder.decode7.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5052 |
+
control.decoder.decode8.bias: shape=[1], values=[-4.0]
|
| 5053 |
+
control.decoder.decode8.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5054 |
+
control.decoder.decode9.bias: shape=[1], values=[-4.0]
|
| 5055 |
+
control.decoder.decode9.weight: shape=[4], values=[1.0, 1.0, 1.0, 1.0]
|
| 5056 |
+
control.decoder.is_alu.bias: shape=[1], values=[-1.0]
|
| 5057 |
+
control.decoder.is_alu.weight: shape=[16], values=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
|
| 5058 |
+
control.decoder.is_control.bias: shape=[1], values=[-1.0]
|
| 5059 |
+
control.decoder.is_control.weight: shape=[16], values=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
|
| 5060 |
+
control.decoder.not_op0.bias: shape=[1], values=[0.0]
|
| 5061 |
+
control.decoder.not_op0.weight: shape=[1], values=[-1.0]
|
| 5062 |
+
control.decoder.not_op1.bias: shape=[1], values=[0.0]
|
| 5063 |
+
control.decoder.not_op1.weight: shape=[1], values=[-1.0]
|
| 5064 |
+
control.decoder.not_op2.bias: shape=[1], values=[0.0]
|
| 5065 |
+
control.decoder.not_op2.weight: shape=[1], values=[-1.0]
|
| 5066 |
+
control.decoder.not_op3.bias: shape=[1], values=[0.0]
|
| 5067 |
+
control.decoder.not_op3.weight: shape=[1], values=[-1.0]
|
| 5068 |
control.halt.flag_c.bias: shape=[1], values=[-0.5]
|
| 5069 |
control.halt.flag_c.weight: shape=[1], values=[1.0]
|
| 5070 |
control.halt.flag_n.bias: shape=[1], values=[-0.5]
|
todo.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
| Memory Data Register | MDR latch | Missing |
|
| 16 |
| Memory Read/Write | R/W enable signals | Missing |
|
| 17 |
| Instruction Register | IR latch | Missing |
|
| 18 |
-
| Instruction Decoder |
|
| 19 |
| Sequencer FSM | Fetch/Decode/Execute states | Missing |
|
| 20 |
|
| 21 |
## Extended Operations
|
|
|
|
| 15 |
| Memory Data Register | MDR latch | Missing |
|
| 16 |
| Memory Read/Write | R/W enable signals | Missing |
|
| 17 |
| Instruction Register | IR latch | Missing |
|
| 18 |
+
| Instruction Decoder | 4-bit → 16 one-hot | DONE - 44 tensors, 16/16 tests pass |
|
| 19 |
| Sequencer FSM | Fetch/Decode/Execute states | Missing |
|
| 20 |
|
| 21 |
## Extended Operations
|