University of Southern California

Department of Electrical Engineering - Systems

EE 477 Laboratory #3 Part 2 (worth 13% of final grade)


Neural Network Design, Cadence and SPECTRE

Due 12/6/10 11:59 PM

There will be no extensions so plan your time accordingly!

This lab addresses the design of a special-purpose circuit. The circuit is a network of simplified digital neurons. There are two parts to the lab, the design of the digital neuron (worth 7%) and the design of the neural network (worth 13%). You have already finished the digital neuron.

2. The "sequence detection" neural network


This part of the lab addresses the design of a special-purpose circuit to detect a sequence of bits that are input on 4 different inputs, K1, K2, K3 and K5. The first block you will build below only uses input K3. The rest of the network uses all four inputs. The basic building block in the circuit is a very simplified digital neuron that you built in Lab 3 Part 1. You will build a small network with this neuron and inverter as basic building blocks in this part of Lab 3. You can use all 6 metal layers for the network.

For the complete project, you are to assemble a "neural net" using 14 of these neurons. Besides the first block that recognizes the K3 input, there are two other blocks shown below. The sequence it recognizes isK3, K3, K3, 0, K3, K3, K3, 0, K3, K5, K1, K2, K3, 0 "0" means no inputs are high. Also test the network with the sequence K3, K3, K3, K3, K3, K3, 0, K3, K5, K1, K2, K3, 0, 0. The recognition neuron is AP14. Only one key can be pressed at a time.

If you relate these inputs to keys on the piano keyboard, it recognizes the beginning of a traditional holiday tune popular in the US. K1 is middle C. You do not have to understand this part to do the lab.

Disclaimer: What you are building here are not at all similar to biological neurons, which are significantly more complex. I am sure there is a more clever network to detect this sequence, especially if you add more features to the neurons that make them more like biological neurons.

Operation of the Neural Network:


  • The first three neurons in the network, N1, N2 and N3 are shown below.
  • Neurons N1 and N2 have their inhibitory inputs I asserted (low), as do all the neurons in the entire network except N3.
  • The 3 inputs shown to all neurons are for inputs A, B and C.
  • Input D is tied low for all neurons.
  • Control inputs C1, C4, C3 and C2 are tied as follows: C1 = Vdd, C4 = Vdd, C2 = Vdd, C3 = 0.0v.