StephenHermer.com
Writing, Iguanas, and Electronics


SLICED 16-BIT CPU DEVICE LIST   (bis, ter)
---------------------------------------------------
This design uses two slices.

DEVICE                     ID     Data bus   ADDR bus   ALU Bus   Other
------------------------   ----   --------   --------   -------   -----
NULL                       0000  
Program Counter            0001   WE         OE                  INC, DEC
Memory Address Register    0010   WE         OE
Main Memory                0011   WE, OE
   
Stack Pointer              0100   WE                             INC, DEC
Stack Memory               0101   WE, OE  
                           0110   
 
ALU Output Register        0111  OE                    WE
ALU R0 Accumulator         1000                        WE, OE      
ALU R1 Accumulator         1001                        WE, OE     
     
A-Register                 1010   WE, OE
B-Register                 1011   WE, OE
C-Register                 1100   WE, OE
D-Register                 1101   WE, OE
                           1110
                           1111
              

        -----------------------------------------------
         |15 14 13|12|11 10  9  8| 7  6  5  4| 3  2  1  0|
         |--------|--|-----------------------|-----------|  
         |A0|T1|T0|M*|F3|F2|F1|F0|S3|S2|S1|S0|D3|D2|D1|D0|
          -----------------------------------------------
          / type/ |  alu.flags/ source  /   dest   /
         /   ----  |   ---------   ---------   ---------
        /     /    |     |     |      |            |
 0 PC ADDR   /     |     |     |      |            |
 1 MAR ADDR /      |     |     |  0000 NULL     0000 NULL
           /      /      |     |  0001 PC       0001 PC
          /      /   1001 ADD  |  0010 MAR      0010 MAR  
         /      /    0110 SUB  |  0011 ACC      0011 ACC
        |  0 Arith   1111 A    |  0100 SRAM     0100 SRAM
        |  1 Logic   0000 !A   |  0101 SP       0101 SP
        |            1100 SHL  |  0110 STACK    0110 STACK
        |                      |  0111          0111  
        |                      |  1000          1000  
        |            1011 AND  |  1001          1001  
        |            0100 NAND |  1010 A        1010 A
        |            1110 OR   |  1011 B        1011 B
        |            0001 NOR  |  1100 C        1100 C
        |            0110 XOR  |  1101 D        1101 D
    00 MOV PC        1001 XNOR |  1110          1110  
    01 ALU PC                  |  1111          1111  
    10 INC/DEC                 |
                         0000 Unconditional
                         0001 Carry Set
                         0010 Negative   Set  
                         0011 Left = Right