Neural Network Input/Output List and Testing Strategy
Inputs:
A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3
Clock
Reset (shared by all FFs in all 3 neurons)
Load (shared by all FF's in all 3 neurons)
Outputs:
AP1, AP2, AP3, FA1, FB1, FA2, FB2, FA3, FB3
Testing strategy:
Reset all FFs
1. A1, B1, C1 and D1 inputs are high. All other inputs are low
The result should be AP1 going high, and FA1 and FB1 going high.
Now set all A, B, C and D inputs high. Only AP1, FA1 and FB1 should go high.
Reset all FFs
2. A1, B1, C1 and D1 inputs are high. A2, B2, C2 and D2 inputs are high. A3, B3, C3, and D3 inputs are low.
The result should be AP1, AP2, FA1, FB1, FA2 and FB2 go high.
Now set all A, B, C and D inputs high. All outputs should go low.
Reset all FFs
3. A1, B1, C1 and D1 inputs are high. A2, B2, C2 and D2 inputs are high. A3, B3, C3, and D3 inputs are high.
The result should be AP1, AP2, AP3, FA1, FB1, FA2, FB2, FA3, FB3 go high.
Now set all A, B, C and D inputs high. All outputs should go low.