phanerozoic commited on
Commit
cf2527d
·
verified ·
1 Parent(s): bda38f1

Add PC Load MUX - 50 tensors, 1536/1536 tests pass

Browse files
Files changed (3) hide show
  1. neural_computer.safetensors +2 -2
  2. tensors.txt +51 -1
  3. todo.md +1 -1
neural_computer.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:66c5573e13ed7339e77897da494a847a31d1244dcb883cbc1d82980d20cdccf9
3
- size 674476
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d4d6d5a39d660390c5156d33b6ad3d5a2f49538a89ce0f2fcbb74e4c4ccb07a
3
+ size 679380
tensors.txt CHANGED
@@ -1,5 +1,5 @@
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]
@@ -5677,6 +5677,56 @@ 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]
 
1
  # Tensor Manifest
2
+ # Total: 6140 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]
 
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.pc_load.bit0.and_jump.bias: shape=[1], values=[-2.0]
5681
+ control.pc_load.bit0.and_jump.weight: shape=[2], values=[1.0, 1.0]
5682
+ control.pc_load.bit0.and_pc.bias: shape=[1], values=[-2.0]
5683
+ control.pc_load.bit0.and_pc.weight: shape=[2], values=[1.0, 1.0]
5684
+ control.pc_load.bit0.or.bias: shape=[1], values=[-1.0]
5685
+ control.pc_load.bit0.or.weight: shape=[2], values=[1.0, 1.0]
5686
+ control.pc_load.bit1.and_jump.bias: shape=[1], values=[-2.0]
5687
+ control.pc_load.bit1.and_jump.weight: shape=[2], values=[1.0, 1.0]
5688
+ control.pc_load.bit1.and_pc.bias: shape=[1], values=[-2.0]
5689
+ control.pc_load.bit1.and_pc.weight: shape=[2], values=[1.0, 1.0]
5690
+ control.pc_load.bit1.or.bias: shape=[1], values=[-1.0]
5691
+ control.pc_load.bit1.or.weight: shape=[2], values=[1.0, 1.0]
5692
+ control.pc_load.bit2.and_jump.bias: shape=[1], values=[-2.0]
5693
+ control.pc_load.bit2.and_jump.weight: shape=[2], values=[1.0, 1.0]
5694
+ control.pc_load.bit2.and_pc.bias: shape=[1], values=[-2.0]
5695
+ control.pc_load.bit2.and_pc.weight: shape=[2], values=[1.0, 1.0]
5696
+ control.pc_load.bit2.or.bias: shape=[1], values=[-1.0]
5697
+ control.pc_load.bit2.or.weight: shape=[2], values=[1.0, 1.0]
5698
+ control.pc_load.bit3.and_jump.bias: shape=[1], values=[-2.0]
5699
+ control.pc_load.bit3.and_jump.weight: shape=[2], values=[1.0, 1.0]
5700
+ control.pc_load.bit3.and_pc.bias: shape=[1], values=[-2.0]
5701
+ control.pc_load.bit3.and_pc.weight: shape=[2], values=[1.0, 1.0]
5702
+ control.pc_load.bit3.or.bias: shape=[1], values=[-1.0]
5703
+ control.pc_load.bit3.or.weight: shape=[2], values=[1.0, 1.0]
5704
+ control.pc_load.bit4.and_jump.bias: shape=[1], values=[-2.0]
5705
+ control.pc_load.bit4.and_jump.weight: shape=[2], values=[1.0, 1.0]
5706
+ control.pc_load.bit4.and_pc.bias: shape=[1], values=[-2.0]
5707
+ control.pc_load.bit4.and_pc.weight: shape=[2], values=[1.0, 1.0]
5708
+ control.pc_load.bit4.or.bias: shape=[1], values=[-1.0]
5709
+ control.pc_load.bit4.or.weight: shape=[2], values=[1.0, 1.0]
5710
+ control.pc_load.bit5.and_jump.bias: shape=[1], values=[-2.0]
5711
+ control.pc_load.bit5.and_jump.weight: shape=[2], values=[1.0, 1.0]
5712
+ control.pc_load.bit5.and_pc.bias: shape=[1], values=[-2.0]
5713
+ control.pc_load.bit5.and_pc.weight: shape=[2], values=[1.0, 1.0]
5714
+ control.pc_load.bit5.or.bias: shape=[1], values=[-1.0]
5715
+ control.pc_load.bit5.or.weight: shape=[2], values=[1.0, 1.0]
5716
+ control.pc_load.bit6.and_jump.bias: shape=[1], values=[-2.0]
5717
+ control.pc_load.bit6.and_jump.weight: shape=[2], values=[1.0, 1.0]
5718
+ control.pc_load.bit6.and_pc.bias: shape=[1], values=[-2.0]
5719
+ control.pc_load.bit6.and_pc.weight: shape=[2], values=[1.0, 1.0]
5720
+ control.pc_load.bit6.or.bias: shape=[1], values=[-1.0]
5721
+ control.pc_load.bit6.or.weight: shape=[2], values=[1.0, 1.0]
5722
+ control.pc_load.bit7.and_jump.bias: shape=[1], values=[-2.0]
5723
+ control.pc_load.bit7.and_jump.weight: shape=[2], values=[1.0, 1.0]
5724
+ control.pc_load.bit7.and_pc.bias: shape=[1], values=[-2.0]
5725
+ control.pc_load.bit7.and_pc.weight: shape=[2], values=[1.0, 1.0]
5726
+ control.pc_load.bit7.or.bias: shape=[1], values=[-1.0]
5727
+ control.pc_load.bit7.or.weight: shape=[2], values=[1.0, 1.0]
5728
+ control.pc_load.not_jump.bias: shape=[1], values=[0.0]
5729
+ control.pc_load.not_jump.weight: shape=[1], values=[-1.0]
5730
  control.pop.load: shape=[1], values=[1.0]
5731
  control.pop.sp_inc: shape=[1], values=[1.0]
5732
  control.push.sp_dec: shape=[1], values=[1.0]
todo.md CHANGED
@@ -8,7 +8,7 @@
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 |
14
  | Memory Address Register | MAR latch | Missing |
 
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 | 2-to-1 MUX for PC/jump | DONE - 50 tensors, 1536/1536 tests pass |
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 |
14
  | Memory Address Register | MAR latch | Missing |